/* The men's pages share the site's existing navigation and footer.
   Light body: warm cream with a light tint band. The hero and footer keep the
   original dark surface by re-scoping the same variables, so every rule below
   that reads --men-* picks the right pair for the surface it sits on. */
.men-section {
  /* Dark surface (hero, footer): original values. */
  --men-dark-bg: #141b23;
  --men-dark-ink: #f7efe5;
  --men-dark-muted: #d9d0c7;
  --men-dark-line: #4b5259;
  --men-dark-panel: #222c36;
  --men-dark-accent: #c9975f;
  /* Light body. */
  --men-bg: #fbf7f0;
  --men-tint: #f2ebe1;
  --men-ink: #24272b;
  --men-muted: #504741;
  --men-line: #d8cab6;
  --men-panel: #fffdf9;
  --men-accent: #80572f;
}
.men-section .men-hero,
.men-section .site-footer {
  --men-ink: var(--men-dark-ink);
  --men-muted: var(--men-dark-muted);
  --men-line: var(--men-dark-line);
  --men-panel: var(--men-dark-panel);
  --men-accent: var(--men-dark-accent);
}
.men-section #main {
  background: var(--men-bg);
  color: var(--men-ink);
  font-family: var(--font-ui);
}
.men-section #main :is(h1, h2, h3) {
  color: var(--men-ink);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: -.025em;
}
.men-section #main :is(.eyebrow, a) { color: var(--men-accent); }
.men-section #main :focus-visible {
  outline: 2px solid var(--men-accent);
  outline-offset: 4px;
}

/* Hero: dark full-bleed plane behind the existing grid, wrap width unchanged. */
.men-section .men-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 7vw, 88px) clamp(26px, 5vw, 60px);
  background: var(--men-dark-bg);
  box-shadow: 0 0 0 100vmax var(--men-dark-bg);
  clip-path: inset(0 -100vmax);
  color: var(--men-ink);
}
.men-section .men-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 20px;
}
.men-section .men-hero h1 em { font-style: normal; color: inherit; }
.men-section .men-hero img, .men-activity-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.men-section .men-breadcrumb {
  margin: 0 0 20px;
  font-size: .875rem;
  color: var(--men-muted);
}
.men-section .men-hero-copy > p:not(.eyebrow, .men-breadcrumb) {
  color: var(--men-muted);
  max-width: 56ch;
}
.men-section .men-hero .guide-byline { color: var(--men-muted); }
.men-section #main .men-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px 18px;
  background: var(--men-dark-accent);
  color: #171c23;
  font-weight: 600;
  text-decoration: none;
}
.men-section #main .men-button:hover { text-decoration: underline; }

/* Section headings follow the women's guide scale. */
.men-section #main :is(.men-guides, .men-founders) h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.15;
  margin-bottom: 24px;
}
.men-section #main .men-guide-card h3 {
  font-size: clamp(25px, 2.3vw, 31px);
  line-height: 1.22;
  margin-bottom: 16px;
}

/* Hub rhythm: tint band for the guide list, cream for the team. */
.men-section .men-guides {
  padding-block: 48px;
  background: var(--men-tint);
  box-shadow: 0 0 0 100vmax var(--men-tint);
  clip-path: inset(0 -100vmax);
}
.men-section .guide-wrap > .men-founders { padding-block: 48px 72px; }
.men-section .guide-article > .men-founders {
  padding-block: 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--men-line);
}

/* Guide rhythm: alternate tinted sections inside the article column. */
.men-section[data-page="men-brain"] .guide-section:is(#concerns, #our-approach) {
  padding: clamp(24px, 3vw, 36px);
  background: var(--men-tint);
  border: 0;
  border-radius: 5px;
}
.men-section .guide-section li::marker { color: var(--men-accent); }

