/* === pattern-tokens:font-import:start (generated) === */
/*
   The Slow Sunday faces. A stack NAMES a family; it never
   fetches one - so without this the headings below render in
   the metric-matched fallback and look deliberate.

   A <link rel="stylesheet"> in the document head is faster:
   the browser finds it while parsing the head, where this is
   not discovered until global.css has itself arrived and been
   parsed - an extra round trip on the critical path. Write the
   <link> as well; this is the backstop that makes a forgotten
   one slow rather than wrong.

   Quoted, not a bare url() token: these URLs carry a semicolon
   inside the weight axis, and only a string ends where the URL
   ends.

   At the top of the file because @import is valid only before
   any other rule. Regenerated in place; edits here are lost. */
@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400..700;1,400..700&family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..700&display=swap");
/* === pattern-tokens:font-import:end === */

/* Sapphic States -- site stylesheet. Layout and components follow the format the
   partner chose (their EllasConectan site); palette, type and dials are this brand's. */

/*
  Global stylesheet — single source of truth for the site.

  Structure:
    1) Reset and base
    2) Design tokens (:root) — palette and typography are owned by the
       `brand-guidelines` skill. Spacing, radii, shadows, motion, and layout
       tokens are owned here.
    3) Layout primitives
    4) Components (site-wide reusable primitives only — page-specific
       styles live with their page builds, not here)
    5) Utilities
*/

/* ===== 1) Reset and base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 2) Design tokens ===== */
/* Palette and typography are written by the `brand-guidelines` skill from
   `build-assets/0-the-brand/tokens.json`. Spacing, radii, shadows, and
   transitions are owned here. */
:root {
  /* Palette (brand-guidelines) */
  --color-bg: #fff4e8;
  --color-surface: #ffffff;
  --color-surface-soft: #f8e4ea;
  --color-text: #2b1a30;
  --color-text-soft: #655469;
  --color-primary: #6a3487;
  --color-primary-dark: #38073f;
  --color-primary-light: #ead9f2;
  --color-accent: #e98b59;
  --color-focus: #b8431f;
  --color-heading: #38073f;
  --color-scrim: #1d1121;
  --color-rule: #e8d3dc;

  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.12);
  --shadow-md: 0 4px 14px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.12);

  /* Motion */
  --transition-fast: 180ms ease;
  --transition-base: 260ms ease;

  /* Layout */
  --container-max: 72rem;

  /* Aesthetic dials — the `design-system` skill SETS these per brand to diverge
     the look (sharp vs soft, flat vs shadowed, square vs pill). Defaults below are
     a soft/rounded baseline; a brand's design stage should deliberately override
     them so two brands don't look like the same template reskinned. */
  --logo-height: 2.75rem;    /* prominent by default — the logo is a brand asset, not chrome */
  --logo-max-width: 22rem;   /* generous, so wide wordmarks stay tall (not width-starved) */
  --header-bg: var(--color-surface);   /* header band — design-system may set a brand colour */
  --header-fg: var(--color-text);      /* header text/nav colour — flips for a coloured band */
  --btn-radius: var(--radius-pill);
  --card-radius: var(--radius-md);
  --card-shadow: var(--shadow-sm);
  --card-border: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
  --chip-radius: var(--radius-pill);
}

/* Logo grows on wider screens — override the dial at the breakpoint, never per-page. */
@media (min-width: 1024px) {
  :root { --logo-height: 3.5rem; }
}

/* ===== 3) Layout primitives ===== */
.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.section {
  padding: var(--space-10) 0;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== 4) Components ===== */

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  color: var(--header-fg);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* The header logo is an <img src="{{logo.src}}"> whose REAL file is injected by the CMS
   at upload — its aspect ratio is unknown at build time. HEIGHT is the primary driver
   (a generous --logo-height), so every logo renders at a consistent, prominent height
   regardless of ratio; --logo-max-width is a generous, viewport-relative safety cap that
   only clamps a very wide logo on small screens (it then scales down proportionally, never
   distorts). Never pin width AND height. Tune the dials per brand — never a per-page size. */
.site-logo img {
  height: auto;
  width: auto;
  max-height: var(--logo-height);
  max-width: min(var(--logo-max-width, 22rem), 55vw);
  object-fit: contain;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.site-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

/* CMS-rendered menus — `{{menu.navigation}}` and `{{menu.footer}}` expand to
   <ul class="canvas-navigation-menu"> / <ul class="canvas-footer-menu"> with
   <li><a> children. Style the generated classes directly. */

.canvas-navigation-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.canvas-navigation-menu > li {
  margin: 0;
}

.canvas-navigation-menu a {
  color: var(--header-fg);
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.canvas-navigation-menu a:hover,
.canvas-navigation-menu a:focus-visible {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.canvas-footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

/* Footers can carry many links. With 8+ items, flow them into responsive columns
   (auto-fill grid) instead of one long, sprawling wrapping row — multi-column on wide
   screens, collapsing toward a single column on mobile. Short footer menus keep the
   inline row above. Where :has() is unsupported it harmlessly stays the flex row. */
.canvas-footer-menu:has(> li:nth-child(8)) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
  align-items: start;
  gap: var(--space-2) var(--space-5);
}

.canvas-footer-menu > li {
  margin: 0;
}

.canvas-footer-menu a {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.canvas-footer-menu a:hover,
.canvas-footer-menu a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--color-primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--color-text-soft);
  opacity: 0.6;
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--btn-radius);
  min-height: 2.75rem;
  padding: 0.78rem 1.4rem;
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: 3px; }

