/* Foundher: the members' exchange from Women Founding Differently.
   Shares the Women Founding Differently look: parchment ground, ink type, one pink accent.
   Fonts are hosted on this site (SIL Open Font License), so no visitor data goes to a font provider. */
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #1A1A1A;
  --parchment: #F7F4EC;
  --paper: #FFFDF8;
  --pink: #C4206F;          /* text and buttons: passes contrast on parchment */
  --pink-dark: #A11A5B;
  --pink-bright: #E23A8E;   /* dots and accents only */
  --pink-on-dark: #FF8CC6;
  --body: #3A3430;
  --muted: #5E5650;
  --rule: #DDD4C7;
  --on-dark: #F7F4EC;
  --on-dark-muted: #D9D4CC;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
  --section: clamp(3.5rem, 8vw, 6rem);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
em { font-style: italic; color: var(--pink); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 44rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--parchment); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--ink); }
.wordmark svg { width: 1.7rem; height: 1.7rem; flex: none; }
.wordmark em { color: var(--pink); }
.head-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); font-size: 0.92rem; }
.head-nav a.link { text-decoration: none; color: var(--body); }
.head-nav a.link:hover { color: var(--pink); }
@media (max-width: 40rem) { .head-nav a.link { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-size: 0.95rem; font-weight: 500; text-decoration: none; padding: 0.85rem 1.3rem; border: 1px solid var(--pink); background: var(--pink); color: #fff; cursor: pointer; border-radius: 0; }
.btn:hover, .btn:focus-visible { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { padding: 0.6rem 1rem; font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Type helpers */
.label { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; margin-top: 0.9rem; color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--body); }
.copy { display: grid; gap: 1rem; color: var(--body); }
.copy a, .inline-link { color: var(--pink); }

/* Hero */
.hero .wrap { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; padding: 1.4rem 0 clamp(1.8rem, 4vw, 3rem); border-top: 1px solid var(--ink); margin-top: 1.2rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--pink); margin-bottom: 1rem; }
.lead-small { color: var(--ink); font-weight: 500; margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 1rem; }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: clamp(16rem, 42vw, 34rem); object-fit: cover; object-position: 50% 35%; }

/* Sections */
.section { padding-block: var(--section); }
.section-rule > .wrap { border-top: 1px solid var(--ink); padding-top: clamp(2rem, 4vw, 3rem); }
.section-rule { padding-top: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.two .copy { padding-top: 2.4rem; }

.story { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; color: var(--ink); }
.story-by { margin-top: 1.2rem; font-size: 0.9rem; color: var(--muted); }
.side-photo { margin: 0; }
.side-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

.steps { list-style: none; margin: 2.6rem 0 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.steps li { counter-increment: s; display: grid; gap: 0.6rem; align-content: start; border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--pink); }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--body); font-size: 0.98rem; }

.dots { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.dots li { position: relative; padding: 1rem 0 1rem 1.8rem; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.25; }
.dots li::before { content: ""; position: absolute; left: 0.2rem; top: 1.5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--pink-bright); }

.rules { margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem clamp(1rem, 3vw, 2.5rem); }
.rules div { border-top: 1px solid var(--ink); padding-top: 0.9rem; }
.rules dt { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.45rem; }
.rules dd { margin: 0; color: var(--body); font-size: 0.98rem; }

