/* The Move Miami brand tokens (mirrors themovemiami.com: --nv-* in new-home.css). */
:root {
  --bg: #0d0d0f;
  --surface: #17171a;
  --border: #26262b;
  --text: #f6f3f3;
  --body: #e4e2e4;
  --muted: #c4c4ca;
  --dim: #a9a9b2;
  --red: #d62828;
  --red-pressed: #b71f1f;
  --red-text: #ff4d4d;
  --radius: 14px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 1rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--text); color: var(--bg); padding: 10px 14px; }
.mono { font-family: var(--mono); font-weight: 500; }
.red { color: var(--red-text); }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 16px; }
@media (min-width: 768px) { .top { padding: 20px 40px; } }
.brand { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; }
.brand__play { font-weight: 900; font-size: 1.35rem; letter-spacing: 0.06em; color: var(--text); line-height: 1; }
.brand__by { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.brand__by img { width: 72px; height: auto; }
.top__nav { display: none; gap: 28px; margin-left: auto; font-size: 0.92rem; font-weight: 500; }
.top__nav a { color: var(--body); text-decoration: none; padding: 10px 0; }
.top__nav a:hover { color: var(--text); }
@media (min-width: 900px) { .top__nav { display: flex; } }
.top .btn--sm { margin-left: auto; }
@media (min-width: 900px) { .top .btn--sm { margin-left: 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; border: 1px solid var(--red); background: var(--red); color: #fff; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:hover { background: var(--red-pressed); border-color: var(--red-pressed); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }
.btn--ghost { background: transparent; border-color: rgba(246, 243, 243, 0.35); color: var(--text); }
.btn--ghost:hover { background: rgba(246, 243, 243, 0.08); border-color: var(--text); }
.btn--light { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; border-color: #fff; }

/* Hero */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13, 13, 15, 0.75) 0%, rgba(13, 13, 15, 0.1) 28%, rgba(13, 13, 15, 0.35) 55%, var(--bg) 100%),
  linear-gradient(90deg, rgba(13, 13, 15, 0.7) 0%, rgba(13, 13, 15, 0) 65%); }
.hero__body { position: relative; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 88px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.25); }
h1 { margin: 0; color: var(--text); font-weight: 900; font-size: clamp(2.5rem, 8vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 15ch; }
.lede { margin: 22px 0 0; max-width: 50ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--body); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding: 0; margin-top: 8px; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts p { margin: 0; background: var(--surface); padding: 18px 20px; color: var(--dim); font-size: 0.9rem; }
.facts .mono { display: block; color: var(--text); font-size: 1.35rem; margin-bottom: 2px; }
@media (min-width: 768px) { .facts { margin-left: 40px; margin-right: 40px; width: auto; } }
@media (min-width: 1280px) { .facts { margin-left: auto; margin-right: auto; max-width: 1120px; } }

/* Sides */
.sides { display: grid; gap: 20px; padding-top: clamp(56px, 9vw, 112px); padding-bottom: 0; }
@media (min-width: 900px) { .sides { grid-template-columns: 1fr 1fr; gap: 24px; } }
.side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.side img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.side__body { padding: 24px; }
@media (min-width: 768px) { .side__body { padding: 32px; } }
.tag { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tag--outline { background: transparent; border: 1px solid var(--muted); color: var(--text); }
h2 { margin: 0 0 24px; color: var(--text); font-weight: 800; font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
h3 { margin: 0 0 12px; color: var(--text); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; }
.side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.side li { position: relative; padding-left: 22px; color: var(--body); }
.side li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--red); }

/* How */
.how { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; counter-reset: none; }
@media (min-width: 900px) { .how ol { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.how li { border-top: 1px solid var(--border); padding-top: 20px; }
.how .n { display: block; color: var(--red-text); font-size: 0.95rem; margin-bottom: 14px; }
.how p { margin: 0; color: var(--muted); max-width: 40ch; }

/* Studio */
.studio { background: var(--surface); border-block: 1px solid var(--border); padding: clamp(56px, 9vw, 112px) 0; }
.studio__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .studio__grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.studio__copy p { color: var(--muted); max-width: 46ch; margin: 0 0 20px; }
.link { color: var(--red-text); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.link:hover { text-decoration: underline; }
.studio__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.studio__photos img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.studio__photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

/* FAQ */
.faq { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 112px); max-width: 880px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; color: var(--text); font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--red-text); font-size: 1.3rem; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* Join band */
.join { background: var(--red); color: #fff; padding: clamp(56px, 9vw, 104px) 0; }
.join__inner { max-width: 760px; text-align: left; }
.join h2 { color: #fff; }
.join p { margin: 0 0 28px; font-size: 1.1rem; color: #fff; max-width: 52ch; }
.join .fine { margin: 20px 0 0; font-size: 0.85rem; opacity: 0.9; }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--dim); }
.foot__inner { display: grid; gap: 20px; }
@media (min-width: 900px) { .foot__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } }
.foot p { margin: 0 0 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--body); }

/* Legal pages */
.page-top { position: static; border-bottom: 1px solid var(--border); }
.doc { max-width: 72ch; margin: 0 auto; padding: 48px 16px 88px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); max-width: none; }
.doc .meta { color: var(--dim); margin: 12px 0 36px; font-family: var(--mono); font-size: 0.85rem; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 1.2em; }
.doc a { color: var(--red-text); }
.doc .box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
/* Phones: the photo is landscape, so it sits whole under the header and the copy follows it. */
@media (max-width: 767px) {
  .hero { display: block; min-height: 0; padding-top: 76px; }
  .hero picture { display: block; position: relative; }
  .hero__img { position: static; aspect-ratio: 16 / 10; height: auto; object-position: 50% 60%; }
  .hero__shade { top: 76px; bottom: auto; height: calc((100vw) * 0.625); background: linear-gradient(180deg, rgba(13, 13, 15, 0) 55%, var(--bg) 100%); }
  .hero__body { padding-top: 20px; padding-bottom: 32px; }
  .top { background: var(--bg); }
}
