/* Femasys design tokens — pulled directly from the live Figma file (v3, node 218:375)
   via get_design_context. This supersedes both the PDF export and the brand-identity-v2
   doc where they disagree — the live file is newer than both. */
:root {
	/* Color — Femasys purple family */
	--fem-purple: #763DC9;
	--fem-purple-dark: #2C0D55; /* dark section bg, e.g. Fertility Crisis / Patient Spotlight; also the footer background */
	--fem-purple-pale: #C4A0ED; /* on-dark eyebrow/accent text */
	--fem-gray: #F9F9F9;
	--fem-lavender: #EDE4F8;
	--fem-ink: #1A1A2E;
	--fem-ink-soft: #5A5A72;
	--fem-ink-muted: #B8B3BF;
	--fem-white: #FFFFFF;
	--fem-decline: #CC3366; /* not a Figma color — this is Hello Elementor's reset.css default [type=button] red, currently leaking onto #fem-consent-decline; captured here so .fem-btn-decline matches it intentionally */

	/* Product accents (per Brand Identity System v2 — used on Infertility/Birth Control
	   product bars; the Homepage's own callout cards use a plain purple top-accent, not these) */
	--fem-seed: #59C2AE;
	--fem-seed-dk: #297062; /* AA-safe text pair for --fem-seed (2.1:1 as-is on the pale tint bg; this hits 5.6:1) — same fix pattern as --fem-vue-dk below */
	--fem-bloc: #84CC26; /* live Figma value — brighter than the brand doc's #5C9E2A, which wins per project convention */
	--fem-bloc-dk: #3E6B1C; /* AA-safe on small CTAs per brand doc contrast note */
	--fem-vue: #8AC9E9;
	--fem-vue-dk: #113C55; /* darkened from #1E6A96 — that was AA-safe (5.8:1) against a near-white bg, but only 3.3:1 (fails) as text directly on --fem-vue itself; this hits 6.5:1 */
	--fem-cerv: #F3669E; /* on hold — not used on this site yet */
	--fb-gradient: linear-gradient(90deg, #763DC9 0%, #29668B 50%, #84CC26 100%); /* Portfolio Pipeline / FemBloc card accent */
	--fv-gradient: linear-gradient(90deg, #763DC9 0%, #8AC9E9 100%); /* Empowering OB/GYNs / From Diagnosis card accent */
	--fs-gradient: linear-gradient(90deg, #763DC9 0%, #59C2AE 100%); /* Empowering OB/GYNs / To Treatment card accent */

	/* Type */
	--fem-font-display: "berthold-baskerville-pro", "Baskerville Old Face", Georgia, serif;
	--fem-font-body: "din-2014", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* Spacing / shape */
	--fem-radius: 10px;
	--fem-radius-lg: 18px;
	--fem-container: 1320px;
	--fem-section-y: 96px;
}

* { box-sizing: border-box; }

body.femasys {
	font-family: var(--fem-font-body);
	color: var(--fem-ink);
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

/* Visually hidden until keyboard-focused, per the standard skip-link pattern. */
.fem-skip-link { position: absolute; top: -48px; left: 8px; z-index: 1000; background: var(--fem-white); color: var(--fem-purple); padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 500; transition: top 0.15s ease; }
.fem-skip-link:focus { top: 8px; }

.fem-container {
	max-width: var(--fem-container);
	margin: 0 auto;
	padding: 0 40px;
}

ul li { font-size: 14px; }

.fem-eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fem-purple);
	margin-bottom: 18px;
}
.fem-eyebrow::before {
	content: "/ ";
}
.fem-eyebrow.on-dark { color: var(--fem-purple-pale); }

h1.fem-h1, h2.fem-h2 {
	font-family: var(--fem-font-display);
	font-weight: 400;
	line-height: 1.06;
	margin: 0 0 20px;
	color: var(--fem-ink);
}
/* 64px is the common case (every inner-page hero); the homepage is the one
   exception and sets font-size:84px inline instead. */
h1.fem-h1 { font-size: 64px; }
h2.fem-h2 { font-size: 48px; }
.fem-accent { font-style: italic; color: var(--fem-purple); }
.on-dark h1.fem-h1, .on-dark h2.fem-h2 { color: var(--fem-white); }
.on-dark .fem-accent { color: var(--fem-purple-pale); }

/* Unclamped by default — the vast majority of usages were cancelling the old
   46ch clamp inline anyway (24 of 29). Genuinely narrow copy can still clamp
   width itself where needed. */
p.fem-body { font-size: 18px; font-weight: 300; line-height: 1.56; color: var(--fem-ink-soft); margin: 0 0 28px; }
.on-dark p.fem-body { color: #D6CFE8; }

/* Button states, from Figma "buttons" component (node 247:1688):
   default = solid purple, active = white/purple-outline, hover = light lavender, disabled = gray */
.fem-btn,
button.fem-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--fem-purple);
	color: var(--fem-white);
	font-size: 16px;
	font-weight: 500;
	padding: 14px 28px;
	border-radius: 999px;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fem-btn:hover, button.fem-btn:hover { background: var(--fem-purple-pale); color: var(--fem-white); }
.fem-btn:active, button.fem-btn:active { background: var(--fem-white); color: var(--fem-purple); border-color: var(--fem-purple); }
.fem-btn:disabled, button.fem-btn:disabled,
.fem-btn.disabled, button.fem-btn.disabled { background: var(--fem-ink-muted); color: var(--fem-ink-soft); border-color: transparent; cursor: not-allowed; pointer-events: none; }

/* Secondary button: rests in the button component's "active" (white/purple-outline) treatment */
.fem-btn-secondary,
button.fem-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--fem-white);
	color: var(--fem-purple);
	font-size: 16px;
	font-weight: 500;
	padding: 14px 28px;
	border-radius: 999px;
	text-decoration: none;
	border: 1.5px solid var(--fem-purple);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fem-btn-secondary:hover, button.fem-btn-secondary:hover { background: var(--fem-purple-pale); color: var(--fem-white); border-color: transparent; }
.fem-btn-secondary:active, button.fem-btn-secondary:active { background: var(--fem-purple); color: var(--fem-white); border-color: transparent; }
.fem-btn-secondary:disabled, button.fem-btn-secondary:disabled,
.fem-btn-secondary.disabled, button.fem-btn-secondary.disabled { background: var(--fem-ink-muted); color: var(--fem-ink-soft); border-color: transparent; cursor: not-allowed; pointer-events: none; }

/* Decline button: same shape/treatment as .fem-btn-secondary, accent swapped to --fem-decline */
.fem-btn-decline,
button.fem-btn-decline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--fem-white);
	color: var(--fem-decline);
	font-size: 16px;
	font-weight: 500;
	padding: 14px 28px;
	border-radius: 999px;
	text-decoration: none;
	border: 1.5px solid var(--fem-decline);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fem-btn-decline:hover, button.fem-btn-decline:hover { background: color-mix(in srgb, var(--fem-decline) 75%, white); color: var(--fem-white); border-color: transparent; }
.fem-btn-decline:active, button.fem-btn-decline:active { background: var(--fem-decline); color: var(--fem-white); border-color: transparent; }
.fem-btn-decline:disabled, button.fem-btn-decline:disabled,
.fem-btn-decline.disabled, button.fem-btn-decline.disabled { background: var(--fem-ink-muted); color: var(--fem-ink-soft); border-color: transparent; cursor: not-allowed; pointer-events: none; }

