/* === Eterna Femme — Female Physiology Position Page === */
/* Dark copper/charcoal treatment. Walks the four axes of sex difference */
/* that make male-default peptide protocols subtly wrong for women 40+. */
/* Token-aligned with how-it-works.css / clinical-evidence.css / klow-science.css */
/* for visual parity; scoped under .fphys- to avoid class collision. */

:root {
  --fp-bg: #140F0A;
  --fp-surface: #1E1814;
  --fp-surface-alt: #1A1410;
  --fp-copper: #B87333;
  --fp-copper-light: #C9A96E;
  --fp-copper-muted: rgba(184, 115, 51, 0.12);
  --fp-text: #FAF7F4;
  --fp-text-secondary: rgba(250, 247, 244, 0.78);
  --fp-text-tertiary: rgba(250, 247, 244, 0.62);
  --fp-text-quaternary: rgba(250, 247, 244, 0.45);
  --fp-border: rgba(184, 115, 51, 0.18);
  --fp-border-hover: rgba(184, 115, 51, 0.38);
  --fp-section-pad: clamp(60px, 8vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Base ─── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--fp-bg);
  color: var(--fp-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav (override main.css) ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20, 15, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 115, 51, 0.15);
  padding: 0 clamp(20px, 5vw, 60px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; color: #FAF7F4; letter-spacing: 0.03em;
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; list-style: none; gap: 2rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: rgba(250, 247, 244, 0.65);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover { color: #D4A574; }
.nav-cta {
  background: var(--fp-copper) !important; color: #fff !important;
  padding: 9px 18px; border-radius: 4px; font-size: 0.82rem !important;
  font-weight: 600 !important; transition: background 0.2s;
}
.nav-cta:hover { background: #9A6028 !important; color: #fff !important; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); background: rgba(20, 15, 10, 0.97);
  border: 1px solid var(--fp-border); border-radius: 8px;
  padding: 12px 0; min-width: 200px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block; padding: 8px 20px; font-size: 0.82rem; font-weight: 400;
  color: rgba(250, 247, 244, 0.72); white-space: nowrap;
}
.nav-dropdown-menu li a:hover { color: var(--fp-copper-light); background: rgba(184,115,51,0.08); }

/* ─── Hero ─── */
.fphys-hero {
  min-height: 62vh; display: flex; align-items: center;
  padding: 120px clamp(20px, 5vw, 80px) var(--fp-section-pad);
  position: relative; overflow: hidden;
}
.fphys-hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_168027/88644e21-0082-46c9-82fb-4bf215709969.jpg');
  background-size: cover; background-position: center; z-index: 0;
  filter: brightness(0.46) contrast(1.1);
}
.fphys-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,14,10,0.95) 0%, rgba(20,14,10,0.80) 45%, rgba(20,14,10,0.36) 75%, transparent 100%);
  z-index: 1; pointer-events: none;
}
.fphys-hero-inner { position: relative; z-index: 2; max-width: 700px; }
.fphys-hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fp-copper); margin-bottom: 1.2rem;
}
.fphys-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 500; line-height: 1.18;
  color: var(--fp-text); margin-bottom: 1.4rem;
}
.fphys-hero-sub {
  font-size: 1.05rem; color: rgba(250, 247, 244, 0.72);
  max-width: 580px; line-height: 1.7;
}

/* ─── Section dividers ─── */
.fphys-section-divider {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 clamp(20px, 5vw, 80px);
  margin: var(--fp-section-pad) 0 0;
}
.fphys-section-divider-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fp-copper); white-space: nowrap;
}
.fphys-section-divider-line {
  flex: 1; height: 1px; background: var(--fp-border);
}

/* ─── Sections — alternating surface ─── */
.fphys-section {
  padding: var(--fp-section-pad) clamp(20px, 5vw, 80px);
  background: var(--fp-bg);
  border-bottom: 1px solid rgba(184,115,51,0.10);
}
.fphys-section--alt { background: var(--fp-surface); }
.fphys-section:last-of-type { border-bottom: none; }

.fphys-section-inner { max-width: 1100px; margin: 0 auto; }

.fphys-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.fphys-section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fp-copper); margin-bottom: 0.75rem;
}
.fphys-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 500;
  color: var(--fp-text); line-height: 1.25; margin-bottom: 1.4rem;
}
.fphys-section-desc {
  font-size: 0.98rem; color: var(--fp-text-tertiary); line-height: 1.78;
  margin-bottom: 1.1rem;
}
.fphys-section-desc--lead {
  font-size: 1.02rem; color: var(--fp-text-secondary);
  max-width: 640px; margin-bottom: 2.5rem;
}

