/* === pattern-tokens:font-import:start (generated) === */
/*
   The Classy Luxury 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=Bodoni+Moda:ital,opsz,wght@0,6..96,400..700;1,6..96,400..700&family=Public+Sans:ital,wght@0,400..700;1,400..700&display=swap");
/* === pattern-tokens:font-import:end === */

/* transgenderuk -- site stylesheet. Seeded by page_brief.py --seed; the palette
   below was derived from the logo's inks and is a starting point to correct,
   never a decision already made. Everything else on this site builds on it. */

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

/* ---- tokens ---- */
:root {
  --color-bg: #1b1e23;
  --color-surface: #23272e;
  --color-surface-soft: #2a2f37;
  --color-text: #eceef2;
  --color-text-soft: #b9bfc9;
  --color-heading: #ffffff;
  --color-primary: #f4a9bd;
  --color-primary-dark: #f8c2d0;
  --color-scrim: #111317;
  --color-rule: #343a44;
  --color-focus: #8fcde9;
  --color-on-primary: #1b1e23; /* charcoal ink on the pink buttons, 9.6:1 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --space-12: 8rem;
  --container-max: 75rem;

  /* The dials are the brand's character: decide them, do not keep them. */
  --btn-radius: 999px;
  --card-radius: 4px;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 28px -12px rgba(0, 0, 0, .18);
  --card-border: 1px solid var(--color-rule);
  --chip-radius: 999px;
  --logo-height: 44px;

  --transition-fast: 120ms ease;
  --transition-slow: 320ms ease;

  --type-scale: 1;
}

/* ---- base type ---- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-display, 700);
  color: var(--color-heading);
  line-height: calc(1.15 * var(--heading-leading, 1));
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
}

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

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* === 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 Bodoni Moda, on the heading. Arial,
   resized to match Bodoni Moda, 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: 'BodoniModaFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 400;
  size-adjust: 103.9%;
  ascent-override: 112.5%;
  descent-override: 40%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'BodoniModaFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 700;
  size-adjust: 110.6%;
  ascent-override: 112.5%;
  descent-override: 40%;
  line-gap-override: 0%;
}

/* Metric-matched fallback for Public Sans, on the body. Arial,
   resized to match Public Sans, 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: 'PublicSansFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 400;
  size-adjust: 104.4%;
  ascent-override: 95%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'PublicSansFallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'),
       local('Helvetica'), local('Roboto');
  font-weight: 700;
  size-adjust: 107%;
  ascent-override: 95%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

:root {
  /* Inks. The ratios are measured, not intended. */
  /* on this brand's own --color-scrim: 18.59:1 */
  --color-on-scrim: #ffffff;

  /* Type: the Classy Luxury pairing. Chosen, not derived. */
  --font-heading: 'Bodoni Moda', 'BodoniModaFallback', 'Didot', Georgia, serif;
  --font-body: 'Public Sans', 'PublicSansFallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --heading-leading: 1.03;
  --heading-tracking: 0.01;
}
/* === pattern-tokens:end === */

/* transgenderuk -- headings sturdier and a touch bolder (partner, 23 Nov 2026: the large heading font was hard to
   read on a phone). Bodoni Moda's optical size held at 18 draws thicker hairlines than the display cut, and one
   weight step up; the real italic is loaded in the import above. Hand-written, outside the generated markers. */
h1, h2, h3, h4 { font-weight: 600 !important; font-variation-settings: "opsz" 18; }

/* === pattern masthead-nav@15 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* masthead-nav - tokens only, selectors prefixed. The menu inside
   .masthead-nav-links is styled by structure - ul, li, a - so the list the
   platform generates for {{menu.navigation}} and a list written by hand take
   the same rules. */
.masthead-nav {
  overflow-wrap: var(--long-words, break-word);
}
.masthead-nav :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .masthead-nav {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}

/* Each ground names its own inks, and every rule below reads the pair rather
   than a token, so nothing here knows which ground it is on. */
.masthead-nav--plain {
  --masthead-nav-ground: var(--color-bg);
  --masthead-nav-ink: var(--color-text);
  --masthead-nav-edge: var(--color-rule);
  --masthead-nav-cta-face: var(--color-primary);
  --masthead-nav-cta-ink: var(--color-on-primary);
  --masthead-nav-panel-face: var(--color-surface);
  --masthead-nav-panel-ink: var(--color-text);
  --masthead-nav-ring: var(--color-focus);
}
.masthead-nav--soft {
  --masthead-nav-ground: var(--color-surface-soft);
  --masthead-nav-ink: var(--color-text);
  --masthead-nav-edge: var(--color-rule);
  --masthead-nav-cta-face: var(--color-primary);
  --masthead-nav-cta-ink: var(--color-on-primary);
  --masthead-nav-panel-face: var(--color-surface);
  --masthead-nav-panel-ink: var(--color-text);
  --masthead-nav-ring: var(--color-focus);
}
.masthead-nav--brand {
  --masthead-nav-ground: var(--color-primary);
  --masthead-nav-ink: var(--color-on-primary);
  --masthead-nav-edge: color-mix(in srgb, var(--color-on-primary) 35%, transparent);
  --masthead-nav-cta-face: var(--color-on-primary);
  --masthead-nav-cta-ink: var(--color-primary);
  --masthead-nav-panel-face: var(--color-primary);
  --masthead-nav-panel-ink: var(--color-on-primary);
  --masthead-nav-ring: var(--color-on-primary);
}

/* ---- the bar ---- */
/* One number for every tap target here, and for the room the drawer keeps.
   Clipped sideways, never scrolled: a faded submenu is laid out where it
   will open, and one past the edge would otherwise widen the page. */
.masthead-nav {
  --masthead-nav-tap: 2.75rem;
  background: var(--masthead-nav-ground);
  color: var(--masthead-nav-ink);
  border-block-end: 1px solid var(--masthead-nav-edge);
  overflow-x: clip;
}
/* edge: every rung keeps the 1px border and changes only what paints it, so
   the bar is the same height on all three and --page-header-height holds. */
.masthead-nav--rule {
  border-block-end-color: var(--masthead-nav-edge);
}
.masthead-nav--shadow {
  border-block-end-color: transparent;
  box-shadow: var(--card-shadow);
}
.masthead-nav--flush {
  border-block-end-color: transparent;
}
.masthead-nav--static {
  position: static;
}
/* The z-index orders the drawer's scrim, panel and button against each other
   rather than against the page. `sticky` is no containing block for a fixed
   child, so the drawer still pins to the viewport. */
.masthead-nav--pinned,
.masthead-nav--compact {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
}
/* The containing block for the small-screen menu and for the controls when
   they are parked in the corner on --centred. */
.masthead-nav-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
}
.masthead-nav-mark {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin-inline-end: auto;
}
/* The set height is the floor: `height: auto` under a `max-height` alone
   resolves a viewBox-only SVG to 0x0. object-fit stops the cap distorting it. */
.masthead-nav-logo {
  display: block;
  width: auto;
  height: var(--logo-height, 2.75rem);
  max-width: 100%;
  object-fit: contain;
}
/* mark: how the brand mark meets the ground behind it. */
.masthead-nav--direct .masthead-nav-mark {
  padding: 0;
}
.masthead-nav--plate .masthead-nav-mark {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--card-radius);
  background: var(--color-bg);
}
.masthead-nav--mono .masthead-nav-logo {
  filter: brightness(0) invert(1);
}

/* ---- the small-screen disclosure ---- */
.masthead-nav-disclosure {
  flex: 0 0 auto;
}
.masthead-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--masthead-nav-tap);
  padding-inline: var(--space-3);
  border: 1px solid var(--masthead-nav-edge);
  border-radius: var(--btn-radius);
  color: var(--masthead-nav-ink);
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  cursor: pointer;
  /* Both lines are needed to drop the default triangle. */
  list-style: none;
}
.masthead-nav-toggle::-webkit-details-marker {
  display: none;
}
/* Three bars: the element is the middle one, the pseudo-elements the others.
   The fold into a cross is a state change, so reduced motion keeps it. */
.masthead-nav-toggle-icon {
  position: relative;
  flex: 0 0 auto;
  width: var(--masthead-nav-bar-width, 1rem);
  height: var(--masthead-nav-bar, 2px);
  background: currentColor;
}
.masthead-nav-toggle-icon::before,
.masthead-nav-toggle-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: var(--masthead-nav-bar, 2px);
  background: currentColor;
}
.masthead-nav-toggle-icon::before {
  top: calc(-1 * var(--masthead-nav-bar-gap, 5px));
}
.masthead-nav-toggle-icon::after {
  top: var(--masthead-nav-bar-gap, 5px);
}
.masthead-nav-disclosure[open] .masthead-nav-toggle-icon {
  background: transparent;
}
.masthead-nav-disclosure[open] .masthead-nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.masthead-nav-disclosure[open] .masthead-nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
/* burger: how the bars are drawn. Every rung folds into the same cross. */
.masthead-nav--three {
  --masthead-nav-bar: 2px;
  --masthead-nav-bar-gap: 5px;
}
.masthead-nav--two {
  --masthead-nav-bar-gap: 4px;
}
.masthead-nav--two .masthead-nav-toggle-icon {
  background: transparent;
}
.masthead-nav--bold {
  --masthead-nav-bar: 3px;
  --masthead-nav-bar-gap: 6px;
  --masthead-nav-bar-width: 1.25rem;
}
/* boxed: the element is the shape, a tap target square in the join
   control's own pair, and draws the middle bar as a centred gradient. */
.masthead-nav--boxed .masthead-nav-toggle {
  border: 0;
}
.masthead-nav--boxed.masthead-nav--icon .masthead-nav-toggle {
  padding-inline: 0;
}
.masthead-nav--boxed .masthead-nav-toggle-icon {
  width: var(--masthead-nav-tap);
  height: var(--masthead-nav-tap);
  border-radius: var(--btn-radius);
  color: var(--masthead-nav-cta-ink);
  background: linear-gradient(currentColor, currentColor) center / 1rem 2px no-repeat,
              var(--masthead-nav-cta-face);
}
.masthead-nav--boxed .masthead-nav-toggle-icon::before,
.masthead-nav--boxed .masthead-nav-toggle-icon::after {
  inset-inline: calc(50% - 0.5rem);
}
.masthead-nav--boxed .masthead-nav-toggle-icon::before {
  top: calc(50% - 6px);
}
.masthead-nav--boxed .masthead-nav-toggle-icon::after {
  top: calc(50% + 4px);
}
.masthead-nav--boxed .masthead-nav-disclosure[open] .masthead-nav-toggle-icon {
  background: var(--masthead-nav-cta-face);
}
.masthead-nav--boxed .masthead-nav-disclosure[open] .masthead-nav-toggle-icon::before,
.masthead-nav--boxed .masthead-nav-disclosure[open] .masthead-nav-toggle-icon::after {
  top: calc(50% - 1px);
}
/* toggle=icon: the word leaves the box, never the accessibility tree - never
   display: none. With no word in it the box needs a square floor, and the
   bars stand bare: no frame, the tap area and the focus ring kept. */
