/* ============================================================
   Detty — thedettyapp.com marketing site (home)
   Detty Black system: near-monochrome + single champagne gold.
   ============================================================ */

:root {
  --black: #050505;
  --coal: #0b0b0b;
  --card: #111111;
  --card-2: #161310;
  --gold: #d4af37;
  --gold-soft: #c9a86a;
  --gold-deep: #6b5a24;
  --white: #ffffff;
  --silver: #b8b8b8;
  --muted: #7a7a7a;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-soft: rgba(255, 255, 255, 0.05);
  --font-display: 'Sora', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 7.2vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; }
.section-sub { color: var(--silver); max-width: 560px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; white-space: nowrap;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: #e2c157; }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline-soft);
}
.nav-container {
  width: min(1240px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 34px; height: 34px; }
.nav-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 14px; font-weight: 600; color: var(--silver);
  transition: color 0.25s;
}
.nav-link:hover { color: var(--gold); }
@media (max-width: 720px) { .nav-link { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video,
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.62) 0%, rgba(5,5,5,0.45) 34%, rgba(5,5,5,0.82) 78%, var(--black) 100%),
    radial-gradient(90% 60% at 50% 42%, rgba(5,5,5,0) 0%, rgba(5,5,5,0.42) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(1160px, 92vw); margin: 0 auto;
  padding: 128px 0 96px;
}
.hero h1 span { color: var(--gold); }
.hero-description {
  margin-top: 26px; max-width: 540px;
  color: rgba(255, 255, 255, 0.82); font-size: 18.5px;
}
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.quiet-line { margin-top: 22px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }

.hero-chips { position: absolute; right: 4vw; bottom: 15vh; z-index: 2; display: grid; gap: 14px; }
.chip {
  background: rgba(10, 10, 10, 0.66);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 16px; padding: 13px 18px;
  animation: floaty 7s ease-in-out infinite;
}
.chip + .chip { animation-delay: -3.5s; }
.chip .mini-label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.chip strong { font-size: 15px; }
.chip i {
  display: block; height: 14px; margin-top: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.65) 0 1.5px, transparent 1.5px 4.5px);
  border-radius: 1px;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-10px) rotate(0.6deg); }
}
@media (max-width: 900px) { .hero-chips { display: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2;
  width: 1px; height: 52px; overflow: hidden;
}
.scroll-cue::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 1px; height: 50%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--hairline-soft);
  padding: 18px 0; overflow: hidden;
  background: var(--coal);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.34em; color: rgba(255, 255, 255, 0.5); white-space: nowrap;
}
.marquee-track span.gold { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 118px 0; }
.section-header { max-width: 640px; margin-bottom: 58px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header p:not(.eyebrow) { margin-top: 18px; color: var(--silver); font-size: 17px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 30px 26px;
  transition: transform 0.5s var(--ease), border-color 0.35s, background 0.35s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  background: var(--card-2);
}
.feature-card span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold);
}
.feature-card h3 { margin: 14px 0 10px; }
.feature-card p { color: var(--silver); font-size: 14.5px; }

/* ---------- Editorial band ---------- */
.editorial { background: var(--coal); border-block: 1px solid var(--hairline-soft); }
.editorial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: end;
}
@media (max-width: 860px) { .editorial-grid { grid-template-columns: 1fr; } }
.editorial-item { position: relative; border-radius: 22px; overflow: hidden; }
.editorial-item img {
  width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.editorial-item:nth-child(2) img { aspect-ratio: 4 / 6; }
.editorial-item:hover img { transform: scale(1.045); }
.editorial-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.88));
}
.editorial-item .cap-overline {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; color: var(--gold);
}
.editorial-item .cap-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; }