.fem-link {
	position: relative;
	color: var(--fem-purple);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
/* Underline hover-swipe, per Figma annotation: hidden flush right at rest, wipes in from the left on hover. */
.fem-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform-origin: 100% 50%;
	transform: scale3d(0, 1, 1);
	transition: transform 0.3s;
	transition-behavior: normal;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	transition-property: transform;
}
.fem-link:hover::after { transform-origin: 0 50%; transform: scale3d(1, 1, 1); }
.on-dark .fem-link { color: var(--fem-white); }
/* The homepage hero's inline CTA is the one confirmed exception to the uppercase/tracked treatment */
.fem-link.plain-case { text-transform: none; letter-spacing: normal; }

/* Sections */
.fem-section { padding: var(--fem-section-y) 0; }
.fem-section.bg-gray { background: var(--fem-gray); }
.fem-section.bg-purple { background: var(--fem-purple-dark); }
.fem-section.bg-white { background: var(--fem-white); }
/* Common padding-top overrides, replacing repeated inline styles: --hero for page
   heroes (bottom padding still varies 40/56/64px per page, set inline where it
   differs from the section default), --flush-top for a section sitting flush
   under one above it, --tight-top for the legal pages' content section. */
.fem-section--hero { padding-top: 64px; }
.fem-section--flush-top { padding-top: 0; }
.fem-section--tight-top { padding-top: 40px; }

/* start is the common case (4 of 5 usages); the one exception (page-about.php's
   quote block) sets align-items:center inline instead. */
.fem-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

/* 12-column grid system */
.fem-grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px; }
.fem-col-1 { grid-column: span 1; }
.fem-col-2 { grid-column: span 2; }
.fem-col-3 { grid-column: span 3; }
.fem-col-4 { grid-column: span 4; }
.fem-col-5 { grid-column: span 5; }
.fem-col-6 { grid-column: span 6; }
.fem-col-7 { grid-column: span 7; }
.fem-col-8 { grid-column: span 8; }
.fem-col-9 { grid-column: span 9; }
.fem-col-10 { grid-column: span 10; }
.fem-col-11 { grid-column: span 11; }
.fem-col-12 { grid-column: span 12; }

.fem-media-frame {
	position: relative;
}
.fem-media-frame .fem-swatch {
	position: absolute;
	top: 24px;
	right: -24px;
	width: 70%;
	height: 70%;
	background: var(--fem-lavender);
	border-radius: var(--fem-radius-lg);
	z-index: 0;
	transition: transform 0.4s ease;
}
.fem-media-frame img {
	position: relative;
	z-index: 1;
	width: 100%;
	border-radius: var(--fem-radius-lg);
	display: block;
	border: 4px solid var(--fem-white);
	box-shadow: 0 20px 40px rgba(30, 10, 66, 0.12);
	transition: transform 0.4s ease;
}
/* FINALE trial map: the radius/stroke live on the frame itself (clipping the square photo),
   not the image — the purple-tint overlay div sits on top of the photo, inside that same clip. */
.fem-trial-map { overflow: hidden; border-radius: 20px; border: 4px solid var(--fem-lavender); }
.fem-trial-map img { border-radius: 0; border: none; }
.fem-trial-map .fem-trial-map-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to left, rgba(118,61,201,0.5), rgba(58,30,99,0.5)); }
/* Parallax hover: image and the purple rectangle behind it drift apart slightly, giving a sense of depth. */
.fem-media-frame:hover img { transform: translate3d(-6px, -6px, 0); }
.fem-media-frame:hover .fem-swatch { transform: translate3d(8px, 8px, 0); }

/* Page-header hero image (Who We Are, Careers, Contact, Birth Control, Infertility, Media, Leadership): frame (image + swatch together) scaled down and centered within its 6-column half. */
.fem-hero-media { width: 70%; margin: 0 auto; }
/* Capped at 80% of a 6-column span (640px at the 1320px container width / 40px gap grid math), so no header image renders larger than 512x512 regardless of viewport.
   width/height:auto (rather than the inherited width:100%) is required here: with a definite
   width, max-height alone clamps height without recomputing width, stretching the photo. Auto/auto
   is the one sizing combo browsers guarantee preserves the intrinsic ratio against both max caps. */
.fem-hero-media img { width: auto; height: auto; max-width: min(100%, 512px); max-height: 512px; }
/* about-img2.jpg: landscape photo, so no fixed-aspect crop box (that was over-cropping/zooming the
   subject when the frame was forced portrait) — natural aspect, capped at ~50% of the original
   534px hero width per the Figma size-reduction note. */
.fem-about-hero-media img { width: auto; height: auto; max-width: 267px; max-height: none; }

/* Floating overlap: a photo and a quote card stacked with an offset, one on top of
   the other. --img-top puts the photo above the quote card (Fertility Crisis);
   --card-top puts the quote card above the photo (Empowering OB/GYNs). */
.fem-overlap { position: relative; }
.fem-overlap .fem-media-frame { width: 84%; }
.fem-overlap .fem-media-frame .fem-swatch { display: none; }
.fem-overlap .fem-quote-card { width: 84%; margin: 0; }

.fem-overlap.fem-overlap--img-top .fem-media-frame { position: relative; z-index: 2; margin-left: auto; }
.fem-overlap.fem-overlap--img-top .fem-quote-card { position: relative; z-index: 1; margin-top: -56px; padding-top: 88px; }

.fem-overlap.fem-overlap--card-top .fem-media-frame { position: relative; z-index: 1; width: 55%; margin-left: auto; top: -32px; left: -32px; } /* 50% base (matching 3-of-6-col spec) + 10% for dr-patient-7.jpg; top/left float it up and left, further behind the quote card */
.fem-overlap.fem-overlap--card-top .fem-media-frame img { max-width: 330px; } /* dr-patient-7.jpg — 300px + 10% */
.fem-overlap.fem-overlap--card-top .fem-quote-card { position: relative; z-index: 2; margin-top: -64px; margin-left: auto; }

.fem-card {
	background: var(--fem-white);
	border: 1px solid var(--fem-lavender);
	border-radius: var(--fem-radius);
	padding: 28px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.3s ease;
}
/* Gradient top-accent variant (fb-gradient), e.g. the Portfolio Pipeline FemBloc card. */
.fem-card.fb-gradient { position: relative; border-top-color: transparent; }
.fem-card.fb-gradient::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--fb-gradient); border-radius: var(--fem-radius) var(--fem-radius) 0 0; }

/* Gradient top-accent variants (fv-gradient / fs-gradient), e.g. the Empowering OB/GYNs From Diagnosis / To Treatment cards.
   Their grid row uses align-items:center (to keep the arrow icon between them vertically
   centered), which otherwise lets each card sit at its own content height — stretch just
   these two back to equal height. */
.fem-card.fv-gradient { position: relative; border-top-color: transparent; align-self: stretch; }
.fem-card.fv-gradient::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--fv-gradient); border-radius: var(--fem-radius) var(--fem-radius) 0 0; }
.fem-card.fs-gradient { position: relative; border-top-color: transparent; align-self: stretch; }
.fem-card.fs-gradient::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--fs-gradient); border-radius: var(--fem-radius) var(--fem-radius) 0 0; }
/* Per Figma annotation: lift on hover, plus a soft shadow easing in (not in the original spec, added per request). */
.fem-card:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }

