/* Shared JustPick marketing chrome — Support / Privacy / Contact */
:root {
  color-scheme: dark;
  --bg: #050308;
  --fg: #f4f0ea;
  --muted: #a89bb0;
  --amber: #f5a623;
  --amber-deep: #c47812;
  --nav-h: 72px;
  --content: 42rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
  position: relative;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) clamp(18px, 4vw, 48px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, rgba(5, 3, 8, 0.88) 0%, rgba(5, 3, 8, 0.35) 70%, rgba(5, 3, 8, 0) 100%);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.brand-link img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.brand-link span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-link span em {
  font-style: normal;
  color: var(--amber);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav-desktop a {
  color: rgba(244, 240, 234, 0.68);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  transition: color 0.15s ease;
}

.nav-desktop a:hover { color: var(--fg); }
.nav-desktop a.active { color: var(--amber); }

.nav-desktop a.nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a0f08;
  font-weight: 800;
}

.nav-desktop a.nav-cta:hover {
  background: #ffc14d;
  color: #1a0f08;
}

.menu-toggle {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

.nav-drawer {
  position: fixed;
  top: calc(var(--nav-h) + env(safe-area-inset-top));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: rgba(5, 3, 8, 0.97);
  padding: 28px clamp(18px, 4vw, 40px) calc(28px + env(safe-area-inset-bottom));
  display: none;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
}

body.menu-open .nav-drawer { display: flex; }

.nav-drawer a {
  display: block;
  text-decoration: none;
  color: var(--fg);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer a.nav-cta {
  margin-top: 18px;
  border: 0;
  text-align: center;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a0f08;
}

.nav-drawer .drawer-note {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.85rem;
}

/* —— Atmosphere —— */
.stage {
  position: relative;
  min-height: 100svh;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #050308;
}

.poster-wall,
.poster-veil,
.glow,
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poster-wall {
  z-index: 0;
  overflow: hidden;
  opacity: 0.38;
  height: min(72vh, 640px);
}

.poster-rail {
  position: absolute;
  inset: -18% -10% auto;
  height: 120%;
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 14px;
  transform: rotate(-6deg) scale(1.12);
  animation: poster-drift 36s ease-in-out infinite alternate;
}

.poster-rail img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.88) contrast(1.06);
}

.poster-veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 3, 8, 0.45) 0%, rgba(5, 3, 8, 0.72) 42%, rgba(5, 3, 8, 0.98) 68%, var(--bg) 100%),
    linear-gradient(105deg, rgba(5, 3, 8, 0.82) 0%, rgba(5, 3, 8, 0.35) 55%, rgba(5, 3, 8, 0.55) 100%);
}

.glow {
  z-index: 2;
  height: min(72vh, 640px);
  background: radial-gradient(ellipse 45% 40% at 18% 35%, rgba(245, 166, 35, 0.14) 0%, transparent 70%);
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.grain {
  z-index: 2;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* —— Content —— */
.page {
  position: relative;
  z-index: 3;
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding:
    calc(var(--nav-h) + env(safe-area-inset-top) + 36px)
    clamp(18px, 4vw, 48px)
    calc(48px + env(safe-area-inset-bottom));
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-title {
  margin: 0 0 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.rule {
  width: 56px;
  height: 2px;
  margin: 0 0 22px;
  background: var(--amber);
  transform-origin: left center;
  animation: rule-draw 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.lede {
  margin: 0 0 36px;
  max-width: 34rem;
  font-size: clamp(1.02rem, 2.2vw, 1.14rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(244, 240, 234, 0.62);
}

.meta {
  margin: -18px 0 36px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(168, 155, 176, 0.85);
}

.section {
  margin: 0 0 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.section h2 {
  margin: 0 0 10px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section p,
.section li {
  margin: 0 0 10px;
  color: rgba(244, 240, 234, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.section ul {
  margin: 0;
  padding-left: 1.15rem;
}

.section li + li { margin-top: 8px; }

.section strong { color: var(--fg); font-weight: 700; }

.section a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 650;
}

.section a:hover { text-decoration: underline; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 8px 0 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc14d 0%, var(--amber) 48%, var(--amber-deep) 100%);
  color: #1a0f08 !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 12px 32px rgba(245, 166, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(245, 166, 35, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-note {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(168, 155, 176, 0.9);
}

.email-display {
  margin: 0 0 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.email-display a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 166, 35, 0.55);
}

.email-display a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: clamp(36px, 8vh, 64px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-links a {
  color: rgba(168, 155, 176, 0.88);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-links a:hover { color: var(--amber); }

.footer-copy {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(168, 155, 176, 0.48);
  max-width: 36ch;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rule-draw {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -10px, 0); }
}

@keyframes poster-drift {
  from { transform: rotate(-6deg) scale(1.12) translate3d(0, 0, 0); }
  to { transform: rotate(-4deg) scale(1.16) translate3d(0, -2%, 0); }
}

@media (max-width: 759px) {
  .poster-rail {
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    gap: 10px;
  }
}

@media (min-width: 760px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-drawer { display: none !important; }

  .page {
    margin-left: clamp(48px, 9vw, 112px);
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow, .poster-rail, .page, .rule {
    animation: none !important;
  }
}
