/* ──────────────────────────────────────────────────────────
   IMPERIUM · imperiumicons.uk
   Editorial OnlyFans agency single-page funnel
   Palette: plum / cream / rose / gold
   Type: Fraunces (display) + Inter (body)
   ────────────────────────────────────────────────────────── */

:root {
  /* Brand colours */
  --plum:        #3D1F2E;
  --plum-deep:   #2A1320;
  --cream:       #F2E8DC;
  --cream-soft:  #F8F1E5;
  --rose:        #E8C9C0;
  --mauve:       #C6ACAA;
  --gold:        #B8935A;
  --gold-soft:   #D4B584;
  --charcoal:    #2A1F1F;
  --grey-line:   #C9BBA8;

  /* Type */
  --serif:  'Fraunces', 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max:    1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* paper grain — subtle SVG noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

/* ── masthead ─────────────────────────────────────────── */
.masthead {
  border-bottom: 1px solid var(--grey-line);
  padding: 1.25rem var(--gutter);
  position: relative;
  z-index: 10;
}
.masthead__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.masthead__rule {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.55;
}
.masthead__rule--right { text-align: right; }
.masthead__brand { text-align: center; }
.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  color: var(--plum);
  font-style: italic;
}
.brand__sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* ── hero ─────────────────────────────────────────────── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero__headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--plum);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  margin-bottom: 1.5rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero__sub {
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.85;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--plum);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--plum-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(61, 31, 46, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn--ghost:hover {
  background: var(--plum);
  color: var(--cream);
}
.btn--large {
  padding: 1.15rem 2.5rem;
  font-size: 0.9rem;
}

/* hero stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}
.stat {
  background: var(--cream-soft);
  padding: 2rem 1rem;
  text-align: center;
}
.stat__number {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--plum);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
  line-height: 1.4;
}

/* ── VSL ──────────────────────────────────────────────── */
.vsl {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
  position: relative;
  z-index: 2;
}
.vsl__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--plum-deep);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(61, 31, 46, 0.35);
}
.vsl__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
}
.vsl__placeholder-inner {
  text-align: center;
  color: var(--cream);
}
.vsl__play {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border: 1.5px solid var(--gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--gold-soft);
  padding-left: 6px;
  transition: all 0.4s var(--ease);
}
.vsl__placeholder:hover .vsl__play {
  background: var(--gold);
  color: var(--plum);
  border-color: var(--gold);
  transform: scale(1.05);
}
.vsl__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.vsl__duration {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ── shared section ───────────────────────────────────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  position: relative;
  z-index: 2;
}
.section__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--plum);
  margin-bottom: 2.5rem;
  max-width: 28ch;
}
.section__lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.85;
  max-width: 38rem;
  margin-bottom: 3rem;
}

/* ── steps ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--grey-line);
  padding-top: 3rem;
}
.step {
  position: relative;
  padding-top: 2rem;
}
.step__number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1;
}
.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--plum);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step__copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.85;
}

/* ── services ─────────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  overflow: hidden;
}
.service {
  background: var(--cream-soft);
  padding: 2rem 1.5rem;
}
.service__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--plum);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.service__copy {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.8;
}

/* ── apply section ────────────────────────────────────── */
.section--apply {
  background: var(--plum);
  color: var(--cream);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section--apply .section__title { color: var(--cream); }
.section--apply .section__lede { color: var(--cream); opacity: 0.85; }
.section--apply .section__eyebrow { color: var(--gold-soft); }

.apply-cta {
  text-align: left;
}
.apply-cta .btn--primary {
  background: var(--gold);
  color: var(--plum-deep);
  border-color: var(--gold);
}
.apply-cta .btn--primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}
.apply-cta__note {
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.6;
  margin-top: 1.25rem;
}
.apply-cta__note a {
  color: var(--gold-soft);
  border-bottom: 1px dotted var(--gold-soft);
}

/* ── footer ───────────────────────────────────────────── */
.footer {
  background: var(--plum-deep);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
  position: relative;
  z-index: 2;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(242, 232, 220, 0.15);
}
.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer__tag {
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 24ch;
}
.footer__heading {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.footer__link {
  display: block;
  font-size: 0.9rem;
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s var(--ease);
}
.footer__link:hover { opacity: 1; }
.footer__base {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  opacity: 0.55;
  letter-spacing: 0.04em;
}
.placeholder-co {
  font-style: italic;
  opacity: 0.7;
}

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 720px) {
  .masthead__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .masthead__rule { display: none; }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* ── reduce motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── legal pages ──────────────────────────────────────── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  position: relative;
  z-index: 2;
}
.legal__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.legal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--plum);
  margin-bottom: 0.5rem;
}
.legal__updated {
  font-size: 0.8rem;
  color: var(--charcoal);
  opacity: 0.55;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}
.legal__lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--grey-line);
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--plum);
  margin: 2.5rem 0 0.85rem;
  letter-spacing: -0.005em;
}
.legal p, .legal ul {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.legal ul {
  padding-left: 1.5rem;
  list-style: disc;
}
.legal ul li {
  margin-bottom: 0.4rem;
  list-style: disc;
}
.legal a {
  color: var(--plum);
  border-bottom: 1px dotted var(--gold);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.legal a:hover {
  color: var(--gold);
  border-bottom-color: var(--plum);
}
.legal__nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-line);
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.85;
}
.legal__nav a { white-space: nowrap; }
