/* Wild Bill Productions — site styles. Dark cinematic, GoPro-modern, mobile-first. */
@import url("./tokens.css");

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--offwhite);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
.display { font-family: var(--font-display); text-transform: uppercase; }
.eyebrow { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; font-size: var(--step--1); color: var(--gold); }
.muted { color: var(--muted); }

/* Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
section { padding-block: var(--section-y); }
.section-head { max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.section-head p { color: var(--muted); margin-top: 0.75rem; }
.grid { display: grid; gap: var(--gap); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--step--1); padding: 0.95rem 1.6rem; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; line-height: 1; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--burnt); color: #fff; }
.btn-primary:hover { background: var(--burnt-hi); }
.btn-gold { background: var(--gold); color: #1a1204; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: transparent; color: var(--offwhite); border-color: rgba(243,239,230,0.35); }
.btn-ghost:hover { border-color: var(--offwhite); background: rgba(243,239,230,0.06); }
.btn-lg { padding: 1.1rem 2rem; font-size: var(--step-0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,12,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; line-height: 0.9; }
.brand .mark { width: 46px; height: 46px; flex: none; object-fit: contain; }
.site-footer .brand .mark { width: 40px; height: 40px; }
.brand small { display: block; font-size: 0.5rem; letter-spacing: 0.3em; color: var(--gold); font-family: var(--font-body); font-weight: 700; margin-top: 4px; }
.nav-links { display: none; align-items: center; gap: 1.15rem; }
.nav-links a { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--offwhite); }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--offwhite); transition: 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: 0.5rem 0 1.25rem; border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.85rem 0; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.95rem; border-bottom: 1px solid var(--line); color: var(--offwhite); }
.mobile-menu .btn { margin-top: 1rem; justify-content: center; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero.short { min-height: 62vh; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.28) 26%, rgba(11,11,12,0.72) 60%, rgba(11,11,12,0.97) 100%); }
.hero h1, .hero .sub, .hero .eyebrow { text-shadow: 0 2px 26px rgba(0,0,0,0.6); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vw, 5rem); padding-top: clamp(3rem, 8vw, 6rem); }
.hero h1 { font-size: var(--step-hero); max-width: 16ch; }
.hero .sub { font-size: var(--step-1); color: var(--offwhite); max-width: 42ch; margin-top: 1.1rem; font-weight: 500; }
.hero .btn-row { margin-top: 1.8rem; }

/* Placeholder media (swap for real photos/video) */
.ph { position: relative; background:
    radial-gradient(120% 90% at 70% 10%, rgba(200,135,43,0.16), transparent 55%),
    radial-gradient(90% 80% at 20% 90%, rgba(198,85,31,0.18), transparent 60%),
    linear-gradient(160deg, #212327 0%, #101113 60%, #17130e 100%);
  overflow: hidden;
}
.ph::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 4px 4px; opacity: 0.5; }
.ph-label { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: rgba(243,239,230,0.7); background: rgba(0,0,0,0.5); border: 1px solid var(--line); padding: 4px 8px; border-radius: 3px; }
.hero-media.ph { background-size: auto, auto, auto; }

/* Service / feature cards */
.cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s var(--ease), border-color 0.25s; }
.card:hover { transform: translateY(-4px); border-color: var(--charcoal-2); }
.card .thumb { aspect-ratio: 4/3; }
.card .card-body { padding: 1.3rem 1.3rem 1.5rem; }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--muted); margin-top: 0.5rem; font-size: var(--step--1); }
.card .link { display: inline-block; margin-top: 1rem; color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Gallery grid */
.gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; } }
.gallery .tile { aspect-ratio: 3/4; border-radius: var(--radius); }
.gallery .tile.wide { grid-column: span 2; aspect-ratio: 3/2; }
.tile { position: relative; }
.tile .price { position: absolute; right: 10px; top: 10px; z-index: 3; background: rgba(0,0,0,0.6); border: 1px solid var(--line); color: var(--offwhite); font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; }

/* Featured work band */
.feature-band { grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 720px) { .feature-band { grid-template-columns: 2fr 1fr; } .feature-band .tall { grid-row: span 2; } }

/* Split / prose */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.media-first .media { order: -1; } }
.split .media { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
.prose p { color: var(--muted); margin-top: 1rem; max-width: 56ch; }
.prose h2 { color: var(--offwhite); }

/* Lists / steps */
.steps { counter-reset: s; display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { counter-increment: s; content: counter(s); font-family: var(--font-display); font-size: 1.4rem; color: var(--burnt); line-height: 1; flex: none; width: 1.6ch; }
.step p { color: var(--muted); font-size: var(--step--1); margin-top: 0.2rem; }
.step h4 { font-family: var(--font-body); text-transform: none; font-size: var(--step-0); font-weight: 700; letter-spacing: 0; }

.ticks { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .ticks { grid-template-columns: repeat(2, 1fr); } }
.tick { display: flex; gap: 0.7rem; align-items: flex-start; }
.tick svg { flex: none; margin-top: 3px; color: var(--gold); }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chip { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.5rem 0.95rem; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: 0.2s; }
.chip:hover { color: var(--offwhite); }
.chip.active { background: var(--offwhite); color: var(--black); border-color: var(--offwhite); }

/* Pricing / offer cards */
.offers { grid-template-columns: 1fr; }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.offer.featured { border-color: var(--gold); }
.offer .amt { font-family: var(--font-display); font-size: var(--step-3); color: var(--offwhite); margin: 0.5rem 0 0.25rem; }
.offer ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.55rem; }
.offer li { color: var(--muted); font-size: var(--step--1); padding-left: 1.3rem; position: relative; }
.offer li::before { content: "›"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.offer .btn { margin-top: auto; justify-content: center; }

/* CTA band */
.cta-band { text-align: center; background:
    radial-gradient(80% 120% at 50% 0%, rgba(198,85,31,0.22), transparent 60%), var(--charcoal);
  border-block: 1px solid var(--line); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 1rem auto 1.8rem; }

/* Embed slot */
.embed-slot { border: 1.5px dashed var(--line); border-radius: var(--radius-lg); background: var(--charcoal); padding: clamp(1.5rem, 5vw, 3.5rem); text-align: center; }
.embed-slot .eyebrow { color: var(--burnt); }
.embed-slot h3 { margin: 0.6rem 0; }
.embed-slot p { color: var(--muted); max-width: 52ch; margin: 0 auto; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); color: var(--offwhite); padding: 0.85rem 0.9rem; font-family: inherit; font-size: var(--step-0); transition: border-color 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }

/* Footer */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.72rem; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.footer-grid a { display: block; color: var(--muted); padding: 0.3rem 0; font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--offwhite); }
.socials { display: flex; gap: 0.8rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); }
.socials a:hover { color: var(--offwhite); border-color: var(--offwhite); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: 0.78rem; }

/* Sticky mobile CTA bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 0.5rem; padding: 0.6rem; background: rgba(11,11,12,0.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-cta .btn { flex: 1; justify-content: center; padding-block: 0.85rem; }
body { padding-bottom: 72px; }
@media (min-width: 960px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Utility */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.pill-note { display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--gold); border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem 0.8rem; }

/* Real media filling placeholders */
.thumb, .media { position: relative; overflow: hidden; }
.thumb img, .media img, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