.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid color-mix(in srgb, var(--color-text) 16%, transparent);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--color-surface-soft) 75%, #fff);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--color-surface-soft) 65%, transparent);
}

/* Header CTAs follow the header foreground so they stay legible on a coloured band
   (no-op on the neutral default where --header-fg == --color-text). */
.site-header .btn-ghost {
  color: var(--header-fg);
  border-color: color-mix(in srgb, var(--header-fg) 20%, transparent);
}

.btn-sm {
  min-height: 2.2rem;
  padding: 0.55rem 1rem;
  font-size: 0.87rem;
}

.btn-lg {
  min-height: 3rem;
  padding: 0.9rem 1.7rem;
  font-size: 1.04rem;
}

.btn-block { width: 100%; }

.btn-icon {
  width: 2.75rem;
  min-width: 2.75rem;
  padding: 0;
  border-radius: 50%;
}

/* Card */
.card {
  background: var(--color-surface);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  padding: var(--space-5);
}

.card-title {
  margin: 0 0 var(--space-2);
  font-size: 1.08rem;
}

.card-text {
  margin: 0;
  color: var(--color-text-soft);
}

/* Chip — pill-shaped tag */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--chip-radius);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.chip-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Site footer */
.site-footer {
  padding: var(--space-10) 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

/* Member profile */
.profile-head {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-6);
}
.profile-avatar {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: var(--radius-pill);
  object-fit: cover;
}
.profile-id {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.profile-headline {
  font-size: 1.15rem;
  font-weight: 600;
}
.profile-bio {
  color: var(--color-text-soft);
  max-width: 60ch;
}
.profile-interests {
  margin-top: var(--space-3);
}

/* ===== 5) Utilities ===== */
.text-center { text-align: center; }
.muted { color: var(--color-text-soft); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== Homepage ===== */
.home-header .site-header-row { padding: var(--space-3) 0; }
.home-header .site-logo img { max-height: 3.25rem; }
@media (min-width: 1024px) { .home-header .site-logo img { max-height: 3.75rem; } }

.home-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: min(86vh, 800px);
  overflow: hidden;
  isolation: isolate;
  background-image: url('img/home/hero.jpg');
  background-size: cover;
  background-position: center 18%;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(20,10,18,.62) 0%, rgba(20,10,18,.22) 26%, rgba(20,10,18,0) 46%, rgba(20,10,18,.18) 62%, rgba(20,10,18,.85) 100%);
}
.home-hero > .container { position: relative; z-index: 1; }
.home-hero-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  min-height: min(86vh, 800px);
  padding: var(--space-6) 0 var(--space-8);
  text-align: center;
  color: #fff;
}
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.home-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  margin: 0;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.home-hero-sub {
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 44ch;
  margin: 0 auto var(--space-5);
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.home-cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 30rem;
  margin: 0 auto var(--space-4);
}
.home-cta-stack .btn { width: 100%; }
.btn-on-photo {
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
.btn-on-photo:hover { background: rgba(255,255,255,.28); }
.home-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.home-trust li { display: inline-flex; align-items: center; gap: .4rem; }

/* Community band */
.home-community h2 { text-align: center; font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin: 0 0 var(--space-2); }
.home-community .home-community-lead { text-align: center; color: var(--color-text-soft); max-width: 52ch; margin: 0 auto var(--space-6); }

/* ===== Member loop — carousel (data-members-styles="none": we own all CSS) ===== */
[data-members] .lp-grid {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-4);
}
[data-members] .lp-grid::-webkit-scrollbar { height: 8px; }
[data-members] .lp-grid::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: var(--radius-pill); }
[data-members] .mem-card {
  flex: 0 0 auto;
  width: 12.5rem;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  position: relative;
  background: var(--color-surface);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
[data-members] .mem-card img,
[data-members] .mem-card__initial {
  width: 100%;
  aspect-ratio: 3 / 4;
  flex: 0 0 auto;
}
[data-members] .mem-card img { display: block; object-fit: cover; object-position: 50% 25%; }
[data-members] .mem-card__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}
[data-members] .badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: var(--chip-radius);
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
}
[data-members] .mem-card__name {
  margin: var(--space-3) var(--space-3) 0;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-members] .mem-card__where {
  margin: 0 var(--space-3);
  font-size: .78rem;
  color: var(--color-text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-members] .mem-card__where:empty { display: none; }
[data-members] .mem-card__line {
  margin: .2rem var(--space-3) 0;
  font-size: .78rem;
  color: var(--color-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-members] .mem-card__cta {
  display: block;
  margin: var(--space-3);
  margin-top: auto;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  padding: .5rem;
  border-radius: var(--btn-radius);
}
[data-members] .mem-card__cta:hover { background: var(--color-primary-dark); }
[data-members] .mem-card--join { padding: 0; min-height: 8rem; align-items: stretch; }
[data-members] .mem-card--join .mem-card__cta {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background: var(--color-surface-soft);
  color: var(--color-text);
}
[data-members] .lp-members__empty {
  margin: 0;
  text-align: center;
  color: var(--color-text-soft);
  font-size: .95rem;
}
[data-members] a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* ===== Footer legal ===== */
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); }
.footer-legal a { color: var(--color-text-soft); font-size: .85rem; }
.footer-legal a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); }
.footer-links a { color: var(--color-text); font-weight: 600; font-size: .9rem; }
.footer-links a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Homepage — sections below the hero (matelocal-style structure) ===== */
.sec-head { text-align: center; max-width: 46rem; margin: 0 auto var(--space-8); }
.sec-eyebrow { display: inline-block; color: var(--color-primary); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-2); }
.sec-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 var(--space-3); }
.sec-head p { color: var(--color-text-soft); margin: 0; font-size: 1.05rem; }

