/* ============================================================
   Sunsets and Soundwaves — cinematic, sound-first
   Golden-hour DJ experiences + boutique hi-fi sound. Sarasota, FL.
   Fonts: Poppins (display) + Figtree (body)
   ============================================================ */

:root {
  --ink:     #0c0912;
  --ink-2:   #14101e;
  --ink-3:   #1d1629;
  --cream:   #f8f1e7;
  --muted:   rgba(248, 241, 231, 0.64);
  --muted-2: rgba(248, 241, 231, 0.40);
  --line:    rgba(248, 241, 231, 0.12);

  --ember:   #ff5a3c;
  --coral:   #ff7d52;
  --gold:    #ffb24d;
  --peach:   #ffd6a5;
  --plum:    #7a2d52;
  --twilight:#4a2f7a;

  --sun:        linear-gradient(105deg, #ffb24d 0%, #ff7d52 42%, #ff5a3c 72%, #b5366b 100%);
  --sun-text:   linear-gradient(100deg, #ffd6a5, #ff8a4c 55%, #ff5a3c);
  --dusk-wash:  linear-gradient(180deg, #14101e 0%, #241430 50%, #4a2447 100%);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  color: var(--cream);
  background: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: 1500px; }

.eyebrow {
  font-family: var(--f-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.34em;
  font-size: 0.7rem; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: 0.7; }
.section-head.center .eyebrow::before { display: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 16px 32px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-primary { background: var(--sun); color: #2a0f1f; box-shadow: 0 12px 38px rgba(255, 90, 60, 0.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(255, 90, 60, 0.5); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(248,241,231,0.45); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { transform: translateY(-3px); background: var(--ink-3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 9, 18, 0.78); backdrop-filter: blur(16px) saturate(1.2);
  padding: 12px var(--gutter); border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; letter-spacing: 0.02em; font-size: 1rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 22px rgba(255, 126, 63, 0.4); transition: width 0.4s var(--ease), height 0.4s var(--ease); }
.site-header.scrolled .brand-logo { width: 32px; height: 32px; }
.brand-name { line-height: 1; }
.brand-name small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-family: var(--f-display); font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links .btn { color: #2a0f1f; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 210; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: 0.3s var(--ease); }

/* ---------- Cinematic hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { background-size: cover; background-position: center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,9,18,0.5) 0%, rgba(12,9,18,0.05) 30%, rgba(12,9,18,0.55) 72%, rgba(12,9,18,0.96) 100%),
    radial-gradient(120% 80% at 20% 110%, rgba(255,90,60,0.28), transparent 60%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(60px, 12vh, 130px); }
.hero h1 {
  font-size: clamp(2.8rem, 9vw, 7.5rem); text-transform: uppercase; letter-spacing: -0.03em;
  line-height: 0.92; margin: 18px 0 0; text-shadow: 0 6px 60px rgba(0,0,0,0.45);
}
.hero .tagline { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(1.15rem, 3vw, 2rem); color: var(--peach); margin-top: 16px; }
.hero .lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(248,241,231,0.86); max-width: 540px; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; font-family: var(--f-display); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero (interior) */
.page-hero { position: relative; min-height: 64svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(12,9,18,0.55) 0%, rgba(12,9,18,0.2) 40%, rgba(12,9,18,0.92) 100%); }
.page-hero .hero-inner { padding-bottom: clamp(44px, 8vh, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); text-transform: uppercase; margin-top: 14px; }
.page-hero p { color: rgba(248,241,231,0.82); max-width: 600px; margin-top: 16px; font-size: 1.1rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: scrollx 32s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: clamp(1rem, 2vw, 1.5rem); color: var(--muted); display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "✺"; color: var(--ember); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vh, 140px) 0; position: relative; }
.section-ink { background: var(--ink); }
.section-dusk { background: var(--dusk-wash); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-cream .eyebrow { color: var(--ember); }
.section-cream .eyebrow::before { background: var(--ember); }
.section-cream h1, .section-cream h2, .section-cream h3, .section-cream h4 { color: var(--ink); }
.section-cream p { color: rgba(12,9,18,0.66); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 1.12rem; color: var(--muted); }

.lede { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-family: var(--f-display); font-weight: 300; line-height: 1.32; max-width: 980px; letter-spacing: -0.01em; }
.lede em { font-style: italic; }

/* ---------- Split feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-media:hover img { transform: scale(1.05); }
.feature-media.tall { aspect-ratio: 3/4; }
.feature-body h2 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 18px; }
.feature-body p { color: var(--muted); margin-bottom: 16px; }
.feature-body .btn { margin-top: 14px; }
.link-arrow { font-family: var(--f-display); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); display: inline-flex; gap: 8px; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 14px; }

/* ---------- Immersive image cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icard { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; }
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.icard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12,9,18,0.9) 100%); }
.icard:hover img { transform: scale(1.07); }
.icard-body { position: relative; z-index: 2; padding: 28px; }
.icard-body h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px; }
.icard-body p { color: rgba(248,241,231,0.8); font-size: 0.95rem; }

/* ---------- Stat / spec grid ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--ink); padding: 34px 24px; text-align: center; }
.section-cream .specs { background: rgba(12,9,18,0.12); border-color: rgba(12,9,18,0.12); }
.section-cream .spec { background: var(--cream); }
.spec .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); background: var(--sun-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec span { display: block; margin-top: 8px; font-family: var(--f-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Chips & value tiles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(248,241,231,0.04); font-family: var(--f-display); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.03em; }
.section-cream .chip { border-color: rgba(12,9,18,0.15); background: rgba(12,9,18,0.03); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(248,241,231,0.03); transition: transform 0.4s var(--ease), border-color 0.4s; }
.tile:hover { transform: translateY(-6px); border-color: rgba(255,126,63,0.4); }
.tile .num { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.2em; color: var(--ember); }
.tile h4 { margin: 12px 0 10px; font-size: 1.2rem; text-transform: uppercase; }
.tile p { color: var(--muted); font-size: 0.96rem; }
.section-cream .tile { border-color: rgba(12,9,18,0.12); background: rgba(12,9,18,0.02); }

/* ---------- Render / build cards (white plates for CAD renders) ---------- */
.render-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.render-card { background: #f3eee6; border: 1px solid rgba(248,241,231,0.1); border-radius: var(--radius); padding: 16px; box-shadow: 0 16px 44px rgba(0,0,0,0.3); margin: 0; }
.render-card img { width: 100%; height: 230px; object-fit: contain; }
.render-card figcaption { font-family: var(--f-display); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(12,9,18,0.55); margin-top: 14px; text-align: center; }
@media (max-width: 900px) { .render-grid { grid-template-columns: 1fr; } }

/* ---------- Full-bleed parallax break ---------- */
.break { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.break .break-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,9,18,0.62), rgba(12,9,18,0.5)); }
.break-inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.break h2 { font-size: clamp(2.2rem, 8vw, 5.5rem); text-transform: uppercase; text-shadow: 0 6px 50px rgba(0,0,0,0.5); }
.break .quote { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.4; max-width: 900px; }
.break .quote .by { display: block; margin-top: 22px; font-size: 0.9rem; font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.break p.sub { color: var(--peach); margin-top: 14px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; }

/* ---------- Gallery strip ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30vw); gap: 14px; overflow-x: auto; padding: 4px var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 99px; }
.gallery figure { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--sun); color: #2a0f1f; text-align: center; padding: clamp(64px, 10vw, 110px) 0; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4rem); text-transform: uppercase; color: #2a0f1f; }
.cta-band p { margin: 16px auto 32px; max-width: 560px; color: rgba(42,15,31,0.82); font-size: 1.12rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--f-display); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 9px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 15px 17px; border-radius: var(--radius); background: rgba(248,241,231,0.05); border: 1px solid var(--line); color: var(--cream); font-family: var(--f-body); font-size: 1rem; transition: border-color 0.25s, background 0.25s; }
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--coral); background: rgba(248,241,231,0.08); }
.form-field select option { color: #14101e; }
.form-status { margin-top: 16px; font-family: var(--f-display); font-weight: 500; display: none; }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 14px; }
.info-block { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: none; }
.info-block h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 8px; font-family: var(--f-display); }
.info-block p, .info-block a { color: var(--cream); font-size: 1.05rem; }
.info-block a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 70px 0 38px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.96rem; }
.footer-nav { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--f-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; transition: color 0.25s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 0.82rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .break .break-bg { background-attachment: scroll; } .marquee-track, .scroll-cue::after { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0 -100% 0 auto; width: 78%; height: 100vh; background: rgba(12,9,18,0.97); backdrop-filter: blur(18px); flex-direction: column; justify-content: center; gap: 30px; transition: right 0.4s var(--ease); }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .cards, .specs, .tiles { grid-template-columns: 1fr; }
  .break .break-bg { background-attachment: scroll; }
}

/* ---- Scroll-activated wave accents ---- */
.ocean-wave { width: min(280px, 64%); height: 34px; margin-top: 24px; overflow: hidden; }
.ocean-wave svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ocean-wave .ow { fill: none; stroke-width: 2; stroke-linecap: round; }
.ocean-wave .ow1 { stroke: var(--gold); opacity: .85; animation: ow-drift 7s linear infinite; }
.ocean-wave .ow2 { stroke: var(--ember); opacity: .45; animation: ow-drift 11s linear infinite reverse; }
@keyframes ow-drift { to { transform: translateX(-80px); } }
.section-cream .ocean-wave .ow1 { stroke: var(--ember); }

.wave-divider { display: flex; justify-content: center; padding: clamp(20px,4vh,44px) var(--gutter); background: transparent; }
.soundwave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 56px; width: min(640px, 88%); }
.soundwave span { width: 3px; height: var(--h, 30%); border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--ember)); opacity: .5; transform: scaleY(0); transform-origin: center; }
.soundwave.in span { animation: sw-rise .7s var(--ease) forwards; }
@keyframes sw-rise { 0% { transform: scaleY(0); opacity: .2; } 60% { transform: scaleY(1.12); opacity: .65; } 100% { transform: scaleY(1); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .ocean-wave .ow { animation: none; } .soundwave span { transform: scaleY(1); } .soundwave.in span { animation: none; } }
