/* Hallmark · shape: Editorial long-document (centrepiece comparison-table spread) · genre: atmospheric · theme: Lacquer (deal manual, dealt themes clashed with the register: Darkroom=doggers.co, Spore=fancyaquickie.com; Bloom is light, wrong for an adult site) · job: join · draw: manual
 * hero: Poster, image bottom-anchored over a ground scrim (brief-fixed) · nav: solid header + in-flow accordion (house rule) · footer: statement mast · imagery: one holding photograph (hero only) · signature: The Social Sex Parties Playbook, a party-type comparison table · lacquer: champagne gold on deep ink-teal
 * axes: dark/high-contrast-serif/warm-gold · posture: committed · contrast: pass (AA on every component) · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5 · weakest: E, the copy runs 800-1,250 words per page by design (these are ranking pages); density held to one idea per screen across big heads, the table, cards and pull-quotes */
/* Hallmark · copy: verbatim · page body is client-checked SEO content from _packs/bulk/socialsexparties.com/content-v2.md, used word for word; non-prose blocks promote whole verbatim sentences (kept in order), never new words */
/* Hallmark · type: Playfair Display 700 (display + logo) over Work Sans 400/600 (body, labels, controls); two families */
/* Hallmark · variety: theme Lacquer is new to design-register-v2.csv, so the (macrostructure, theme) pair is unique; no swingers sibling in the register */

/* ---- Fonts (self-hosted WOFF2 only) ---------------------------------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/work-sans-latin-600-normal.woff2") format("woff2"); }

/* ---- Tokens (Lacquer + shared scale) --------------------------------- */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.1875rem; --text-xl: 1.5rem; --text-2xl: 1.9rem; --text-3xl: 2.4rem;
  --text-display-s: clamp(2.1rem, 3.5vw + 0.6rem, 3.3rem); --text-display: clamp(2.6rem, 5vw + 1rem, 4.75rem);
  --text-section: clamp(1.85rem, 2.3vw + 1rem, 2.95rem); --text-title: clamp(1.25rem, 0.7vw + 0.9rem, 1.55rem); --text-lead: clamp(1.1rem, 0.35vw + 1rem, 1.3rem);
  --text-numeral: clamp(4rem, 9vw + 1rem, 9rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1200px; --container-text: 760px; --gutter: 56px;
  --z-sticky: 200; --z-sticky-nav: 300; --z-toast: 500;
  --color-paper: #000e11; --color-paper-2: #02191c; --color-paper-3: #0b2528;
  --color-ink: #efede5; --color-ink-2: #cac7bd; --color-muted: #a29e93;
  --color-rule: #2b3b3e;
  --color-accent: #e9be5d; --color-accent-bright: #f2cf7f; --color-accent-deep: #b58037; --color-accent-ink: #051214; --color-focus: #e9be5d;
  --font-display: "Playfair Display", Georgia, serif; --font-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 14px; --radius-btn: 8px; --rule-hair: 1px; --shadow-card: 0 1px 0 rgba(233,190,93,0.08);
  --tracking-display: -0.01em;
  --header-h: 72px;
}

