/* Crossdressing Singles: Velvet Magenta (house brief, 1 Dec 2026)
   DM Serif Display headings, DM Sans body. Soft corners, cards on the surface colour.
   Hero: photo with an angled edge against a solid velvet block holding the copy.
   Signature: a gradient edge fade from the photo into the page background,
   echoed on the split-band images and the fading magenta stroke above each H2. */

@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg: #150a14;
  --surface: #211120;
  --block: #2a0f29;
  --tint: #1c0d1b;
  --text: #f5efe9;
  --muted: #c8bdb5;
  --join: #c026d3;
  --join-deep: #a21caf;
  --link: #f0abfc;
  --line: rgba(245, 239, 233, 0.13);
  --magenta-line: rgba(192, 38, 211, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.72;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--join); color: #ffffff; padding: 10px 16px; text-decoration: none; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 100%; text-align: center; text-decoration: none; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.01em;
  border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 1.06rem; }
.btn-join { background: var(--join); color: #ffffff; border-color: var(--join); box-shadow: 0 6px 22px rgba(192, 38, 211, 0.28); }
.btn-join:hover, .btn-join:focus-visible { background: var(--join-deep); border-color: var(--join-deep); color: #ffffff; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(245, 239, 233, 0.5); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--link); color: var(--text); }

/* ---------- Header: solid bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--magenta-line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: 196px; height: auto; display: block; }
.mainnav { display: flex; align-items: center; gap: 2px; }
.mainnav a {
  color: var(--muted); text-decoration: none; font-size: 0.97rem; font-weight: 600;
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.mainnav a:hover { color: var(--text); background: rgba(245, 239, 233, 0.05); }
.mainnav a.active { color: var(--text); box-shadow: inset 0 -2px 0 var(--join); border-radius: 0; }
.mainnav a.nav-login { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero: angled photo against a solid velvet block ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--block);
  min-height: 560px; height: min(84vh, 760px);
  display: flex; align-items: center;
}
.hero-media {
  position: absolute; top: 0; bottom: 0; right: 0; left: 36%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
/* the signature: the photo fades out into the page background at its lower edge */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 10, 20, 0) 0%, rgba(21, 10, 20, 0.72) 62%, #150a14 100%);
}
.hero-copy { position: relative; z-index: 2; width: 100%; padding: 0 clamp(24px, 4vw, 64px); }
.hero-panel { width: clamp(290px, 28vw, 520px); }
.hero-heading {
  font-family: var(--font-head); font-weight: 400; color: var(--text);
  font-size: clamp(2.1rem, 3.3vw, 3.25rem); line-height: 1.06; margin: 0 0 16px; letter-spacing: -0.005em;
}
.hero-strapline { color: var(--muted); font-size: 1.1rem; line-height: 1.55; margin: 0 0 26px; max-width: 30em; }
.hero-btn { min-width: 220px; }

/* ---------- Content ---------- */
.section { padding: 3.6rem 0 1rem; }
.section--first { padding-top: 3.4rem; }
.prose { max-width: 740px; }
.prose p { margin: 0 0 1.15em; }
.prose p.lead { font-size: 1.2rem; line-height: 1.68; color: var(--text); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: var(--text); }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; margin: 0 0 0.6em; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); line-height: 1.14; margin: 2.2em 0 0.55em; }
h3 { font-size: 1.4rem; line-height: 1.2; margin: 1.6em 0 0.45em; }
.prose > h2:first-child { margin-top: 0; }
/* divider: a magenta stroke that fades into the background, like the hero edge */
.prose h2::before {
  content: ""; display: block; width: 72px; height: 3px; margin-bottom: 0.7em; border-radius: 3px;
  background: linear-gradient(90deg, var(--join), rgba(192, 38, 211, 0));
}

/* links inside content stay links; buttons keep their own colours */
.seo-content a:not(.btn) { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.seo-content a:not(.btn):hover { color: #ffffff; text-decoration-color: var(--link); }
strong { font-weight: 600; color: var(--text); }

/* ---------- Bands ---------- */
.band { padding: 4rem 0; margin: 3rem 0 0; position: relative; }
.band--split, .band--table { background: var(--surface); }
.band--split::before, .band--table::before, .band--join::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(192, 38, 211, 0), var(--magenta-line), rgba(192, 38, 211, 0));
}

/* Split text-and-image band: image edge fades into the band */
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-text.prose { max-width: none; }
.split-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.split-media img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 38%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 38%);
}
.band--split-rev .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.band--split-rev .split-media { order: -1; }
.band--split-rev .split-media img {
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 38%);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 38%);
}