.masthead-nav--icon .masthead-nav-toggle {
  justify-content: center;
  min-width: var(--masthead-nav-tap);
  border: 0;
}
.masthead-nav--icon .masthead-nav-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- the menu: whatever list sits inside the nav landmark ---- */
.masthead-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.masthead-nav-links li {
  margin: 0;
}
.masthead-nav-links a,
.masthead-nav-links button {
  display: flex;
  align-items: center;
  min-height: var(--masthead-nav-tap);
  margin: 0;
  padding: var(--space-2) 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-heading);
  font-size: calc(1rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.masthead-nav-links a[href]:hover,
.masthead-nav-links button:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
/* A parent with children and no URL of its own arrives as an <a> with no
   href. It is a label, not a link, so it must not offer a pointer. */
.masthead-nav-links li:has(> ul) > a:not([href]) {
  cursor: default;
}
.masthead-nav-links ul ul {
  padding-inline-start: var(--space-4);
  border-inline-start: 1px solid var(--masthead-nav-edge);
}
.masthead-nav-links ul ul a,
.masthead-nav-links ul ul button {
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: 500;
}

/* ---- the tray: the menu and the controls, both inside the disclosure ---- */
/* No `display` here: one would force the tray open on --panel, which opens
   and shuts natively. Each rung turns it on where it wants it laid out. */
.masthead-nav-tray {
  flex-direction: column;
  gap: var(--space-4);
}

/* ---- login and join ---- */
.masthead-nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.masthead-nav-login {
  display: flex;
  align-items: center;
  color: inherit;
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  text-decoration: none;
  padding-block: var(--space-2);
}
.masthead-nav-login:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.masthead-nav-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: var(--masthead-nav-tap);
  padding-inline: var(--space-5);
  border-radius: var(--btn-radius);
  background: var(--masthead-nav-cta-face);
  color: var(--masthead-nav-cta-ink);
  font-family: var(--font-heading);
  font-size: calc(0.9375rem * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  text-decoration: none;
}
.masthead-nav-join:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* The ring is the ground's own, so one rule is right on all three. */
.masthead-nav a:focus-visible,
.masthead-nav button:focus-visible,
.masthead-nav summary:focus-visible {
  outline: 3px solid var(--masthead-nav-ring);
  outline-offset: 2px;
}

/* ---- small screens ---- */
@media (width < 60rem) {
  /* A wide wordmark at --logo-height is most of a phone across. Without this
     cap it takes the whole row and pushes the menu button onto a second one. */
  .masthead-nav-mark {
    max-width: 45%;
    min-width: var(--masthead-nav-tap);
    min-height: var(--masthead-nav-tap);
  }
  /* A wordless button is one tap wide, so the mark may take the rest of the
     row. --row has no button and --minimal a wider join control: both 45%. */
  .masthead-nav--drawer.masthead-nav--icon:not(.masthead-nav--minimal) .masthead-nav-mark,
  .masthead-nav--panel.masthead-nav--icon:not(.masthead-nav--minimal) .masthead-nav-mark {
    max-width: calc(100% - var(--masthead-nav-tap) - var(--space-3));
  }
  /* A long label ellipsises; border-box holds the padding inside the cap. */
  .masthead-nav-toggle {
    box-sizing: border-box;
    max-width: 100%;
  }
  .masthead-nav--labelled .masthead-nav-toggle-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* One button, two words, and only ever one of them in the box. */
  .masthead-nav-toggle-text--close {
    display: none;
  }
  .masthead-nav-disclosure[open] .masthead-nav-toggle-text {
    display: none;
  }
  .masthead-nav-disclosure[open] .masthead-nav-toggle-text--close {
    display: inline;
  }
  /* The controls lead the sheet, and follow the menu in the markup so the
     bar is read in the order it is drawn. --row has no sheet and is left. */
  .masthead-nav--drawer .masthead-nav-controls,
  .masthead-nav--panel .masthead-nav-controls {
    order: -1;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  /* A row in a menu here, not a word in the bar: it takes a menu target. */
  .masthead-nav-login {
    min-height: var(--masthead-nav-tap);
  }
  /* menu-side moves the button, and the drawer it opens, to the same edge.
     Scoped to the rungs that HAVE a button: on --row the disclosure is the
     whole menu, so ordering it puts the navigation above the brand. */
  .masthead-nav--drawer.masthead-nav--side-end .masthead-nav-disclosure,
  .masthead-nav--panel.masthead-nav--side-end .masthead-nav-disclosure {
    order: 0;
  }
  .masthead-nav--drawer.masthead-nav--side-start .masthead-nav-disclosure,
  .masthead-nav--panel.masthead-nav--side-start .masthead-nav-disclosure {
    order: -1;
  }
  /* No start margin: 45% and 55% add up exactly, so anything added breaks
     the line and drops the mark to a second row. */
  .masthead-nav--side-start .masthead-nav-mark {
    margin-inline-end: auto;
  }
  /* A join control stretched over a tablet is a bar, not a button. */
  /* Definite, not max-width: an auto margin here cancels the stretch. */
  .masthead-nav--panel .masthead-nav-controls {
    width: min(20rem, 100%);
  }
  .masthead-nav--panel.masthead-nav--menu-end .masthead-nav-controls {
    align-self: flex-end;
  }
}

/* menu=drawer: a panel fixed to the inline-end edge, over a dimmed page. */
@media (width < 60rem) {
  /* The drawer is fixed to the viewport and the button that shuts it is not,
     so a scroll parts them and leaves an open menu with no way out. Pinned on
     both sticky rungs: this is not the sticky axis and does not fold into it. */
  .masthead-nav--drawer:has(.masthead-nav-disclosure[open]) {
    position: sticky;
    inset-block-start: 0;
    z-index: 40;
  }
  /* 45% for the mark and the rest for the button, gap included, so the two
     share one row: flexbox breaks lines before it shrinks anything. */
  .masthead-nav--drawer .masthead-nav-disclosure,
  .masthead-nav--panel .masthead-nav-disclosure {
    max-width: calc(55% - var(--space-3));
  }
  /* Laid out open or shut, so it has somewhere to slide FROM. Engines hide a
     closed <details> two ways, one unreachable from the child, so both are
     needed. `visibility` keeps it out of the tab order - never use opacity. */
  .masthead-nav--drawer .masthead-nav-tray {
    display: flex;
  }
  .masthead-nav--drawer .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav--drawer .masthead-nav-tray {
    position: fixed;
    inset-block: 0;
    z-index: 41;
    width: min(20rem, 82vw);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Block-start padding is the header's first row, computed - the button
       sits on the drawer, so anything less puts it over the first item. */
    padding: calc(var(--space-3)
                  + max(var(--masthead-nav-tap), var(--logo-height, 2.75rem))
                  + var(--space-4))
             var(--space-4) var(--space-6);
    background: var(--masthead-nav-panel-face);
    color: var(--masthead-nav-panel-ink);
    box-shadow: var(--card-shadow);
    visibility: hidden;
  }
  /* `translate` is the one place a logical property cannot carry the meaning,
     so each side states its own, and its own :dir(rtl). */
  .masthead-nav--drawer.masthead-nav--side-end .masthead-nav-tray {
    inset-inline-end: 0;
    border-inline-start: 1px solid var(--masthead-nav-edge);
    translate: 100% 0;
  }
  .masthead-nav--drawer.masthead-nav--side-end .masthead-nav-tray:dir(rtl) {
    translate: -100% 0;
  }
  .masthead-nav--drawer.masthead-nav--side-start .masthead-nav-tray {
    inset-inline-start: 0;
    border-inline-end: 1px solid var(--masthead-nav-edge);
    translate: -100% 0;
  }
  .masthead-nav--drawer.masthead-nav--side-start .masthead-nav-tray:dir(rtl) {
    translate: 100% 0;
  }
  .masthead-nav--drawer .masthead-nav-disclosure[open] .masthead-nav-tray {
    visibility: visible;
    translate: none;
  }
  /* The backdrop belongs to the disclosure: in the panel it would be inside
     the box it has to sit behind. */
  .masthead-nav--drawer .masthead-nav-disclosure::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--color-scrim) 62%, transparent);
    visibility: hidden;
    opacity: 0;
  }
  .masthead-nav--drawer .masthead-nav-disclosure[open]::before {
    visibility: visible;
    opacity: 1;
  }
  /* The button stays where it was pressed, above both the backdrop and the
     panel. The panel's block-start padding keeps the first item out of it. */
  .masthead-nav--drawer .masthead-nav-disclosure[open] .masthead-nav-toggle {
    position: relative;
    z-index: 42;
  }
}

/* menu=panel: the menu drops out of the button, over what is below. */
@media (width < 60rem) {
  /* A shut <details> contains its own layout, so this sheet is laid out
     against the button until it opens - `visibility` keeps that box out. */
  .masthead-nav--panel .masthead-nav-tray {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 20;
    max-height: 70svh;
    overflow-y: auto;
    padding: var(--space-4);
    background: var(--masthead-nav-ground);
    border-block-end: 1px solid var(--masthead-nav-edge);
    box-shadow: var(--card-shadow);
    visibility: hidden;
  }
  /* Scoped to [open], unlike the drawer's: this sheet does not slide, and a
     `display` that applied while shut would hold it open. */
  .masthead-nav--panel .masthead-nav-disclosure[open] .masthead-nav-tray {
    display: flex;
    visibility: visible;
  }
}

/* ---- menu=row: no button, the menu is a scrolling row beside the mark ---- */
@media (width < 60rem) {
  .masthead-nav--row .masthead-nav-toggle {
    display: none;
  }
  /* Both declarations open the panel: engines hide a closed <details> in two
     different ways, and one of them cannot be reached from the child. */
  .masthead-nav--row .masthead-nav-tray {
    display: flex;
  }
  .masthead-nav--row .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav--row .masthead-nav-mark {
    margin-inline-end: 0;
  }
  .masthead-nav--row .masthead-nav-disclosure {
    flex: 1 1 auto;
    min-width: 0;
  }
  .masthead-nav--row .masthead-nav-tray {
    gap: var(--space-2);
  }
  .masthead-nav--row .masthead-nav-links {
    min-width: 0;
  }
  .masthead-nav--row .masthead-nav-join {
    flex: 0 1 auto;
  }
  .masthead-nav--row .masthead-nav-links > ul {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-4);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .masthead-nav--row .masthead-nav-links > ul::-webkit-scrollbar {
    display: none;
  }
  .masthead-nav--row .masthead-nav-links > ul > li {
    flex: 0 0 auto;
  }
  /* One row, so a submenu cannot nest under its parent; its children run on
     beside it instead. */
  .masthead-nav--row .masthead-nav-links li:has(> ul) {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .masthead-nav--row .masthead-nav-links ul ul {
    flex-direction: row;
    gap: var(--space-4);
    padding-inline-start: var(--space-4);
  }
}

/* ---- wide screens: the menu is always open and sits in the bar ---- */
@media (min-width: 60rem) {
  .masthead-nav-toggle {
    display: none;
  }
  /* Both declarations open the panel: engines hide a closed <details> in two
     different ways, and one of them cannot be reached from the child. */
  .masthead-nav-tray {
    display: flex;
  }
  .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav-tray {
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
  }
  .masthead-nav-links {
    flex: 1 1 auto;
    min-width: 0;
  }
  .masthead-nav-inner {
    flex-wrap: nowrap;
    gap: var(--space-6);
    padding-block: var(--space-4);
  }
  /* The mark must not shrink here: the logo is sized from its height at this
     width, so a shrinking box would let the image spill over the first menu
     item instead of taking room from it. */
  .masthead-nav-mark {
    flex: 0 0 auto;
  }
  .masthead-nav-logo {
    max-width: none;
  }
  .masthead-nav-disclosure {
    flex: 1 1 auto;
    min-width: 0;
  }
  .masthead-nav-controls {
    flex: 0 0 auto;
  }
  .masthead-nav-join {
    flex: 0 0 auto;
  }
  .masthead-nav-links > ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-5);
  }
  .masthead-nav-links > ul > li {
    position: relative;
  }
  .masthead-nav-links > ul > li > a,
  .masthead-nav-links > ul > li > button {
    white-space: nowrap;
  }
  /* The tap floor holds here too: 1024 is a tablet held sideways. Padding
     inside it, so a one-row bar keeps the join control's height. */
  .masthead-nav-mark,
  .masthead-nav-login,
  .masthead-nav-links > ul > li > a,
  .masthead-nav-links > ul > li > button {
    box-sizing: border-box;
    min-width: var(--masthead-nav-tap);
    min-height: var(--masthead-nav-tap);
  }
  /* Faded rather than removed: a submenu taken out of the layout cannot be
     focused, so a keyboard could never open it. */
  .masthead-nav-links ul ul {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 30;
    min-width: 12rem;
    padding: var(--space-2);
    border: var(--card-border);
    border-inline-start: var(--card-border);
    border-radius: var(--card-radius);
    background: var(--masthead-nav-panel-face);
    color: var(--masthead-nav-panel-ink);
    box-shadow: var(--card-shadow);
    opacity: 0;
    pointer-events: none;
  }
  /* No taller than the screen under the bar; a longer list scrolls inside. */
  .masthead-nav-links > ul > li > ul {
    max-height: calc(100vh - var(--page-header-height, 9.5rem) - var(--space-4));
    max-height: calc(100svh - var(--page-header-height, 9.5rem) - var(--space-4));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .masthead-nav-links > ul > li:hover > ul,
  .masthead-nav-links > ul > li:focus-within > ul {
    opacity: 1;
    pointer-events: auto;
  }
  /* The last two items sit nearest the edge, so their panels hang from
     their end edge instead. */
  .masthead-nav-links > ul > li:nth-last-child(-n + 2) > ul {
    inset-inline-start: auto;
    inset-inline-end: 0;
  }
  .masthead-nav-links ul ul a,
  .masthead-nav-links ul ul button {
    min-height: var(--masthead-nav-tap);
    padding-inline: var(--space-2);
  }
  /* A third level sits inside its parent's panel, and takes the pointer
     only when that panel does. */
  .masthead-nav-links ul ul ul {
    position: static;
    min-width: 0;
    padding: 0 0 0 var(--space-3);
    border: 0;
    border-inline-start: 1px solid var(--masthead-nav-edge);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: inherit;
  }
  /* A chevron marks the items that carry children. */
  .masthead-nav-links > ul > li:has(> ul) > a::after,
  .masthead-nav-links > ul > li:has(> ul) > button::after {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-inline-start: var(--space-2);
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: translateY(-0.15em) rotate(45deg);
  }

  /* overflow: what happens to items that do not fit the row. */
  .masthead-nav--wrap .masthead-nav-links > ul {
    flex-wrap: wrap;
  }
  /* --more folds the items past the room into a last item the behaviour
     library builds. Without the library this rung is --wrap, so the property
     below is the whole switch. */
  .masthead-nav--more .masthead-nav-links > ul {
    --hub-overflow: more;
  }
  .masthead-nav--scroll .masthead-nav-links > ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--space-2) var(--space-3);
    mask-image: linear-gradient(to right, transparent, currentColor var(--space-3),
                                currentColor calc(100% - var(--space-3)), transparent);
  }
  .masthead-nav--scroll .masthead-nav-links > ul::-webkit-scrollbar {
    display: none;
  }
  .masthead-nav--scroll .masthead-nav-links > ul > li {
    flex: 0 0 auto;
  }
  /* A scrolling row clips anything that pops out of it, so its submenus run
     on beside their parent instead. */
  .masthead-nav--scroll .masthead-nav-links > ul > li:has(> ul) {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .masthead-nav--scroll .masthead-nav-links ul ul {
    position: static;
    flex-direction: row;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0 0 0 var(--space-3);
    border: 0;
    border-inline-start: 1px solid var(--masthead-nav-edge);
    border-radius: 0;
    background: none;
    color: inherit;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }
  .masthead-nav--scroll .masthead-nav-links > ul > li:has(> ul) > a::after,
  .masthead-nav--scroll .masthead-nav-links > ul > li:has(> ul) > button::after {
    content: none;
  }

  /* submenu: --dropdown is the panel under its own item, above. --mega is one
     panel the width of the bar, its items in columns. */
  .masthead-nav--dropdown .masthead-nav-links > ul > li {
    position: relative;
  }
  .masthead-nav--mega .masthead-nav-links > ul > li {
    position: static;
  }
  .masthead-nav--mega .masthead-nav-links > ul > li > ul {
    display: block;
    inset-inline: 0;
    min-width: 0;
    padding: var(--space-5) var(--space-6);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    columns: 12rem;
    column-gap: var(--space-6);
  }
  .masthead-nav--mega .masthead-nav-links > ul > li > ul li {
    break-inside: avoid;
  }
  .masthead-nav--mega .masthead-nav-links > ul > li > ul a,
  .masthead-nav--mega .masthead-nav-links > ul > li > ul button {
    padding-inline: 0;
  }

  /* layout=inline - mark, menu, controls, one row. */
  .masthead-nav--inline .masthead-nav-inner {
    justify-content: space-between;
  }
  .masthead-nav--inline .masthead-nav-links > ul {
    justify-content: flex-start;
  }

  /* layout=centred - mark on its own line, menu centred under it, controls
     parked in the corner so the mark stays optically centred. */
  .masthead-nav--centred .masthead-nav-inner {
    flex-wrap: wrap;
    gap: var(--space-3);
    padding-block: var(--space-5);
  }
  .masthead-nav--centred .masthead-nav-mark {
    margin-inline: auto;
  }
  .masthead-nav--centred .masthead-nav-disclosure {
    flex: 1 0 100%;
  }
  /* Centred by auto margins on the end items, not justify-content: a row
     wider than its box centres by pushing its first items off the left edge,
     where no scroll can reach them. */
  .masthead-nav--centred .masthead-nav-links > ul > li:first-child {
    margin-inline-start: auto;
  }
  .masthead-nav--centred .masthead-nav-links > ul > li:last-child {
    margin-inline-end: auto;
  }
  .masthead-nav--centred .masthead-nav-controls {
    position: absolute;
    inset-block-start: var(--space-5);
    inset-inline-end: var(--space-4);
  }

  /* Last in the block on purpose: it has to outrank --centred's taller
     padding, and the two selectors weigh the same. */
  .masthead-nav--pinned .masthead-nav-inner,
  .masthead-nav--compact .masthead-nav-inner {
    padding-block: var(--space-3);
  }
  .masthead-nav--pinned.masthead-nav--centred .masthead-nav-controls,
  .masthead-nav--compact.masthead-nav--centred .masthead-nav-controls {
    inset-block-start: var(--space-3);
  }
}