/* ---- Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-2xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.65; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 32%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.12; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display-s); }
h2 { max-width: 26ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-family: var(--font-body); font-weight: 400; font-size: var(--text-lead); line-height: 1.6; max-width: 62ch; color: var(--color-ink); }
p { margin: 0; text-wrap: pretty; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-sm); top: -48px; z-index: var(--z-toast); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-btn); font-family: var(--font-body); font-weight: 600; transition: top var(--dur-micro) var(--ease-out); }
.skip-link:focus { top: var(--space-sm); }
@media (max-width: 60rem) { :root { --gutter: 24px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ---- Buttons --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink-2); border-radius: var(--radius-btn); background: transparent; color: var(--color-ink); font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); border-color: var(--color-ink); }
.btn:active { background: var(--color-paper-2); }
.btn-join { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn-join:hover { background: var(--color-accent-bright); border-color: var(--color-accent-bright); color: var(--color-accent-ink); }
.btn-join:active { background: var(--color-accent-deep); border-color: var(--color-accent-deep); color: var(--color-accent-ink); }
.btn-lg { min-height: 54px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
.btn-sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn:disabled, .nav-toggle:disabled, .cookie button:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- Header ---------------------------------------------------------- */
.site-header { position: relative; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.site-header .inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); min-height: var(--header-h); padding-block: var(--space-sm); }
.brand { order: 0; margin-right: auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img, .brand-logo { width: clamp(132px, 38vw, 184px); height: auto; display: block; }
.brand-mark { fill: none; stroke: var(--color-accent); }
.brand-word { fill: var(--color-ink); font-family: var(--font-display); font-weight: 700; }
.mainnav { order: 1; display: flex; align-items: center; gap: var(--space-lg); }
.mainnav a { font-family: var(--font-body); font-weight: 400; font-size: var(--text-md); color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-2xs); border-bottom: 2px solid transparent; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.mainnav a:hover { color: var(--color-ink); }
.mainnav a.active { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.mainnav .login-link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 0.2em; }
.mainnav .login-link:hover { text-decoration-color: var(--color-accent); }
.header-join { order: 2; }
.nav-toggle { order: 3; display: none; align-items: center; justify-content: center; width: 46px; height: 46px; background: transparent; border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); border-radius: var(--radius-btn); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 47.99rem) {
  /* Fix pass v1: keep logo, Join Now and menu toggle on one row at 360-414 */
  .site-header .inner { column-gap: var(--space-sm); }
  .brand img, .brand-logo { width: clamp(110px, 33vw, 240px); }
  .header-join { padding-inline: var(--space-md); }
  .nav-toggle { display: inline-flex; }
  .mainnav { order: 4; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); margin-top: var(--space-sm); }
  .mainnav.open { display: flex; }
  .mainnav a { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lg); color: var(--color-ink); }
  .mainnav a.active { border-bottom-color: var(--color-rule); color: var(--color-accent); }
  .mainnav .login-link { text-decoration: none; }
}

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--color-paper-3); color: var(--color-ink); min-height: clamp(540px, 82svh, 760px); }
.hero > picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: center 40%; filter: contrast(1.04) saturate(0.96); }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--color-paper) 3%, color-mix(in oklab, var(--color-paper) 74%, transparent) 28%, transparent 62%); }
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); padding-block: var(--space-2xl); }
.hero-heading { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: var(--tracking-display); font-size: var(--text-display); color: var(--color-ink); max-width: 16ch; text-wrap: balance; }
.hero-strap { font-family: var(--font-body); font-weight: 400; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink); max-width: 46ch; }
.hero .btn { margin-top: var(--space-xs); }

@media (max-width: 47.99rem) {
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero-inner { padding-bottom: calc(var(--space-lg) + 72px); gap: var(--space-sm); }
}

