/* Bay Area DJs — modern full-width site */
:root {
  --ink: #0b121a;
  --bay: #132033;
  --bay-mid: #1c3148;
  --fog: #e7eef6;
  --gold: #c9a24a;
  --gold-bright: #e4c36a;
  --sand: #f4f0e8;
  --text: #15202b;
  --muted: #5c6b7a;
  --line: rgba(201, 162, 74, 0.35);
  --white: #ffffff;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --max: 72rem;
  --wide: 90rem;
  --gutter: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 162, 74, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(28, 49, 72, 0.35), transparent 50%),
    linear-gradient(180deg, var(--sand) 0%, #f8f6f2 40%, #eef2f6 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #1c4a7a;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #9a7420;
}

.prose,
.legacy-content {
  color: #1a2332;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--white);
  line-height: 1.1;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.brand-mark span {
  color: var(--gold-bright);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 238, 246, 0.7);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.35rem;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  font-weight: 800 !important;
  border-bottom: none !important;
}

.nav-cta:hover {
  border-bottom-color: transparent !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 46vw);
  gap: 0;
  align-items: center;
  min-height: clamp(420px, 58vh, 560px);
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(120deg, #0b121a 0%, #121c28 48%, #1a2a3d 100%);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem var(--gutter);
  min-height: 100%;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(201, 162, 74, 0.18), transparent 55%),
    #101820;
}

.hero-media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: min(520px, 70vh);
  object-fit: contain;
  object-position: center top;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-brand,
h1.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #ffffff !important;
  animation: riseIn 0.9s ease both;
}

.hero-brand em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
}

.hero .lede,
.page-hero .lede {
  max-width: 36rem;
  font-size: 1.1rem;
  color: #f3f6fa !important;
  margin: 0 0 1.5rem;
  animation: riseIn 1s ease 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 1.05s ease 0.18s both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.btn:hover,
a.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
a.btn-primary,
.band a.btn-primary,
.nav-cta {
  background-color: #f0d78a !important;
  background-image: none !important;
  border-color: #0b121a !important;
  color: #0b121a !important;
  text-shadow: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover,
a.btn-primary:hover,
.band a.btn-primary:hover,
.nav-cta:hover {
  color: #0b121a !important;
  background-color: #ffe6a8 !important;
  filter: none;
}

.btn-ghost,
a.btn-ghost {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.35) !important;
}

.btn-ghost:hover,
a.btn-ghost:hover {
  color: #0b121a !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}

.btn-outline,
a.btn-outline {
  border-color: #0b121a !important;
  color: #0b121a !important;
  background: #ffffff !important;
  text-shadow: none;
  box-shadow: none;
}

.btn-outline:hover,
a.btn-outline:hover {
  color: #0b121a !important;
  background: #f6e7b8 !important;
  border-color: #0b121a !important;
}

.page-hero {
  background: linear-gradient(135deg, var(--ink), var(--bay-mid));
  color: var(--white);
  padding: 2.75rem var(--gutter) 2.25rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 220px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.28), transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
}

.page-hero .lede {
  color: rgba(231, 238, 246, 0.9);
}

.section {
  width: 100%;
  padding: 2.5rem var(--gutter);
}

.section-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.section-inner.wide {
  max-width: var(--wide);
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.prose p {
  margin: 0 0 1rem;
}

.prose strong {
  color: #0b121a;
}

.band {
  background: var(--bay);
  color: #eef3f8;
}

.band .prose,
.band p,
.band li {
  color: #eef3f8;
}

.band a {
  color: #f0d78a;
}

.band a:hover {
  color: #ffffff;
}

.band strong,
.band h2,
.band .section-kicker {
  color: #f0d78a;
}

.band .phone-xl,
.band .phone-xl a {
  color: #ffffff !important;
}

.phone-xl {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.phone-xl a {
  color: inherit;
  text-decoration: none;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.55rem 1rem;
}

.location-grid a {
  text-decoration: none;
  color: var(--bay);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
}

.location-grid a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.social-row img {
  width: auto;
  height: 32px;
  display: block;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 32, 51, 0.18);
  background: #ffffff;
  color: #0b121a !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
}

.social-chip:hover {
  background: #f0d78a;
  border-color: #b8923a;
  color: #0b121a !important;
}

.band .social-chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.content-block {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(19, 32, 51, 0.06);
  border-bottom: 1px solid rgba(19, 32, 51, 0.06);
}

.legacy-content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
}

.legacy-content table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
}

.legacy-content td,
.legacy-content th {
  display: block;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0.35rem 0 !important;
}

.legacy-content font {
  font-family: inherit !important;
  color: inherit !important;
  font-size: inherit !important;
}

.legacy-content marquee {
  display: block;
  white-space: normal;
  overflow: visible;
  line-height: 1.7;
}

.legacy-content p {
  margin: 0 0 1rem;
}

.legacy-content .seo-links,
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin: 1.5rem 0;
}

.seo-links a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-frame-wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) 2.5rem;
}

.contact-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 1500px;
  border: 0;
  background: var(--white);
}

.site-footer {
  background: var(--ink);
  color: rgba(231, 238, 246, 0.78);
  padding: 2.5rem var(--gutter) 1.75rem;
}

.footer-inner {
  max-width: var(--wide);
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.site-footer a {
  color: rgba(231, 238, 246, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  max-width: var(--wide);
  width: 100%;
  margin: 2rem auto 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split-cta img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.resource-links {
  display: grid;
  gap: 0.75rem;
}

.resource-links a {
  font-weight: 700;
}

.resources-masthead {
  width: 100%;
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(201, 162, 74, 0.2), transparent 60%),
    linear-gradient(135deg, #0b121a 0%, #152238 55%, #1c3148 100%);
  color: #ffffff;
}

.resources-masthead-inner {
  max-width: var(--wide);
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.resources-masthead-copy .section-kicker {
  color: #e4c36a;
}

.resources-masthead-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.resources-masthead-copy .lede {
  max-width: 34rem;
  margin: 0 0 1.4rem;
  color: #f3f6fa !important;
  font-size: 1.1rem;
}

.resources-masthead-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 2.25rem 2rem 2rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 162, 74, 0.16), transparent 65%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 195, 106, 0.35);
}

.resources-masthead-photo img {
  width: auto;
  max-width: min(340px, 88%);
  max-height: 280px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
  /* keep head clear of the frame edge */
  margin-top: 0.5rem;
}

.resources-book {
  max-width: 48rem;
}

@media (max-width: 900px) {
  .resources-masthead-inner {
    grid-template-columns: 1fr;
  }

  .resources-masthead-photo {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(19, 32, 51, 0.12);
  color: #1a2332;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(19, 32, 51, 0.1);
  text-decoration: none !important;
  color: #1a2332 !important;
  min-height: 7.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.partner-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #0b121a;
}

.partner-card span {
  color: #5c6b7a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.partner-card:hover {
  border-color: #c9a24a;
  background: #fffdf7;
  transform: translateY(-2px);
  color: #0b121a !important;
}

.split-cta img {
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  :root {
    --gutter: 5px;
    --max: 100%;
    --wide: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    order: -1;
    padding: 0;
    min-height: 260px;
    max-height: 340px;
  }

  .hero-media img {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: cover;
    object-position: center top;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(11, 18, 26, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--gutter) 1.25rem;
    gap: 0.15rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    justify-content: center;
  }

  .footer-inner,
  .split-cta {
    grid-template-columns: 1fr;
  }
}
