:root {
  /* The Affair Site: dark, low-lit and seductive. Warm near-black drawn from the
     dim boudoir hero, with the hot pink keyhole/underline from the logo as the
     accent and a champagne warm tone for the luxe detail. */
  --ink: #120c0e;         /* warm near-black, page base */
  --ink-deep: #0b0708;    /* deepest black, footer + cookie */
  --panel: #1c1416;       /* raised dark panel */
  --panel-soft: #241a1d;  /* lighter dark panel */

  --pink: #e6106e;        /* hot pink, primary accent + CTA (logo keyhole) */
  --pink-deep: #b80a55;   /* deep pink, hover */
  --pink-bright: #ff4d94; /* bright pink, highlights on dark */
  --champagne: #d9b382;   /* warm champagne, luxe detail */

  --text: #f7f2f3;        /* near-white headings on dark */
  --body: #c6b9bd;        /* warm grey body copy */
  --muted: #978a8f;

  --bg: #120c0e;          /* page background (dark) */
  --line: rgba(255, 255, 255, 0.10);
  --line-light: #eae3e5;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.14; color: var(--text); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--body); }

.accent, i.accent { color: var(--pink-bright); font-style: normal; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--champagne); }

/* Short pink rule, echoing the underline in the logo */
.rule { width: 54px; height: 3px; background: var(--pink); border-radius: 2px; margin-bottom: 20px; }
.rule.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--sans);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(230, 16, 110, 0.65);
}
.btn-join:hover { background: linear-gradient(120deg, var(--pink-deep) 0%, #8f0742 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(230, 16, 110, 0.75); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

/* Header: white so the dark serif logo reads, finished with the logo's pink rule */
.site-header {
  position: relative; z-index: 40;
  background: #ffffff;
  border-bottom: 3px solid var(--pink);
  box-shadow: 0 4px 22px -12px rgba(0, 0, 0, 0.45);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand img { width: clamp(170px, 22vw, 300px); height: auto; max-width: 100%; }
.header-right { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 20px); }
.login-link { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--ink); }
.login-link:hover { color: var(--pink); }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }

/* Hero: warm dim boudoir shot, subject sits right, so the scrim falls left */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(72vh, 620px);
  padding: clamp(48px, 8vw, 96px) 0;
  background:
    linear-gradient(95deg, rgba(11,7,8,0.95) 0%, rgba(18,12,14,0.86) 34%, rgba(18,12,14,0.42) 62%, rgba(18,12,14,0.05) 100%),
    url('/images/hero-desktop.jpg?v=1') right center / cover no-repeat,
    var(--ink);
}
.hero-inner { max-width: 620px; }
.hero .hero-heading {
  font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em;
  color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.hero .hero-heading .accent { color: var(--pink-bright); font-style: italic; }
.hero-sub { color: rgba(255,255,255,0.94); font-size: 1.2rem; margin-bottom: 30px; max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Trust strip under the hero */
.trustbar { background: var(--panel); border-bottom: 1px solid var(--line); }
.trustbar .container {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px clamp(20px, 4vw, 46px); padding-top: 16px; padding-bottom: 16px;
}
.trustbar span {
  position: relative; font-size: .88rem; font-weight: 500; color: var(--body);
  letter-spacing: .02em; padding-left: 20px;
}
.trustbar span::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--pink);
}