/* Anchor card — inline pointer to a supporting science page */
.fphys-anchor-card {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.85rem 1.2rem;
  background: rgba(184,115,51,0.07);
  border-left: 3px solid var(--fp-copper);
  border-radius: 4px;
  color: var(--fp-copper-light);
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.fphys-anchor-card:hover {
  background: rgba(184,115,51,0.16);
  color: var(--fp-copper);
}

/* Aside (right-column "what this means" callout) */
.fphys-section-aside {
  background: rgba(184,115,51,0.06);
  border: 1px solid var(--fp-border);
  border-radius: 8px;
  padding: 1.5rem 1.7rem;
  position: sticky; top: 96px;
}
.fphys-aside-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fp-copper); margin-bottom: 0.7rem;
}
.fphys-aside-text {
  font-size: 0.92rem; color: var(--fp-text-secondary);
  line-height: 1.7;
}

/* ─── Protocol grid (Section 5 — "what we do differently") ─── */
.fphys-protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.4rem;
  margin-top: 0.5rem;
}
.fphys-protocol-card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: 10px; padding: 1.7rem 1.85rem 1.85rem;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.fphys-section--alt .fphys-protocol-card { background: var(--fp-bg); }

.fphys-protocol-card:hover {
  border-color: var(--fp-border-hover);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.fphys-protocol-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--fp-copper); margin-bottom: 0.55rem;
}
.fphys-protocol-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--fp-text); margin-bottom: 0.85rem; line-height: 1.3;
}
.fphys-protocol-card p {
  font-size: 0.92rem; color: var(--fp-text-tertiary);
  line-height: 1.7; flex: 1;
  margin-bottom: 1.1rem;
}
.fphys-protocol-link {
  font-size: 0.88rem;
  color: var(--fp-copper-light);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.fphys-protocol-link:hover {
  color: var(--fp-copper);
  border-bottom-color: var(--fp-copper);
}

/* ─── Closing CTA ─── */
.fphys-page-cta {
  padding: var(--fp-section-pad) clamp(20px, 5vw, 80px);
  text-align: center;
  border-top: 1px solid rgba(184,115,51,0.10);
  background: var(--fp-bg);
}
.fphys-page-cta-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fp-copper); margin-bottom: 0.8rem;
}
.fphys-page-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500;
  color: var(--fp-text); margin-bottom: 1rem;
  line-height: 1.3;
}
.fphys-page-cta-lead {
  font-size: 1rem; color: var(--fp-text-tertiary);
  max-width: 540px; margin: 0 auto 2rem;
  line-height: 1.72;
}
.fphys-page-cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}

.fphys-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--fp-copper); color: #fff; text-decoration: none;
  padding: 13px 30px; border-radius: 5px; font-size: 0.92rem;
  font-weight: 600; transition: background 0.2s;
}
.fphys-btn-primary:hover { background: #9A6028; }
.fphys-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: rgba(250,247,244,0.74);
  text-decoration: none; padding: 13px 24px; border-radius: 5px;
  font-size: 0.92rem; font-weight: 500; border: 1px solid var(--fp-border);
  transition: border-color 0.2s, color 0.2s;
}
.fphys-btn-secondary:hover {
  border-color: var(--fp-copper);
  color: var(--fp-copper-light);
}

/* ─── Footer (override main.css) ─── */
footer {
  background: #0E0A07;
  border-top: 1px solid rgba(184,115,51,0.12);
  padding: 48px clamp(20px, 5vw, 60px);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; color: #FAF7F4; margin-bottom: 0.6rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(250,247,244,0.45); line-height: 1.55; max-width: 280px; }
footer h4 { font-size: 0.78rem; font-weight: 600; color: var(--fp-copper); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.55rem; }
footer ul li a { font-size: 0.85rem; color: rgba(250,247,244,0.55); text-decoration: none; transition: color 0.2s; }
footer ul li a:hover { color: var(--fp-copper-light); }

/* ─── Mobile ─── */
@media (max-width: 900px) {
  .fphys-section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .fphys-section-aside {
    position: static;
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links li:not(.nav-dropdown) { display: none; }
  .fphys-hero { min-height: 56vh; }
  .fphys-protocol-grid { grid-template-columns: 1fr; }
  .fphys-page-cta-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: none; }
}
