/* Locally Loud — one-page agency site. Mobile-first, vanilla CSS. */

:root {
  --navy-900: #0a0e2a;
  --navy-800: #111640;
  --navy-700: #1a2058;
  --ink: #f4f2ff;
  --muted: #b9b4d9;
  --coral: #ff7a5c;
  --purple: #a855f7;
  --grad: linear-gradient(100deg, var(--coral), var(--purple));
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 800; margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; font-weight: 700; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--navy-800); }
.section-lede { color: var(--muted); max-width: 620px; margin-bottom: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 26px rgba(168, 85, 247, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 122, 92, 0.4); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--coral); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { display: block; text-align: center; margin-top: 1.4rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--coral); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  width: min(var(--maxw), 94%);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.25rem; font-weight: 800;
  color: var(--ink); text-decoration: none;
}
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand img { border-radius: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav-links a:not(.btn):hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5rem 0 6.5rem;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.orb-1 { width: 420px; height: 420px; background: var(--coral); top: -140px; left: -120px; }
.orb-2 { width: 480px; height: 480px; background: var(--purple); top: -80px; right: -140px; }
.orb-3 { width: 300px; height: 300px; background: #5b21b6; bottom: -120px; left: 38%; opacity: 0.35; }

.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { font-size: 0.85rem; }
.hero h1 { max-width: 820px; margin: 0 auto 1.1rem; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 640px; margin: 0 auto 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-points {
  list-style: none; display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap;
  color: var(--muted); font-size: 0.92rem; font-weight: 600;
}
.hero-points li::before { content: "✓ "; color: var(--coral); font-weight: 800; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; fill: var(--navy-900); }

/* ---------- Cards (services) ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 92, 0.45); }
.card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Websites ---------- */
.site-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}
.site-card { display: flex; flex-direction: column; }
.site-card p:not(.site-tag) { flex: 1; }
.site-link {
  display: inline-block; margin-top: 1.1rem;
  color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border-bottom: 2px solid var(--coral); padding-bottom: 2px;
}
.site-link:hover { color: var(--coral); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.work-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-wrap { position: relative; background: #000; }
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.sample-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--grad); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.work-meta { padding: 1.2rem 1.4rem 1.4rem; }
.work-meta p { color: var(--muted); font-size: 0.92rem; }
.disclaimer {
  margin-top: 1.6rem; font-size: 0.85rem; color: var(--muted);
  border-left: 3px solid var(--coral); padding-left: 1rem;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(var(--navy-800), var(--navy-800)) padding-box,
             var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: 0 14px 44px rgba(168, 85, 247, 0.28);
}
.popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-sub { color: var(--coral); font-weight: 700; margin-bottom: 1.2rem; }
.price-card ul { list-style: none; flex: 1; }
.price-card li { padding: 0.45rem 0; color: var(--muted); font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.price-card li::before { content: "✓ "; color: var(--coral); font-weight: 800; }
.pricing-note { margin-top: 1.8rem; color: var(--muted); font-size: 0.95rem; }
.pricing-note a { color: var(--coral); font-weight: 700; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.about-inner p { color: var(--muted); margin-top: 1rem; }
.about-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem; text-align: center;
}
.about-card img { border-radius: 20px; margin: 0 auto 1.2rem; }
.about-card blockquote { font-size: 1.15rem; font-weight: 700; font-style: italic; }
.about-card blockquote::before { content: open-quote; color: var(--coral); }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-inner .section-lede { margin-inline: auto; }
.contact-ctas { display: flex; flex-direction: column; gap: 1rem; align-items: center; margin: 1.5rem 0 1.8rem; }
.contact-note { color: var(--muted); }
.contact-note strong { color: var(--coral); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 2.2rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; text-align: center; }
.footer p { color: var(--muted); font-size: 0.92rem; }
.footer-small { font-size: 0.8rem !important; opacity: 0.75; }

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

/* ---------- Tablet & up ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-ctas { flex-direction: row; justify-content: center; }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1.4fr 1fr; }
  .section { padding: 5.5rem 0; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a { padding: 0.9rem 6%; border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-links a.btn { margin: 0.8rem 6%; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
