/* Bubba Productions LLC — brand tokens */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-card: #161616;
  --gold: #c5a35d;
  --gold-dim: rgba(197, 163, 93, 0.35);
  --ivory: #f8f8f8;
  --ivory-muted: rgba(248, 248, 248, 0.72);
  --teal: #78b8a7;
  --font: "Montserrat", system-ui, sans-serif;
  --radius: 12px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ivory-muted);
  background: var(--bg);
  min-height: 100vh;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--ivory);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, 92vw);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.75), transparent);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--gold-dim);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: clamp(40px, 8vw, 52px);
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold) !important;
}

.nav-cta:hover {
  background: rgba(197, 163, 93, 0.12);
  color: var(--ivory) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--gold-dim);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 5vw, 3rem) 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(197, 163, 93, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(120, 184, 167, 0.08), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 0 2rem;
  color: var(--ivory-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a8894a);
  color: var(--bg) !important;
  border: none;
  box-shadow: 0 4px 24px rgba(197, 163, 93, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197, 163, 93, 0.35);
  color: var(--bg) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--ivory) !important;
  border: 1px solid rgba(248, 248, 248, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.hero-accent {
  position: absolute;
  right: -5%;
  bottom: 10%;
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  opacity: 0.4;
  pointer-events: none;
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 6rem) 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 1.25rem;
}

.section-title.centered {
  text-align: center;
}

.section-sub {
  margin: -0.5rem 0 2rem;
  font-size: 1rem;
  color: var(--ivory-muted);
  max-width: 560px;
}

.section-sub.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-text {
  margin: 0;
  font-size: 1.0625rem;
}

.section-text.centered {
  text-align: center;
}

.section-about {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(197, 163, 93, 0.12);
}

.section-services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.section-products {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(197, 163, 93, 0.12);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(197, 163, 93, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  border-color: rgba(197, 163, 93, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.product-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ivory);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.product-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ivory-muted);
}

.product-meta {
  margin: auto 0 0;
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 600;
}

.product-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(197, 163, 93, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(197, 163, 93, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--teal);
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ivory);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ivory-muted);
}

.section-brand {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0d 100%);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}

.palette {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.palette li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.palette code {
  font-size: 0.8125rem;
  color: var(--gold);
}

.brand-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.brand-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.section-contact {
  border-top: 1px solid var(--gold-dim);
}

.contact-box {
  text-align: center;
}

.contact-email {
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 5.5vw, 1.25rem);
  font-weight: 600;
}

.contact-email a {
  color: var(--teal);
  white-space: nowrap;
}

.contact-email a:hover {
  color: var(--ivory);
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--gold-dim);
  background: #070707;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  opacity: 0.9;
  height: 48px;
  width: auto;
}

.footer-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1rem 0 0.5rem;
}

.footer-legal {
  font-size: 0.8125rem;
  color: rgba(248, 248, 248, 0.4);
  margin: 1rem 0 0;
}

code {
  font-family: ui-monospace, monospace;
}