/* Value band */
.home-stats { background: var(--color-surface-soft); }
.home-stats .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); }
@media (min-width: 768px) { .home-stats .container { grid-template-columns: repeat(4, 1fr); } }
.home-stat { text-align: center; }
.home-stat .ic { font-size: 1.9rem; line-height: 1; }
.home-stat strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; margin-top: var(--space-2); }
.home-stat span { color: var(--color-text-soft); font-size: .9rem; }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 640px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
.city-link { display: flex; align-items: center; gap: .5rem; padding: var(--space-3) var(--space-4); background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); font-weight: 600; transition: transform var(--transition-fast), color var(--transition-fast); }
.city-link:hover { transform: translateY(-2px); color: var(--color-primary); }
.city-note { text-align: center; margin-top: var(--space-6); color: var(--color-text-soft); }

/* Features */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); padding: var(--space-6); }
.feature-card .fic { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--radius-md); background: var(--color-primary-light); color: var(--color-primary-dark); font-size: 1.4rem; margin-bottom: var(--space-4); }
.feature-card .cat { display: block; color: var(--color-primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--space-1); }
.feature-card h3 { margin: 0 0 var(--space-2); font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--color-text-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: var(--space-3); }
.step h3 { margin: 0 0 var(--space-2); font-size: 1.15rem; }
.step p { margin: 0; color: var(--color-text-soft); }
.center-cta { text-align: center; margin-top: var(--space-8); }

/* Trust strip */
.trust-strip { background: var(--color-surface-soft); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6); }
.trust-strip .ti { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--color-text); }
.trust-strip .tk { color: var(--color-primary); font-weight: 800; }

/* Final CTA */
.home-final { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; text-align: center; }
.home-final h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 var(--space-3); }
.home-final p { color: rgba(255,255,255,.92); margin: 0 auto var(--space-6); max-width: 44ch; }
.btn-white { background: #fff; color: var(--color-primary-dark); }
.btn-white:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }

/* ===== Location pages ===== */
.loc-head { text-align: center; }
.loc-intro { max-width: 62ch; margin: 0 auto var(--space-6); color: var(--color-text-soft); font-size: 1.05rem; text-align: center; }
.loc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); max-width: 42rem; margin: 0 auto var(--space-8); }
.loc-stat { text-align: center; background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); padding: var(--space-4) var(--space-2); }
.loc-stat strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-primary); line-height: 1.1; }
.loc-stat span { font-size: .78rem; color: var(--color-text-soft); }
.members-explainer { text-align: center; color: var(--color-text-soft); max-width: 52ch; margin: 0 auto var(--space-6); }
.members-caption { text-align: center; color: var(--color-text-soft); font-size: .85rem; margin: var(--space-4) 0 0; }
.members-block__fallback { display: none; text-align: center; color: var(--color-text-soft); max-width: 46ch; margin: var(--space-4) auto 0; }
.members-block:has(.lp-members__empty) .members-block__fallback,
.members-block:has([data-members]:empty) .members-block__fallback { display: block; }
.loc-crosslinks { margin-top: var(--space-6); }
.loc-crosslinks h2 { text-align: center; font-size: 1.2rem; margin: 0 0 var(--space-4); }

/* Location image hero */
.loc-hero { position: relative; overflow: hidden; isolation: isolate; }
.loc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); z-index: -2; }
.loc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,10,18,.55) 0%, rgba(20,10,18,.3) 42%, rgba(20,10,18,.8) 100%); }
.loc-hero-content { color: #fff; text-align: center; padding: var(--space-12) 0 var(--space-10); }
.loc-hero-content .home-eyebrow { background: var(--color-primary); }
.loc-hero-content h1 { color: #fff; font-size: clamp(2rem, 5.4vw, 3.2rem); margin: 0 0 var(--space-3); text-shadow: 0 2px 22px rgba(0,0,0,.55); }
.loc-hero-content .loc-hero-sub { color: #fff; max-width: 54ch; margin: 0 auto var(--space-5); font-size: 1.1rem; text-shadow: 0 1px 14px rgba(0,0,0,.5); }

/* Location prose + area cards */
.loc-section h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); margin: 0 0 var(--space-4); }
.loc-prose { max-width: 65ch; color: var(--color-text); }
.loc-prose p { margin: 0 0 var(--space-4); line-height: 1.7; }
.loc-prose p:last-child { margin-bottom: 0; }

/* Contextual (in-content) links highlighted in brand pink across the site */
.loc-prose a,
.faq-item p a,
.blog-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.loc-prose a:hover,
.faq-item p a:hover,
.blog-note a:hover {
  color: var(--color-primary-dark);
}
.area-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 700px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card { background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); padding: var(--space-5); }
.area-card h3 { margin: 0 0 var(--space-2); font-size: 1.1rem; color: var(--color-primary-dark); }
.area-card p { margin: 0; color: var(--color-text-soft); font-size: .95rem; }