.fem-quote-card {
	background: var(--fem-lavender);
	border: 4px solid var(--fem-white); /* per Figma annotation "Add stroke" — matches the photo's own white border treatment */
	border-radius: var(--fem-radius-lg);
	padding: 32px;
	font-family: var(--fem-font-display);
	font-style: italic;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.5;
	color: var(--fem-ink-soft);
	transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.3s ease;
}
.fem-quote-card:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }
.fem-quote-card cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--fem-font-body); font-weight: 300; font-size: 18px; color: var(--fem-ink-soft); }
.fem-quote-card cite span { display: block; font-weight: 300; color: var(--fem-ink-soft); text-transform: uppercase; letter-spacing: 0.02em; font-size: 12px; margin-top: 2px; }
/* Same cite/span structure as .fem-quote-card, but on the dark purple "Our Mission" section
   background rather than the lavender quote-card, so it uses the on-dark purple-pale text color. */
.fem-mission-cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--fem-font-body); font-weight: 300; font-size: 18px; color: var(--fem-purple-pale); }
.fem-mission-cite span { display: block; font-weight: 300; color: var(--fem-purple-pale); text-transform: uppercase; letter-spacing: 0.02em; font-size: 12px; margin-top: 2px; }

.fem-testimonial-quote { display: flex; gap: 24px; align-items: stretch; margin: 24px 0; }
.fem-testimonial-quote .rule { width: 3px; flex-shrink: 0; background: var(--fem-purple-pale); border-radius: 2px; }
.fem-testimonial-quote blockquote { margin: 0; font-family: var(--fem-font-display); font-style: italic; font-size: 20px; line-height: 1.6; color: #EDE6F7; }
.fem-testimonial-quote .attribution { font-size: 18px; color: #C9BEDD; margin: 28px 0 0; }

.fem-stat-list { list-style: none; margin: 0 0 28px; padding: 24px 28px; display: grid; gap: 20px; border: 1px solid var(--fem-lavender); border-radius: 20px; }
.fem-stat-list li { display: flex; gap: 14px; align-items: flex-start; }
.fem-stat-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fem-lavender); margin-top: 8px; flex-shrink: 0; }
.fem-stat-list strong { display: block; font-weight: 300; font-size: 18px; color: var(--fem-ink); margin-bottom: 4px; }
.fem-stat-list span { font-size: 16px; color: var(--fem-ink-soft); }

.fem-stat-box {
	background: rgba(255,255,255,0.06);
	border-radius: var(--fem-radius);
	padding: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 16px;
}
.fem-stat-box .num { font-family: var(--fem-font-display); font-size: 64px; font-weight: 400; color: var(--fem-white); line-height: 1; text-align: right; }
.fem-stat-box .num .unit { color: var(--fem-purple-pale); }
.fem-stat-box .label { font-size: 18px; font-weight: 300; color: var(--fem-lavender); text-align: left; line-height: 1.4; }
/* Birth Control page: the ~90% / ~1.2M boxes stay stacked and centered instead of the equal-column num/label layout. */
.fem-stat-box.centered { display: block; text-align: center; }
.fem-stat-box.centered .num { text-align: center; }
.fem-stat-box.centered .label { text-align: center; margin-top: 8px; }

.fem-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fem-pipeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* Header */
.fem-utility-bar { background: var(--fem-ink); color: #C9C6D6; font-size: 12px; }
.fem-utility-bar .fem-container { display: flex; justify-content: flex-end; gap: 24px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.fem-utility-bar a { position: relative; color: rgba(255,255,255,0.5); text-decoration: none; }
/* Text line hover-swipe, matching .fem-link's treatment. */
.fem-utility-bar a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform-origin: 100% 50%;
	transform: scale3d(0, 1, 1);
	transition: transform 0.3s;
	transition-behavior: normal;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	transition-property: transform;
}
.fem-utility-bar a:hover::after { transform-origin: 0 50%; transform: scale3d(1, 1, 1); }
.fem-utility-bar a:hover { color: var(--fem-white); }
.fem-utility-bar a.is-current { color: var(--fem-white); font-weight: 700; }
.fem-utility-bar input[type="search"] { width: 200px; flex: none; background: rgba(255,255,255,0.08); border: none; border-radius: 4px; padding: 5px 10px; color: var(--fem-white); font-size: 12px; }
.fem-utility-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.1); display: inline-block; }

/* Shared search-field wrapper: overlays a magnifying-glass icon inside the input,
   used by the utility-bar site search and the media page's filter search. */