.band { background: var(--ink); color: var(--on-dark); }
.band .label, .band em { color: var(--pink-on-dark); }
.band .h2 { color: #fff; }
.band .copy, .band .lead { color: var(--on-dark-muted); }
.band .btn-line { color: #fff; border-color: #fff; }
.band .btn-line:hover { background: #fff; color: var(--ink); }
.founding { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.big-number { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: 0.9; color: var(--pink-on-dark); }

.host { padding-block: 2.2rem; }
.host p { color: var(--muted); font-size: 0.95rem; max-width: 46rem; }

/* Forms */
.page-head { padding-top: clamp(2.5rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin-top: 0.9rem; }
.page-head .lead { margin-top: 1rem; max-width: 40rem; }
.form { display: grid; gap: 1.4rem; background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.4rem, 3vw, 2.4rem); margin-top: 2rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.form legend { font-family: var(--serif); font-size: 1.5rem; padding: 0; margin-bottom: 0.4rem; }
.form fieldset + fieldset { border-top: 1px solid var(--rule); padding-top: 1.6rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.field > label, .group-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.hint { font-size: 0.88rem; color: var(--muted); }
.form input[type="password"], .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form input[type="date"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.75rem 0.85rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; }
.form textarea { min-height: 7.5rem; resize: vertical; }
.checks { display: grid; gap: 0.6rem; }
.check { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.7rem; align-items: start; font-size: 0.97rem; color: var(--body); }
.check input { width: 1.1rem; height: 1.1rem; margin: 0.2rem 0 0; accent-color: var(--pink); }
.req { color: var(--pink); }
.hidden-field { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-note a { color: var(--pink); }

.next { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: n; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.next li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); color: var(--body); }
.next li::before { content: "0" counter(n); font-family: var(--serif); font-style: italic; font-size: 1.8rem; line-height: 1; color: var(--pink); }
.next strong { color: var(--ink); font-weight: 600; }

/* Legal */
.legal { display: grid; gap: 1rem; color: var(--body); }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); color: var(--ink); margin-top: 1.6rem; }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.legal a { color: var(--pink); }
.table-scroll { overflow-x: auto; }
.legal-table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: 0.93rem; }
.legal-table th { text-align: left; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--ink); }
.legal-table td { padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }

/* Footer */
.site-foot { border-top: 1px solid var(--ink); padding-block: 2rem 2.6rem; margin-top: var(--section); }
.site-foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: start; }
.site-foot .wordmark { font-size: 1.25rem; }
.site-foot .wordmark svg { width: 1.3rem; height: 1.3rem; }
.site-foot p { font-size: 0.82rem; color: var(--muted); max-width: 38rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 0.85rem; }
.site-foot nav a { color: var(--body); }
.band + .site-foot, .host + .site-foot { margin-top: 0; }

@media (max-width: 52rem) {
  .hero-grid, .two, .steps, .founding, .rules, .field-row { grid-template-columns: 1fr; }
  .two .copy { padding-top: 0; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}

/* Two ways in: for women who need help and women with help to give */
.story-close { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--pink); }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.4rem; }
.way { border-top: 1px solid var(--ink); padding-top: 1.2rem; display: grid; gap: 0.8rem; align-content: start; }
.way h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; }
.way p { color: var(--body); }
.who-line { margin-top: 2rem; color: var(--muted); font-size: 0.95rem; max-width: 46rem; }
@media (max-width: 52rem) { .ways { grid-template-columns: 1fr; } }

/* Google Forms embedded on the join and log pages */
.form-frame { margin-top: 2rem; background: var(--paper); border: 1px solid var(--rule); }
.form-frame iframe { display: block; width: 100%; border: 0; }
.form-pending { margin-top: 2rem; padding: 2rem; border: 1px dashed var(--pink); background: var(--paper); color: var(--body); }