/* ===== Blog / articles ===== */
.blog-intro { max-width: 60ch; margin: 0 auto var(--space-8); text-align: center; color: var(--color-text-soft); font-size: 1.05rem; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 600px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: flex; flex-direction: column; background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
a.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: center; display: block; }
.article-card .thumb.ph { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); }
.article-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.article-card .cat { color: var(--color-primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-card h3 { margin: 0; font-size: 1.1rem; }
.article-card .excerpt { margin: 0; color: var(--color-text-soft); font-size: .92rem; }
.article-card .soon { align-self: flex-start; margin-top: auto; background: var(--color-surface-soft); color: var(--color-primary-dark); font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: var(--radius-pill); }
.blog-note { text-align: center; color: var(--color-text-soft); margin: var(--space-8) auto 0; max-width: 54ch; }

/* Flow diagram (how it works) */
.flow-wrap { max-width: 62rem; margin: 0 auto var(--space-8); background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); padding: var(--space-6); }
.flow-wrap svg { width: 100%; height: auto; display: block; }

/* Plan cards (pricing) */
.plan-price { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: var(--color-primary); margin: var(--space-1) 0 0; line-height: 1.1; }
.plan-price small { display: block; font-size: .8rem; font-weight: 600; color: var(--color-text-soft); margin-top: 2px; }
.plan-durations { color: var(--color-text-soft); font-size: .88rem; margin: var(--space-3) 0; }
.plan-card .btn { align-self: flex-start; margin-top: auto; }
.feature-card.plan-card { display: flex; flex-direction: column; }

/* ===== Article (blog post) ===== */
.article-head { max-width: 46rem; margin: 0 auto var(--space-6); }
.article-cat { color: var(--color-primary); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.article-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: .5rem 0 var(--space-3); line-height: 1.15; }
.article-byline { color: var(--color-text-soft); font-size: .9rem; }
.article-byline .dot { opacity: .5; margin: 0 .4rem; }
/* Editorial byline with round avatar */
.article-byline.byline-editorial { display: flex; align-items: center; gap: .6rem; }
.byline-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: var(--shadow-sm); }
.article-hero { max-width: 58rem; margin: 0 auto var(--space-8); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: var(--card-radius); box-shadow: var(--shadow-md); }
.article-body { max-width: 46rem; margin: 0 auto; }
.in-brief { background: var(--color-surface-soft); border-left: 4px solid var(--color-primary); border-radius: var(--card-radius); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-8); }
.in-brief .lbl { color: var(--color-primary-dark); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: var(--space-2); }
.in-brief p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.article-body h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); margin: var(--space-8) 0 var(--space-3); }
.article-body p { line-height: 1.75; margin: 0 0 var(--space-4); }
.article-body ul { line-height: 1.75; padding-left: 1.2rem; margin: 0 0 var(--space-4); }
.article-body li { margin-bottom: var(--space-2); }
.article-body a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--color-primary-dark); }
.pull-quote { margin: var(--space-8) 0; padding: var(--space-5) var(--space-6); background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 10%, transparent), color-mix(in srgb, var(--color-accent) 10%, transparent)); border-radius: var(--card-radius); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--color-primary-dark); }
.faq { max-width: 46rem; margin: var(--space-10) auto 0; }
.faq > h2 { text-align: center; margin-bottom: var(--space-4); }
.faq-item { border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); padding: var(--space-5) 0; }
.faq-item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); }
.faq-item h3 { margin: 0 0 var(--space-2); font-size: 1.08rem; }
.faq-item p { margin: 0; color: var(--color-text-soft); line-height: 1.7; }


/* === Menú superior en acordeón (CSS-only, <details>/<summary>) === */
.nav-accordion { position: relative; margin-left: var(--space-2); }
.nav-accordion .nav-toggle {
  list-style: none;
  display: inline-flex; align-items: center; gap: .55rem;
  cursor: pointer; user-select: none;
  font-weight: 600; font-size: .95rem;
  color: var(--header-fg);
  padding: .5rem .8rem;
  border-radius: .7rem;
  border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  background: var(--color-surface);
}
.nav-accordion .nav-toggle::-webkit-details-marker { display: none; }
.nav-accordion .nav-toggle::marker { content: ""; }
.nav-accordion .nav-toggle:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-accordion[open] .nav-toggle-bars { background: transparent; }
.nav-accordion[open] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-accordion[open] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-accordion .nav-panel {
  position: absolute; top: calc(100% + .55rem); right: 0; left: auto;
  min-width: 16rem;
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  border-radius: .9rem;
  box-shadow: 0 14px 34px rgba(36, 26, 34, .14);
  padding: .5rem;
  display: flex; flex-direction: column; gap: .15rem;
  z-index: 40;
}
.nav-accordion .nav-panel a {
  padding: .65rem .8rem; border-radius: .55rem;
  color: var(--color-text); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav-accordion .nav-panel a:hover { background: var(--color-surface-soft); color: var(--color-primary-dark); }

/* === Móvil: cabecera compacta sin desbordamiento (19/09/2026, mismo patrón que GayConecta/MadurasGlam) ===
   En pantallas ≤720px el logo se ajusta al hueco libre, el botón «Menú» queda solo con el icono y «Iniciar sesión»
   pasa al panel del menú (enlace .nav-login). El botón de la cabecera solo se oculta si la página
   ya tiene ese enlace en el menú, para no dejar ninguna página sin acceso al login. */
.nav-accordion .nav-panel .nav-login { display: none; border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); border-radius: 0 0 .55rem .55rem; margin-top: .25rem; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .site-header-row { gap: var(--space-2); }
  .site-logo { flex: 0 1 auto; min-width: 0; }
  .site-logo img, .home-header .site-logo img { max-height: 2.6rem; max-width: 100%; }
  .site-cta { gap: var(--space-2); }
  .site-cta .btn-sm { padding: .5rem .7rem; font-size: .82rem; white-space: nowrap; }
  .site-header-row:has(.nav-login) .site-cta .btn-ghost { display: none; }
  .nav-accordion { margin-left: 0; }
  .nav-accordion .nav-toggle { font-size: 0; gap: 0; padding: .6rem .65rem; }
  .nav-accordion .nav-panel { min-width: min(16rem, calc(100vw - 2rem)); }
  .nav-accordion .nav-panel .nav-login { display: block; }
  .btn-lg { white-space: normal; text-align: center; line-height: 1.25; }
}
/* Logo más grande en móvil (19/09/2026): ocupa el hueco libre de la cabecera (hasta 2.6rem de alto).
   La cabecera compacta llega ahora a 720px (entre 561 y ~705px la cabecera normal desbordaba).
   En pantallas muy estrechas se aligera el botón «Únete gratis» para dejarle sitio al logo. */