.fem-search-field { position: relative; display: inline-flex; align-items: center; margin: 0; }
.fem-search-field input[type="search"] { padding-right: 32px; }
.fem-search-field .fem-search-submit { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.fem-search-field .fem-search-submit img { width: 14px; height: auto; pointer-events: none; }

.fem-main-nav { background: var(--fem-white); border-bottom: 1px solid var(--fem-lavender); position: relative; z-index: 20; }
.fem-main-nav .fem-container { display: flex; align-items: center; justify-content: flex-start; gap: 40px; padding-top: 16px; padding-bottom: 16px; }
.fem-logo { display: flex; align-items: center; gap: 8px; font-family: var(--fem-font-display); font-style: italic; font-size: 22px; color: var(--fem-purple); text-decoration: none; }
.fem-logo img { height: 40px; width: auto; display: block; }

.fem-main-nav .fem-nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px; width: 36px; height: 36px; padding: 0; background: none; border: none; cursor: pointer; margin-left: auto; }
.fem-main-nav .fem-nav-toggle:hover,
.fem-main-nav .fem-nav-toggle:focus { background: none; }
.fem-main-nav .fem-nav-toggle span { display: block; width: 100%; height: 2px; background: var(--fem-ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.fem-main-nav .fem-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fem-main-nav .fem-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fem-main-nav .fem-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav with hover-revealed dropdowns (from Figma "nav menus", node 250:676) */
.fem-nav-links { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fem-nav-links > li { position: relative; }
.fem-nav-links a.nav-trigger { display: block; color: var(--fem-ink-soft); text-decoration: none; font-size: 14px; font-weight: 400; padding: 10px 16px; border-radius: 20px; border: 1px solid transparent; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.fem-nav-links li.has-dropdown:hover > a.nav-trigger,
.fem-nav-links li.has-dropdown:focus-within > a.nav-trigger { background: var(--fem-purple-pale); color: var(--fem-white); }
.fem-nav-links a.nav-trigger.is-current { background: var(--fem-purple); color: var(--fem-white); border-color: transparent; }

.fem-dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--fem-white); list-style: none; margin: 0; padding: 12px 0; border-radius: 8px; box-shadow: 0 4px 4px rgba(0,0,0,0.25); z-index: 30; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
/* Sits flush at top:100% (no margin gap) and is revealed via opacity/transform rather than
   display, so it stays hoverable the whole time — no dead zone between trigger and menu. */
.fem-nav-links li.has-dropdown:hover .fem-dropdown,
.fem-nav-links li.has-dropdown:focus-within .fem-dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fem-dropdown a { display: block; padding: 12px 24px; color: var(--fem-ink); font-size: 14px; font-weight: 400; text-decoration: none; white-space: nowrap; }
.fem-dropdown a:hover { background: var(--fem-purple); color: var(--fem-white); }
.fem-dropdown a.is-current { color: var(--fem-purple); font-weight: 700; }
.fem-dropdown a.is-current:hover,
.fem-dropdown a.is-current:focus { background: var(--fem-purple); color: var(--fem-white); }

.fem-main-nav .fem-dropdown-toggle { display: none; }
.fem-mobile-utility { display: none; }

/* Height matched to the nav-trigger hover/active pill (43px: 21px line-height + 10px/10px padding + 1px/1px border). */
.fem-ticker { display: inline-flex; align-items: center; height: 43px; background: var(--fem-lavender); color: var(--fem-purple); font-size: 12px; font-weight: 600; padding: 0 14px; border-radius: 999px; text-decoration: none; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; margin-left: auto; box-sizing: border-box; }
.fem-ticker:hover { background: var(--fem-purple); color: var(--fem-white); }

/* Hero */
.fem-hero { position: relative; color: var(--fem-white); overflow: hidden; }
/* Background video, swapped per-viewport via <source media="..."> (desktop/tablet
   cuts); the `poster` attribute (hero-bg.jpg) covers the load-in gap and doubles as
   the fallback for browsers that land on neither <source>. */
.fem-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fem-hero-overlay { position: absolute; inset: 0; background: radial-gradient(216.88% 100% at 0% 50%, rgba(21,6,40,0.88) 0%, rgba(71,34,124,0.88) 100%); }
.fem-hero-content { position: relative; padding-top: 120px; padding-bottom: 100px; }
.fem-hero-content > .fem-hero-inner { max-width: 620px; }
.fem-hero h1.fem-h1 { color: var(--fem-white); }
.fem-hero .fem-accent { color: var(--fem-purple-pale); }
.fem-hero .fem-actions { display: flex; gap: 20px; align-items: center; margin-top: 8px; }
.fem-hero .fem-link { color: var(--fem-white); }

.fem-actions { display: flex; gap: 20px; align-items: center; }

/* Footer */
.fem-footer { background: var(--fem-purple-dark); color: var(--fem-purple-pale); padding: 72px 0 0; }
.fem-footer .fem-container { display: grid; grid-template-columns: 1fr auto auto auto auto auto; column-gap: 40px; row-gap: 24px; padding-bottom: 56px; }
.fem-footer .fem-logo { color: var(--fem-white); }
.fem-footer p { font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--fem-white); margin-top: 16px; }
.fem-footer-desc { max-width: 50%; }
.fem-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fem-footer a { color: var(--fem-purple-pale); text-decoration: none; font-size: 14px; font-weight: 300; line-height: 32px; }
.fem-footer a:hover { color: var(--fem-white); text-decoration: underline; }
/* The Nasdaq badge is a footer link too, but shouldn't pick up the generic footer-link hover underline above. */
.fem-footer .fem-badge:hover { text-decoration: none; }
.fem-footer a.is-current { color: var(--fem-white); }
.fem-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 12px; font-weight: 300; color: var(--fem-purple-pale); }
.fem-footer-bottom .fem-container { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; grid-template-columns: none; }
.fem-footer-bottom .fem-legal-links { display: flex; gap: 20px; }
.fem-footer-bottom a { color: var(--fem-purple-pale); font-weight: 300; line-height: 1.6; }
.fem-badge { display: inline-block; border: 1px solid var(--fem-purple-pale); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--fem-lavender); margin-top: 20px; text-decoration: none; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
/* Hover matches .fem-btn's default hover treatment, per Figma annotation. */
.fem-badge:hover { background: var(--fem-purple-pale); color: var(--fem-white); border-color: transparent; }
.fem-social-links { display: flex; gap: 12px; margin-top: 24px; }
.fem-social-links a { display: flex; }
.fem-social-links img { width: 32px; height: 32px; opacity: 0.85; transition: opacity 0.15s ease; }
.fem-social-links a:hover img { opacity: 1; }
/* Desktop: social links stack directly under the product-links column (not a
   trailing 6th column) — both right-aligned, icons below the last link. */
@media (min-width: 961px) {
	.fem-footer .fem-container { grid-template-columns: 1fr auto auto auto auto; }
	.fem-footer .fem-container > div:nth-child(5) { text-align: right; }
	.fem-footer .fem-container > .fem-social-links { grid-column: 5; grid-row: 2; justify-self: end; }
}

/* Product / portfolio pages */
.fem-notice-bar { background: var(--fem-purple); color: var(--fem-white); font-size: 18px; font-weight: 400; text-align: center; padding: 12px 20px; }

.fem-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fem-stat-grid .fem-stat-box:first-child { grid-column: 1 / -1; }

.fem-product-bar { position: relative; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 30px 28px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(30, 10, 66, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.fem-product-bar:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }
/* Flush left container stroke, matching the .fem-card gradient top-accent treatment. */
.fem-product-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: var(--fem-radius-lg) 0 0 var(--fem-radius-lg); background: var(--fem-purple); }
/* --fv-gradient / --fs-gradient / --fb-gradient are defined 90deg (left-to-right) for horizontal card borders;
   rotated to 180deg (top-to-bottom) here so the transition is actually visible along these narrow vertical bars. */
.fem-product-bar.accent-blue::before { background: linear-gradient(180deg, #763DC9 0%, #8AC9E9 100%); } /* FemVue / SpermVue */
.fem-product-bar.accent-teal::before { background: linear-gradient(180deg, #763DC9 0%, #59C2AE 100%); } /* FemaSeed / FemSperm */
.fem-product-bar.accent-green::before { background: linear-gradient(180deg, #763DC9 0%, #29668B 50%, #84CC26 100%); } /* FemBloc */
.fem-product-bar .fem-product-name { min-width: 220px; }
.fem-product-bar .fem-product-name img { display: block; height: 60px; width: auto; }
/* white-space:normal overrides Hello Elementor's reset.css nowrap-on-every-button default —
   .fem-product-toggle is a <button>, so this label inherited nowrap and clipped on mobile. */
.fem-product-bar .fem-product-label { font-size: 16px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink-soft); white-space: normal; }

/* Product-bar accordion: header row (logo/label/chevron) + collapsible feature list, expanded by default. */
.fem-product-bar .fem-product-toggle { display: flex; align-items: center; gap: 24px; width: 100%; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-align: left; }
/* Hello Elementor's reset.css sets [type=button]:hover/:focus to a solid pink fill at the
   same specificity as the rule above; these :hover/:focus variants outrank it so it can't win. */
.fem-product-bar .fem-product-toggle:hover,
.fem-product-bar .fem-product-toggle:focus { background: none; color: inherit; }
/* The button is width:100% around logo+label+chevron, so the browser's raw default
   focus ring (unstyled until now) wrapped the whole row. Keep a visible indicator
   for keyboard users via :focus-visible; suppress it for the plain mouse-click case. */
.fem-product-bar .fem-product-toggle:focus { outline: none; }
.fem-product-bar .fem-product-toggle:focus-visible { outline: 2px solid var(--fem-purple); outline-offset: 4px; border-radius: 8px; }
/* Icon points up by default; rotated 180° at rest (down) and un-rotated when expanded (up) — inverse of the old text-glyph's rotation direction. */
.fem-product-bar .chev { width: 32px; height: 32px; display: block; flex-shrink: 0; margin-left: auto; transform: rotate(180deg); transition: transform 0.35s ease-in; }
.fem-product-bar.is-open .chev { transform: rotate(0deg); }
.fem-product-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease-in; }
.fem-product-bar.is-open .fem-product-details { grid-template-rows: 1fr; }
.fem-product-details-inner { overflow: hidden; }
.fem-product-list { list-style: disc; margin: 0; padding: 20px 0 0 20px; columns: 2; column-gap: 32px; font-size: 14px; color: var(--fem-ink); line-height: 1.7; }
.fem-product-list li { break-inside: avoid; }

.fem-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.fem-section-head .fem-eyebrow { margin-bottom: 0; }

.fem-footnotes { list-style: none; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 13px; line-height: 1.8; color: var(--fem-purple-pale); }
.fem-footnotes.on-light { border-top-color: var(--fem-lavender); color: var(--fem-ink-soft); }

.fem-evidence-callout { display: flex; align-items: center; gap: 16px; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 18px 24px; margin-top: 24px; }
.fem-evidence-callout .icon { width: 45px; height: 45px; border-radius: 50%; background: var(--fem-purple); color: var(--fem-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.fem-evidence-callout .headline { font-family: var(--fem-font-display); font-size: 28px; line-height: 1.3; color: var(--fem-ink); }
.fem-evidence-callout .headline em { font-style: italic; font-weight: 500; color: var(--fem-purple); }

.fem-bar-chart { background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 24px; }
.fem-bar-chart .chart-title { font-size: 14px; font-weight: 300; color: var(--fem-ink); margin-bottom: 20px; }
.fem-bar-chart .bars { display: flex; align-items: flex-end; gap: 32px; }
.fem-bar-chart .bar-col { display: flex; flex-direction: column; align-items: center; }
.fem-bar-chart .bar-value { font-family: var(--fem-font-display); font-weight: 500; font-size: 26px; margin-bottom: 12px; }
.fem-bar-chart .bar-col.primary .bar-value { color: var(--fem-white); }
.fem-bar-chart .bar-col.control .bar-value { color: var(--fem-purple); }
.fem-bar-chart .bar { width: 220px; border-radius: 10px 10px 0 0; display: flex; align-items: flex-end; justify-content: center; }
.fem-bar-chart .bar.primary { background: var(--fem-purple); height: 113px; }
.fem-bar-chart .bar.control { background: var(--fem-lavender); height: 52px; }
/* min-height reserves the same space whether a label wraps to one line or two —
   otherwise the shorter label lets align-items:flex-end (below) shift that whole
   column down, which throws off the bars' shared bottom edge. */
.fem-bar-chart .bar-label { font-size: 14px; font-weight: 300; color: var(--fem-ink-soft); margin-top: 10px; text-align: center; min-height: 2.8em; }

.fem-trial-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.fem-trial-cta .label { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink-soft); margin-bottom: 8px; }

/* Leadership */
/* Leadership bio-card, per Figma component (node 253:802): whole card links to the bio
   page and lifts with a soft shadow on hover — same treatment as .fem-card. */
/* flex, not grid — 3 per row, but centered, including a ragged (non-multiple-of-3)
   last row; grid's fr-tracks always fill the container, so a partial last row
   would sit flush left instead. flex-wrap + justify-content:center centers each
   row (including a short last one) for free. */
.fem-people-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.fem-people-grid .fem-person-card { flex: 0 1 calc((100% - 48px) / 3); }
.fem-person-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--fem-white);
	border: 1px solid var(--fem-lavender);
	border-radius: 20px;
	overflow: visible; /* was hidden — a lavender swatch now peeks out from behind the photo, so photo/body round their own corners instead */
	text-decoration: none;
	transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.3s ease;
}
.fem-person-card:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }
.fem-person-photo-wrap { position: relative; }
.fem-people-grid .fem-person-card .photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 300 / 312; object-fit: cover; display: block; border-radius: 20px 20px 0 0; }
.fem-people-grid .fem-person-card .body { position: relative; z-index: 1; background: var(--fem-white); border-radius: 0 0 20px 20px; padding: 24px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.fem-people-grid .fem-person-card .name { font-family: var(--fem-font-display); color: var(--fem-ink); font-weight: 400; font-size: 26px; margin-bottom: 12px; }
.fem-people-grid .fem-person-card .name .last-cred { font-style: italic; color: var(--fem-purple); }
.fem-people-grid .fem-person-card .title { font-size: 18px; font-weight: 300; line-height: 28px; color: var(--fem-ink-soft); flex: 1; }
.fem-people-grid .fem-person-card .view-bio { align-self: flex-end; position: relative; font-family: var(--fem-font-body); font-weight: 400; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-purple); margin-top: 16px; }
/* Underline hover-swipe, matching .fem-link's treatment — triggered by the whole card's hover since view-bio is just a span, not its own link. */
.fem-people-grid .fem-person-card .view-bio::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform-origin: 100% 50%;
	transform: scale3d(0, 1, 1);
	transition: transform 0.3s;
}
.fem-person-card:hover .view-bio::after { transform-origin: 0 50%; transform: scale3d(1, 1, 1); }

.fem-board-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 40px; }
.fem-board-list .name { position: relative; font-family: var(--fem-font-display); color: var(--fem-purple); font-weight: 500; font-size: 26px; display: block; width: fit-content; margin-bottom: 4px; }
.fem-board-list span.name { color: var(--fem-ink); } /* no bio page to link to — Figma shows these unlinked in plain ink, e.g. board chair without a public profile */
/* Text line hover-swipe, matching .fem-link's treatment. */
.fem-board-list a.name::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform-origin: 100% 50%;
	transform: scale3d(0, 1, 1);
	transition: transform 0.3s;
	transition-behavior: normal;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	transition-property: transform;
}
.fem-board-list a.name:hover::after { transform-origin: 0 50%; transform: scale3d(1, 1, 1); }
.fem-board-list .role { font-size: 18px; font-weight: 300; color: var(--fem-ink-soft); }