/* Editorial body copy */
.story { padding: clamp(60px, 8vw, 108px) 0; background: var(--bg); }
.story .container { max-width: 1000px; }
.story-intro { max-width: 760px; margin: 0 auto clamp(16px, 3vw, 28px); text-align: center; }
.story-intro h1 { color: var(--text); margin-bottom: 18px; font-size: clamp(2.1rem, 4.6vw, 3rem); }
.story-intro h2 { color: var(--text); margin-bottom: 18px; }
.story-intro p { font-size: 1.18rem; line-height: 1.9; color: var(--body); margin-bottom: 16px; }
.story-intro p:last-child { margin-bottom: 0; }
.story-block { max-width: 720px; margin: 0 auto; }
.story-block p { font-size: 1.15rem; line-height: 1.92; color: var(--body); margin-bottom: 18px; }
.story-block p:last-child { margin-bottom: 0; }
.story-block h2, .story-block h3 { color: var(--text); margin-bottom: 14px; }
.story-cta {
  font-size: 1.14rem; line-height: 1.75; color: var(--text);
  margin-top: 26px; padding: 20px 24px;
  background: var(--panel); border-left: 3px solid var(--pink); border-radius: 0 10px 10px 0;
}
.story-cta strong { color: var(--pink-bright); }
.story-cta a { color: var(--pink-bright); text-decoration: underline; text-underline-offset: 3px; }
.story-cta a:hover { color: #fff; }
.story-block ul, .story-intro ul { margin: 0 0 18px; padding-left: 24px; }
.story-block ul li, .story-intro ul li { font-size: 1.12rem; line-height: 1.85; color: var(--body); margin-bottom: 10px; }
.story-block strong, .story-intro strong { color: var(--text); }
.story-intro + .story-block, .story-block + .story-block { margin-top: clamp(34px, 5vw, 54px); }

/* Conversion band: the one place the pink takes the whole stage */
.cta-band {
  text-align: center;
  padding: clamp(58px, 8vw, 104px) 0;
  background: linear-gradient(135deg, var(--pink-deep) 0%, var(--pink) 100%);
  color: #fff;
}
.cta-band .eyebrow, .cta-band .eyebrow.light { color: rgba(255,255,255,0.85); }
.cta-band .rule { background: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.94); max-width: 48ch; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .btn-join { background: #fff; color: var(--pink-deep); border-color: #fff; box-shadow: 0 10px 26px -10px rgba(0,0,0,0.45); }
.cta-band .btn-join:hover { background: #fff; color: var(--pink-deep); transform: translateY(-2px); }

/* Footer: deepest black, logo sits on a light pill because the mark is dark ink */
.site-footer { background: var(--ink-deep); color: var(--body); padding: 52px 0 36px; text-align: center; border-top: 1px solid var(--line); }
.footer-logo { display: inline-block; background: #fff; padding: 14px 24px; border-radius: 14px; margin-bottom: 22px; }
.footer-logo img { width: clamp(190px, 26vw, 260px); height: auto; max-width: 100%; }
.footer-disclaimer { font-size: .9rem; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 20px 0; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-links a { color: var(--body); text-decoration: underline; font-size: .9rem; }
.footer-links a:hover { color: var(--pink-bright); }
.footer-copy { margin-top: 18px; font-size: .85rem; color: var(--muted); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink-deep); color: #fff;
  border-top: 1px solid var(--line);
  padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.9); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--pink-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--pink); color: #fff; border-color: var(--pink); }
.cookie .btn:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }

/* Reveal on scroll, fail-safe: only hidden when JS is running */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--ink);
  }
  .hero::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 767 / 710;
    background: url('/images/hero-mobile.jpg?v=1') center top / cover no-repeat;
  }
  .hero .container { padding-top: 34px; padding-bottom: 42px; }
  .hero-inner { max-width: 100%; }
  .hero .hero-heading { font-size: clamp(2.1rem, 8.6vw, 2.9rem); }
  .hero-sub { font-size: 1.06rem; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 10px; font-size: .92rem; }
  .header-right { gap: 12px; }
  .brand img { width: clamp(140px, 40vw, 190px); }
  .header-right .btn { padding: 10px 16px; font-size: .85rem; }
  .login-link { font-size: .85rem; }
  .trustbar .container { gap: 8px 22px; }
  .trustbar span { font-size: .8rem; padding-left: 17px; }
}
@media (max-width: 520px) {
  .hero-ctas { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