/* Light cards; hero panels pick up the dark pair through the hero scope. */
.men-guide-card, .men-team-grid > div,
.men-section .guide-disclaimer, .men-section .guide-full-disclaimer,
.men-section .guide-consultation-banner, .men-section .guide-authors {
  background: var(--men-panel);
  border: 1px solid var(--men-line);
  color: var(--men-muted);
  box-shadow: none;
  border-radius: 5px;
}
.men-section .guide-authors p,
.men-section .guide-disclaimer p,
.men-section .guide-full-disclaimer p,
.men-section .guide-consultation-banner > p { color: var(--men-muted); }
.men-guide-card { max-width: 620px; padding: 22px; }
.men-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.men-team-grid > div { padding: 18px; }
.men-team-grid h3 { font-size: 1.05rem; margin: 0 0 8px; }
.men-team-grid p { margin: 0; }
.men-section .guide-heading, .men-section .guide-toc li,
.men-section .guide-section { border-color: var(--men-line); }
.men-activity-photo { margin: 14px 0 18px; max-width: 570px; }

/* Guide TOC: explicit accessible ink on the light body. */
.men-section #main .guide-toc a { color: var(--men-ink); }
.men-section #main .guide-toc a:hover { color: var(--men-accent); }
.men-section #main .guide-toc .eyebrow { color: var(--men-accent); }

/* Dark footer on the men's pages only, original values. */
.men-section .site-footer {
  background: var(--men-dark-bg);
  color: var(--men-ink);
  border-color: var(--men-line);
}
.men-section .site-footer :is(.wordmark, .footer-top p, .footer-group-title, a, .telegram-link) { color: var(--men-ink); }
.men-section .site-footer .footer-bottom,
.men-section .site-footer .footer-disclaimer { color: var(--men-muted); border-color: var(--men-line); }
.men-section .site-footer a:is(:hover, :active, :focus-visible),
.men-section .site-footer a:is(:hover, :active, :focus-visible) .wordmark { color: var(--men-accent); }
.men-section .site-footer a:focus-visible { outline-color: var(--men-accent); }

.audience-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-block: clamp(20px, 4vw, 40px) 0;
}
.audience-doors a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  color: var(--burgundy);
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  font-weight: 600;
  text-underline-offset: .22em;
}
@media (max-width: 768px) {
  .men-section .men-hero { grid-template-columns: minmax(0, 1fr); }
  .men-section .men-hero img { max-height: 350px; object-fit: cover; }
  .men-team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .men-section #main :is(.men-guides, .men-founders) h2 { font-size: 32px; }
  .men-section #main .men-guide-card h3 { font-size: 26px; }
  .men-section .men-guides { padding-block: 32px; }
  .men-section .guide-wrap > .men-founders { padding-block: 32px 48px; }
  .men-section .guide-article > .men-founders { padding-bottom: 32px; margin-bottom: 32px; }
  .men-section[data-page="men-brain"] .guide-section:is(#concerns, #our-approach) { padding: 20px; }
}
@media (max-width: 340px) {
  .audience-doors { grid-template-columns: minmax(0, 1fr); }
}

/* men-topics-patch */
.men-topic-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:601px){.men-topic-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1001px){.men-topic-grid{grid-template-columns:repeat(4,1fr)}}
.men-topic-grid a.men-guide-card{display:flex;align-items:center;max-width:none;height:100%;
  color:inherit;text-decoration:none;border-radius:inherit;
  transition:transform .15s ease,box-shadow .15s ease}
.men-topic-grid a.men-guide-card h3{margin:0}
.men-topic-grid a.men-guide-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgb(0 0 0 / .12)}
.men-topic-grid a.men-guide-card:hover h3{text-decoration:underline}
.men-topic-grid a.men-guide-card:focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.men-topic-grid a.men-guide-card{transition:none}
  .men-topic-grid a.men-guide-card:hover{transform:none}}
body[data-page=men-brain] h3[id]{scroll-margin-top:110px}
.men-team-grid{grid-auto-rows:1fr}
.men-team-grid > *{height:100%}
body[data-page=men-brain] .guide-heading h1 em{font-family:inherit}
@media (max-width:600px){.men-breadcrumb a{display:inline-flex;align-items:center;
  justify-content:center;min-width:44px;min-height:44px}}