.fem-bio-detail { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.fem-bio-detail img { width: 100%; border-radius: var(--fem-radius-lg); display: block; }

/* Media hub */
.fem-tab-nav { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; width: 100%; }
/* Pill shape, matching the global button component's fully-rounded corners (per Figma media-nav states). */
.fem-tab-nav a { padding: 10px 18px; border-radius: 999px; font-size: 16px; font-weight: 300; text-decoration: none; color: var(--fem-ink-soft); transition: background 0.15s ease, color 0.15s ease; }
/* Same state pattern as the global button component (.fem-btn), per Figma annotation. */
.fem-tab-nav a:hover { background: var(--fem-lavender); color: var(--fem-purple); }
.fem-tab-nav a.active { background: var(--fem-purple); color: var(--fem-white); }
.fem-tab-nav a.active:hover { background: var(--fem-purple-pale); color: var(--fem-white); }
.fem-tab-nav .fem-tab-search { margin-left: auto; flex: 1; max-width: 30%; }
/* Hello Elementor's reset.css sets input[type=search] to a gray #666 border at the same
   specificity as a plain ".fem-tab-nav input" rule (attribute selector = class weight), and
   since reset.css loads after tokens.css it wins ties — this variant outranks it outright. */
.fem-tab-nav input[type="search"] { border: 1px solid var(--fem-lavender); background: #F9F7FD; border-radius: 999px; padding: 8px 16px; font-size: 14px; width: 100%; }

.fem-featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 24px; margin-bottom: 40px; }
/* Grid items default to min-width:auto, so their intrinsic content size can override
   the 1fr track and push them past the card's own border — cap both columns at 0. */
.fem-featured-card > * { min-width: 0; }
.fem-featured-card.no-image { grid-template-columns: 1fr; }
.fem-featured-card img { width: 100%; border-radius: 20px; display: block; aspect-ratio: 4/3; object-fit: cover; }
.fem-featured-card h3 { font-family: var(--fem-font-display); font-size: 48px; font-weight: 400; line-height: 1.1; margin: 8px 0; }

.fem-tag { display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 16px; border-radius: 40px; margin-bottom: 12px; }
.fem-tag.tag-news { background: #EDFAD3; color: #5E9318; }
.fem-tag.tag-video { background: #FDE9F2; color: #C94078; }
.fem-tag.tag-podcast { background: #EAFFFB; color: var(--fem-seed-dk); }
.fem-tag.tag-webinar { background: var(--fem-lavender); color: var(--fem-purple); }
.fem-tag.tag-blog { background: var(--fem-vue); color: var(--fem-vue-dk); }
.fem-tag.tag-page { background: #F1F1F4; color: var(--fem-ink-soft); } /* generic pages/other types, e.g. on search results */

.fem-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
/* display:flex column + .body flex:1 + .foot margin-top:auto pins the CTA row to
   the bottom of every card regardless of title line-count, so it lands at the
   same y-position across a row — grid's default align-items:stretch already
   equalizes card height, this equalizes where the CTA sits within it. */
.fem-media-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); overflow: hidden; transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.3s ease; }
.fem-media-card:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }
.fem-media-card img { width: 100%; height: 182px; object-fit: cover; display: block; }
.fem-media-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
/* .body's flex-column stretches direct children full-width by default — fine for
   block-level .source/.title, but .fem-tag is meant to stay pill-sized, not
   stretch to the card's width. */
.fem-media-card .body .fem-tag { align-self: flex-start; }
.fem-media-card .source { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink-soft); margin-bottom: 12px; display: block; }
.fem-media-card .title { font-size: 18px; font-weight: 500; color: var(--fem-ink-soft); line-height: 1.3; margin-bottom: 20px; min-height: 47px; }
.fem-media-card .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--fem-lavender); font-size: 14px; margin-top: auto; }
.fem-media-card .foot .date { color: var(--fem-ink-soft); }