/* Pull-quote band (home) */
.band--quote {
  background: radial-gradient(ellipse at 18% 50%, rgba(192, 38, 211, 0.2), rgba(192, 38, 211, 0) 62%), var(--tint);
}
.pull { max-width: 900px; margin: 0 auto; padding-left: 30px; border-left: 3px solid var(--join); }
.pull p { margin: 0; font-family: var(--font-head); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.38; color: var(--text); }
.pull--inline { margin: 0.4rem 0 1.8rem; max-width: 860px; }
.pull--inline p { font-size: clamp(1.3rem, 2.1vw, 1.7rem); }

/* Four steps (home): numbered cards, no connecting line */
.steps {
  list-style: none; counter-reset: s; margin: 1.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px;
}
.steps li {
  counter-increment: s; position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 26px 26px 24px 92px; color: var(--muted); min-height: 128px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 26px; top: 18px;
  font-family: var(--font-head); font-size: 3.1rem; line-height: 1; color: var(--link);
}
.steps li strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; line-height: 1.25; margin-bottom: 6px; }

/* Three kinds of place (meet) */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1.6rem 0 0.6rem; }
.place { background: var(--surface); border-radius: var(--radius); padding: 0 26px 24px; overflow: hidden; }
.place::before {
  content: ""; display: block; height: 4px; margin: 0 -26px 22px;
  background: linear-gradient(90deg, var(--join), rgba(192, 38, 211, 0));
}
.place h3 { margin-top: 0; }
.place p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* Meet steps (meet): separate numbered rows, no connecting line */
.rows { list-style: none; counter-reset: r; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 14px; max-width: 900px; }
.rows li {
  counter-increment: r; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px;
  background: var(--surface); border-radius: var(--radius); padding: 22px 26px; color: var(--muted);
}
.rows li::before {
  content: counter(r, decimal-leading-zero); grid-row: 1 / span 2;
  font-family: var(--font-head); font-size: 2.3rem; line-height: 1; color: var(--link);
}
.rows li strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; line-height: 1.25; margin-bottom: 4px; }

/* Callout (meet) */
.callout {
  max-width: 900px; background: var(--surface); border-radius: var(--radius);
  padding: 34px 36px 22px; position: relative; overflow: hidden;
}
.callout::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--join), rgba(192, 38, 211, 0));
}

/* Dressing Spectrum table (lifestyle centrepiece) */
.table-wrap { margin: 1.6rem 0 1.2rem; overflow-x: auto; }
.spectrum { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.spectrum th, .spectrum td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.spectrum thead th {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid var(--join); background: var(--block);
}
.spectrum tbody th { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; color: var(--link); width: 20%; }
.spectrum td { color: var(--muted); }
.spectrum tbody tr:last-child th, .spectrum tbody tr:last-child td { border-bottom: 0; }
.table-note { color: var(--muted); }

/* Checklist (lifestyle) */
.checklist { list-style: none; margin: 1.4rem 0 1.4rem; padding: 0; display: grid; gap: 10px; }
.checklist li {
  position: relative; padding: 14px 18px 14px 52px; background: var(--surface); border-radius: var(--radius-sm); color: var(--text);
}
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 16px; height: 9px;
  border-left: 3px solid var(--link); border-bottom: 3px solid var(--link); transform: rotate(-45deg);
}

/* Final Join band */
.band--join {
  margin-top: 3.6rem;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(192, 38, 211, 0.22), rgba(192, 38, 211, 0) 55%),
    linear-gradient(160deg, #3a0f3b 0%, #2a0f29 45%, #150a14 100%);
}
.join-inner { max-width: 820px; }
.join-inner p { font-size: 1.12rem; color: var(--text); }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

.notfound { padding-bottom: 4rem; }

/* ---------- Footer ---------- */
.footer { background: #0e070d; color: var(--muted); padding: 3.2rem 0 2rem; border-top: 1px solid var(--magenta-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand-logo { width: 190px; }
.footer-title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--link); }
.footer .brand { text-decoration: none; padding: 0; color: var(--text); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.9rem; }