/* ---- Content layout -------------------------------------------------- */
main { display: block; }
.section { padding-block: var(--space-3xl); }
.section + .section { padding-top: 0; }
.seo-content { max-width: var(--container-text); margin-inline: auto; }
.seo-content h1 { margin-bottom: var(--space-lg); }
.seo-content h2 { margin-top: var(--space-3xl); margin-bottom: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.seo-content h3 { margin-top: var(--space-2xl); margin-bottom: var(--space-sm); color: var(--color-ink); }
.seo-content p { max-width: 68ch; margin-top: var(--space-md); color: var(--color-ink); }
.seo-content p.lead { margin-top: 0; }
.seo-content a:not(.btn) { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-deep); text-underline-offset: 0.16em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.seo-content a:not(.btn):hover { text-decoration-color: var(--color-accent); }
.seo-content strong { font-weight: 600; color: var(--color-ink); }

/* ---- Centrepiece: the Playbook comparison table ---------------------- */
.playbook { margin-top: var(--space-xl); }
.playbook-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.playbook table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--text-sm); }
.playbook caption { caption-side: top; text-align: left; }
.playbook th, .playbook td { padding: var(--space-md) var(--space-md); text-align: left; vertical-align: top; border-bottom: var(--rule-hair) solid var(--color-rule); line-height: 1.5; }
.playbook thead th { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--color-accent); background: var(--color-paper-3); white-space: nowrap; border-bottom: var(--rule-hair) solid var(--color-accent-deep); }
.playbook tbody th { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); color: var(--color-ink); white-space: nowrap; }
.playbook tbody tr:last-child th, .playbook tbody tr:last-child td { border-bottom: none; }
.playbook td { color: var(--color-ink-2); min-width: 15ch; }
.playbook tbody tr:hover th, .playbook tbody tr:hover td { background: color-mix(in oklab, var(--color-accent) 6%, transparent); }

/* ---- Card pair (venue types / seasons) ------------------------------- */
.panels { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.panels li { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-top: 2px solid var(--color-accent); border-radius: var(--radius-card); padding: var(--space-lg); color: var(--color-ink-2); line-height: 1.6; box-shadow: var(--shadow-card); }
.panels li .panel-mark { display: block; width: 26px; height: 13px; margin-bottom: var(--space-sm); }
.panels li .panel-mark svg { width: 26px; height: 13px; }
@media (max-width: 40rem) { .panels { grid-template-columns: minmax(0, 1fr); } }

/* ---- Pull-quote ------------------------------------------------------ */
.pull { margin: var(--space-2xl) 0; max-width: var(--container-text); }
.pull p { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1.16; font-size: var(--text-display-s); color: var(--color-ink); max-width: 28ch; border-left: 3px solid var(--color-accent); padding-left: var(--space-lg); }

/* ---- Callout well ---------------------------------------------------- */
.callout { margin: var(--space-2xl) 0 0; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-xl); text-align: center; }
.callout p { margin: 0 auto; max-width: 48ch; font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.28; color: var(--color-ink); }
.callout .callout-rule { width: 40px; height: 2px; background: var(--color-accent); margin: 0 auto var(--space-md); border: 0; }

/* ---- CTA band (headingless action bar; no invented copy) ------------- */
.cta { padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink); }
.cta .container { display: flex; justify-content: center; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl); background: var(--color-paper); color: var(--color-ink); }
.site-footer .container { display: flex; flex-direction: column; gap: var(--space-lg); }
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); color: var(--color-ink); line-height: 1; }
.footer-line { font-size: var(--text-sm); color: var(--color-muted); max-width: 64ch; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }
.footer-nav a { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }
.footer-legal a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 0.2em; }
.footer-legal a:hover { color: var(--color-ink-2); text-decoration-color: var(--color-accent); }
.footer-copy { font-size: var(--text-sm); color: var(--color-muted); }

/* ---- 404 ------------------------------------------------------------- */
.notfound { padding-block: var(--space-4xl) var(--space-3xl); }
.notfound .container { max-width: var(--container-text); }
.notfound .code404 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-numeral); line-height: 0.9; color: var(--color-ink-2); }
.notfound h1 { margin-top: var(--space-md); }
.notfound p { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 54ch; }
.notfound .cta-actions { justify-content: flex-start; margin-top: var(--space-xl); }

/* ---- Cookie banner --------------------------------------------------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: none; background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.cookie.show { display: block; }
.cookie .cookie-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); padding-block: var(--space-sm); }
.cookie p { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.cookie a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.16em; }
@media (max-width: 40rem) {
  .cookie .cookie-inner { gap: var(--space-sm); padding-block: var(--space-xs); flex-wrap: nowrap; }
  .cookie p { font-size: var(--text-xs); line-height: 1.3; }
  .cookie .btn-sm { min-height: 36px; flex: none; }
}

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