/* Members' directory */
.dir-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--ink); }
.dir-tools .field > label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.dir-tools input, .dir-tools select { width: 100%; font: inherit; font-size: 1rem; padding: 0.75rem 0.85rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; }
.dir-status { margin-top: 1.2rem; color: var(--muted); font-size: 0.95rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
span.btn[aria-disabled="true"] { cursor: default; opacity: 0.6; }
@media (max-width: 40rem) { .dir-tools { grid-template-columns: 1fr; } }

/* Member cards */
.card { background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--pink); padding: 1.4rem 1.4rem 1.3rem; display: grid; gap: 1rem; align-content: start; }
.card-head { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center; }
.avatar { flex: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.25rem; line-height: 1; letter-spacing: 0.02em; }
.card h2 { font-size: 1.45rem; line-height: 1.15; }
.card-biz { margin: 0.25rem 0 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.card-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card-badges:empty { display: none; }
.tag-credits, .tag-stage { font-size: 0.8rem; line-height: 1.3; padding: 0.25rem 0.7rem; border-radius: 999px; }
.tag-credits { font-weight: 600; color: var(--pink-dark); background: #FBE3EE; white-space: nowrap; }
.tag-stage { color: var(--body); background: #EFE9DE; }
.card-what { margin: 0; color: var(--body); font-size: 0.98rem; }
.card .label { font-size: 0.68rem; }
.card-give p, .card-ask p { margin: 0.35rem 0 0; color: var(--ink); font-size: 0.98rem; }
.tags { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { font-size: 0.88rem; line-height: 1.3; padding: 0.35rem 0.75rem; border: 1px solid #E9C3D6; background: #fff; color: var(--ink); border-radius: 999px; }
.tags.small li { font-size: 0.8rem; padding: 0.25rem 0.65rem; border-color: var(--rule); background: transparent; color: var(--body); }
.card-ask { background: #FBEAF2; border-left: 3px solid var(--pink); padding: 0.9rem 1rem 0.95rem; }
.ask-cta { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.7rem; font-size: 0.92rem; font-weight: 600; color: var(--pink-dark); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.05rem; }
.ask-cta:hover { color: var(--ink); }
.mini { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card-how p { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--body); }
.card-foot { border-top: 1px solid var(--rule); padding-top: 1rem; display: grid; gap: 0.85rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.45rem; }
.pill { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--pink); border: 1px solid var(--pink); color: #fff; font-size: 0.88rem; font-weight: 600; line-height: 1.2; text-decoration: none; max-width: 100%; }
.pill span { overflow-wrap: anywhere; }
.pill svg { width: 1.05rem; height: 1.05rem; flex: none; }
a.pill:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.pill.quiet { background: #fff; color: var(--ink); border-color: var(--rule); font-weight: 500; }
.pill.quiet svg { color: var(--pink); }
a.pill.quiet:hover { background: #fff; border-color: var(--pink); }
span.pill { cursor: default; }


/* The line above the headline that says what Foundher is */
.hero-kicker { margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 500; line-height: 1.35; color: var(--ink); display: flex; align-items: center; gap: 0.6rem; }
.hero-kicker::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pink-bright); }

/* Women Founding Differently page */
.wfd-logo { margin-top: 1.2rem; }
.wfd-logo img { display: block; width: min(100%, 34rem); height: auto; }
.wfd-big { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; color: var(--ink); margin: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: 2.6rem; }
.pair figure { margin: 0; }
.pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.wfd-form { margin-top: 0; align-self: start; }
.wfd-done { margin: 0; color: var(--ink); }
@media (max-width: 40rem) { .pair { grid-template-columns: 1fr; } }
.how-intro { margin-top: 1.2rem; max-width: 40rem; }
.how-intro strong { color: var(--ink); font-weight: 600; }
.how-outro { margin-top: 2.4rem; max-width: 40rem; }

/* Members' page password */
.gate { max-width: 34rem; }
.gate-error { margin: 0; color: var(--pink); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.show-pw { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; cursor: pointer; }
.gate-detail { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

/* Always honour the hidden attribute, even on elements with a display rule */
[hidden] { display: none !important; }

/* Home: note under the first join button, and the worked example */
.example { margin-top: 2.4rem; max-width: 46rem; padding: 1.4rem 1.6rem; background: var(--paper, #fffdf7); border-left: 3px solid var(--pink); }
.example p { margin: 0.5rem 0 0; }

/* Home: Kate's note in the opening */
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.hero .hero-grid { align-items: start; }
.hero-lead { margin-top: 0.35rem; }
.hero-note-kate { margin: 1.4rem 0 1.4rem; padding: 0 0 0 1rem; border-left: 2px solid var(--pink); }
.hero-note-kate p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.hero-note-kate footer { margin-top: 0.45rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }
.hero .lead-small { margin-bottom: 0.9rem; }
.hero-note-kate { margin-bottom: 1.1rem; }
.hero .hero-grid { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.hero-kicker a { color: inherit; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 0.18em; }

/* Home: less space under the navigation so the join button shows on smaller laptop screens */
.hero .wrap { padding-top: clamp(1.2rem, 2.6vw, 2rem); }
.hero .hero-grid { margin-top: 0.9rem; padding-top: 1.2rem; }

/* Home banner: wide crop on desktop, taller crop on phones (set in the picture element) */
.hero .hero-photo img { height: clamp(16rem, calc(100vw / 2.52), 44rem); object-position: 50% 35%; }
@media (max-width: 40rem) { .hero .hero-photo img { height: auto; aspect-ratio: 1100 / 897; object-position: 50% 50%; } }

/* Founding band: quieter number, terms under the button */
.band .big-number { font-size: clamp(3.2rem, 7vw, 5.5rem); opacity: 0.85; }
.founding-terms { margin: 0.9rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--on-dark-muted, rgba(255,255,255,0.72)); max-width: 34rem; }

/* When the founding band stacks, drop the standalone 50: the copy already says "the first 50 members" */
@media (max-width: 52rem) { .band .big-number { display: none; } }

/* Founding band: text only, no standalone number */
.founding { grid-template-columns: minmax(0, 40rem); }

/* WFD page: smaller wordmark, next dates above the booking button */
.wfd-logo img { width: min(100%, 26rem); }
.next-dates { margin: 1.1rem 0 1rem; padding: 0.75rem 0.95rem; background: var(--paper); border-left: 3px solid var(--pink); font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.next-dates strong { font-weight: 600; }
/* Phones: shorter side photos so they don't leave a tall empty block */
@media (max-width: 52rem) {
  .side-photo img { aspect-ratio: 4 / 3; }
  .side-photo img[src*="wfd-audience"] { object-position: 50% 85%; }
}

/* Phone menu */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.7rem; border: 1px solid var(--ink); font-size: 0.9rem; font-weight: 500; color: var(--ink); background: transparent; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-bars, .mnav-bars::before, .mnav-bars::after { display: block; width: 16px; height: 2px; background: var(--ink); position: relative; content: ""; }
.mnav-bars::before { position: absolute; top: -5px; left: 0; }
.mnav-bars::after { position: absolute; top: 5px; left: 0; }
.mnav[open] .mnav-bars { background: transparent; }
.mnav[open] .mnav-bars::before { top: 0; transform: rotate(45deg); }
.mnav[open] .mnav-bars::after { top: 0; transform: rotate(-45deg); }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(86vw, 20rem); background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,0.12); padding: 0.5rem 0; display: flex; flex-direction: column; z-index: 10; }
.mnav-panel a:not(.btn) { padding: 0.85rem 1.1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.mnav-panel a:not(.btn):hover { color: var(--pink); }
.mnav-panel .btn { margin: 0.8rem 1.1rem 0.4rem; justify-content: center; }
@media (max-width: 40rem) {
  .mnav { display: block; }
  .site-head .wrap { gap: 0.5rem; }
  .head-nav { margin-left: auto; }
  .head-nav .btn-small { padding: 0.55rem 0.75rem; font-size: 0.85rem; }
}
@media (max-width: 40rem) {
  .mnav-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mnav summary { padding: 0.6rem; }
  .head-nav .btn-small { white-space: nowrap; }
  .head-nav .btn-small span[aria-hidden] { display: none; }
}
@media (max-width: 23rem) { .site-head .wordmark { font-size: 1.3rem; gap: 0.45rem; } .site-head .wordmark svg { width: 1.4rem; height: 1.4rem; } .head-nav .btn-small { padding: 0.5rem 0.6rem; } }
.nowrap { white-space: nowrap; }

/* Join page note */
.join-note { margin-top: 1.2rem; max-width: 42rem; }
.join-note p { margin: 0 0 0.7rem; color: var(--ink); line-height: 1.6; }
.join-note a { color: var(--pink); }
.join-note .form-note { margin-top: 0.9rem; }

/* Header: members' login */
.members-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.members-link svg { flex: none; }
.head-nav a { white-space: nowrap; }
/* Tablets: use the menu button when the full navigation won't fit on one line */
@media (min-width: 40.01rem) and (max-width: 62rem) {
  .mnav { display: block; }
  .head-nav .link { display: none; }
  .site-head .wrap { gap: 0.6rem; }
  .head-nav { margin-left: auto; }
}

/* Members' page: how to change your card */
.edit-card { margin: 1.8rem 0 0.4rem; padding: 1.1rem 1.3rem; background: var(--paper); border-left: 3px solid var(--pink); max-width: 46rem; }
.edit-card h2 { margin: 0 0 0.45rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; font-weight: 600; color: var(--ink); }
.edit-card p { margin: 0 0 0.4rem; font-size: 0.97rem; line-height: 1.55; }
.edit-card .edit-card-small { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--muted); }

/* Sign-up form embed: enough room for the whole form at each width (the form has grown) */
.form-frame iframe[title="The sign-up form"] { height: 3400px !important; }
@media (max-width: 62rem) { .form-frame iframe[title="The sign-up form"] { height: 3900px !important; } }
@media (max-width: 40rem) { .form-frame iframe[title="The sign-up form"] { height: 4700px !important; } }
@media (max-width: 40rem) { .form-frame iframe[title="The log-an-exchange form"] { height: 2400px !important; } }
.hero-sub { margin: 1.1rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; color: var(--ink); max-width: 30rem; }
.tag-capacity { font-size: 0.8rem; line-height: 1.3; padding: 0.25rem 0.7rem; border-radius: 999px; font-weight: 600; color: #1F5A3A; background: #E3EFE6; }
.tag-capacity.away { color: var(--muted); background: #EFE9DE; font-weight: 500; }
.card.is-away { border-top-color: var(--rule); }
.card.is-away .avatar { background: #B9AFA6; }
.card-away { margin: 0; font-size: 0.92rem; color: var(--muted); }
button.pill { font-family: inherit; cursor: pointer; }
button.ask-cta { background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 0 0 0.05rem; font-family: inherit; cursor: pointer; }
.mail-panel { flex-basis: 100%; margin-top: 0.6rem; padding: 0.8rem 0.9rem; background: #fff; border: 1px solid var(--rule); font-size: 0.9rem; }
.mail-panel p { margin: 0 0 0.6rem; color: var(--body); }
.mail-addr { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mail-actions a, .mail-actions button { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.35rem 0.8rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 0.85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.mail-actions a:hover, .mail-actions button:hover { border-color: var(--pink); color: var(--pink-dark); }
.mail-actions [data-copy] { background: var(--pink); border-color: var(--pink); color: #fff; }
.mail-actions [data-copy]:hover { background: var(--pink-dark); color: #fff; }
.mail-panel .mail-hint { font-size: 0.82rem; color: var(--muted); margin: -0.3rem 0 0.6rem; }
.dir-tools:has(#dir-area-field:not([hidden])) { grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 40rem) { .dir-tools:has(#dir-area-field:not([hidden])) { grid-template-columns: 1fr; } }
.tags.areas li { background: #FBE3EE; border-color: #FBE3EE; color: var(--pink-dark); font-weight: 600; font-size: 0.82rem; }
.tags.areas + .tags, .tags.areas + p { margin-top: 0.55rem; }
.card-ask .tags.areas li { background: #fff; border-color: #fff; }
.in-words { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--ink); }
.in-words-label { font-style: italic; color: var(--muted); margin-right: 0.15rem; }