/* ---------- Cookie banner ---------- */
.cookie {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--surface); color: var(--text); border-top: 2px solid var(--join);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
}
.cookie.show { display: block; }
.cookie-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 0.95rem; line-height: 1.4;
}
.cookie-inner a { color: var(--link); text-decoration: underline; }
.cookie-accept {
  flex: 0 0 auto; min-height: 40px; padding: 0 18px;
  background: var(--join); color: #ffffff; border: 0; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.cookie-accept:hover { background: var(--join-deep); }

/* ---------- Tablet ---------- */
@media (max-width: 1023.98px) {
  .hero-media { left: 44%; }
  .places { grid-template-columns: 1fr; }
  .split { gap: 36px; }
}

/* ---------- Accordion nav ---------- */
@media (max-width: 899.98px) {
  :root { --header-h: 60px; }
  .header-inner { flex-wrap: wrap; gap: 0 10px; min-height: var(--header-h); padding-top: 8px; padding-bottom: 8px; }
  .brand { order: 1; }
  .brand svg, .brand img, .brand-logo { width: clamp(110px, 33vw, 240px); }
  .header-cta { order: 2; margin-left: auto; }
  .header-login { display: none; }
  .menu-toggle { display: inline-flex; }
  .mainnav { order: 3; width: 100%; display: none; margin: 8px 0 0; border-top: 1px solid var(--line); }
  .mainnav.open { display: block; }
  .mainnav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; color: var(--text); }
  .mainnav a.active { box-shadow: inset 4px 0 0 var(--join); padding-left: 14px; }
  .mainnav a.nav-login { display: block; }
}

/* ---------- Phones: hero sized by svh, button pinned to the bottom ---------- */
@media (max-width: 767.98px) {
  body { font-size: 1.03rem; }
  .container { padding: 0 16px; }
  .btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.92rem; }

  .hero {
    display: flex; flex-direction: column; align-items: stretch;
    height: calc(100vh - 60px - 64px);
    height: calc(100svh - 60px - 64px);
    min-height: 420px;
  }
  .hero::after { display: none; }
  .hero-media {
    position: relative; inset: auto; flex: 1 1 auto; min-height: 110px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%);
  }
  .hero-media picture, .hero-media img { position: absolute; inset: 0; }
  .hero-media img, .split-media img { object-position: 50% 18%; }
  .hero-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; pointer-events: none;
    background: linear-gradient(180deg, rgba(42, 15, 41, 0) 0%, rgba(42, 15, 41, 0.85) 80%, #2a0f29 100%);
  }
  .hero-copy { flex: 0 0 auto; padding: 0; background: linear-gradient(180deg, var(--block) 0%, var(--block) 72%, var(--bg) 100%); }
  .hero-panel { width: 100%; padding: 10px 16px 16px; }
  .hero-heading { font-size: clamp(1.5rem, 6.6vw, 1.95rem); line-height: 1.1; margin-bottom: 8px; }
  .hero-strapline { font-size: 0.97rem; line-height: 1.45; margin-bottom: 14px; }
  .hero-btn { width: 100%; min-width: 0; min-height: 50px; }

  .section { padding: 2.6rem 0 0.6rem; }
  .section--first { padding-top: 2.4rem; }
  .band { padding: 2.8rem 0; margin-top: 2.2rem; }
  h2 { margin-top: 1.8em; }
  .prose p.lead { font-size: 1.1rem; }

  .split, .band--split-rev .split { grid-template-columns: 1fr; gap: 22px; }
  .band--split-rev .split-media { order: 0; }
  .split-media { aspect-ratio: 16 / 10; }
  .split-media img, .band--split-rev .split-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0) 100%);
  }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 22px 20px 20px 74px; min-height: 0; }
  .steps li::before { left: 22px; font-size: 2.6rem; }
  .rows li { grid-template-columns: 1fr; padding: 20px; }
  .rows li::before { grid-row: auto; margin-bottom: 8px; font-size: 2rem; }
  .callout { padding: 26px 20px 12px; }
  .pull { padding-left: 18px; }

  .spectrum { background: transparent; }
  .spectrum thead { display: none; }
  .spectrum, .spectrum tbody, .spectrum tr, .spectrum th, .spectrum td { display: block; width: 100%; }
  .spectrum tr { background: var(--bg); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
  .spectrum th, .spectrum td { border: 0; padding: 4px 0; }
  .spectrum tbody th { width: 100%; font-size: 1.3rem; }
  .spectrum td::before {
    content: attr(data-label); display: block; font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); opacity: 1;
  }
  .spectrum td { color: var(--text); padding-bottom: 8px; }

  .join-actions .btn { flex: 1 1 140px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .cookie-inner { padding: 8px 12px; gap: 10px; font-size: 0.84rem; justify-content: space-between; }
  .cookie-accept { min-height: 36px; padding: 0 14px; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* hero focus (bulk runner v15) */
@media (min-width: 768px) {
  picture img { object-position: 64% 2% !important; }
}
@media (max-width: 767px) {
  picture img { object-position: 50% 50% !important; }
}
