/* ============================================================
   1CoastMedia — minimal product-site design system
   Inspired by boringluts.com: pure black, bold typography,
   clean grids, marquee tagline, no ambient decoration.
   ============================================================ */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-card: #0f0f0f;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-dim: #6b6b6b;
  --accent: #ffffff;
  --accent-ink: #000000;
  --accent-warm: #d4a35c;        /* Gulf Coast sunset gold */
  --accent-warm-soft: rgba(212, 163, 92, 0.18);
  --success: #16a34a;
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

[x-cloak] { display: none !important; }

/* -------- Layout containers -------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* -------- Navigation -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
/* Lockup carries its own "1Coast Media" text — let the image flow to
   its natural width so the gold curve underline reads cleanly. */
.nav-brand img { height: 36px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 10px 18px; border-radius: 999px;
  background: var(--text); color: var(--accent-ink);
  font-weight: 600; font-size: 14px;
  transition: transform .15s ease, opacity .15s ease;
}
.nav-cta:hover { opacity: .88; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong);
  color: var(--text); padding: 8px 14px; border-radius: 999px;
  font-size: 14px; cursor: pointer;
}

/* -------- Hero -------- */
.hero {
  padding: 88px 24px 64px;
  text-align: center;
  position: relative;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  /* Cinematic fallback while the video is buffering — a dark gold-tinted
     radial pulse that matches the particle video's aesthetic so the hero
     never looks empty, even before the first frame paints. */
  background:
    radial-gradient(ellipse at 50% 45%, rgba(80, 58, 22, 0.55) 0%, rgba(20, 14, 6, 0.9) 45%, #000 80%),
    #000;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 1;
}
.hero-video-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}
.hero > *:not(.hero-video-wrap) { position: relative; z-index: 1; }
.hero h1 { text-shadow: 0 2px 40px rgba(0,0,0,0.6), 0 1px 6px rgba(0,0,0,0.6); }
.hero-sub { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-sub {
  margin: 28px auto 0;
  max-width: 56ch;
  color: var(--text-muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}
.hero-ctas {
  margin-top: 36px;
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--text); color: var(--accent-ink); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-call { background: var(--accent-warm); color: var(--accent-ink); }
.btn-call:hover { opacity: .88; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 18px; }

/* -------- Marquee ticker -------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 48px;
  animation: marquee 32s linear infinite;
  padding-left: 48px;
}
.marquee span {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.marquee .dot {
  color: var(--text-dim);
  align-self: center;
  font-size: clamp(20px, 3vw, 36px);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------- Section -------- */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}
.section-sub {
  margin: 18px auto 0;
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

/* -------- Product / offer grid -------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--border-strong); }
.card-eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 10px;
}
.card h3 {
  margin: 0 0 10px; font-size: 24px; font-weight: 700;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.card-price {
  margin-top: auto; padding-top: 20px;
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
}
.card-price small { font-size: 14px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.card-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.card-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent-warm); color: var(--accent-ink);
  margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(212, 163, 92, 0.35);
}
.card ul {
  margin: 16px 0 0; padding: 0; list-style: none;
  font-size: 15px; color: var(--text-muted);
}
.card ul li {
  padding: 7px 0; border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.card ul li::before {
  content: '✓'; color: var(--text); font-weight: 700; font-size: 13px;
}
.card ul li:first-child { border-top: 0; }

.card-featured {
  border: 1px solid var(--accent-warm);
  background: linear-gradient(180deg, rgba(212, 163, 92, 0.06), #000);
  box-shadow: 0 0 0 1px rgba(212, 163, 92, 0.1), 0 30px 60px rgba(212, 163, 92, 0.08);
}
.card-featured .card-price {
  color: var(--accent-warm);
}

/* -------- Social proof row -------- */
.rating-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 32px 24px;
  flex-wrap: wrap;
}
.stars { letter-spacing: 2px; color: var(--text); font-size: 22px; }
.rating-text {
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
}

/* -------- Testimonials -------- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.testimonial p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; }
.testimonial footer {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-muted);
}
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--text);
  font-size: 14px;
}

/* -------- Split content block -------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.split p { color: var(--text-muted); font-size: 18px; line-height: 1.6; margin: 0 0 12px; }

/* -------- Simple feature row -------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature h4 {
  margin: 0 0 8px; font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.feature-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-size: 15px; font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 12px;
  letter-spacing: .1em;
}

/* -------- Footer -------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 96px;
  color: var(--text-muted);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin: 0 0 16px; font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--text-dim); flex-wrap: wrap;
}

/* -------- Modal -------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 32px;
  max-width: 420px; width: 100%;
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: 0; color: var(--text-muted);
  font-size: 22px; cursor: pointer;
}

/* -------- Floating cart -------- */
.cart-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  padding: 14px 22px; border-radius: 999px;
  background: var(--text); color: var(--accent-ink);
  font-weight: 700; font-size: 14px;
  border: 0; cursor: pointer;
  box-shadow: 0 10px 40px rgba(255,255,255,0.1);
}

/* -------- Dropdown menu (mobile/nav) -------- */
.menu-dropdown {
  position: absolute; right: 24px; top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.menu-dropdown a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 14px; color: var(--text-muted);
}
.menu-dropdown a:hover { background: var(--border); color: var(--text); }

/* -------- Prose blocks (mission, founder letter) -------- */
.prose {
  max-width: 70ch; margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px; line-height: 1.7;
}
.prose p { margin: 0 0 20px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 20px; margin: 0 0 20px; }
.prose ul li { padding: 4px 0; }

/* -------- Utility -------- */
.divider {
  height: 1px; background: var(--border); margin: 24px 0;
}
.center { text-align: center; }
.muted { color: var(--text-muted); }
.mb-2 { margin-bottom: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* -------- Responsive nav -------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 20px 40px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }
  /* Tighter card padding on phones so content doesn't feel cramped against edges */
  .card { padding: 22px; border-radius: 16px; }
  .card-price { font-size: 26px; padding-top: 16px; }
  /* Make CTAs full-width inside narrow card actions so they don't get clipped */
  .card-actions .btn { flex: 1 1 auto; }
  /* Buttons get a bit smaller on phones; keep tap target >= 44px */
  .btn { padding: 12px 22px; font-size: 15px; min-height: 44px; }
  .btn-sm { padding: 10px 16px; font-size: 14px; min-height: 40px; }
  .btn-lg { padding: 16px 26px; font-size: 17px; }
  /* Marquee text scales down so it doesn't blow out small screens */
  .marquee { padding: 18px 0; }
  .marquee-track { gap: 32px; padding-left: 32px; }
  /* Mission / prose blocks */
  .prose { font-size: 17px; line-height: 1.65; }
}

/* -------- Small phones: stack the footer fully and tighten hero -------- */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 48px 0 28px; margin-top: 64px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero { padding: 40px 18px 32px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 12px; padding: 5px 12px; }
  .hero h1 { font-size: clamp(38px, 11vw, 64px); line-height: 1.0; }
  .hero-sub { margin-top: 18px; font-size: 17px; line-height: 1.55; }
  .hero-ctas { margin-top: 24px; }
  .section-title { font-size: clamp(28px, 7vw, 40px); }
  .section-head { margin-bottom: 32px; }
  .wrap, .wrap-sm { padding: 0 18px; }
  .card { padding: 20px; }
  /* Hero CTAs go full-width-ish so they're easy to tap */
  .hero-ctas .btn { flex: 1 1 100%; max-width: 320px; }
}

/* -------- Print / reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { transition: none !important; }
}