/* ---------- Loop ---------- */
.flow-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .flow-grid { grid-template-columns: 1fr; gap: 30px; } }
.flow-sticky { position: sticky; top: 120px; }
.flow-sticky .eyebrow { margin-bottom: 16px; }
.flow-list { list-style: none; }
.flow-list li {
  display: flex; gap: 26px; padding: 30px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.flow-list li:first-child { border-top: 1px solid var(--hairline-soft); }
.flow-list span {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: var(--gold); padding-top: 5px;
}
.flow-list strong { font-family: var(--font-display); font-size: 21px; display: block; margin-bottom: 6px; }
.flow-list p { color: var(--silver); font-size: 15px; }

/* ---------- December ---------- */
.december { position: relative; overflow: hidden; }
.december-media { position: absolute; inset: 0; }
.december-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.december-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.72) 44%, rgba(5,5,5,0.28) 100%);
}
.december-inner { position: relative; padding: 148px 0; max-width: 560px; }
.december-inner .eyebrow { margin-bottom: 16px; }
.december-inner p { margin-top: 18px; color: rgba(255, 255, 255, 0.85); font-size: 17px; }
.december-inner .btn { margin-top: 30px; }

/* ---------- Passport ---------- */
.passport-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
@media (max-width: 860px) { .passport-grid { grid-template-columns: 1fr; gap: 40px; } }
.passport-copy .eyebrow { margin-bottom: 16px; }
.passport-copy > p { margin-top: 18px; color: var(--silver); font-size: 17px; max-width: 470px; }
.tier-ladder { margin-top: 34px; display: grid; gap: 0; }
.tier {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 4px; border-bottom: 1px solid var(--hairline-soft);
}
.tier:first-child { border-top: 1px solid var(--hairline-soft); }
.tier-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22); flex: none;
}
.tier strong {
  font-family: var(--font-display); font-size: 14.5px; letter-spacing: 0.1em;
  color: var(--silver); flex: 1;
}
.tier small { font-size: 12.5px; color: var(--muted); }
.tier.gold .tier-dot { background: var(--gold); box-shadow: 0 0 12px rgba(212, 175, 55, 0.55); }
.tier.gold strong { color: var(--gold); }
.passport-note { margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.passport-photo { position: relative; border-radius: 26px; overflow: hidden; }
.passport-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.passport-photo::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.34); border-radius: 26px;
  pointer-events: none;
}
.passport-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(8, 8, 8, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.45); border-radius: 14px;
  padding: 12px 16px;
}
.passport-badge .mini-label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.passport-badge strong { font-size: 15px; }

/* ---------- Organizers ---------- */
.organizer-card {
  position: relative;
  background: linear-gradient(135deg, var(--card-2), #0a0a0a);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 28px; padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
}
.organizer-card::before {
  content: ''; position: absolute; inset: -40% -20% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.13), transparent 68%);
  pointer-events: none;
}
.organizer-card .eyebrow { margin-bottom: 16px; }
.organizer-card > p { margin-top: 18px; max-width: 560px; color: var(--silver); font-size: 17px; }
.organizer-stats {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px;
}
.organizer-stats span {
  font-size: 13px; font-weight: 600; color: var(--silver);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 9px 18px;
}
.organizer-card .btn { margin-top: 34px; }

/* ---------- Download band ---------- */
.download-band { position: relative; overflow: hidden; }
.download-media { position: absolute; inset: 0; }
.download-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.download-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(5,5,5,0.55) 30%, rgba(5,5,5,0.78) 100%);
}
.download-inner {
  position: relative; text-align: center;
  padding: 158px 0 150px; max-width: 660px; margin: 0 auto;
}
.download-inner .eyebrow { margin-bottom: 16px; }
.download-inner .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline-soft); background: var(--black); }
.footer-container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: 44px 0;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 34px; height: 34px; }
.footer-brand strong { font-family: var(--font-display); font-size: 17px; display: block; }
.footer-brand p { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13.5px; color: var(--silver); transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { width: 100%; font-size: 12.5px; color: var(--muted); }

/* ---------- Mobile menu ---------- */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .nav-burger { display: flex; }
  .nav-links .btn { display: none; }
}
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 5, 5, 0.94);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 96px 8vw 64px;
}
.mobile-menu-links { display: grid; gap: 8px; }
.mobile-menu-links a {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  padding: 8px 0; color: var(--white); border-bottom: 1px solid var(--hairline-soft);
  transition: color 0.25s;
}
.mobile-menu-links a:hover { color: var(--gold); }
.mobile-menu .btn { align-self: flex-start; }

