/* Coast to Coast Sound - site styles
   Built mobile-first: base rules are for phones, the @media blocks widen the layout. */

:root {
  --navy: #071726;
  --navy-2: #0E2A47;
  --line: #1D3B5C;
  --sand: #F3E7D3;
  --muted: #B9C6D6;
  --orange: #FF7A3D;
  --orange-dark: #C2410C;
  --pad: 20px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--sand); font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55; padding-bottom: 72px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--sand); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 10px 16px; background: var(--orange); color: var(--navy); font-weight: 700; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: 56px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--orange); text-transform: uppercase; }
.h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; line-height: 1.04; }
.giant { font-size: clamp(46px, 11vw, 150px); font-weight: 800; line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.lead { color: var(--muted); max-width: 640px; }
.head { display: flex; flex-direction: column; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #FF8F5C; color: var(--navy); }
.btn-ghost { border-color: var(--sand); color: var(--sand); background: none; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 23, 38, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand svg { width: 46px; height: auto; flex: none; }
.brand span { font-weight: 800; font-size: 15px; letter-spacing: 0.04em; color: var(--sand); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 10px; background: none; color: var(--sand); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px var(--pad) 20px; background: var(--navy); border-bottom: 1px solid var(--line); }
.nav.open { display: flex; }
.nav a { padding: 14px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav a.btn { margin-top: 16px; border-bottom: 0; padding: 0 26px; color: var(--navy); }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(7, 23, 38, 0.62); }
.hero .wrap { position: relative; z-index: 1; padding-block: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -0.01em; max-width: 900px; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Moving strip */
.ticker { background: var(--orange); color: var(--navy); overflow: hidden; padding: 14px 0; font-size: 17px; font-weight: 800; letter-spacing: 0.08em; white-space: nowrap; }
.ticker-run { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker-run > div { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.ticker i { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* What we bring */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { position: relative; height: 380px; border-radius: 16px; overflow: hidden; background: #000; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover img { transform: scale(1.06); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 23, 38, 0) 30%, rgba(7, 23, 38, 0.92) 78%); }
.card div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 23px; font-weight: 800; }
.card p { font-size: 15.5px; line-height: 1.45; color: #E3DACB; }

/* The system */
.sys-top { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.sys-top .photo { height: 300px; border-radius: 16px; overflow: hidden; }
.sys-top .photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.stats strong { display: block; font-size: clamp(38px, 4.2vw, 50px); white-space: nowrap; font-weight: 800; line-height: 1; color: var(--orange); }
.stats span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr; gap: 14px 28px; font-weight: 500; }
.features li { border-top: 2px solid var(--orange); padding-top: 12px; }
.specs { display: grid; grid-template-columns: 1fr; gap: 18px; }
.spec { background: var(--navy-2); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.spec .eyebrow { letter-spacing: 0.18em; }
.spec h3 { font-size: 24px; font-weight: 800; }
.spec dl > div { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec dt { flex: 0 0 96px; color: var(--muted); }
.spec dd { flex: 1; min-width: 0; }

/* How it works */
.how { background: var(--sand); color: var(--navy); }
.how .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.how ol { display: flex; flex-direction: column; gap: 18px; }
.how li { display: flex; gap: 16px; }
.how li b:first-child { flex: 0 0 32px; font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--orange-dark); }
.how li span span { color: #3B4A5C; }
.how img { width: 100%; height: 300px; object-fit: cover; border-radius: 16px; }

/* After dark */
.gallery { position: relative; overflow: hidden; padding-block: 64px; }
.gallery .glow { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(70px) saturate(1.4); opacity: 0.55; }
.gallery::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy) 0%, rgba(7, 23, 38, 0) 28%, rgba(7, 23, 38, 0) 72%, var(--navy) 100%); pointer-events: none; }
.gallery .inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; }
/* phones: a swipeable row of photos */
.strips { display: flex; gap: 10px; padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.strips::-webkit-scrollbar { display: none; }
.strip { position: relative; flex: 0 0 84%; height: 380px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; scroll-snap-align: center; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip .dim { display: none; }
.swipe-hint { padding-inline: var(--pad); font-size: 14px; color: var(--muted); }

/* Video */
.video { position: relative; overflow: hidden; background: var(--navy-2); }
.video .glow { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(70px) saturate(1.3); opacity: 0.4; }
.video .wrap { position: relative; padding-block: 64px 72px; }
.video video { width: calc(100% - 8px); aspect-ratio: 16 / 9; object-fit: cover; background: #000; border-radius: 14px; box-shadow: 8px 8px 0 var(--orange), 0 30px 80px rgba(0, 0, 0, 0.55); }

/* Booking */
.book .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact { display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; }
.contact a[href] { text-decoration: underline; text-underline-offset: 3px; }
.contact a:not([href]) { text-decoration: none; color: var(--muted); }
.quote { display: grid; grid-template-columns: 1fr; gap: 16px; background: var(--navy-2); padding: 22px; border-radius: 16px; }
.quote label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.quote input, .quote textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 1px solid #5F7A99; background: var(--navy); color: var(--sand); font: inherit; font-size: 16px; color-scheme: dark; }
.quote textarea { resize: vertical; }
.quote .full { grid-column: 1 / -1; }
.quote .hp { position: absolute; left: -9999px; }
.form-note { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: 15px; background: var(--navy); border: 1px solid #5F7A99; }
.form-note[hidden] { display: none; }
.form-note.ok { border-color: #3FBF7F; }
.form-note.bad { border-color: var(--orange); }
.thanks { background: var(--navy-2); padding: 28px; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.thanks h3 { font-size: 26px; font-weight: 800; }

/* Footer and phone action bar */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); }
.site-footer strong { font-weight: 800; letter-spacing: 0.04em; color: var(--sand); }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 23, 38, 0.96); border-top: 1px solid var(--line); }
.actionbar .btn { flex: 1; padding: 0 8px; font-size: 15px; white-space: nowrap; }
.actionbar [hidden] { display: none; }

/* Tablets */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px; }
  .strip { flex-basis: 56%; height: 440px; }
  .how img { height: 380px; }
}

/* Desktops */
@media (min-width: 960px) {
  :root { --pad: 32px; --header-h: 72px; }
  body { padding-bottom: 0; }
  .section { padding-block: 88px; }
  .stack { gap: 36px; }
  .menu-btn, .actionbar { display: none; }
  .brand svg { width: 54px; }
  .brand span { font-size: 18px; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; font-size: 16px; }
  .nav a { padding: 11px 0; border: 0; }
  .nav a.btn { margin: 0; min-height: 44px; padding: 0 22px; }
  .hero { min-height: 660px; }
  .hero .wrap { padding-block: 72px; gap: 22px; }
  .ticker { font-size: 20px; padding: 16px 0; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .card { height: 440px; }
  .sys-top { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .stats { gap: 24px 32px; }
  .sys-top .photo { height: 440px; }
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .spec { padding: 28px; }
  .how .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; }
  .how img { height: 440px; }
  .gallery { padding-block: 104px; }
  .gallery .inner { gap: 28px; }
  /* desktops: expanding strips instead of a swipe row */
  .strips { gap: 8px; padding-inline: 16px; height: clamp(380px, 48vw, 620px); overflow: visible; scroll-snap-type: none; }
  .strip { flex: 1 1 0; min-width: 0; height: 100%; cursor: pointer; transition: flex-grow 0.6s ease; }
  .strip.open { flex-grow: var(--grow, 4); }
  .strip .dim { display: block; position: absolute; inset: 0; background: var(--navy); opacity: 0.5; transition: opacity 0.6s ease; }
  .strip.open .dim { opacity: 0; }
  .swipe-hint { display: none; }
  .video .wrap { padding-block: 104px 120px; }
  .video video { width: calc(100% - 16px); border-radius: 16px; box-shadow: 16px 16px 0 var(--orange), 0 30px 80px rgba(0, 0, 0, 0.55); }
  .book .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; }
  .quote { padding: 32px; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-run { animation: none; }
  .card img, .strip, .strip .dim { transition: none; }
}