@media (max-width: 340px) {
  .site-cta .btn-sm { padding: .45rem .55rem; font-size: .78rem; }
}

/* ===== Sapphic States: what differs from the shared format ===== */
h1, h2, h3, h4 { color: var(--color-heading); font-weight: 600; letter-spacing: -.01em; }
body { line-height: 1.6; }
a[href^="#"], [id] { scroll-margin-top: 7rem; }
html { scroll-behavior: smooth; }

/* Long unbroken strings (an email address written as plain text, a URL) wrap instead of
   pushing the page wider than a narrow phone: /privacy overflowed by 16px under 340px. */
body { overflow-wrap: break-word; }

/* Header menu: the five guides, then Log in set apart (2026-12-06). */
.nav-accordion .nav-panel .nav-account { border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); border-radius: 0 0 .55rem .55rem; margin-top: .25rem; }

/* Editorial guides (the plan's hub pages, 2026-12-06). */
.loc-section .tier-table-wrap { margin-top: var(--space-6); }
@media (max-width: 640px) {
  .tier-table.route-table { min-width: 0; }
  .tier-table.route-table thead { display: none; }
  .tier-table.route-table tr { display: block; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-rule); }
  .tier-table.route-table tr:last-child { border-bottom: 0; }
  .tier-table.route-table th, .tier-table.route-table td { display: block; border: 0; padding: .15rem 0; }
  .tier-table.route-table tbody th[scope="row"] { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-heading); padding-bottom: .35rem; }
  .tier-table.route-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--color-text); }
}
.term-list { display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; max-width: 52rem; }
@media (min-width: 760px) { .term-list { grid-template-columns: repeat(2, 1fr); } }
.term-list .term { background: var(--color-surface); border: var(--card-border); border-left: 4px solid #6a3487; border-radius: var(--card-radius); box-shadow: var(--card-shadow); padding: var(--space-4) var(--space-5); }
.term-list dt { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-heading); margin: 0 0 .35rem; }
.term-list dd { margin: 0; color: var(--color-text-soft); line-height: 1.6; }
.flow-list { list-style: none; counter-reset: flow; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); max-width: 52rem; }
@media (min-width: 760px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
.flow-list li { counter-increment: flow; position: relative; padding: var(--space-4) var(--space-5) var(--space-4) 4.25rem; background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.flow-list li::before { content: counter(flow); position: absolute; left: var(--space-4); top: var(--space-4); width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; color: #fff; background: linear-gradient(135deg, #6a3487, #e98b59); }
.flow-list strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-heading); margin-bottom: .2rem; }
.flow-list span { color: var(--color-text-soft); line-height: 1.6; }
.talk-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--color-rule); }
.talk-list li { padding: var(--space-4) 0 var(--space-4) var(--space-6); border-bottom: 1px solid var(--color-rule); position: relative; line-height: 1.6; }
.talk-list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .7rem; height: .7rem; border-radius: 50%; background: linear-gradient(135deg, #6a3487, #e98b59); }
.talk-list strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-heading); }
.talk-list span { color: var(--color-text-soft); }
.guide-card { text-align: left; }
.feature-grid.idea-grid { gap: var(--space-4); }
@media (min-width: 960px) { .feature-grid.idea-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-links .city-link { justify-content: center; text-align: center; }

/* Header ground: near-white with a touch of light violet, at the partner's request (2026-12-06). */
.site-header { background: #f9f5fc; }

/* Logo: made smaller at the partner's request (2026-12-06); the measured box was 96px. */
:root { --logo-height: 64px; --card-radius: 18px; }
@media (max-width: 1023px) { .site-logo img, .home-header .site-logo img { max-height: 3.25rem; } }
.home-header .site-logo img { max-height: var(--logo-height); }
@media (min-width: 1024px) { .home-header .site-logo img { max-height: var(--logo-height); } }
@media (max-width: 720px) {
  .site-logo img, .home-header .site-logo img { max-height: 2.5rem; max-width: 100%; }
}

/* Hero: the photograph, as in the shared format; the two women sit right of centre. */
.home-hero { background-position: 58% 45%; }
.home-hero h1 { font-weight: 600; }
/* Narrow screens: a full-height cover crop shows only one of the two women, so the photo is
   drawn at a fixed share of its width (both women in frame) across the top, and the call to
   action sits on the dark ground the photo fades into. Photo height here is 98.5vw. */
@media (max-width: 820px) {
  .home-hero { min-height: 0; background-color: var(--color-scrim); background-repeat: no-repeat; background-size: 175% auto; background-position: 60% 0; }
  .home-hero::after { background: linear-gradient(180deg, rgba(20,10,18,.55) 0, rgba(20,10,18,.12) 30vw, rgba(29,17,33,0) 36vw, rgba(29,17,33,0) 72vw, var(--color-scrim) 97vw); }
  .home-hero-layout { min-height: 0; gap: var(--space-4); padding: var(--space-4) 0 var(--space-8); }
  .home-hero-layout > div:first-child { min-height: calc(93vw - var(--space-4)); }
  .home-hero h1 { font-size: clamp(1.7rem, 7vw, 2.6rem); }
  .home-eyebrow { margin-bottom: var(--space-2); font-size: .7rem; padding: .3rem .75rem; }
}

/* Final band: white text stays on the violets; the sunset is a glow, not the ground. */
.home-final {
  background:
    radial-gradient(50rem 20rem at 100% 120%, rgba(233,139,89,.5), rgba(233,139,89,0) 70%),
    linear-gradient(135deg, #38073f, #6a3487);
}

/* Homepage closing band ("Date at your own pace"): a photograph behind it, at the partner's
   request (2026-12-06). Violet veil keeps the white text readable. Photo made in Grok. */
.home-final.home-final-photo {
  background:
    linear-gradient(180deg, rgba(56,7,63,.62), rgba(56,7,63,.42) 55%, rgba(56,7,63,.6)),
    url('img/home/final.jpg') center 62% / cover no-repeat #38073f;
  padding-top: clamp(4.5rem, 11vw, 8rem); padding-bottom: clamp(4.5rem, 11vw, 8rem);
}
.home-final.home-final-photo h2, .home-final.home-final-photo p { text-shadow: 0 1px 14px rgba(29,17,33,.55); }
@media (max-width: 720px) { .home-final.home-final-photo { background-position: center, 72% 62%; } }

/* Homepage "A place made for women who love women": made richer at the partner's request
   (2026-12-06). Soft violet and sunset glows behind, centred cards with a custom icon each
   (one set made in Grok, cut into six; white ground, so multiply blends it into the card). */
.home-why {
  background:
    radial-gradient(42rem 26rem at 0% 0%, rgba(234,217,242,.95), rgba(234,217,242,0) 68%),
    radial-gradient(38rem 24rem at 100% 100%, rgba(233,139,89,.24), rgba(233,139,89,0) 68%),
    var(--color-bg);
}
.home-why .feature-card { position: relative; overflow: hidden; text-align: center; padding: var(--space-6) var(--space-6) var(--space-8); transition: transform .2s ease, box-shadow .2s ease; }
.home-why .feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #6a3487, #e98b59); }
.home-why .feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(56,7,63,.16); }
.home-why .feature-card .fic { display: block; width: 7rem; height: 7rem; margin: 0 auto var(--space-3); border-radius: 0; background: center / contain no-repeat; mix-blend-mode: multiply; font-size: 0; }
.home-why .feature-card h3 { font-size: 1.25rem; }
.home-why .feature-card .fic-verified { background-image: url('img/home/why/verified.jpg'); }
.home-why .feature-card .fic-matching { background-image: url('img/home/why/matching.jpg'); }
.home-why .feature-card .fic-messaging { background-image: url('img/home/why/messaging.jpg'); }
.home-why .feature-card .fic-privacy { background-image: url('img/home/why/privacy.jpg'); }
.home-why .feature-card .fic-community { background-image: url('img/home/why/community.jpg'); }
.home-why .feature-card .fic-safety { background-image: url('img/home/why/safety.jpg'); }
@media (prefers-reduced-motion: reduce) { .home-why .feature-card { transition: none; } .home-why .feature-card:hover { transform: none; } }

/* Brand icon library (partner, 2026-12-06): one clay-style set made in Grok, the only icons
   this site uses. <div class="bico bico-NAME" aria-hidden="true"></div>; white-ground JPEGs,
   so multiply blends them into any light surface. Cut by working/build_icons.py.
   Backgrounds of the same family: img/bg/clay-light.jpg and img/bg/clay-dark.jpg. */
.bico { display: block; width: 4.5rem; height: 4.5rem; background: center / contain no-repeat; mix-blend-mode: multiply; font-size: 0; }
.bico.bico-verified { background: url('img/icons/verified.jpg') center / contain no-repeat transparent; }
.bico.bico-matching { background: url('img/icons/matching.jpg') center / contain no-repeat transparent; }
.bico.bico-messaging { background: url('img/icons/messaging.jpg') center / contain no-repeat transparent; }
.bico.bico-privacy { background: url('img/icons/privacy.jpg') center / contain no-repeat transparent; }
.bico.bico-community { background: url('img/icons/community.jpg') center / contain no-repeat transparent; }
.bico.bico-safety { background: url('img/icons/safety.jpg') center / contain no-repeat transparent; }
.bico.bico-free { background: url('img/icons/free.jpg') center / contain no-repeat transparent; }
.bico.bico-badge { background: url('img/icons/badge.jpg') center / contain no-repeat transparent; }
.bico.bico-chat-heart { background: url('img/icons/chat-heart.jpg') center / contain no-repeat transparent; }
.bico.bico-clock { background: url('img/icons/clock.jpg') center / contain no-repeat transparent; }
.bico.bico-profile { background: url('img/icons/profile.jpg') center / contain no-repeat transparent; }
.bico.bico-search { background: url('img/icons/search.jpg') center / contain no-repeat transparent; }
.bico.bico-location { background: url('img/icons/location.jpg') center / contain no-repeat transparent; }
.bico.bico-calendar { background: url('img/icons/calendar.jpg') center / contain no-repeat transparent; }
.bico.bico-camera { background: url('img/icons/camera.jpg') center / contain no-repeat transparent; }
.bico.bico-crown { background: url('img/icons/crown.jpg') center / contain no-repeat transparent; }
.bico.bico-mail { background: url('img/icons/mail.jpg') center / contain no-repeat transparent; }
.bico.bico-bell { background: url('img/icons/bell.jpg') center / contain no-repeat transparent; }
.bico.bico-settings { background: url('img/icons/settings.jpg') center / contain no-repeat transparent; }
.bico.bico-phone { background: url('img/icons/phone.jpg') center / contain no-repeat transparent; }
.bico.bico-question { background: url('img/icons/question.jpg') center / contain no-repeat transparent; }
.bico.bico-editorial { background: url('img/icons/editorial.jpg') center / contain no-repeat transparent; }
.bico.bico-eye { background: url('img/icons/eye.jpg') center / contain no-repeat transparent; }
.bico.bico-flag { background: url('img/icons/flag.jpg') center / contain no-repeat transparent; }
.bico.bico-card { background: url('img/icons/card.jpg') center / contain no-repeat transparent; }
.bico.bico-star { background: url('img/icons/star.jpg') center / contain no-repeat transparent; }
.bico.bico-key { background: url('img/icons/key.jpg') center / contain no-repeat transparent; }
.bico.bico-coffee { background: url('img/icons/coffee.jpg') center / contain no-repeat transparent; }
.feature-card .fic.bico { display: block; width: 4.75rem; height: 4.75rem; border-radius: 0; margin-bottom: var(--space-3); }
.step .num.bico { display: block; width: 4.25rem; height: 4.25rem; border-radius: 0; margin: 0 auto var(--space-2); }
.home-stat .ic.bico { width: 5rem; height: 5rem; margin: 0 auto var(--space-2); border-radius: 0; background-color: transparent; }

/* Questions block sits on the homepage too */
.faq > h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.loc-section .loc-prose, .loc-section h2 { margin-inline: auto; max-width: 65ch; }

/* Pricing page */
@media (min-width: 960px) { .feature-grid.plan-grid { grid-template-columns: repeat(2, 1fr); max-width: 56rem; margin-inline: auto; } }
.plan-list { list-style: none; margin: var(--space-4) 0 var(--space-5); padding: 0; }
.plan-list li { display: grid; grid-template-columns: 1fr auto; gap: .15rem var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--color-rule); }
.plan-list li:last-child { border-bottom: 1px solid var(--color-rule); }
.plan-len { font-weight: 700; color: var(--color-heading); }
.plan-week { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--color-primary); text-align: right; }
.plan-pay { grid-column: 1 / -1; color: var(--color-text-soft); font-size: .92rem; }
.plan-card .btn { align-self: stretch; white-space: normal; text-align: center; line-height: 1.25; }
.price-notes { max-width: 56rem; margin: var(--space-6) auto 0; color: var(--color-text-soft); font-size: .9rem; }
.price-notes p { margin: 0 0 var(--space-2); }
.price-foot { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.price-foot .price-notes { margin-top: 0; text-align: center; }
.tier-table-wrap { max-width: 56rem; margin-inline: auto; overflow-x: auto; background: var(--color-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.tier-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
.tier-table th, .tier-table td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-rule); }
.tier-table thead th { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-heading); background: var(--color-surface-soft); }
.tier-table tbody th[scope="row"] { font-weight: 600; color: var(--color-text); }
.tier-table td { color: var(--color-text-soft); }
.tier-table .tier-group th { background: var(--color-primary-light); color: var(--color-primary-dark); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tier-table tbody tr:last-child th, .tier-table tbody tr:last-child td { border-bottom: 0; }
.nav-accordion .nav-panel a[aria-current="page"] { color: var(--color-primary-dark); background: var(--color-surface-soft); }

/* Profile carousel (homepage): static cards, photo + nickname + town, one swipeable row.
   Same pattern as the partner's BDSMConecta site. No JavaScript. */
.mcar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; list-style: none; margin: 0; padding: 0 0 var(--space-3); scrollbar-width: thin; }
@media (min-width: 600px) { .mcar { grid-auto-columns: minmax(170px, 30%); } }
@media (min-width: 960px) { .mcar { grid-auto-columns: calc((100% - 5 * var(--space-3)) / 6); } }
.mcar-card { scroll-snap-align: start; background: var(--color-surface); border-radius: var(--card-radius); box-shadow: var(--card-shadow); overflow: hidden; transition: transform .18s ease; }
.mcar-card:hover, .mcar-card:focus-within { transform: translateY(-2px); }
.mcar-card a { display: block; color: var(--color-text); text-decoration: none; }
.mcar-card a:focus-visible { outline: 3px solid #ffffff; outline-offset: -3px; }
.mcar-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--color-surface-soft); }
.mcar-name { display: block; margin: var(--space-3) var(--space-3) 0; font-weight: 700; font-size: .95rem; color: var(--color-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcar-city { display: block; margin: 0 var(--space-3) var(--space-3); font-size: .84rem; color: var(--color-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcar-note { text-align: center; margin: var(--space-4) 0 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.band-dark { background-color: var(--color-scrim); background-image: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--color-primary) 45%, transparent) 0%, transparent 62%); color: #fff; }
.band-dark .sec-head h2 { color: #fff; }
.band-dark .sec-head p { color: rgba(255,255,255,.85); }
.band-dark .sec-eyebrow { color: var(--color-primary-light); }

/* Trust pages (about, guidelines, contact, editorial, accessibility, faq) */
.page-figure-wrap { padding-top: 0; }
.page-figure { max-width: 56rem; margin: 0 auto; }
.page-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--card-radius); box-shadow: var(--card-shadow); background: var(--color-surface-soft); }
.loc-prose ul { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
.loc-prose li { margin: 0 0 var(--space-2); line-height: 1.65; }
.loc-prose ul:last-child { margin-bottom: 0; }
.who-card p { margin: 0 0 var(--space-3); color: var(--color-text-soft); line-height: 1.65; }
.who-card p:last-child { margin-bottom: 0; font-size: .9rem; }
.who-card a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.page-reviewed { padding-top: 0; padding-bottom: var(--space-6); }
.page-reviewed p { max-width: 65ch; margin: 0 auto; color: var(--color-text-soft); font-size: .88rem; }
.faq + .faq, .section + .section > .container > .faq { margin-top: 0; }
.home-final .btn + .btn { margin-left: var(--space-2); }
.btn-ghost-white { color: #fff; border: 2px solid rgba(255,255,255,.7); background: transparent; }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); }
@media (max-width: 560px) { .home-final .btn + .btn { margin-left: 0; margin-top: var(--space-3); } }

.split-table { min-width: 0; }
.split-table td { font-weight: 600; color: var(--color-heading); white-space: nowrap; }
@media (max-width: 560px) { .split-table td { white-space: normal; } }
.loc-prose p strong + br { line-height: 1.9; }

.footer-tagline { margin: 0; font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-heading); }

/* === pattern-tokens:start (generated - edit outside these markers) === */
/*
   Role tokens the design patterns require. A var() this
   sheet does not define is discarded at compute time, so
   the rule is lost rather than falling back to anything.
   Regenerated in place; anything you add here is replaced.
*/
/* Metric-matched fallback for Newsreader, on the heading. Arial,
   resized to match Newsreader, so the line boxes are already the size
   they will be once the webfont arrives and the page does not reflow
   under the reader when it does.

   One face PER WEIGHT. A real face gets wider at 700; a local one
   thickened synthetically does not, so a single face solved at 400
   leaves anything set at 700 too narrow and this block causes the
   shift it exists to stop. The descriptor is what picks the right
   solved number instead of synthesising a bold from the 400 face.

   The local() chain is ordered. The numbers are solved against Arial
   specifically, so a stand-in is a degradation rather than a match -
   but Linux and Android have no Arial, and there a face with nothing
   to load defines no family at all and the stack falls through in
   silence, which measured 34.7% off.

   BESIDE the :root rule, never inside it: an at-rule in a declaration
   block is dropped by the parser, and the stack would have survived
   naming a family nothing defines. */
@font-face {
  font-family: 'NewsreaderFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 400;
  size-adjust: 100.1%;
  ascent-override: 73.5%;
  descent-override: 26.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'NewsreaderFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 700;
  size-adjust: 108.8%;
  ascent-override: 73.5%;
  descent-override: 26.5%;
  line-gap-override: 0%;
}

/* Metric-matched fallback for Karla, on the body. Arial,
   resized to match Karla, so the line boxes are already the size
   they will be once the webfont arrives and the page does not reflow
   under the reader when it does.

   One face PER WEIGHT. A real face gets wider at 700; a local one
   thickened synthetically does not, so a single face solved at 400
   leaves anything set at 700 too narrow and this block causes the
   shift it exists to stop. The descriptor is what picks the right
   solved number instead of synthesising a bold from the 400 face.

   The local() chain is ordered. The numbers are solved against Arial
   specifically, so a stand-in is a degradation rather than a match -
   but Linux and Android have no Arial, and there a face with nothing
   to load defines no family at all and the stack falls through in
   silence, which measured 34.7% off.

   BESIDE the :root rule, never inside it: an at-rule in a declaration
   block is dropped by the parser, and the stack would have survived
   naming a family nothing defines. */
@font-face {
  font-family: 'KarlaFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 400;
  size-adjust: 103.7%;
  ascent-override: 91.7%;
  descent-override: 25.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'KarlaFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 700;
  size-adjust: 108.7%;
  ascent-override: 91.7%;
  descent-override: 25.2%;
  line-gap-override: 0%;
}

:root {
  /* Inks. The ratios are measured, not intended. */
  /* on this brand's own --color-scrim: 18.19:1 */
  --color-on-scrim: #ffffff;
  /* white 8.56:1, the brand's own text 1.90:1 on --color-primary */
  --color-on-primary: #ffffff;

  /* Type: the Slow Sunday pairing. Chosen, not derived. */
  --font-heading: 'Newsreader', 'NewsreaderFallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', 'KarlaFallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --heading-leading: 1.15;
  --heading-tracking: -0.005;
}
/* === pattern-tokens:end === */
