/* THE CREW — modern redesign design system
   Dark, cinematic, youth-media. Mobile-first. Coral accent nods to the original. */

:root {
  --bg: #0a0a0c;
  --surface: #131318;
  --surface-2: #1b1b22;
  --line: #2a2a34;
  --text: #f5f5f7;
  --muted: #9b9baa;
  --accent: #ff3b30;      /* the Crew coral-red */
  --accent-2: #16e0c9;    /* electric teal — youth pop, used sparingly */
  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .98; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.15rem; letter-spacing: .04em; }
p { margin: 0 0 1em; color: #d7d7de; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: #cfcfd8; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .98rem;
  padding: .82em 1.4em; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: .18s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,59,48,.35); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: #4a4a58; background: rgba(255,255,255,.07); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px);
  background: rgba(10,10,12,.72); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.4rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.5rem; text-transform: lowercase; letter-spacing: .02em; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 1.55rem; margin-left: auto; align-items: center; }
.nav-links a { font-weight: 500; font-size: .96rem; color: #d3d3dc; padding: .3rem 0; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a.cta { color: #fff; background: var(--accent); padding: .55rem 1.1rem; border-radius: 999px; }
.nav-links a:not(.cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--accent); transition: width .2s; }
.nav-links a:not(.cta):hover::after { width: 100%; }
.hamburger { display: none; margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.hamburger svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.4) 0%, rgba(10,10,12,.55) 45%, var(--bg) 100%),
              radial-gradient(120% 90% at 20% 0%, transparent, rgba(10,10,12,.7)); }
.hero .wrap { position: relative; z-index: 2; padding-top: 8vh; padding-bottom: 7vh; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 44ch; margin: 1.2rem 0 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 1.4rem; align-items: center; margin-top: 1.8rem; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.hero-meta b { color: #fff; font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: .35rem .7rem; border-radius: 999px; color: #cfcfd8; }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sec-head { max-width: 60ch; margin-bottom: 2.4rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-bottom: .6rem; }

/* ---------- program cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); min-height: 320px; display: flex; align-items: flex-end; transition: .2s; }
.card:hover { transform: translateY(-4px); border-color: #3a3a46; }
.card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: .4s; }
.card:hover .card-img { transform: scale(1.06); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,8,10,.92) 100%); }
.card-body { position: relative; z-index: 2; padding: 1.4rem; }
.card-body h3 { color: #fff; margin-bottom: .35rem; }
.card-body p { font-size: .92rem; margin: 0; color: #c2c2cc; }
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* ---------- video grid ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.vcard { cursor: pointer; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.vcard:hover { transform: translateY(-4px); border-color: #3a3a46; box-shadow: var(--shadow); }
.vthumb { position: relative; aspect-ratio: 16/9; background: #000 var(--src) center/cover no-repeat; background-color: #1a1a20; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); opacity: 0; transition: .2s; }
.vcard:hover .vthumb::after { opacity: 1; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play span { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,59,48,.92); display: grid; place-items: center; transition: .2s; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.vcard:hover .play span { transform: scale(1.12); }
.play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.vmeta { padding: .9rem 1rem 1.1rem; }
.vmeta .tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.vmeta h3 { font-family: var(--body); font-weight: 600; font-size: 1.02rem; text-transform: none; letter-spacing: 0; margin-top: .25rem; color: #fff; }

/* ---------- filter tabs ---------- */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab { font: inherit; font-size: .9rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #c8c8d2; cursor: pointer; transition: .15s; }
.tab:hover { border-color: #45454f; }
.tab.active { background: #fff; color: #0a0a0c; border-color: #fff; }

/* ---------- schools strip ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.reslist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .2rem; }
.reslist a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: .15s; }
.reslist a:hover { border-color: var(--accent); background: var(--surface-2); }
.reslist .k { font-size: .72rem; font-weight: 700; color: var(--accent); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .45rem; text-transform: uppercase; letter-spacing: .08em; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
footer { background: #08080a; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.foot .brand { font-size: 1.8rem; margin-bottom: .8rem; }
.foot h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; font-weight: 700; }
.foot a { display: block; color: #c2c2cc; padding: .28rem 0; font-size: .95rem; }
.foot a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,7,.92); backdrop-filter: blur(6px); display: none; place-items: center; padding: 20px; }
.lb.open { display: grid; }
.lb-inner { width: min(1000px, 94vw); }
.lb video { width: 100%; border-radius: 12px; background: #000; box-shadow: var(--shadow); }
.lb-title { color: #fff; font-weight: 600; margin: .9rem 2px 0; }
.lb-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 1.5rem; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.14); }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 22px 1.2rem; align-items: stretch; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a.cta { text-align: center; margin-top: .8rem; }
  .hamburger { display: block; }
  .split { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* accessibility: respect reduced-motion — freeze the video hero to its poster */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-bg { display: none; }
  .hero { background: #0a0a0c url("../posters/CrewMusicPR.jpg") center/cover no-repeat; }
}

/* shop coming-soon band */
.shop-soon { text-align: center; }
.shop-soon .btn { margin-top: 1.2rem; }