.fem-media-row { display: flex; text-decoration: none; color: inherit; align-items: center; gap: 24px; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 24px; margin-bottom: 16px; overflow: hidden; transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.3s ease; }
.fem-media-row:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }
/* Podcasts/webinars/blog rows have no thumbnail, so the tag box fills with a category color
   in lieu of an image — bled out to the row's own top/bottom/left edges (negative margins
   cancel the row's own 24px padding on those sides) with the small pill badge centered on top. */
.fem-media-row .row-tag { width: 160px; align-self: stretch; display: flex; align-items: center; justify-content: center; text-align: center; flex-shrink: 0; margin: -24px 0 -24px -24px; }
.fem-media-row .row-tag.tag-podcast { background: #EAFFFB; }
.fem-media-row .row-tag.tag-webinar { background: var(--fem-lavender); }
.fem-media-row .row-tag.tag-blog { background: var(--fem-vue); }
.fem-media-row .row-tag .fem-tag { display: block; margin-bottom: 0; }
.fem-media-row .body { flex: 1; }
.fem-media-row .source { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink-soft); display: block; margin-bottom: 4px; }
.fem-media-row .title { font-size: 18px; font-weight: 500; color: var(--fem-ink-soft); }
.fem-media-row .date { font-size: 14px; color: var(--fem-ink-soft); min-width: 100px; }
.fem-subscribe-form { display: flex; gap: 12px; justify-content: center; max-width: 440px; margin: 0 auto; }

.fem-press-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.fem-press-item { display: flex; text-decoration: none; align-items: center; gap: 16px; background: rgba(237,228,248,0.1); border-radius: var(--fem-radius-lg); padding: 20px 24px; margin-bottom: 16px; transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.3s ease; }
.fem-press-item:hover { transform: translate3d(-4px, -4px, 0); box-shadow: 0 12px 24px rgba(30, 10, 66, 0.12); }
.fem-press-item .dot { width: 35px; height: 35px; border-radius: 50%; background: var(--fem-purple-pale); flex-shrink: 0; }
.fem-press-item img.dot { background: none; display: block; }
.fem-press-item .label { font-size: 18px; font-weight: 300; color: var(--fem-white); }
.fem-press-item .sub { font-size: 14px; font-weight: 500; color: var(--fem-purple-pale); margin-top: 2px; }
.fem-press-contact { background: rgba(237,228,248,0.1); border-radius: var(--fem-radius-lg); padding: 24px; margin-bottom: 16px; }
.fem-press-contact .label { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-purple-pale); margin-bottom: 8px; }
.fem-press-contact .email { font-family: var(--fem-font-display); font-weight: 500; font-size: 32px; color: var(--fem-white); }
.fem-press-contact .sub { font-size: 14px; font-weight: 500; color: var(--fem-purple-pale); margin-top: 8px; }

.fem-load-more { text-align: left; margin-top: 8px; }

/* Contact */
.fem-contact-card { background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 8px; }
.fem-contact-card h3 { font-size: 18px; font-weight: 600; padding: 20px 20px 0; margin: 0; }
.fem-contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--fem-lavender); }
.fem-contact-item:last-child { border-bottom: none; }
.fem-contact-item .dot { width: 35px; height: 35px; border-radius: 50%; background: var(--fem-purple-pale); flex-shrink: 0; }
.fem-contact-item .label { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink-soft); margin-bottom: 4px; }
.fem-contact-item a { color: var(--fem-purple); font-weight: 500; font-size: 14px; text-decoration: none; }

/* Ordering: New Customer Form (HubSpot embed). The form itself renders inside a
   cross-origin iframe (js.hsforms.net) — our CSS can't reach its fields/labels/button,
   so this just echoes .fem-contact-card's card treatment around it for visual
   consistency with the Contact page. Match .fem-field/.fem-btn's colors and radius
   inside HubSpot's own "Style and preview" tab for this form to get the rest of the way. */
.fem-form-card { background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 32px; max-width: 640px; margin-top: 24px; }
.fem-form-card .hs-form-frame iframe { display: block; width: 100%; border: none; }

.fem-faq-item { border-bottom: 1px solid var(--fem-lavender); padding: 22px 0; }
/* .fem-faq-item .fem-faq-question (not just .fem-faq-question) so this beats the parent
   theme's reset.css `[type="button"], button { ... }` rule at equal specificity. */
/* white-space:normal overrides Hello Elementor's reset.css, which sets nowrap on every
   native <button> — without this, long questions get clipped instead of wrapping. */
.fem-faq-item .fem-faq-question { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; font-size: 18px; font-weight: 600; color: var(--fem-ink-soft); text-align: left; white-space: normal; }
/* Same reset.css [type=button]:hover/:focus pink-fill fight as .fem-product-toggle above;
   these :hover/:focus variants outrank it so it can't win. */
.fem-faq-item .fem-faq-question:hover,
.fem-faq-item .fem-faq-question:focus { background: none; color: var(--fem-ink-soft); }
/* Default browser focus ring (blue) shows on every click, not just keyboard nav —
   suppress it for mouse clicks but keep it for keyboard users via :focus-visible,
   matching .fem-product-toggle's pattern. */
.fem-faq-item .fem-faq-question:focus { outline: none; }
.fem-faq-item .fem-faq-question:focus-visible { outline: 2px solid var(--fem-purple); outline-offset: 4px; border-radius: 8px; }
/* Icon points up by default; rotated 180° at rest (down) and un-rotated when expanded (up) — inverse of the old text-glyph's rotation direction. */
.fem-faq-question .chev { width: 32px; height: 32px; display: block; flex-shrink: 0; transform: rotate(180deg); transition: transform 0.35s ease-in; }
.fem-faq-item.is-open .fem-faq-question .chev { transform: rotate(0deg); }
.fem-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease-in; }
.fem-faq-item.is-open .fem-faq-answer { grid-template-rows: 1fr; }
.fem-faq-answer-inner { overflow: hidden; }
.fem-faq-answer p { font-size: 14px; color: var(--fem-ink-soft); margin: 12px 0 0; }
.fem-faq-answer .fem-link { display: flex; width: fit-content; margin-top: 12px; }

/* Careers */
.fem-job-row { display: flex; align-items: center; gap: 20px; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 28px; margin-bottom: 16px; }
.fem-job-row .dot { width: 15px; height: 15px; border-radius: 50%; background: var(--fem-purple); flex-shrink: 0; }
.fem-job-row .job-title { font-size: 18px; font-weight: 600; color: var(--fem-ink-soft); margin-bottom: 8px; }
.fem-job-row .job-meta { font-size: 14px; font-weight: 500; color: var(--fem-ink-soft); display: flex; gap: 24px; }