/* sticky=compact: once the page has scrolled, the bar tightens and the mark
   comes down a fifth. The behaviour library sets the attribute. */
.masthead-nav--compact[data-hub-shrink="scrolled"] .masthead-nav-inner {
  padding-block: var(--space-2);
}
.masthead-nav--compact[data-hub-shrink="scrolled"] .masthead-nav-logo {
  height: calc(var(--logo-height, 2.75rem) * 0.8);
}

/* ---- nav=minimal: no menu, the mark and the controls at every width ---- */
.masthead-nav--full .masthead-nav-links {
  display: block;
}
.masthead-nav--minimal .masthead-nav-links {
  display: none;
}
.masthead-nav--minimal .masthead-nav-tray {
  justify-content: flex-end;
}
/* These outweigh the menu rungs' rules, which name two classes and the
   tray: this rung has no sheet to slide, drop or scroll. */
@media (width < 60rem) {
  .masthead-nav--minimal .masthead-nav-toggle {
    display: none;
  }
  /* The join control does not shorten as a menu button's word does, so the
     row never breaks here: the mark gives way instead. */
  .masthead-nav--minimal .masthead-nav-inner {
    flex-wrap: nowrap;
  }
  .masthead-nav--minimal .masthead-nav-inner .masthead-nav-disclosure {
    order: 0;
    flex: 0 0 auto;
    max-width: none;
  }
  .masthead-nav--minimal .masthead-nav-inner .masthead-nav-disclosure::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .masthead-nav--minimal .masthead-nav-inner .masthead-nav-disclosure::before {
    content: none;
  }
  .masthead-nav--minimal .masthead-nav-disclosure .masthead-nav-tray {
    display: flex;
    position: static;
    width: auto;
    max-height: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    visibility: visible;
    translate: none;
  }
  .masthead-nav--minimal .masthead-nav-controls {
    order: 0;
    width: auto;
    flex-direction: row;
    align-items: center;
  }
  /* The join control is the point of a page with no menu; the login link
     returns above 60rem. */
  .masthead-nav--minimal .masthead-nav-login {
    display: none;
  }
}

/* ---- menu-align: which edge the small-screen menu is set against ----
   Below 60rem only: above it `layout` already decides where the menu sits. */
@media (width < 60rem) {
  .masthead-nav--menu-start .masthead-nav-tray {
    text-align: start;
  }
  .masthead-nav--menu-start .masthead-nav-links a,
  .masthead-nav--menu-start .masthead-nav-links button,
  .masthead-nav--menu-start .masthead-nav-login {
    justify-content: flex-start;
  }
  .masthead-nav--menu-centre .masthead-nav-tray {
    text-align: center;
  }
  .masthead-nav--menu-centre .masthead-nav-links a,
  .masthead-nav--menu-centre .masthead-nav-links button,
  .masthead-nav--menu-centre .masthead-nav-login {
    justify-content: center;
  }
  .masthead-nav--menu-centre .masthead-nav-links ul ul {
    align-items: center;
    padding-inline: 0;
    border-inline: none;
  }
  .masthead-nav--menu-end .masthead-nav-tray {
    text-align: end;
  }
  .masthead-nav--menu-end .masthead-nav-links a,
  .masthead-nav--menu-end .masthead-nav-links button,
  .masthead-nav--menu-end .masthead-nav-login {
    justify-content: flex-end;
  }
  /* The rule moves with the items, or it is left down the empty side. */
  .masthead-nav--menu-end .masthead-nav-links ul ul {
    align-items: flex-end;
    padding-inline: 0 var(--space-4);
    border-inline: none;
    border-inline-end: 1px solid var(--masthead-nav-edge);
  }
}

/* No easing keyword follows --transition-fast below: brands ship that token
   with an easing in it, and a second keyword makes the declaration invalid. */
@media (prefers-reduced-motion: no-preference) {
  .masthead-nav-toggle-icon,
  .masthead-nav-toggle-icon::before,
  .masthead-nav-toggle-icon::after {
    transition: transform var(--transition-fast),
                background var(--transition-fast),
                top var(--transition-fast);
  }
  .masthead-nav-links ul ul {
    transition: opacity var(--transition-fast);
  }
  /* `visibility` is in the list so the panel stays on screen while it leaves. */
  .masthead-nav--drawer .masthead-nav-tray {
    transition: translate var(--transition-fast),
                visibility var(--transition-fast);
  }
  .masthead-nav--drawer .masthead-nav-disclosure::before {
    transition: opacity var(--transition-fast),
                visibility var(--transition-fast);
  }
  .masthead-nav--compact .masthead-nav-inner {
    transition: padding var(--transition-fast);
  }
  .masthead-nav--compact .masthead-nav-logo {
    transition: height var(--transition-fast);
  }
}
/* Belt and braces if a brand reintroduces a transition on these. */
@media (prefers-reduced-motion: reduce) {
  .masthead-nav-toggle-icon,
  .masthead-nav-toggle-icon::before,
  .masthead-nav-toggle-icon::after {
    transition: none;
  }
  .masthead-nav-links ul ul {
    transition: none;
  }
  .masthead-nav--drawer .masthead-nav-tray,
  .masthead-nav--drawer .masthead-nav-disclosure::before,
  .masthead-nav--compact .masthead-nav-inner,
  .masthead-nav--compact .masthead-nav-logo {
    transition: none;
  }
}
/* === /pattern masthead-nav@15 === */

/* === pattern heading-block@10 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* heading-block v4 - tokens only, selectors prefixed */
.heading-block {
  overflow-wrap: var(--long-words, break-word);
}
.heading-block :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .heading-block {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.heading-block {
  /* Same gutter idiom as every other pattern. */
  width: min(100% - 2 * var(--space-4), 45rem);
  margin-inline: auto;
  margin-block-end: var(--space-8);
  text-align: start;
}
.heading-block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  /* --color-text: --color-primary carries no stated ratio. */
  color: var(--color-text);
  font-size: 0.8125rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Hairline rules either side of the label. Decorative only - the label's own
   words carry the meaning. */
.heading-block-eyebrow::before,
.heading-block-eyebrow::after {
  content: "";
  display: block;
  width: var(--space-5);
  height: 2px;
  border-radius: var(--chip-radius);
  background: color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.heading-block-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: calc(clamp(2rem, 1.4rem + 2.6vw, 3.6rem) * var(--type-scale, 1));
  line-height: calc(1.02 * var(--heading-leading, 1));
  letter-spacing: calc(-0.035em + var(--heading-tracking, 0) * 1em);
  font-weight: var(--weight-display, 700);
  color: var(--color-heading);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .heading-block-title {
    line-height: calc(max(1.02em, 1.45cap) * var(--heading-leading, 1));
  }
}
.heading-block-intro {
  max-width: 42rem;
  margin: var(--space-4) 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-soft);
}
/* Tablet up: centred. Phones keep it left. */
@media (min-width: 48rem) {
  .heading-block {
    text-align: center;
  }
  .heading-block-intro {
    margin-inline: auto;
  }
}
/* === /pattern heading-block@10 === */

/* === pattern member-grid@7 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* member-grid v1 - tokens only, selectors prefixed.
   Everything below .member-grid is markup the PLATFORM writes, so these class
   names are a contract with it, not ours to rename. */
.member-grid {
  overflow-wrap: var(--long-words, break-word);
}
.member-grid :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .member-grid {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.member-grid {
  display: block;
  padding-inline: var(--space-4);
}
.member-grid .lp-grid,
.member-grid .lp-members__empty {
  max-width: var(--container-max);
  margin-inline: auto;
}
.member-grid .lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-4);
  list-style: none;
  margin-block: 0;
  padding: 0;
}
.member-grid .mem-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
  position: relative;
}
.member-grid .mem-card img,
.member-grid .mem-card__initial {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--card-radius);
  background: var(--color-surface);
}
.member-grid .mem-card__initial {
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: calc(2rem * var(--type-scale, 1));
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
}
.member-grid .mem-card .badge {
  position: absolute;
  top: var(--space-2);
  inset-inline-start: var(--space-2);
  padding: 0.15rem var(--space-2);
  border-radius: var(--chip-radius);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}
.member-grid .mem-card__name {
  margin: var(--space-2) 0 0;
  font-family: var(--font-heading);
  font-size: calc(1rem * var(--type-scale, 1));
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.member-grid .mem-card__where,
.member-grid .mem-card__line {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-soft);
  overflow-wrap: anywhere;
}
/* Two lines and no more. A blurb is member-written and has no length limit,
   so without this one card sets the height of the whole row. */
.member-grid .mem-card__line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
/* 44px, not the 24px WCAG floor: on a phone this is the card's only control
   and it sits between two photographs. */
.member-grid .mem-card__cta {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.member-grid .mem-card__cta:hover {
  text-decoration: underline;
}
.member-grid .mem-card__cta:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--chip-radius);
}
/* The join tile is the platform's last li and carries no photograph, so it
   needs a body of its own or it collapses to a link on the baseline. A grid
   item stretches to its row, so the floor is for the row it lands in ALONE -
   it is the last of an unknown number, so it wraps by itself often. */
.member-grid .mem-card--join {
  display: grid;
  place-items: center;
  min-height: 9rem;
  padding: var(--space-4);
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-surface));
  text-align: center;
}
.member-grid .mem-card--join .mem-card__cta {
  justify-content: center;
  margin: 0;
}
.member-grid .lp-members__empty {
  margin-block: 0;
  padding: var(--space-5) var(--space-4);
  border: 1px dashed color-mix(in srgb, var(--color-primary) 30%, transparent);
  border-radius: var(--card-radius);
  background: var(--color-surface);
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* card: how much furniture sits around the photograph */
.member-grid--plain .mem-card {
  padding: 0;
}
.member-grid--framed .mem-card {
  padding: var(--space-3);
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--color-surface);
  box-shadow: var(--card-shadow);
}
.member-grid--framed .mem-card .badge {
  top: var(--space-4);
  inset-inline-start: var(--space-4);
}
.member-grid--portrait .mem-card img,
.member-grid--portrait .mem-card__initial {
  aspect-ratio: 3 / 4;
}

/* flow: a wrapping grid, or one row the reader swipes. The rail never moves
   on its own - the visitor drives it, the same bargain gallery-scroll makes. */
.member-grid--grid .lp-grid {
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}
/* marquee is the rail plus a behaviour. With no behaviour library it IS the
   rail, so it takes every rail rule and adds nothing of its own. */
.member-grid--rail,
.member-grid--marquee {
  padding-inline: 0;
}
.member-grid--rail .lp-grid,
.member-grid--marquee .lp-grid {
  display: flex;
  padding-inline: var(--space-4);
  gap: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-4);
  scrollbar-width: none;
  padding-block: var(--space-2);
  max-width: none;
}
.member-grid--rail .lp-grid::-webkit-scrollbar,
.member-grid--marquee .lp-grid::-webkit-scrollbar {
  display: none;
}
.member-grid--rail .mem-card,
.member-grid--marquee .mem-card {
  flex: 0 0 auto;
  width: min(42vw, 11rem);
  scroll-snap-align: start;
}
.member-grid--rail .lp-grid:focus-visible,
.member-grid--marquee .lp-grid:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
/* The carousel's controls stay hidden while the marquee moves the row, and
   show once its stop control is pressed. */
.member-grid--marquee:has(.hub-marquee-running):not(:has(.hub-marquee-control[aria-pressed="true"])) .hub-carousel-controls {
  display: none;
}

/* controls: where the previous and next arrows sit, read by the behaviour
   library from these properties. phone: whether a phone shows them. */
.member-grid--top {
  --hub-carousel-controls: top;
  --hub-carousel-look: round;
}
.member-grid--edges {
  --hub-carousel-controls: edges;
  --hub-carousel-look: round;
}
.member-grid--arrows {
  --hub-carousel-phone: show;
}
.member-grid--swipe {
  --hub-carousel-phone: hide;
}
.member-grid--marquee {
  --hub-marquee-look: round;
}
/* The pair keeps to the column the heading above it sits in. */
.member-grid .hub-carousel-controls--top {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
/* Over a photograph the arrows need a ground of their own. */
.member-grid .hub-carousel-controls--edges .hub-carousel-control {
  border: 0;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--card-shadow);
}
/* The marquee's stop control shares the arrows' row, at its end. */
.member-grid--marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.member-grid--marquee .lp-grid,
.member-grid--marquee .lp-members__empty {
  flex: 0 0 100%;
}
.member-grid--marquee .hub-carousel-controls--top {
  margin-inline: 0;
  padding-inline: 0 var(--space-2);
}
.member-grid--marquee .hub-marquee-control {
  margin: 0 var(--space-4) var(--space-3) 0;
}

