/* ============================================================
   PORTRAITS IMPOSSIBLE — GLOBAL STYLESHEET
   Governs: index.html, chooser.html, benefits.html,
            privacy-policy.html, terms-of-use.html
            and all future pages that include this file.
   Does NOT govern: order.html, login.html, dashboard.html,
                    reorder.html, reorder-shipping.html
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* VARIABLES */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9A7A2E;
  --dark: #0A0A0A;
  --dark-2: #111111;
  --dark-3: #1A1A1A;
  --dark-4: #242424;
  --cream: #ffffff;
  --muted: #aaaaaa;
  --red: #C0392B;
  --green: #27AE60;
  --min-font: 14px;
}

/* BASE */
html { font-size: var(--min-font); }
body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--dark);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 1rem;
}

/* NOISE TEXTURE */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* FONTS — must be loaded per-page via Google Fonts link tag */

/* EYEBROW LABEL */
.page-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* BLOCK EYEBROW */
.block-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* BODY TEXT */
p, .block-text, .tile-story-text {
  font-size: 16px;
  line-height: 1.75;
}
p.page-subhead, .page-subhead {
  font-size: 18px !important;
}

/* PRIMARY BUTTON */
.btn-primary {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--dark);
  background: var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* FOOTER */
.page-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #1a1a1a;
  background: var(--dark-2);
}
.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  list-style: none;
}
.footer-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* SITE NAV BAR (funnel pages) */
.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 2rem;
  border-bottom: 1px solid #1a1a1a;
  background: var(--dark-2);
}
.funnel-nav-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.funnel-nav-link:hover { color: var(--gold); }

/* EXIT POPUP */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-popup-overlay.visible { display: flex; }
.exit-popup {
  background: var(--dark-2);
  border: 1px solid var(--gold-dark);
  max-width: 500px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  animation: popupIn 0.3s ease both;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
.exit-popup-close:hover { color: var(--gold); }
.exit-popup-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.exit-popup-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.exit-popup-subhead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* REASSURANCE LINE (below CTA buttons) */
.cta-reassurance {
  font-size: 18px;
  color: #ffffff;
  font-style: italic;
  margin-top: 1.25rem;
}

/* PAGE SUBHEAD */
.page-subhead {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2rem;
}

/* DOC PAGES (privacy, terms) */
.doc-wrap { max-width: 720px; margin: 0 auto; }
.doc-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: block;
  text-decoration: none;
}
.doc-logo span { color: #ffffff; }
.doc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.doc-date {
  font-size: 0.875rem;
  color: #555;
  font-style: italic;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1e1e1e;
}
.doc-section { margin-bottom: 2.5rem; }
.doc-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.doc-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.doc-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}
.doc-section ul li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  padding-left: 1.25rem;
  position: relative;
}
.doc-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}
.doc-contact {
  background: var(--dark-3);
  border: 1px solid #2a2a2a;
  padding: 1.5rem;
  margin-top: 3rem;
}
.doc-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; }
.doc-contact a { color: var(--gold); text-decoration: none; }
.doc-contact a:hover { text-decoration: underline; }