/* ---------- Proof strip ---------- */
.proof { border-bottom: 1px solid var(--hairline-soft); background: var(--black); }
.proof-grid {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: 42px 0;
}
.proof-stat { display: flex; align-items: baseline; gap: 12px; }
.proof-stat strong {
  font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800; color: var(--gold); letter-spacing: -0.02em;
}
.proof-stat span { font-size: 14px; color: var(--silver); max-width: 130px; line-height: 1.35; }
.proof-note {
  margin-left: auto; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 720px) { .proof-note { margin-left: 0; width: 100%; } }

/* ---------- Product showcase ---------- */
.showcase {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.showcase-tabs { display: grid; }
.showcase-tab {
  display: flex; gap: 20px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--hairline-soft);
  padding: 22px 14px; border-radius: 14px 14px 0 0;
  font-family: var(--font-body); color: var(--white);
  transition: background 0.3s;
}
.showcase-tab:first-child { border-top: 1px solid var(--hairline-soft); }
.showcase-tab span {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--muted); padding-top: 5px; transition: color 0.3s;
}
.showcase-tab strong {
  display: block; font-family: var(--font-display); font-size: 19px;
  margin-bottom: 5px; transition: color 0.3s;
}
.showcase-tab p { color: var(--muted); font-size: 14px; line-height: 1.5; transition: color 0.3s; }
.showcase-tab:hover { background: rgba(255, 255, 255, 0.02); }
.showcase-tab.active span, .showcase-tab.active strong { color: var(--gold); }
.showcase-tab.active p { color: var(--silver); }
.showcase-phone { display: flex; justify-content: center; }
.phone-frame {
  position: relative; width: min(320px, 78vw); aspect-ratio: 780 / 1696;
  border-radius: 44px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  background: var(--coal);
}
.phone-frame .shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 0.55s var(--ease);
}
.phone-frame .shot.active { opacity: 1; }

.mini-features {
  margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 720px) { .mini-features { grid-template-columns: 1fr; } }
.mini-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 22px 24px;
}
.mini-card span {
  font-family: var(--font-display); color: var(--gold); font-weight: 700; font-size: 18px;
  line-height: 1.2;
}
.mini-card strong { font-family: var(--font-display); font-size: 16.5px; display: block; margin-bottom: 4px; }
.mini-card p { color: var(--silver); font-size: 14px; }

/* ---------- Tonight on Detty ---------- */
.tonight { background: var(--coal); border-block: 1px solid var(--hairline-soft); overflow: hidden; }
.tonight .section-header { margin-bottom: 40px; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); margin-right: 10px; vertical-align: 1px;
  animation: livepulse 2s ease-in-out infinite;
}
@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(212, 175, 55, 0); }
}
.tonight-strip {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px max(calc((100vw - 1160px) / 2), 4vw) 56px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.tonight-strip::-webkit-scrollbar { display: none; }
.tonight-card {
  flex: 0 0 auto; width: 250px; scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s;
}
.tonight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.42); background: var(--card-2);
}
.t-city {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold);
}
.tonight-card strong {
  font-family: var(--font-display); font-size: 18px; line-height: 1.25; flex: 1;
}
.tonight-card em { font-style: normal; font-size: 13px; color: var(--silver); }
.tonight-more { justify-content: center; border-style: dashed; }
.tonight-more strong { flex: 0; color: var(--gold); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video, .hero-media img { animation: none; }
  .chip, .scroll-cue::after { animation: none; }
  .marquee-track { animation-duration: 160s; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