@media (min-width: 48rem) {
  .member-grid .lp-grid {
    gap: var(--space-5);
  }
  .member-grid--grid .lp-grid {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
  .member-grid--rail .mem-card,
  .member-grid--marquee .mem-card {
    width: 13rem;
  }
  .member-grid .mem-card--join {
    min-height: 11rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .member-grid--rail .lp-grid,
  .member-grid--marquee .lp-grid {
    scroll-behavior: smooth;
  }
  .member-grid .mem-card__cta {
    transition: color var(--transition-fast);
  }
}

/* With scripting off nothing can build the previous and next controls, and
   the hidden scroll bar would leave a mouse no way along the row, so both
   rows wrap like the grid rung. */
@media (scripting: none) {
  .member-grid--rail .lp-grid,
  .member-grid--marquee .lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    overflow-x: visible;
    max-width: var(--container-max);
  }
  .member-grid--rail .mem-card,
  .member-grid--marquee .mem-card {
    width: auto;
  }
}
@media (scripting: none) and (min-width: 48rem) {
  .member-grid--rail .lp-grid,
  .member-grid--marquee .lp-grid {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
}
.member-grid:not(.member-grid--moving):not(.member-grid--marquee) {
  --hub-motion: none;
}
/* === /pattern member-grid@7 === */

/* === pattern faq-details@7 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* faq-details v3 - tokens only, selectors prefixed.
   No script anywhere: <details>/<summary> gives keyboard operation, the
   expanded/collapsed announcement and find-in-page for free. */
.faq-details {
  overflow-wrap: var(--long-words, break-word);
}
.faq-details :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .faq-details {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.faq-details {
  padding-block: var(--space-8);
}
/* Keep the measure: answers read badly at full width. */
.faq-details-inner {
  width: min(100% - 2 * var(--space-4), 48rem);
  margin-inline: auto;
}
.faq-details-title {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-size: calc(clamp(1.75rem, 1rem + 2vw, 2.25rem) * var(--type-scale, 1));
  margin: 0 0 var(--space-6);
}
/* A rule under every item, plus one above the first. */
.faq-details-item {
  border-block-end: 1px solid var(--color-rule);
}
.faq-details-item:first-of-type {
  border-block-start: 1px solid var(--color-rule);
}
.faq-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  cursor: pointer;
  font-family: var(--font-heading);
  /* --color-text: this is not large text. */
  color: var(--color-text);
  /* Both lines are needed to drop the default triangle. */
  list-style: none;
}
.faq-details-summary::-webkit-details-marker {
  display: none;
}
/* Required: removing the marker above removes the focus affordance some
   browsers hang off it. */
.faq-details-summary:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}
.faq-details-question {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}
/* The indicator is a shape, not a glyph and never colour alone. */
.faq-details-icon {
  position: relative;
  flex: 0 0 auto;
  width: var(--space-5);
  height: var(--space-5);
}
.faq-details-icon::before,
.faq-details-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 2px;
  margin-block-start: -1px;
  background: var(--color-text-soft);
}
.faq-details-icon::after {
  transform: rotate(90deg);
}
/* A state change, not an animation: it applies under reduced motion too. */
.faq-details-item[open] .faq-details-icon {
  transform: rotate(45deg);
}
.faq-details-answer {
  padding-block-end: var(--space-4);
  padding-inline-end: var(--space-6);
  color: var(--color-text-soft);
}
.faq-details-answer p {
  margin: 0 0 var(--space-3);
  line-height: 1.65;
}
.faq-details-answer p:last-child {
  margin-block-end: 0;
}
/* Motion is opt-in and only ever eases a state the page already reached. */
@media (prefers-reduced-motion: no-preference) {
  .faq-details-icon {
    transition: transform var(--transition-fast) ease-out;
  }
  .faq-details-item[open] .faq-details-answer {
    animation: faq-details-open var(--transition-fast) ease-out;
  }
}
@keyframes faq-details-open {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Belt and braces if a brand reintroduces a transition on these. */
@media (prefers-reduced-motion: reduce) {
  .faq-details-icon {
    transition: none;
  }
  .faq-details-answer {
    animation: none;
  }
}
/* === /pattern faq-details@7 === */

/* === pattern cta-band@7 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* cta-band - tokens only, selectors prefixed */
.cta-band {
  overflow-wrap: var(--long-words, break-word);
}
.cta-band :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .cta-band {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}

/* Each rung names its own ground, ink, control pair and ring, and every rule
   below reads those rather than a token, so nothing here knows which ground it
   is on. The ring is per rung and not --color-focus everywhere: on --brand and
   --deep that token is a brand colour landing on a brand colour, and it
   disappears into the band on every sample brand. See the README. */
.cta-band--plain {
  --cta-band-ground: var(--color-bg);
  --cta-band-ink: var(--color-text);
  --cta-band-btn-face: var(--color-primary);
  --cta-band-btn-ink: var(--color-on-primary);
  --cta-band-ring: var(--color-focus);
}
.cta-band--soft {
  --cta-band-ground: var(--color-surface-soft);
  --cta-band-ink: var(--color-text);
  --cta-band-btn-face: var(--color-primary);
  --cta-band-btn-ink: var(--color-on-primary);
  --cta-band-ring: var(--color-focus);
}
.cta-band--brand {
  --cta-band-ground: var(--color-primary);
  --cta-band-ink: var(--color-on-primary);
  --cta-band-btn-face: var(--color-on-primary);
  --cta-band-btn-ink: var(--color-primary);
  --cta-band-ring: var(--color-on-primary);
}
.cta-band--deep {
  --cta-band-ground: var(--color-scrim);
  --cta-band-ink: var(--color-on-scrim);
  --cta-band-btn-face: var(--color-on-scrim);
  --cta-band-btn-ink: var(--color-scrim);
  --cta-band-ring: var(--color-on-scrim);
}
.cta-band {
  padding-block: var(--space-12);
  padding-inline: var(--space-4);
  background: var(--cta-band-ground);
  color: var(--cta-band-ink);
  text-align: center;
}
.cta-band-inner {
  max-width: var(--container-max);
  margin-inline: auto;
}
.cta-band-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
/* Not --color-heading: that token is promised against --color-bg, and three of
   the four rungs paint a ground of their own. */
.cta-band-title {
  font-family: var(--font-heading);
  color: var(--cta-band-ink);
  font-size: calc(clamp(2rem, 4.5vw, 3.25rem) * var(--type-scale, 1));
  font-weight: var(--weight-display, 700);
  letter-spacing: calc(-0.02em + var(--heading-tracking, 0) * 1em);
  line-height: calc(1.1 * var(--heading-leading, 1));
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
@supports (line-height: 1cap) {
  .cta-band-title {
    line-height: calc(max(1.1em, 1.45cap) * var(--heading-leading, 1));
  }
}
.cta-band-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto var(--space-6);
}
.cta-band-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 48px target, above the 44px AAA floor. */
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--btn-radius);
  background: var(--cta-band-btn-face);
  color: var(--cta-band-btn-ink);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.cta-band-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* The offset leaves a band-coloured gap, putting the guaranteed pair either
   side of the ring. */
.cta-band-btn:focus-visible {
  outline: 3px solid var(--cta-band-ring);
  outline-offset: 4px;
}
/* === /pattern cta-band@7 === */

/* === pattern colophon@3 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* colophon v3 - tokens only, selectors prefixed */
.colophon {
  overflow-wrap: var(--long-words, break-word);
}
.colophon :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .colophon {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.colophon {
  border-top: 1px solid var(--color-rule);
  padding-block: var(--space-8) var(--space-6);
  font-size: 0.875rem;
  color: var(--color-text-soft);
}
.colophon--plain {
  background: var(--color-bg);
}
.colophon--soft {
  background: var(--color-surface);
}
.colophon-inner {
  width: 92%;
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: var(--space-4);
}
/* layout: --line is the centred stack at every width; --columns spreads the
   three groups across the row from 60rem up and is the same stack below. */
.colophon--line .colophon-inner,
.colophon--columns .colophon-inner {
  justify-items: center;
  text-align: center;
}
/* mark: the brand mark above everything else, or nothing at all. */
.colophon--none .colophon-mark {
  display: none;
}
.colophon--logo .colophon-mark {
  display: inline-flex;
  margin-block-end: var(--space-2);
}
/* The set height is the floor: `height: auto` under a `max-height` alone
   resolves a viewBox-only SVG to 0x0. A tenth over the header's height, so
   the footer mark reads as a signature and not a repeat of the bar. */
.colophon-logo {
  display: block;
  width: auto;
  height: calc(var(--logo-height, 2.75rem) * 1.1);
  max-width: 100%;
  object-fit: contain;
}
/* The platform decides the menu's own markup, so its rules reach it by
   descent rather than by a generated class name. */
.colophon-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}
.colophon-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}
.colophon-menu a,
.colophon-legal a {
  color: var(--color-text-soft);
  text-decoration: none;
}
.colophon-menu a:hover,
.colophon-legal a:hover {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.colophon a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.colophon-copyright {
  margin: 0;
}
@media (min-width: 60rem) {
  .colophon--columns .colophon-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: start;
    align-items: start;
    text-align: start;
    gap: var(--space-6) var(--space-8);
  }
  /* A brand with no managed footer menu deletes the nav: two columns then,
     not two columns and a hole. */
  .colophon--columns .colophon-inner:not(:has(.colophon-menu)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .colophon--columns .colophon-mark {
    grid-column: 1 / -1;
  }
  .colophon--columns .colophon-menu ul,
  .colophon--columns .colophon-legal {
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-2);
  }
  .colophon--columns .colophon-copyright {
    justify-self: end;
    text-align: end;
  }
}
/* === /pattern colophon@3 === */

/* === pattern cta-sticky@8 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* cta-sticky v6 - tokens only, selectors prefixed. */
.cta-sticky {
  overflow-wrap: var(--long-words, break-word);
}
.cta-sticky :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .cta-sticky {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
@media (width < 60rem) {
  .cta-sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 50;
    box-sizing: border-box;
    padding: var(--space-2) var(--space-4);
    padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface);
    /* Two separations: --color-rule may be set to nothing. */
    border-top: 1px solid var(--color-rule);
    box-shadow: 0 -1px 0 color-mix(in srgb, var(--color-text) 14%, transparent),
                0 -8px 24px color-mix(in srgb, var(--color-text) 10%, transparent);
  }
  .cta-sticky-btn {
    display: block;
    box-sizing: border-box;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-weight: 700;
    text-decoration: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--btn-radius);
    /* The bar's height and the body clearance below must stay in step. */
    /* Fallback required: declared inside body:has(). */
    min-height: var(--cta-sticky-target, 48px);
    line-height: 1.5;
  }
  .cta-sticky-btn:hover {
    background: var(--color-primary-dark);
  }
  /* Focus needs its own indicator, not the hover fill. */
  .cta-sticky-btn:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
  }
  /* Clearance, derived from the same tokens as the bar. */
  body:has(.cta-sticky) {
    /* On body so both this rule and the bar read it. */
    --cta-sticky-target: 48px;
    padding-bottom: calc(
      max(var(--cta-sticky-target), 1.5em + 2 * var(--space-3))
      + 2 * var(--space-2) + 1px + env(safe-area-inset-bottom, 0px)
    );
  }
}
@media (width >= 60rem) {
  .cta-sticky {
    display: none;
  }
}
/* === /pattern cta-sticky@8 === */
/* === pattern member-filter@2 (library v332; appended by page_assemble.py -- adopt a newer version by replacing this block, never by adding a second) === */
/* member-filter v2 - tokens only, selectors prefixed.
   The panels below are filled by member-grid, which owns their look. */
.member-filter {
  overflow-wrap: var(--long-words, break-word);
}
.member-filter :is(h1, h2, h3, h4) {
  overflow-wrap: var(--long-words, anywhere);
}
@supports (hyphenate-limit-chars: 20 8 8) {
  .member-filter {
    hyphens: var(--long-word-hyphens, manual);
    hyphenate-limit-chars: 20 8 8;
  }
}
.member-filter {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.member-filter-legend {
  padding: 0;
  margin-bottom: var(--space-3);
  color: var(--color-text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}
/* Off-screen but focusable, so the pill still takes the keyboard and the
   radio group is still announced. display:none would remove both. */
.member-filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.member-filter-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 var(--space-2) var(--space-5) 0;
  padding: var(--space-2) var(--space-5);
  border: 1.5px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
  border-radius: var(--chip-radius);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.member-filter-tab:hover {
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-surface));
}
.member-filter-radio:checked + .member-filter-tab {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.member-filter-radio:focus-visible + .member-filter-tab {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--chip-radius);
}
/* The switch. Later-sibling only, which is why the radios sit above the
   panels and why nothing may be wrapped around either. */
.member-filter-panel {
  display: none;
}
/* A panel holds whatever the page puts in it, so it may never be the reason
   the viewport scrolls sideways. */
.member-filter-panel img {
  max-width: 100%;
  height: auto;
}
.member-filter-radio--one:checked ~ .member-filter-panel--one,
.member-filter-radio--two:checked ~ .member-filter-panel--two,
.member-filter-radio--three:checked ~ .member-filter-panel--three {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .member-filter-tab {
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast);
  }
}
/* === /pattern member-filter@2 === */
/* === brand nav (hand-built menu, working/apply_nav.py; partner 26 Nov: dropdowns, right-aligned, phone first) === */
/* Two lists in the nav: .tg-nav-wide (library dropdowns, 60rem up) and .tg-nav-phone (a tap-to-open
   section per <details>, below 60rem). One shows at a time; display:none keeps the other out of the
   accessibility tree. */