.fem-paycor-embed { background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); padding: 28px; min-height: 200px; }
.fem-job-row .apply { margin-left: auto; }

/* Cookie-consent banner */
.fem-consent-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 100; background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); box-shadow: 0 8px 24px rgba(0,0,0,0.15); padding: 32px 24px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 700px; margin: 0 auto; }
.fem-consent-banner[hidden] { display: none; }
.fem-consent-text { font-size: 14px; color: var(--fem-ink-soft); line-height: 1.5; }
.fem-consent-text a { color: var(--fem-purple); }
.fem-consent-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.fem-consent-banner .fem-consent-close { position: absolute; top: 12px; right: 16px; background: none; border: none; padding: 4px; margin: 0; font-size: 24px; line-height: 1; color: var(--fem-ink-soft); letter-spacing: normal; }
.fem-consent-banner .fem-consent-close:hover,
.fem-consent-banner .fem-consent-close:focus { background: none; color: var(--fem-ink); text-decoration: none; }

/* Legal/info pages (Privacy Policy, Terms of Use, Accessibility, Patents, Ordering) —
   long-form body copy needs to read edge-to-edge in the container, unlike p.fem-body's
   46ch marketing-copy clamp, so these get their own unclamped text rules. */
.fem-legal-label { display: block; font-family: var(--fem-font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink); margin: 40px 0 16px; }
.fem-legal-subhead { display: block; font-family: var(--fem-font-body); font-size: 18px; font-weight: 600; color: var(--fem-ink-soft); margin: 32px 0 16px; }
.fem-legal p, .fem-legal li { font-size: 18px; font-weight: 300; line-height: 1.56; color: var(--fem-ink-soft); max-width: none; }
.fem-legal p { margin: 0 0 20px; }
.fem-legal ul, .fem-legal ol { padding-left: 27px; margin: 0 0 20px; }
.fem-legal li { margin-bottom: 8px; }
.fem-legal a { color: var(--fem-purple); }
.fem-legal-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.fem-legal-table th { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fem-ink); text-align: left; padding: 0 24px 12px 0; width: 20%; }
.fem-legal-table td { font-size: 18px; font-weight: 300; line-height: 1.56; color: var(--fem-ink-soft); text-align: left; padding: 0 24px 24px 0; vertical-align: top; }