@media (width < 60rem) {
  .masthead-nav-links .tg-nav-wide { display: none; }
  .masthead-nav-links .tg-nav-phone { gap: 0; }
  .masthead-nav-links .tg-nav-phone > li { border-block-end: 1px solid var(--masthead-nav-edge); }
  .masthead-nav-links .tg-nav-phone summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
    min-height: var(--masthead-nav-tap);
    padding: var(--space-2) 0;
    font-family: var(--font-heading);
    font-size: calc(1.0625rem * var(--type-scale, 1));
    font-weight: var(--weight-display, 700);
    cursor: pointer;
    list-style: none;
  }
  .masthead-nav-links .tg-nav-phone summary::-webkit-details-marker { display: none; }
  .masthead-nav-links .tg-nav-phone summary::after {
    content: "";
    inline-size: 0.5em;
    block-size: 0.5em;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    margin-block-start: -0.3em;
    transform: rotate(45deg);
  }
  .masthead-nav-links .tg-nav-phone details[open] > summary::after {
    margin-block-start: 0.3em;
    transform: rotate(225deg);
  }
  .masthead-nav-links .tg-nav-phone details > ul { margin-block-end: var(--space-3); }
  .masthead-nav-links .tg-nav-phone a[aria-current="page"] { color: var(--color-primary, #f4a9bd); }
}
@media (min-width: 60rem) {
  .masthead-nav-links .tg-nav-phone { display: none; }
  /* Right-aligned: the sections sit at the end of the bar, beside Login and Join. */
  .masthead-nav--inline .masthead-nav-links > ul.tg-nav-wide { justify-content: flex-end; }
  .masthead-nav-links .tg-nav-wide a[aria-current="page"] { color: var(--color-primary, #f4a9bd); }
}
/* === /brand nav === */

/* === page /home-new: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* partner photos in section columns (23 Nov), shared by every page */
.tg-pic { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--card-radius, 4px); }
.tg-pic--tall { aspect-ratio: 4 / 5; object-position: 50% 20%; margin-top: var(--space-7); }
.tg-pic--wide { aspect-ratio: 3 / 2; object-position: 50% 30%; margin-top: var(--space-7); }
@media (max-width: 56rem) { .tg-pic--tall { aspect-ratio: 4 / 3; } }

.tg-who__grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-10); align-items: stretch; }
.tg-who__pic { height: 100%; min-height: 28rem; object-position: 62% 25%; }
.tg-who__grid .tg-who__head { margin-bottom: var(--space-8); }
.tg-who__grid ol.tg-points { grid-template-columns: repeat(2, 1fr); }
.tg-steps__wrap { max-width: var(--container-max); margin: 0 auto var(--space-9); display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-9); align-items: start; text-align: left; }
.tg-steps__pic { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.tg-steps__wrap ol.tg-steps__list { grid-template-columns: repeat(2, 1fr); margin: 0; }
.tg-steps__wrap .tg-steps__list::before { display: none; }
@media (max-width: 56rem) { .tg-who__grid, .tg-steps__wrap { grid-template-columns: 1fr; gap: var(--space-6); } .tg-steps__pic, .tg-who__pic { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }
@media (max-width: 36rem) { .tg-who__grid ol.tg-points { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .tg-steps__wrap ol.tg-steps__list { grid-template-columns: 1fr; } }
/* transgenderuk /home-new: charcoal, soft blue and pink, laid out like Lipstick Lesbians */
/* clear top bar over the opening photo, pinned, solid charcoal once scrolled */
body:has(main > .tg-hero:first-child) .masthead-nav {
  position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 100;
  --masthead-nav-ground: transparent; --masthead-nav-ink: #ffffff; --masthead-nav-edge: transparent;
  background: linear-gradient(to bottom, rgb(17 19 23 / .82), rgb(17 19 23 / .4) 65%, rgb(17 19 23 / 0));
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-block-end: 1px solid transparent;
}
body:has(main > .tg-hero:first-child) .masthead-nav[data-hub-shrink="scrolled"] {
  background: rgb(27 30 35 / .97);
  border-block-end-color: rgb(143 205 233 / .3); box-shadow: 0 4px 18px rgb(0 0 0 / .3);
}
body:has(main > .tg-hero:first-child) .masthead-nav--drawer:has(.masthead-nav-disclosure[open]) { position: fixed; }
@media (prefers-reduced-motion: reduce) { body:has(main > .tg-hero:first-child) .masthead-nav { transition: none; } }
@media (min-width: 60rem) { .masthead-nav--inline .masthead-nav-links > ul { justify-content: flex-end; } }
.masthead-nav .masthead-nav-links a, .masthead-nav .masthead-nav-links button, .masthead-nav .masthead-nav-login { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.masthead-nav .masthead-nav-links a[href]:hover, .masthead-nav .masthead-nav-login:hover { color: #8fcde9; text-decoration: none; }
.masthead-nav .masthead-nav-join { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-inline: 1.4rem; }
.masthead-nav .masthead-nav-join:hover { background: var(--color-primary-dark); text-decoration: none; }
@media (min-width: 56.01rem) {
  .masthead-nav .masthead-nav-links ul ul { background: rgb(27 30 35 / .98); border: 1px solid #343a44; border-top: 2px solid #8fcde9; border-radius: 0; box-shadow: 0 14px 30px rgb(0 0 0 / .35); padding-block: .4rem; min-width: 15rem; }
  .masthead-nav .masthead-nav-links ul ul a { color: #eceef2; letter-spacing: .12em; }
  .masthead-nav .masthead-nav-links ul ul a:hover { color: #8fcde9; background: rgb(143 205 233 / .08); }
}

.tg-eyebrow { font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8fcde9; margin: 0 0 var(--space-4); }
.tg-eyebrow--ink { color: #22698f; }
.tg-btn { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--btn-radius); overflow: hidden; }
.tg-btn__label { background: var(--color-primary); color: var(--color-on-primary); padding: 1rem 1.5rem 1rem 1.8rem; transition: background var(--transition-fast, .15s); }
.tg-btn__arrow { background: #ffffff; color: #1b1e23; display: grid; place-items: center; padding: 0 1.2rem 0 1rem; font-size: 1.15rem; }
.tg-btn--dark-arrow .tg-btn__arrow { background: #1b1e23; color: #ffffff; }
.tg-btn:hover .tg-btn__label { background: var(--color-primary-dark); }
.tg-hero h1 em, .tg-trust h2 em, .tg-who h2 em { font-style: italic; color: var(--color-primary); }
.tg-intro h2 em, .tg-ways h2 em, .tg-steps h2 em { font-style: italic; color: #b0466a; }

.tg-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--color-bg); color: var(--color-text); min-height: min(52rem, 100svh); display: flex; align-items: center; padding: calc(var(--space-10) + 4rem) var(--space-5) var(--space-11); }
.tg-hero__photo { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 78% 30%; z-index: -2; }
.tg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--color-bg) 34%, rgb(27 30 35 / .86) 46%, rgb(27 30 35 / .25) 64%, rgb(27 30 35 / 0) 80%), linear-gradient(0deg, var(--color-bg) 0, rgb(27 30 35 / 0) 20%); }
.tg-hero__inner { width: 100%; max-width: var(--container-max); margin: 0 auto; }
.tg-hero__inner > * { max-width: 36rem; }
.tg-hero__title { font-size: clamp(2.8rem, 6.2vw, 5.2rem); font-weight: 500; line-height: 1.02; margin: 0 0 var(--space-5); color: var(--color-heading); }
.tg-hero__lede { font-size: 1.15rem; color: var(--color-text); margin: 0 0 var(--space-7); max-width: 32rem; }
.tg-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; }
.tg-hero__link { color: #ffffff; text-underline-offset: .35em; text-decoration-color: #8fcde9; }
.tg-hero__login { margin: var(--space-5) 0 0; font-size: .95rem; color: var(--color-text-soft); }
.tg-hero__login a { color: var(--color-heading); text-underline-offset: .3em; }

.tg-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-rule); background: var(--color-bg); }
.tg-strip a { display: block; padding: var(--space-5) var(--space-6); border-right: 1px solid var(--color-rule); text-decoration: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.tg-strip a:nth-child(odd) { color: #8fcde9; } .tg-strip a:nth-child(even) { color: #f4a9bd; }
.tg-strip a:last-child { border-right: 0; }
.tg-strip em { display: block; font-style: normal; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--color-text-soft); margin-top: .35rem; }
.tg-strip a:hover em { color: #ffffff; }

.tg-intro { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); }
ul.tg-tiles { list-style: none; margin: 0 auto var(--space-10); padding: 0; max-width: var(--container-max); display: grid; grid-template-columns: repeat(5, 1fr); background: #ffffff; box-shadow: 0 24px 48px -24px rgb(17 19 23 / .35); position: relative; }
.tg-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: var(--space-7) var(--space-4); border-left: 1px solid #e3e6eb; color: #22698f; }
.tg-tile:first-child { border-left: 0; }
.tg-tile strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem; color: #1b1e23; line-height: 1.15; }
.tg-tile span { font-size: .85rem; color: #4a5260; }
.tg-tile--pink { background: var(--color-primary); color: #1b1e23; }
.tg-tile--pink span { color: #1b1e23; }
.tg-intro__copy { max-width: var(--container-max); margin: 0 auto; }
.tg-intro__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-7); max-width: 44rem; }
.tg-intro__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); border-top: 1px solid #c9d2dc; padding-top: var(--space-7); }
.tg-intro__cols p { margin: 0; color: #4a5260; font-size: 1.02rem; }

.tg-members-head { padding-top: var(--space-11); }

.tg-who { background: var(--color-surface); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tg-who > * { max-width: var(--container-max); margin-left: auto; margin-right: auto; }
.tg-who__head { margin-bottom: var(--space-9); }
.tg-who h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; margin: 0; max-width: 46rem; }
ol.tg-points { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8) var(--space-7); }
.tg-points li { border-top: 1px solid #f4a9bd; padding-top: var(--space-5); }
.tg-points li:nth-child(even) { border-top-color: #8fcde9; }
.tg-points__num { font-family: var(--font-heading); color: #8fcde9; font-size: 1rem; letter-spacing: .1em; }
.tg-points h3 { font-size: 1.5rem; font-weight: 600; margin: var(--space-2) 0 var(--space-3); }
.tg-points p { color: var(--color-text-soft); margin: 0; font-size: .97rem; }

.tg-ways { background: #ffffff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tg-ways__head { max-width: 46rem; margin: 0 auto var(--space-9); text-align: center; }
.tg-ways h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-5); }
.tg-ways__head p:last-child { color: #4a5260; font-size: 1.05rem; margin: 0; }
ul.tg-ways__list { list-style: none; padding: 0; margin: 0 auto; max-width: var(--container-max); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.tg-ways__list a { display: flex; flex-direction: column; height: 100%; padding: var(--space-7) var(--space-6); border: 1px solid #dde2e8; text-decoration: none; color: #1b1e23; transition: border-color var(--transition-fast, .15s), background var(--transition-fast, .15s); }
.tg-ways__list a:hover { border-color: #1b1e23; background: #f3f5f8; }
.tg-ways__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #22698f; }
.tg-ways__list li:nth-child(even) .tg-ways__kicker { color: #b0466a; }
.tg-ways__list h3 { font-size: 1.5rem; font-weight: 600; color: #1b1e23; margin: var(--space-3) 0 var(--space-3); line-height: 1.15; }
.tg-ways__list p { color: #4a5260; margin: 0 0 var(--space-5); font-size: .97rem; }
.tg-ways__go { margin-top: auto; font-size: 1.3rem; color: #1b1e23; }

.tg-trust { background: var(--color-bg); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tg-trust > * { max-width: var(--container-max); margin-left: auto; margin-right: auto; }
.tg-trust__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: start; margin-bottom: var(--space-9); }
.tg-trust h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; margin: 0; }
.tg-trust__prose p { color: var(--color-text); margin: 0 0 var(--space-4); font-size: 1.05rem; }
.tg-trust__prose p:last-child { color: var(--color-text-soft); font-size: .95rem; margin: 0; }
ol.tg-cards { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: var(--space-5); margin: 0 auto var(--space-8); }
.tg-cards__arrow { align-self: center; color: #8fcde9; font-size: 1.4rem; }
.tg-card { border: 1px solid var(--color-rule); padding: var(--space-7); }
.tg-card__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8fcde9; margin: 0 0 var(--space-3); }
.tg-card h3 { font-size: 1.7rem; font-weight: 500; margin: 0 0 var(--space-3); }
.tg-card p:last-child { color: var(--color-text-soft); margin: 0; }
.tg-card--pink { background: var(--color-primary); border-color: var(--color-primary); }
.tg-card--pink .tg-card__kicker, .tg-card--pink h3, .tg-card--pink p:last-child { color: #1b1e23; }
.tg-trust__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.tg-trust__foot p { margin: 0; color: var(--color-text-soft); font-size: .95rem; }

.tg-steps { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); text-align: center; }
.tg-steps h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 auto var(--space-9); max-width: 48rem; }
ol.tg-steps__list { list-style: none; padding: 0; margin: 0 auto var(--space-9); max-width: var(--container-max); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-7); text-align: left; position: relative; }
.tg-steps__list::before { content: ""; position: absolute; top: 2.25rem; left: 2.25rem; right: 12%; border-top: 1px solid #c9d2dc; z-index: 0; }
.tg-step { position: relative; z-index: 1; }
.tg-step__icon { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: #f3f5f8; border: 1px solid #c9d2dc; color: #1b1e23; margin-bottom: var(--space-5); }
.tg-step--on .tg-step__icon { background: #1b1e23; border-color: #1b1e23; color: #f4a9bd; }
.tg-step__num { font-family: var(--font-heading); color: #22698f; letter-spacing: .1em; }
.tg-step h3 { font-size: 1.5rem; font-weight: 600; color: #1b1e23; margin: var(--space-2) 0 var(--space-3); }
.tg-step p { color: #4a5260; margin: 0; font-size: .97rem; }

@media (max-width: 64rem) {
  ol.tg-points, ul.tg-ways__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 56rem) {
  .tg-hero { flex-direction: column; align-items: stretch; padding: 0 0 var(--space-10); min-height: 0; }
  .tg-hero::before { display: none; }
  .tg-hero__photo { position: relative; inset: auto; width: 100%; height: 60svh; max-height: 32rem; object-position: 72% 25%; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .tg-hero__inner { padding: var(--space-4) var(--space-5) 0; }
  .tg-strip { grid-template-columns: 1fr 1fr; }
  .tg-strip a { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-rule); }
  .tg-strip a:nth-child(2) { border-right: 0; }
  ul.tg-tiles { grid-template-columns: 1fr 1fr; }
  .tg-tile { border-left: 0; border-top: 1px solid #e3e6eb; padding: var(--space-5) var(--space-3); }
  .tg-tile--pink { grid-column: 1 / -1; }
  .tg-intro__cols, .tg-trust__head { grid-template-columns: 1fr; gap: var(--space-6); }
  ol.tg-cards { grid-template-columns: 1fr; }
  .tg-cards__arrow { transform: rotate(90deg); justify-self: center; }
  ol.tg-steps__list { grid-template-columns: 1fr; gap: var(--space-7); }
  .tg-steps__list::before { display: none; }
}
@media (max-width: 40rem) {
  ol.tg-points, ul.tg-ways__list { grid-template-columns: 1fr; gap: var(--space-6); }
}
/* === /page /home-new === */

/* === page /free-trans-photos: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /free-trans-photos: photo hub, tgp- */
.tgp-why h2 em, .tgp-tips h2 em { font-style: italic; color: #b0466a; }


.tgp-gallery-head { max-width: var(--container-max); margin: 0 auto; padding: var(--space-10) var(--space-5) var(--space-6); box-sizing: border-box; }
.tgp-gallery-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; margin: 0 0 var(--space-4); color: var(--color-heading); }
.tgp-gallery-head p:last-child { color: var(--color-text-soft); max-width: 40rem; margin: 0; }
.member-filter { max-width: var(--container-max); margin-inline: auto; padding: 0 var(--space-5) var(--space-11); box-sizing: border-box; }

.tgp-why { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgp-why__inner { max-width: var(--container-max); margin: 0 auto; }
.tgp-why .tg-eyebrow, .tgp-tips .tg-eyebrow { color: #22698f; }
.tgp-why h2, .tgp-tips h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-7); }
.tgp-why__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7); }
.tgp-why__cols p { margin: 0; color: #4a5260; padding-top: var(--space-4); border-top: 2px solid #b0466a; }
.tgp-why__cols p:nth-child(2) { border-top-color: #22698f; }

.tgp-five { background: var(--color-bg); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgp-five__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 4fr 7fr; gap: var(--space-10); align-items: start; }
.tgp-five h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-5); }
.tgp-five__head p:last-child { color: var(--color-text-soft); margin: 0; }
ol.tgp-five__list { list-style: none; counter-reset: tgp; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
ol.tgp-five__list li { counter-increment: tgp; background: var(--color-surface); padding: var(--space-6) var(--space-5) var(--space-5); border-bottom: 3px solid var(--color-focus); }
ol.tgp-five__list li:nth-child(even) { border-bottom-color: var(--color-primary); }
ol.tgp-five__list li:first-child { grid-column: 1 / -1; }
ol.tgp-five__list li::before { content: "Photo " counter(tgp); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-focus); margin-bottom: var(--space-2); }
ol.tgp-five__list h3 { font-size: 1.5rem; font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-2); }
ol.tgp-five__list p { margin: 0; color: var(--color-text-soft); }

.tgp-tips { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgp-tips__inner { max-width: var(--container-max); margin: 0 auto; }
.tgp-tips__inner { display: grid; grid-template-columns: 8fr 4fr; gap: var(--space-6) var(--space-9); align-items: center; }
.tgp-tips__head { max-width: 46rem; }
.tgp-tips__pic { aspect-ratio: 4 / 5; object-position: 50% 30%; }
ul.tgp-tips__list { grid-column: 1 / -1; margin-top: var(--space-6) !important; }
.tgp-tips__head h2 { margin-bottom: var(--space-4); }
.tgp-tips__head p { color: #4a5260; margin: 0 0 var(--space-4); }
.tgp-tips__head p:last-child { margin-bottom: 0; }
ul.tgp-tips__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7) var(--space-6); }
.tgp-tips__num { font-family: var(--font-heading); font-size: 2.2rem; color: #b0466a; line-height: 1; }
ul.tgp-tips__list li:nth-child(even) .tgp-tips__num { color: #22698f; }
ul.tgp-tips__list h3 { font-size: 1.35rem; font-weight: 600; color: #1b1e23; margin: var(--space-3) 0 var(--space-2); }
ul.tgp-tips__list p { margin: 0; color: #4a5260; font-size: .97rem; }

.tgp-private { background: var(--color-surface); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgp-private__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-10); }
.tgp-private h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0; }
.tgp-private__body > p { color: var(--color-text-soft); margin: 0 0 var(--space-5); }
ul.tgp-private__facts { list-style: none; padding: 0; margin: var(--space-7) 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
ul.tgp-private__facts li { border-top: 1px solid var(--color-rule); padding-top: var(--space-4); color: var(--color-text-soft); font-size: .97rem; }
ul.tgp-private__facts strong { display: block; color: var(--color-heading); font-weight: 600; margin-bottom: var(--space-1); }

.tgp-more { background: var(--color-bg); padding: var(--space-10) var(--space-5); border-top: 1px solid var(--color-rule); }
.tgp-more__inner { max-width: var(--container-max); margin: 0 auto; }
.tgp-more h2 { font-size: 1.9rem; font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-6); }
ul.tgp-more__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--space-4); }
.tgp-more__list a { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); border: 1px solid var(--color-rule); color: var(--color-heading); text-decoration: none; font-family: var(--font-heading); font-size: 1.35rem; }
.tgp-more__list a:hover { border-color: var(--color-primary); }
.tgp-more__list a > span:first-child { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-focus); }
.tgp-more__list .tg-ways__go { color: var(--color-primary); margin-top: auto; }

@media (max-width: 56rem) {
  .tgp-five__inner, .tgp-private__inner, .tgp-tips__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .tgp-why__cols, ul.tgp-tips__list, ul.tgp-more__list, ul.tgp-private__facts { grid-template-columns: 1fr; }
  ol.tgp-five__list { grid-template-columns: 1fr; }
}
/* === /page /free-trans-photos === */
/* === page /category/trans-stories: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /category/trans-stories: story cards as on Swingers 247, tgst- */
.tgst-intro h2 em, .tgst-themes h2 em, .story-grid-heading em { font-style: italic; color: #b0466a; }
.tgst-real h2 em, .tgst-share h2 em { font-style: italic; color: var(--color-primary); }

.tgst-intro { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgst-intro__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-10); }
.tgst-intro .tg-eyebrow, .tgst-themes .tg-eyebrow, .story-grid .tg-eyebrow { color: #22698f; }
.tgst-intro h2, .tgst-themes h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0; }
.tgst-intro__head { grid-column: 1 / -1; margin-bottom: calc(var(--space-7) - var(--space-10)); }
.tgst-intro__pic { margin-top: 0; }
.tgst-intro__body p { color: #4a5260; margin: 0 0 var(--space-5); }
.tgst-intro__body p:first-child { font-size: 1.15rem; color: #1b1e23; }

.story-grid { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); scroll-margin-top: 5rem; }
.story-grid-inner { max-width: var(--container-max); margin-inline: auto; }
.story-grid-heading { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-8); }
.story-grid-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.story-grid-card { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; box-sizing: border-box; padding: var(--space-6) var(--space-5) var(--space-5); background: #fff; border: 1px solid #dde2e8; border-top: 3px solid #b0466a; text-decoration: none; color: #1b1e23; transition: border-color .15s ease, transform .15s ease; }
.story-grid-item:nth-child(even) .story-grid-card { border-top-color: #22698f; }
.story-grid-card:hover { border-color: #1b1e23; transform: translateY(-2px); }
.story-grid-card:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.story-grid-title { font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.2; color: #1b1e23; }
.story-grid-text { font-size: .95rem; line-height: 1.5; color: #4a5260; }
.story-grid-tag { margin-block-start: auto; padding-top: var(--space-3); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b0466a; }
.story-grid-item:nth-child(even) .story-grid-tag { color: #22698f; }
.story-grid-more { margin: var(--space-7) 0 0; color: #4a5260; }
.story-grid-more a { color: #1b1e23; text-decoration-color: #b0466a; text-underline-offset: .25em; }
@media (prefers-reduced-motion: reduce) { .story-grid-card { transition: none; } .story-grid-card:hover { transform: none; } }

.tgst-themes { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgst-themes__inner { max-width: var(--container-max); margin: 0 auto; }
.tgst-themes h2 { margin-bottom: var(--space-8); }
ol.tgst-themes__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
ol.tgst-themes__list li { border-top: 1px solid #c9cfd8; padding-top: var(--space-5); }
.tgst-themes__num { font-family: var(--font-heading); font-size: 2.2rem; color: #b0466a; line-height: 1; }
ol.tgst-themes__list li:nth-child(even) .tgst-themes__num { color: #22698f; }
ol.tgst-themes__list h3 { font-size: 1.35rem; font-weight: 600; color: #1b1e23; margin: var(--space-3) 0 var(--space-2); }
ol.tgst-themes__list p { margin: 0; color: #4a5260; font-size: .97rem; }

.tgst-real { background: var(--color-surface); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgst-real__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-10); }
.tgst-real h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0; }
.tgst-real__head { grid-column: 1 / -1; margin-bottom: calc(var(--space-7) - var(--space-10)); }
.tgst-real__head h2 { max-width: none; }
.tgst-real__pic { aspect-ratio: 4 / 5; object-position: 50% 25%; margin-top: 0; }
.tgst-real__body p { color: var(--color-text-soft); margin: 0 0 var(--space-5); }

.tgst-share { background: var(--color-bg); color: var(--color-text); padding: var(--space-10) var(--space-5); border-top: 1px solid var(--color-rule); }
.tgst-share__inner { max-width: 46rem; margin: 0 auto; text-align: center; }
.tgst-share h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-4); }
.tgst-share p { color: var(--color-text-soft); margin: 0; }

@media (max-width: 56rem) {
  .tgst-intro__inner, .tgst-real__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  ol.tgst-themes__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36rem) { ol.tgst-themes__list { grid-template-columns: 1fr; } }
/* === /page /category/trans-stories === */

/* === page /tranny-contacts: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /tranny-contacts, tgc- ; heading-across-the-top split as on /category/trans-stories */
.tgc-intro h2 em, .tgc-ways h2 em { font-style: italic; color: #b0466a; }
.tgc-word h2 em, .tgc-find h2 em { font-style: italic; color: var(--color-primary); }

.tgc-split { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--space-10); row-gap: var(--space-7); align-items: start; }
.tgc-split__head { grid-column: 1 / -1; }
.tgc-split__head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; margin: 0; }
.tgc-split__pic { aspect-ratio: 4 / 5; object-position: 50% 20%; }

.tgc-intro { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgc-intro .tg-eyebrow, .tgc-ways .tg-eyebrow { color: #22698f; }
.tgc-intro h2 { color: #1b1e23; }
.tgc-intro .tgc-split__body p { color: #4a5260; margin: 0 0 var(--space-5); }
.tgc-intro .tgc-split__body p.tgc-lead { font-size: 1.15rem; color: #1b1e23; }

.tgc-word { background: var(--color-bg); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgc-word__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 6fr 5fr; gap: var(--space-10); align-items: start; }
.tgc-word h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-6); }
.tgc-word__head p:not(.tg-eyebrow) { color: var(--color-text-soft); margin: 0 0 var(--space-5); }
ol.tgc-word__list { list-style: none; counter-reset: tgc; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
ol.tgc-word__list li { counter-increment: tgc; background: var(--color-surface); padding: var(--space-6); border-left: 3px solid var(--color-primary); }
ol.tgc-word__list li:nth-child(2) { border-left-color: var(--color-focus); }
ol.tgc-word__list li::before { content: "0" counter(tgc); font-family: var(--font-heading); color: var(--color-primary); font-size: 1.2rem; }
ol.tgc-word__list h3 { font-size: 1.4rem; font-weight: 500; color: var(--color-heading); margin: var(--space-2) 0; }
ol.tgc-word__list p { color: var(--color-text-soft); margin: 0; }

.tgc-ways { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgc-ways__inner { max-width: var(--container-max); margin: 0 auto; }
.tgc-ways h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-4); }
.tgc-ways__intro { color: #4a5260; max-width: 46rem; margin: 0 0 var(--space-8); }
.tgc-ways__intro a { color: #1b1e23; text-decoration-color: #b0466a; text-underline-offset: .25em; }
ul.tgc-ways__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.tgc-ways__list a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: var(--space-7) var(--space-6); background: #fff; border: 1px solid #dde2e8; border-top: 3px solid #b0466a; text-decoration: none; color: #1b1e23; }
.tgc-ways__list li:nth-child(even) a { border-top-color: #22698f; }
.tgc-ways__list a:hover { border-color: #1b1e23; }
.tgc-ways__kicker { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b0466a; }
.tgc-ways__list li:nth-child(even) .tgc-ways__kicker { color: #22698f; }
.tgc-ways__list h3 { font-size: 1.45rem; font-weight: 500; color: #1b1e23; margin: var(--space-3) 0; }
.tgc-ways__list p { color: #4a5260; margin: 0 0 var(--space-5); font-size: .97rem; }
.tgc-ways__go { margin-top: auto; color: #b0466a; }

.tgc-find { background: var(--color-surface); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgc-find h2 { color: var(--color-heading); }
.tgc-find__intro { color: var(--color-text-soft); margin: 0 0 var(--space-7); }
ol.tgc-steps { list-style: none; counter-reset: tgcs; padding: 0; margin: 0 0 var(--space-7); display: grid; gap: var(--space-6); }
ol.tgc-steps li { counter-increment: tgcs; padding-left: 3.2rem; position: relative; }
ol.tgc-steps li::before { content: counter(tgcs); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--color-primary); color: var(--color-primary); display: grid; place-items: center; font-family: var(--font-heading); }
ol.tgc-steps h3 { font-size: 1.35rem; font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-2); }
ol.tgc-steps p { color: var(--color-text-soft); margin: 0; }

@media (max-width: 56rem) {
  .tgc-split, .tgc-word__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .tgc-split__pic { aspect-ratio: 4 / 3; }
  ul.tgc-ways__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36rem) { ul.tgc-ways__list { grid-template-columns: 1fr; } }
/* === /page /tranny-contacts === */
/* === page /fuck-a-tranny: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /fuck-a-tranny, tgf- ; reuses the tgc- split and cards from /tranny-contacts */
.tgf-intro h2 em, .tgf-steps h2 em { font-style: italic; color: #b0466a; }
.tgf-open h2 em { font-style: italic; color: var(--color-primary); }

.tgf-intro, .tgf-steps { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgf-intro .tg-eyebrow, .tgf-steps .tg-eyebrow { color: #22698f; }
.tgf-intro h2, .tgf-steps h2 { color: #1b1e23; }
.tgf-intro .tgc-split__body p { color: #4a5260; margin: 0 0 var(--space-5); }
.tgf-intro .tgc-split__body p.tgf-lead { font-size: 1.15rem; color: #1b1e23; }
.tgf-steps { background: #f3f5f8; }

.tgf-open { background: var(--color-bg); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgf-open__inner { max-width: var(--container-max); margin: 0 auto; }
.tgf-open h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-8); max-width: 52rem; }
.tgf-open__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7); }
.tgf-open__cols p { color: var(--color-text-soft); margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--color-primary); }
.tgf-open__cols p:nth-child(2) { border-top-color: var(--color-focus); }
.tgf-open__cols a { color: var(--color-heading); text-decoration-color: var(--color-primary); text-underline-offset: .25em; }
ul.tgf-open__do { list-style: none; padding: 0; margin: var(--space-9) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
ul.tgf-open__do li { background: var(--color-surface); padding: var(--space-5) var(--space-6); color: var(--color-text-soft); }
ul.tgf-open__do strong { color: var(--color-primary); margin-right: .3em; }
ul.tgf-open__do li:last-child strong { color: var(--color-focus); }

.tgf-steps__intro { color: #4a5260; margin: 0 0 var(--space-6); }
ol.tgf-steps__list { list-style: none; counter-reset: tgf; padding: 0; margin: 0 0 var(--space-7); display: grid; gap: var(--space-5); }
ol.tgf-steps__list li { counter-increment: tgf; background: #fff; padding: var(--space-5) var(--space-6) var(--space-5) 4.2rem; position: relative; border-left: 3px solid #b0466a; }
ol.tgf-steps__list li:nth-child(even) { border-left-color: #22698f; }
ol.tgf-steps__list li::before { content: "0" counter(tgf); position: absolute; left: var(--space-5); top: var(--space-5); font-family: var(--font-heading); font-size: 1.3rem; color: #b0466a; }
ol.tgf-steps__list h3 { font-size: 1.35rem; font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-2); }
ol.tgf-steps__list p { color: #4a5260; margin: 0; font-size: .97rem; }

@media (max-width: 56rem) {
  .tgf-open__cols, ul.tgf-open__do { grid-template-columns: 1fr; gap: var(--space-5); }
}
/* === /page /fuck-a-tranny === */
/* === page /trans-chat: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-chat, tgch- ; reuses tgc- split/cards and tgf- columns/steps */
.tgch-cols h3 { font-size: 1.45rem; font-weight: 500; color: var(--color-heading); margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--color-primary); }
.tgch-cols > div:nth-child(2) h3 { border-top-color: var(--color-focus); }
.tgf-open__cols.tgch-cols p { border-top: 0; padding-top: var(--space-3); }
.tgch-cams { background: #f3f5f8; }
.tgch-hello-pic { object-position: 83% 30%; }
.tgch-cams .tgc-split__body a { color: #1b1e23; text-decoration-color: #b0466a; text-underline-offset: .25em; }
ul.tgch-safe { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
ul.tgch-safe li { background: #fff; color: #1b1e23; padding: var(--space-4) var(--space-5); border-left: 3px solid #22698f; }
.tgch-trust { background: #fff; }
.tgch-trust__inner { max-width: var(--container-max); margin: 0 auto; }
.tgch-trust h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-5); max-width: 52rem; }
.tgch-trust h2 em { font-style: italic; color: #b0466a; }
.tgch-trust .tg-eyebrow { color: #22698f; }
ol.tgch-trust__list { grid-template-columns: repeat(2, 1fr); }
ol.tgch-trust__list li { background: #f3f5f8; }
.tgch-sec__intro { color: var(--color-text-soft); max-width: 52rem; margin: 0 0 var(--space-8); }
ul.tgch-sec__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
ul.tgch-sec__list li { background: var(--color-surface); padding: var(--space-6); border-top: 2px solid var(--color-primary); }
ul.tgch-sec__list li:nth-child(even) { border-top-color: var(--color-focus); }
ul.tgch-sec__list h3 { font-size: 1.3rem; font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-3); }
ul.tgch-sec__list p { color: var(--color-text-soft); margin: 0; font-size: .97rem; }
@media (max-width: 70rem) { ul.tgch-sec__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { ul.tgch-sec__list { grid-template-columns: 1fr; } }
@media (max-width: 56rem) { ol.tgch-trust__list { grid-template-columns: 1fr; } }
/* === /page /trans-chat === */

/* === page /dating-trans-women: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /dating-trans-women, tgd- ; reuses tgc-, tgf- and tgch- styles */
.tgd-pic-face { object-position: 62% 40%; }
.tgd-pic-nb { object-position: 40% 40%; }
/* === /page /dating-trans-women === */

/* === page /trans-sexting: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-sexting, tgx- ; reuses tgc-, tgf- and tgch- styles */
.tgx-pic { object-position: 50% 45%; }
.tgx-phone__inner { max-width: var(--container-max); margin: 0 auto; }
.tgx-phone h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-8); max-width: 52rem; }
.tgx-phone h2 em { font-style: italic; color: #b0466a; }
.tgx-phone .tg-eyebrow { color: #22698f; }
.tgx-phone__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); }
.tgx-phone__cols p { color: #4a5260; margin: 0 0 var(--space-5); }
.tgx-phone__cols p.tgf-lead { font-size: 1.15rem; color: #1b1e23; }
ul.tgx-safe-list { grid-template-columns: repeat(3, 1fr); }
ul.tgx-ideas__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
ul.tgx-ideas__list li { background: #f3f5f8; padding: var(--space-6); border-top: 2px solid #b0466a; }
ul.tgx-ideas__list li:nth-child(even) { border-top-color: #22698f; }
ul.tgx-ideas__list h3 { font-size: 1.3rem; font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-3); }
ul.tgx-ideas__list p { color: #4a5260; margin: 0; font-size: .97rem; }
@media (max-width: 56rem) { ul.tgx-ideas__list, .tgx-phone__cols, ul.tgx-safe-list { grid-template-columns: 1fr; gap: var(--space-5); } }
/* === /page /trans-sexting === */

/* === page /free-trans-contacts: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /free-trans-contacts, tgfr- ; reuses tgc-, tgf- and tgch- styles. Own pricing cards. */
.tgfr-prices { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgfr-prices__inner { max-width: var(--container-max); margin: 0 auto; }
.tgfr-prices .tg-eyebrow { color: #22698f; }
.tgfr-prices h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-6); max-width: 52rem; }
.tgfr-prices h2 em { font-style: italic; color: #b0466a; }
.tgfr-prices__intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-9); }
.tgfr-prices__intro p { color: #4a5260; margin: 0; }
.tgfr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.tgfr-card { display: flex; flex-direction: column; background: #f3f5f8; padding: var(--space-7) var(--space-6); border-top: 3px solid #22698f; }
.tgfr-card:nth-child(2) { border-top-color: #b0466a; }
.tgfr-card:nth-child(3) { background: #1b1e23; border-top-color: #f4a9bd; }
.tgfr-card__name { font-size: 2rem; font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-2); }
.tgfr-card__lead { color: #4a5260; margin: 0 0 var(--space-5); }
.tgfr-card__price { font-family: var(--font-heading); font-size: 2.6rem; color: #1b1e23; margin: 0 0 var(--space-5); }
ul.tgfr-plan { list-style: none; padding: 0; margin: 0 0 var(--space-5); }
ul.tgfr-plan li { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid #d5dae2; }
.tgfr-plan__len { font-weight: 600; color: #1b1e23; grid-row: span 2; }
.tgfr-plan__wk { font-family: var(--font-heading); font-size: 1.3rem; color: #1b1e23; }
.tgfr-plan__how { font-size: .88rem; color: #4a5260; }
ul.tgfr-card__feat { list-style: none; padding: 0; margin: 0 0 var(--space-6); flex: 1; }
ul.tgfr-card__feat li { position: relative; padding: var(--space-2) 0 var(--space-2) 1.4rem; color: #1b1e23; font-size: .97rem; }
ul.tgfr-card__feat li::before { content: "\2713"; position: absolute; left: 0; color: #b0466a; }
.tgfr-card__btn { align-self: flex-start; }
.tgfr-card:nth-child(3) .tgfr-card__name, .tgfr-card:nth-child(3) .tgfr-plan__len, .tgfr-card:nth-child(3) .tgfr-plan__wk, .tgfr-card:nth-child(3) ul.tgfr-card__feat li { color: #fff; }
.tgfr-card:nth-child(3) .tgfr-card__lead, .tgfr-card:nth-child(3) .tgfr-plan__how { color: #c9ced6; }
.tgfr-card:nth-child(3) ul.tgfr-plan li { border-bottom-color: #3a3f47; }
.tgfr-card:nth-child(3) ul.tgfr-card__feat li::before { color: #f4a9bd; }
ul.tgfr-small { list-style: none; padding: 0; margin: var(--space-7) 0 0; display: grid; gap: var(--space-2); }
ul.tgfr-small li { font-size: .85rem; color: #4a5260; }
@media (max-width: 64rem) { .tgfr-cards, .tgfr-prices__intro { grid-template-columns: 1fr; } }
/* === /page /free-trans-contacts === */
/* === page /local-dating-trans: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /local-dating-trans: Local hub, tgl- */
.tgl-intro h2 em, .tgl-ways h2 em { font-style: italic; color: #b0466a; }
.tgl-regions h2 em, .tgl-meet h2 em { font-style: italic; color: var(--color-primary); }

.tgl-intro { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgl-intro__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-10); }
.tgl-intro .tg-eyebrow, .tgl-ways .tg-eyebrow { color: #22698f; }
.tgl-intro h2, .tgl-ways h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0; }
.tgl-intro__pic { object-position: 55% 25%; max-width: 26rem; }
.tgl-intro__body p { color: #4a5260; margin: 0 0 var(--space-5); }
.tgl-intro__body p:first-child { font-size: 1.15rem; color: #1b1e23; }

.tgl-regions { background: var(--color-bg); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgl-regions__inner { max-width: var(--container-max); margin: 0 auto; }
.tgl-regions__head { max-width: 46rem; margin-bottom: var(--space-9); }
.tgl-regions__head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0 0 var(--space-4); }
.tgl-regions__head p:last-child { color: var(--color-text-soft); margin: 0; }
.tgl-near { display: grid; grid-template-columns: 4fr 7fr; gap: var(--space-8); background: var(--color-surface); padding: var(--space-8) var(--space-7); border-top: 3px solid var(--color-primary); margin-bottom: var(--space-5); scroll-margin-top: 6rem; }
.tgl-near h3 { font-size: 2rem; font-weight: 500; color: var(--color-heading); margin: 0; }
.tgl-near .tgl-region__kicker { color: var(--color-primary); font-size: 1.2rem; }
.tgl-near p:not([class]) { color: var(--color-text-soft); margin: 0 0 var(--space-5); }
.tgl-regions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.tgl-region { background: var(--color-surface); padding: var(--space-8) var(--space-7); border-top: 3px solid var(--color-focus); scroll-margin-top: 6rem; }
.tgl-region:nth-child(2), .tgl-region:nth-child(3) { border-top-color: var(--color-primary); }
.tgl-region__kicker { font-family: var(--font-heading); font-size: 2.2rem; line-height: 1; color: var(--color-focus); margin: 0 0 var(--space-3); }
.tgl-region:nth-child(2) .tgl-region__kicker, .tgl-region:nth-child(3) .tgl-region__kicker { color: var(--color-primary); }
.tgl-region h3 { font-size: 2rem; font-weight: 500; color: var(--color-heading); margin: 0; }
.tgl-region__sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-soft); margin: var(--space-2) 0 var(--space-5); }
.tgl-region > p:not([class]) { color: var(--color-text-soft); margin: 0 0 var(--space-6); }
ul.tgl-region__areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
ul.tgl-region__areas li > * { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--color-rule); border-radius: 999px; font-size: .92rem; color: var(--color-text); text-decoration: none; }
ul.tgl-region__areas li > a { border-color: var(--color-primary); color: var(--color-heading); }
ul.tgl-region__areas li > a:hover { background: var(--color-primary); color: var(--color-on-primary); }

.tgl-ways { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgl-ways__inner { max-width: var(--container-max); margin: 0 auto; }
.tgl-ways h2 { margin-bottom: var(--space-8); }
ol.tgl-ways__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
ol.tgl-ways__list li { border-top: 1px solid #c9cfd8; padding-top: var(--space-5); }
.tgl-ways__num { font-family: var(--font-heading); font-size: 2.2rem; color: #b0466a; line-height: 1; }
ol.tgl-ways__list li:nth-child(even) .tgl-ways__num { color: #22698f; }
ol.tgl-ways__list h3 { font-size: 1.35rem; font-weight: 600; color: #1b1e23; margin: var(--space-3) 0 var(--space-2); }
ol.tgl-ways__list p { margin: 0; color: #4a5260; font-size: .97rem; }

.tgl-meet { background: var(--color-surface); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgl-meet__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-10); }
.tgl-meet h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: var(--color-heading); margin: 0; }
.tgl-meet__body p { color: var(--color-text-soft); margin: 0 0 var(--space-5); }

.tgl-counties { background: #fff; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgl-counties__inner { max-width: var(--container-max); margin: 0 auto; }
.tgl-counties__head { max-width: 46rem; margin-bottom: var(--space-8); }
.tgl-counties .tg-eyebrow { color: #22698f; }
.tgl-counties h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-4); }
.tgl-counties h2 em { font-style: italic; color: #b0466a; }
.tgl-counties__head p:last-child { color: #4a5260; margin: 0; }
ul.tgl-counties__list { list-style: none; padding: 0; margin: 0; columns: 4 12rem; column-gap: var(--space-7); }
ul.tgl-counties__list li { break-inside: avoid; padding: var(--space-2) 0; border-bottom: 1px solid #e3e7ec; }
ul.tgl-counties__list a { color: #1b1e23; text-decoration: none; }
ul.tgl-counties__list a:hover { color: #b0466a; text-decoration: underline; }
ul.tgl-counties__list a span { color: #b0466a; font-size: .85em; }

@media (max-width: 56rem) {
  .tgl-intro__inner, .tgl-meet__inner, .tgl-regions__grid, .tgl-near { grid-template-columns: 1fr; gap: var(--space-6); }
  ol.tgl-ways__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36rem) { ol.tgl-ways__list { grid-template-columns: 1fr; } }
/* === /page /local-dating-trans === */
/* === page /birmingham-trans-contacts: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /birmingham-trans-contacts, tgb- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgb-pic-white { object-position: 50% 25%; }
.tgb-pic-sofa { object-position: 50% 30%; }
/* === /page /birmingham-trans-contacts === */

/* === page /hampshire-trans: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /hampshire-trans, tgh- ; reuses tgc-, tgf-, tgch- and tgn- styles */
.tgh-pic-green { object-position: 50% 20%; }
.tgh-pic-mirror { object-position: 45% 20%; }
.tgn-dark .tgc-split__body p.tgh-lead { font-size: 1.15rem; color: var(--color-text); }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
.tgh-sup-sec h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; margin: 0 0 var(--space-5); max-width: 52rem; }
.tgh-sup { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.tgh-sup li { background: #fff; padding: var(--space-6); border-top: 3px solid #b0466a; }
.tgh-sup li:nth-child(2) { border-top-color: #22698f; }
.tgh-sup h3 { font-size: 1.4rem; font-weight: 500; margin: 0; }
.tgh-sup h3 a { color: #1b1e23; text-decoration-color: #b0466a; text-underline-offset: .25em; }
.tgh-sup h3 a span { color: #b0466a; font-size: .8em; }
p.tgh-sup__tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #22698f; margin: var(--space-2) 0 var(--space-4); }
.tgh-sup p:not(.tgh-sup__tag) { color: #4a5260; margin: 0; font-size: .97rem; }
@media (max-width: 56rem) { .tgh-sup { grid-template-columns: 1fr; } }
/* === /page /hampshire-trans === */

/* === page /scotland-trans-hookups: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /scotland-trans-hookups, tgs- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgs-pic-purple { object-position: 50% 20%; }
.tgs-pic-fur { object-position: 45% 30%; }
.tgs-story h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; margin: 0 0 var(--space-7); max-width: 52rem; }
.tgs-story__body { max-width: 46rem; }
.tgs-story__body p { color: #4a5260; margin: 0 0 var(--space-5); }
.tgs-story__body p.tgf-lead { font-size: 1.15rem; color: #1b1e23; }
.tgs-area { background: var(--color-bg); padding: var(--space-7) var(--space-5) 0; }
.tgs-area__label { max-width: var(--container-max); margin: 0 auto; font-size: 1.5rem; font-weight: 500; color: var(--color-heading); padding-top: var(--space-4); border-top: 1px solid var(--color-primary); }
#tgs-east .tgs-area__label { border-top-color: var(--color-focus); }
/* === /page /scotland-trans-hookups === */

/* === page /yorkshire-trans: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /yorkshire-trans, tgy- ; reuses tgc-, tgf-, tgch-, tgn-, tgh- (support) and tgs- (area strips) styles */
.tgy-pic-sky { object-position: 55% 25%; }
.tgy-pic-lace { object-position: 50% 20%; }
/* === /page /yorkshire-trans === */

/* === page /tag/west-midlands: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /tag/west-midlands, tgw- ; reuses tgc-, tgf-, tgch-, tgn-, tgh- (support) and tgs- (area strips) styles */
.tgw-pic-choker { object-position: 50% 20%; }
.tgw-pic-teal { object-position: 62% 40%; }
.tgch-cols h3 a { color: inherit; text-decoration-color: var(--color-primary); text-underline-offset: .2em; }
/* === /page /tag/west-midlands === */

/* === page /seeking-trans: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /seeking-trans, tgn- ; reuses tgc-, tgf- and tgch- styles */
.tgn-pic-sequin { object-position: 50% 25%; }
.tgn-pic-selfie { object-position: 50% 30%; }
.tgn-dark { background: var(--color-surface); color: var(--color-text); padding: var(--space-11) var(--space-5); }
.tgn-dark h2 { color: var(--color-heading); }
.tgn-dark h2 em { font-style: italic; color: var(--color-primary); }
.tgn-dark .tgc-split__body p { color: var(--color-text-soft); margin: 0 0 var(--space-5); }
.tgn-dark .tgc-split__body p.tgn-lead { font-size: 1.15rem; color: var(--color-text); }
ul.tgch-sec__list.tgn-sec { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 70rem) { ul.tgch-sec__list.tgn-sec { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { ul.tgch-sec__list.tgn-sec { grid-template-columns: 1fr; } }
/* === /page /seeking-trans === */

/* === page /coventry-trans-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /coventry-trans-dating, tgv- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgv-pic-green { object-position: 83% 30%; }
.tgv-pic-glasses { object-position: 50% 30%; }
/* === /page /coventry-trans-dating === */
/* === page /edinburgh-trans-personals: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /edinburgh-trans-personals, tge- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tge-pic-sequin { object-position: 50% 25%; }
.tge-pic-mirror { object-position: 45% 20%; }
/* === /page /edinburgh-trans-personals === */
/* === page /glasgow-trans-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /glasgow-trans-dating, tgg- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgg-pic-green { object-position: 50% 20%; }
.tgg-pic-selfie { object-position: 50% 30%; }
/* === /page /glasgow-trans-dating === */
/* === page /manchester-trans: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /manchester-trans, tgm- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgm-pic-purple { object-position: 50% 20%; }
.tgm-pic-fringe { object-position: 60% 30%; }
/* === /page /manchester-trans === */

/* === page /liverpool-trans-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /liverpool-trans-dating, tgp- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgp-pic-teal { object-position: 62% 40%; }
.tgp-pic-lace { object-position: 50% 20%; }
/* === /page /liverpool-trans-dating === */
/* === page /trans-essex: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-essex, tgx2- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgx2-pic-choker { object-position: 50% 20%; }
.tgx2-pic-fur { object-position: 45% 30%; }
/* === /page /trans-essex === */
/* === page /trans-staffordshire: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-staffordshire, tgst- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgst-pic-white { object-position: 50% 25%; }
.tgst-pic-chat { object-position: 40% 30%; }
/* === /page /trans-staffordshire === */

/* === page /dorset-trans-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /dorset-trans-dating, tgdo- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- (support) styles */
.tgdo-pic-sky { object-position: 55% 25%; }
.tgdo-pic-selfie { object-position: 50% 30%; }
/* === /page /dorset-trans-dating === */
/* === page /casual-sex: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /casual-sex, tgcs- ; reuses tgc-, tgf-, tgch-, tgn- and tgh- styles */
.tgcs-pic-lace { object-position: 50% 20%; }
.tgcs-pic-red { object-position: 50% 45%; }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
/* === /page /casual-sex === */
/* === page /dogging-locations: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /dogging-locations, tgdg- ; reuses tgc-, tgf-, tgch-, tgn-, tgs- (story) styles */
.tgdg-pic-white { object-position: 50% 25%; }
.tgdg-pic-red { object-position: 50% 45%; }
/* === /page /dogging-locations === */

/* === page /trans-foot-worship: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-foot-worship, tgft- ; reuses tgc-, tgf-, tgch-, tgn-, tgs- (story) styles */
.tgft-pic-green { object-position: 50% 75%; }
.tgft-pic-sofa { object-position: 50% 70%; }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
/* === /page /trans-foot-worship === */
/* === page /sugar-baby: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /sugar-baby, tgsb- ; reuses tgc-, tgf-, tgch- and tgn- styles */
.tgsb-pic-fur { object-position: 45% 30%; }
.tgsb-pic-mirror { object-position: 45% 20%; }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
/* === /page /sugar-baby === */

/* === page /category/trans-fetish-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /category/trans-fetish-dating, tgfe- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgfe-pic-chat { object-position: 40% 30%; }
.tgfe-pic-fringe { object-position: 60% 30%; }
ul.tgch-sec__list.tgfe-kinks a { color: var(--color-heading); text-decoration-color: var(--color-primary); text-underline-offset: .2em; white-space: nowrap; }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
/* === /page /category/trans-fetish-dating === */
/* === page /trans-hookups: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-hookups, tghk- ; reuses tgc-, tgf-, tgch- and tgn- styles */
.tghk-pic-purple { object-position: 50% 20%; }
.tghk-pic-lace { object-position: 50% 20%; }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
/* === /page /trans-hookups === */
/* === page /category/trans-dogging: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /category/trans-dogging, tgtd- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgtd-pic-sequin { object-position: 50% 25%; }
.tgtd-pic-mirror { object-position: 45% 20%; }
.tgn-dark .tgc-split__body strong { color: var(--color-heading); font-weight: 600; }
/* === /page /category/trans-dogging === */
/* === page /tag/dogging-stories: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /tag/dogging-stories, tgds- ; reuses tgc-, tgf-, tgch-, tgn-, tgs-story styles */
.tgds-pic-sky { object-position: 40% 30%; }
.tgds-pic-choker { object-position: 50% 20%; }
.tgs-story.tgds-alt { background: #f3f5f8; }
/* === /page /tag/dogging-stories === */
/* === page /trans-dogging-photos: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-dogging-photos, tgdp- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgdp-pic-selfie { object-position: 50% 30%; }
.tgdp-pic-lace { object-position: 50% 20%; }
/* === /page /trans-dogging-photos === */
/* === page /trans-cuckold-personals: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-cuckold-personals, tgck- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgck-pic-white { object-position: 50% 30%; }
.tgck-pic-green { object-position: 50% 25%; }
/* === /page /trans-cuckold-personals === */
/* === page /trans-dating-mature-males: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-dating-mature-males, tgmm- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgmm-pic-fringe { object-position: 55% 25%; }
.tgmm-pic-fur { object-position: 50% 25%; }
/* === /page /trans-dating-mature-males === */
/* === page /trans-cougar: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-cougar, tgcg- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgcg-pic-pearls { object-position: 50% 30%; }
.tgcg-pic-teal { object-position: 50% 35%; }
/* === /page /trans-cougar === */
/* === page /trans-dating-etiquette: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-dating-etiquette, tget- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tget-pic-purple { object-position: 50% 30%; }
.tget-pic-choker { object-position: 50% 20%; }
/* === /page /trans-dating-etiquette === */
/* === page /trans-first-time-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-first-time-dating, tgft- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgft-pic-bob { object-position: 50% 15%; }
.tgft-pic-sofa { object-position: 50% 25%; }
/* === /page /trans-first-time-dating === */
/* === page /uk-trans-clubs: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /uk-trans-clubs, tguc- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tguc-pic-green { object-position: 40% 30%; }
.tguc-pic-sky { object-position: 40% 30%; }
.tguc-cities { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); scroll-margin-top: 5rem; }
.tguc-cities__inner { max-width: var(--container-max); margin: 0 auto; }
.tguc-cities .tg-eyebrow { color: #22698f; }
.tguc-cities h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-4); }
.tguc-cities h2 em { font-style: italic; color: #b0466a; }
.tguc-cities__intro { color: #4a5260; max-width: 46rem; margin: 0 0 var(--space-8); }
ul.tguc-cities__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-8); }
ul.tguc-cities__list li { border-top: 3px solid #b0466a; background: #fff; padding: var(--space-5) var(--space-6) var(--space-6); }
ul.tguc-cities__list li:nth-child(4n+2), ul.tguc-cities__list li:nth-child(4n+3) { border-top-color: #22698f; }
ul.tguc-cities__list h3 { font-size: 1.45rem; font-weight: 600; color: #1b1e23; margin: 0 0 var(--space-2); }
ul.tguc-cities__list h3 a { color: #1b1e23; text-decoration-color: #b0466a; text-underline-offset: .25em; }
ul.tguc-cities__list h3 a span { color: #b0466a; font-size: .8em; }
ul.tguc-cities__list p { color: #4a5260; margin: 0; font-size: .98rem; }
@media (max-width: 48rem) { ul.tguc-cities__list { grid-template-columns: 1fr; } }
/* === /page /uk-trans-clubs === */
/* === page /trans-selfies: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /trans-selfies, tgsf- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgsf-pic-selfie { object-position: 50% 30%; }
.tgsf-pic-sequin { object-position: 50% 25%; }
/* === /page /trans-selfies === */
/* === page /post-op-trans-personals: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /post-op-trans-personals, tgpo- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgpo-pic-sofa { object-position: 50% 20%; }
.tgpo-pic-pearls { object-position: 50% 30%; }
/* === /page /post-op-trans-personals === */
/* === page /anal-sex-hookups: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /anal-sex-hookups, tgan- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgan-pic-red { object-position: 50% 40%; }
.tgan-pic-white { object-position: 50% 30%; }
/* === /page /anal-sex-hookups === */
/* === page /sex-with-transfan-contacts: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /sex-with-transfan-contacts, tgtf- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgtf-pic-sky { object-position: 40% 30%; }
.tgtf-pic-teal { object-position: 45% 40%; }
/* === /page /sex-with-transfan-contacts === */

/* === page /asian-trans-contacts: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /asian-trans-contacts, tgas- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgas-pic-bob { object-position: 50% 30%; }
.tgas-pic-choker { object-position: 50% 25%; }
.tg-hero__photo.tgas-hero-photo { object-position: 50% 20%; }
@media (max-width: 56rem) { .tg-hero__photo.tgas-hero-photo { object-position: 50% 15%; } }
/* === /page /asian-trans-contacts === */
/* === page /shemales-near-me: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /shemales-near-me, tgsn- ; reuses tgc-, tgf-, tgch-, tgn-, tgl-region__areas styles */
.tgsn-pic-phone { object-position: 50% 25%; }
.tgsn-pic-heart { object-position: 55% 20%; }
.tg-hero__photo.tgsn-hero-photo { object-position: 50% 20%; }
@media (max-width: 56rem) { .tg-hero__photo.tgsn-hero-photo { object-position: 50% 15%; } }
.tgsn-areas { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgsn-areas__inner { max-width: var(--container-max); margin: 0 auto; }
.tgsn-areas h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-4); }
.tgsn-areas h2 em { font-style: italic; color: #b0466a; }
.tgsn-areas__intro { max-width: 46rem; color: #4a5260; margin: 0 0 var(--space-8); }
.tgsn-areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-7); }
.tgsn-areas__grid h3 { color: #1b1e23; font-size: 1.35rem; margin: 0 0 var(--space-3); padding-bottom: var(--space-2); border-bottom: 2px solid #b0466a; }
.tgsn-areas ul.tgl-region__areas li > a { color: #1b1e23; border-color: #b0466a; }
.tgsn-areas ul.tgl-region__areas li > a:hover { background: #b0466a; color: #fff; }
.tgsn-areas__more { margin-top: var(--space-8) !important; }
@media (max-width: 56rem) { .tgsn-areas__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
@media (max-width: 36rem) { .tgsn-areas__grid { grid-template-columns: 1fr; } }
/* === /page /shemales-near-me === */
/* === page /category/shemale-dating: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /category/shemale-dating, tgsd- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgsd-pic-night { object-position: 50% 20%; }
.tgsd-pic-mirror { object-position: 50% 20%; }
.tg-hero__photo.tgsd-hero-photo { object-position: 50% 20%; }
@media (max-width: 56rem) { .tg-hero__photo.tgsd-hero-photo { object-position: 50% 15%; } }
/* === /page /category/shemale-dating === */
/* === page /shemale-chat-room: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /shemale-chat-room, tgsc- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgsc-pic-purple { object-position: 50% 15%; }
.tgsc-pic-lace { object-position: 50% 25%; }
.tg-hero__photo.tgsc-hero-photo { object-position: 50% 20%; }
@media (max-width: 56rem) { .tg-hero__photo.tgsc-hero-photo { object-position: 50% 15%; } }
/* === /page /shemale-chat-room === */
/* === page /shemale-sex-photos: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /shemale-sex-photos, tgsp- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgsp-pic-bikini { object-position: 50% 30%; }
.tgsp-pic-harness { object-position: 50% 20%; }
.tg-hero__photo.tgsp-hero-photo { object-position: 50% 20%; }
@media (max-width: 56rem) { .tg-hero__photo.tgsp-hero-photo { object-position: 50% 15%; } }
/* === /page /shemale-sex-photos === */
/* === page /shemales-dogging: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /shemales-dogging, tgsd- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgsd-pic-lace { object-position: 50% 30%; }
.tgsd-pic-crop { object-position: 50% 25%; }
/* === /page /shemales-dogging === */
/* === page /site-map: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /site-map, tgs- */
.tg-hero--short { min-height: min(32rem, 70svh); }
.tgs { background: #f3f5f8; color: #1b1e23; padding: var(--space-11) var(--space-5); }
.tgs__inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-9); }
.tgs-group h2 { font-size: 1.9rem; font-weight: 500; color: #1b1e23; margin: 0 0 var(--space-4); padding-bottom: var(--space-3); border-bottom: 2px solid #b0466a; }
.tgs-group:nth-child(even) h2 { border-bottom-color: #22698f; }
ul.tgs-links { list-style: none; padding: 0; margin: 0; }
ul.tgs-links li { padding: var(--space-2) 0; }
ul.tgs-links a { color: #1b1e23; text-decoration-color: #b0466a; text-underline-offset: .25em; }
ul.tgs-links a:hover { color: #b0466a; }
.tgs-soon { color: #4a5260; font-style: italic; }
@media (max-width: 56rem) { .tgs__inner { grid-template-columns: 1fr; gap: var(--space-7); } }
/* === /page /site-map === */

/* === page /tranny-photo-personals: its own styles (page_assemble.py; rewritten on every assemble of this page) === */
/* transgenderuk /tranny-photo-personals, tgpp- ; reuses tgc-, tgf-, tgch-, tgn- styles */
.tgpp-pic-mirror { object-position: 50% 25%; }
.tgpp-pic-purple { object-position: 50% 25%; }
/* === /page /tranny-photo-personals === */