/* Product Animations page */
.fem-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fem-video-card { background: var(--fem-white); border: 1px solid var(--fem-lavender); border-radius: var(--fem-radius-lg); overflow: hidden; }
.fem-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--fem-lavender); }
.fem-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fem-video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--fem-purple); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.fem-video-meta { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.fem-video-meta .title { font-size: 18px; font-weight: 300; color: var(--fem-ink-soft); }

@media (max-width: 960px) {
	.fem-featured-card { grid-template-columns: 1fr; }
	.fem-video-grid { grid-template-columns: 1fr; }
	/* Press Resources: stack to one column so downloads (DOM order: first)
	   sit above the media/IR contact emails (DOM order: second). */
	.fem-press-grid { grid-template-columns: 1fr; }
	/* Stack every media row as date, title, tag, link on mobile — tag and link share
	   their own line (date and title each force a full-width line via flex-basis;
	   tag/link don't, so they wrap onto the same trailing line together). DOM order
	   differs between the combined "All" tab (row-tag first) and individual tab
	   views (date first), so force the order explicitly rather than relying on markup. */
	/* Match .fem-media-card's mobile spacing: 20px padding, 24px between items
	   (vs. .fem-media-row's desktop 24px padding / 16px margin-bottom). */
	.fem-media-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 20px; margin-bottom: 24px; }
	.fem-media-row .date { order: 1; min-width: 0; flex-basis: 100%; }
	.fem-media-row .body { order: 2; flex-basis: 100%; }
	/* Desktop paints .row-tag itself as a full-bleed colored rail (same color as the
	   .fem-tag pill inside it), which hides the pill's rounded corners. Strip that
	   rail background on mobile so only the child .fem-tag renders its pill shape. */
	.fem-media-row .row-tag,
	.fem-media-row .row-tag.tag-podcast,
	.fem-media-row .row-tag.tag-webinar,
	.fem-media-row .row-tag.tag-blog { order: 3; width: auto; align-self: center; margin: 0; background: none; }
	.fem-media-row .source { order: 3; }
	.fem-media-row .fem-link { order: 4; }

	/* Media Hub tab nav: give the search field its own full-width row instead of
	   squeezing it to 30% width alongside the last wrapped tab pill. */
	.fem-tab-nav .fem-tab-search { flex-basis: 100%; max-width: 100%; margin-left: 0; margin-top: 4px; }
	.fem-tab-nav { justify-content: center; }
	.fem-tab-nav a.tab-kit { display: none; }

	/* Stay Current subscribe form: drop the Subscribe button to its own full-width row
	   (button itself covered by the sitewide .fem-btn rule below). */
	.fem-subscribe-form { flex-wrap: wrap; max-width: 100%; }
	.fem-subscribe-form input[type="email"] { flex-basis: 100%; }
	.fem-people-grid .fem-person-card { flex-basis: 100%; }
	.fem-board-list { grid-template-columns: 1fr 1fr; }
	/* .name's width:fit-content (desktop: sizes the hover-underline to the text, not the
	   whole grid cell) can render wider than its 2-col mobile track for longer names —
	   cap it so long names wrap within their column instead of overflowing. */
	.fem-board-list .name { max-width: 100%; }
	.fem-bio-detail { grid-template-columns: 1fr; }
	.fem-stat-grid, .fem-trial-cta { grid-template-columns: 1fr; }
	/* Bars are a fixed 220px each (plus 32px gap) — well over 470px total, which
	   overflows the ~250px available inside the card on mobile. Shrink in place
	   rather than redesigning the chart. */
	.fem-bar-chart .bars { gap: 20px; }
	.fem-bar-chart .bar { width: 110px; }
	.fem-bar-chart .bar-value { font-size: 20px; }
	.fem-product-bar .fem-product-toggle { flex-wrap: wrap; gap: 8px 24px; }
	.fem-product-list { columns: 1; }
	.fem-grid-2 { grid-template-columns: 1fr; gap: 40px; }
	.fem-grid-12 { grid-template-columns: 1fr; gap: 40px; }
	.fem-col-1, .fem-col-2, .fem-col-3, .fem-col-4, .fem-col-5, .fem-col-6,
	.fem-col-7, .fem-col-8, .fem-col-9, .fem-col-10, .fem-col-11, .fem-col-12 { grid-column: span 1; }
	/* Hide page-header hero images on tablet/mobile (homepage excluded — its hero is a full-bleed background, not this component). */
	.fem-hero-media { display: none; }
	.fem-card-grid { grid-template-columns: 1fr; }
	.fem-media-grid { grid-template-columns: 1fr; } /* was stuck at repeat(3, 1fr) unconditionally — no mobile override existed at all, causing severe overlap/clipping */
	h1.fem-h1 { font-size: 52px; }
	.fem-overlap.fem-overlap--card-top .fem-media-frame { width: 100%; margin-left: 0; top: 0; left: 0; }
	.fem-overlap .fem-quote-card { width: 100%; margin-left: 0; }
	.fem-section-head .fem-eyebrow { display: none; }
	.fem-pipeline-grid { grid-template-columns: 1fr; }

	/* Footer: logo/description/badge full-width on top, then the 4 nav-link columns
	   paired into 2 side-by-side columns (Who We Are…Contact Us left, product
	   sites right), then social icons full-width last. */
	.fem-footer .fem-container { grid-template-columns: 1fr 1fr; align-items: start; }
	.fem-footer-brand { grid-column: 1 / -1; }
	.fem-footer-desc { max-width: 100%; }
	.fem-footer .fem-container > div:nth-child(2) { grid-column: 1; grid-row: 2; }
	.fem-footer .fem-container > div:nth-child(3) { grid-column: 1; grid-row: 3; }
	.fem-footer .fem-container > div:nth-child(4) { grid-column: 1; grid-row: 4; }
	/* Spans all 3 left-column rows instead of sharing just row 2 — sharing a row
	   with the shorter Investor Relations column inflated that row's height to
	   fit this (taller, 4-link) column, leaving a gap before row 3 began. */
	.fem-footer .fem-container > div:nth-child(5) { grid-column: 2; grid-row: 2 / span 3; }
	.fem-footer .fem-social-links { grid-column: 1 / -1; grid-row: 5; order: initial; justify-content: flex-end; }
	/* Nasdaq badge stretches to the full grid-column width on mobile (grid items
	   default to justify-self:stretch); its inline-block text stayed left-aligned. */
	.fem-footer .fem-badge { text-align: center; }
	.fem-footer-bottom .fem-container { flex-direction: column; align-items: flex-start; gap: 12px; }
	.fem-footer-bottom .fem-legal-links { order: 1; flex-wrap: wrap; }
	.fem-footer-bottom .fem-copyright { order: 2; }
	.fem-consent-banner { flex-direction: column; align-items: stretch; left: 16px; right: 16px; bottom: 16px; }
	.fem-consent-actions { justify-content: center; }
	.fem-ticker { display: none; }

	/* Buttons span full width on mobile everywhere (the media nav's icon-only
	   .fem-search-submit isn't a .fem-btn, so it's unaffected). Containers that
	   pair a button with another button/link need to wrap so each gets its own line. */
	.fem-btn, .fem-btn-secondary, .fem-btn-decline { flex-basis: 100%; width: 100%; }
	.fem-actions, .fem-consent-actions { flex-wrap: wrap; }

	/* Media Hub: right-align standalone .fem-link elements (e.g. "View all news",
	   "Jump to Press Resources") now that they wrap under a full-width button.
	   Excludes the consent banner's absolutely-positioned close "x". */
	body.page-template-page-media .fem-link:not(.fem-consent-close) { display: flex; width: fit-content; margin-left: auto; }

	/* Mobile nav: hamburger-triggered panel replacing the hover-dropdown desktop nav */
	.fem-utility-bar { display: none; }
	.fem-main-nav .fem-nav-toggle { display: flex; }

	/* position:fixed + an explicit top (matching .fem-main-nav's rendered height) so this
	   spans to the actual bottom of the viewport — the previous position:absolute + top:100%
	   + max-height:calc(100vh - 100%) looked right but the "100%" in that calc() has no
	   defined basis (.fem-main-nav is auto-height), so it resolved to 100vh and never
	   actually constrained anything: the panel just sized to its own content and left the
	   page visible underneath for whatever vertical space it didn't fill. */
	.fem-nav-links { display: none; position: fixed; top: 73px; left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0; background: var(--fem-white); box-shadow: 0 8px 16px rgba(0,0,0,0.12); overflow-y: auto; }
	.fem-nav-links.is-menu-open { display: flex; }
	.fem-nav-links > li { width: 100%; border-top: 1px solid var(--fem-lavender); display: flex; flex-wrap: wrap; align-items: center; }
	.fem-nav-links a.nav-trigger { flex: 1; border-radius: 0; padding: 14px 24px; }
	.fem-nav-links li.has-dropdown:hover > a.nav-trigger,
	.fem-nav-links li.has-dropdown:focus-within > a.nav-trigger { background: none; color: var(--fem-ink-soft); }

	.fem-main-nav .fem-dropdown-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; background: none; border: none; cursor: pointer; color: var(--fem-ink-soft); font-size: 28px; transition: transform 0.2s ease; }
	.fem-main-nav .fem-dropdown-toggle[aria-expanded="true"] { transform: rotate(180deg); }
	.fem-main-nav .fem-dropdown-toggle:hover,
	.fem-main-nav .fem-dropdown-toggle:focus { background: none; color: var(--fem-ink-soft); }

	.fem-dropdown { position: static; display: none; width: 100%; box-shadow: none; border-radius: 0; margin: 0; padding: 0 0 8px; background: var(--fem-lavender); opacity: 1; transform: none; pointer-events: auto; transition: none; }
	.fem-nav-links li.has-dropdown:hover .fem-dropdown,
	.fem-nav-links li.has-dropdown:focus-within .fem-dropdown { display: none; }
	.fem-nav-links li.has-dropdown.is-open > .fem-dropdown { display: block; }
	.fem-dropdown a { padding: 10px 24px 10px 40px; }

	.fem-mobile-utility { display: flex; flex-direction: column; width: 100%; padding: 16px 24px 20px; }
	.fem-mobile-utility a { padding: 10px 0; color: var(--fem-ink-soft); text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--fem-lavender); }
	.fem-mobile-utility a:last-child { border-bottom: none; }

	body.fem-nav-open { overflow: hidden; }
}

/* Tablet-only overrides (690–960px) — narrower than this falls back to the
   max-width:960px rules above (1 column / full-width images / hidden map);
   wider than this falls back to the desktop defaults. */
@media (min-width: 690px) and (max-width: 960px) {
	/* Homepage: Patient Spotlight photo (Aslyn) */
	img[src*="aslyn.jpg"] { max-width: 50%; }
	/* Homepage: Information Highlights news cards, 2 per row instead of 1 */
	.fem-card-grid { grid-template-columns: repeat(2, 1fr); }
	/* About: Kathy Lee-Sepsick portrait */
	img[src*="kathy-leesepsick.jpg"] { max-width: 50%; }
	/* Leadership: bio cards, 2 per row instead of 1 */
	.fem-people-grid .fem-person-card { flex-basis: calc((100% - 24px) / 2); }
	/* Fertility: center the Clinical Evidence bar chart (bars default to flex-start,
	   which reads as bunched to the left once the card stretches to the full
	   single-column width at this breakpoint). */
	.fem-bar-chart .bars { justify-content: center; }
	/* Birth Control: shrink the FINALE trial map instead of letting it stay full-width. */
	.fem-trial-map img { max-width: 70%; margin: 0 auto; }
	/* Footer: same stacking as desktop — social links sit directly under the
	   product-links column (not full-width at the very bottom, per the
	   max-width:960px base rule), both right-aligned. */
	.fem-footer .fem-container > div:nth-child(5) { text-align: right; }
	.fem-footer .fem-social-links { grid-column: 2; grid-row: 5; justify-self: end; }
}

@media (max-width: 689px) {
	/* Birth Control: hide the FINALE trial map (image + "Find a study location"
	   overlay button — the button has nothing to anchor to without the image). */
	.fem-trial-map { display: none; }
	/* Leadership: board members one per row instead of 2 (960px rule above). */
	.fem-board-list { grid-template-columns: 1fr; }
	/* WCAG 2.5.5 (AAA) touch target size: grow the consent-close "x" and the
	   media search-submit button to 44x44px. Icon/glyph size is unchanged —
	   only the tappable box grows. */
	.fem-consent-banner .fem-consent-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
	.fem-search-field .fem-search-submit { width: 44px; height: 44px; }
}
