/* === Eterna Femme — Premium Luxury Wellness === */

:root {
  --color-bg: #FAF7F4;
  --color-surface: #FFFFFF;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #6B5E54;
  --color-accent: #8B5E6B;
  --color-accent-light: #C4A89A;
  --color-accent-dark: #5C3A44;
  --color-border: #EDE5DF;
  --color-gold: #C9A96E;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
  --section-padding: clamp(60px, 8vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-width: 0;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; }
img, video { height: auto; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { color: var(--color-text-secondary); }

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-dark); }

/* === Layout === */
.container,
.nav-inner,
.nav-brand,
.nav-links,
.hero-inner,
.hero-content,
.hero-image-wrap,
.promise-grid,
.promise-item,
.footer-inner,
.footer-top,
.footer-top > *,
.footer-bottom,
.footer-bottom > *,
.footer-bottom-links {
  min-width: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === Nav === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 clamp(20px, 5vw, 60px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-text-primary);
  letter-spacing: 0.03em;
  font-weight: 400;
  text-decoration: none;
  /* Prevent the picture element from expanding past its constrained children */
  max-width: max-content;
}

.nav-brand:hover { color: var(--color-accent); }

.nav-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nav wordmark — owner-approved serif "ETERNA FEMME" + "THE ART OF LIVING TIMELESSLY"
   tagline baked inline as an SVG pill on warm taupe/mocha #8B6F5C. */
.nav-wordmark {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 10px;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: inherit;
  letter-spacing: 0.03em;
  font-weight: 400;
}

/* Footer wordmark */
.footer-brand-wordmark {
  width: auto;
  height: 28px;
  border-radius: 0;
  object-fit: contain;
}

@media (max-width: 700px) {
  .nav-inner { height: 64px !important; }
  .nav-brand-logo { width: 32px; height: 32px; }
  /* Constrain by width so the 380×72 pill shrinks proportionately (≈45px tall
     at 240px wide). height: auto prevents the desktop 56px rule from
     stretching the taupe pill past the 64px nav-inner. */
  .nav-wordmark { width: 240px; height: auto; max-width: 240px; }
  .nav-brand-logo-bg { padding: 6px 12px; }
  .nav-brand-text { font-size: 1.1rem; }
}

@media (max-width: 400px) {
  .nav-inner { height: 58px !important; }
  .nav-wordmark { width: 180px; height: auto; max-width: 180px; }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  /* Horizontal margin between logo block and first nav tab — clear visual separation */
  margin-left: 1.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}

.nav-links a:hover { color: var(--color-text-primary); }

/* The homepage carries the full editorial navigation, so keep its desktop
   row within the normal content measure before collapsing it to the drawer. */
.home-page .nav-inner { gap: clamp(18px, 2vw, 28px); }

.home-page .nav-brand {
  flex: 0 1 240px;
  max-width: 240px;
}

.home-page .nav-wordmark {
  width: min(240px, 100%);
  height: auto;
  max-width: 100%;
}

.home-page .nav-links {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(0.65rem, 0.9vw, 0.9rem);
  margin-left: 0;
}

.home-page .nav-links li { min-width: 0; }

.home-page .nav-links a {
  font-size: 0.73rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-cta {
  padding: 8px 22px !important;
  border: 1px solid var(--color-accent) !important;
  border-radius: 40px;
  color: var(--color-accent) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  transition: all 0.25s !important;
}

.nav-cta:hover {
  background: var(--color-accent) !important;
  color: #fff !important;
}

/* === Nav dropdown === */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(-135deg) translateY(-2px); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(90,60,50,0.1);
  z-index: 200;
  /* 300ms hover delay so cursor can travel to sub-items */
  transition: opacity 0.2s ease 0.05s, visibility 0.2s ease 0.05s;
  opacity: 0;
  visibility: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.83rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu li a:hover { background: var(--color-bg); color: var(--color-text-primary); }
.nav-dropdown-menu li a.active { color: var(--color-accent); font-weight: 600; }

/* Hamburger button — shown at 700px for shared pages */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-hamburger:hover { background: rgba(0,0,0,0.06); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hamburger → X transform when open */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared mobile nav and menu drawer */
@media (max-width: 700px) {
  .nav-inner { position: relative; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 200;
    list-style: none;
  }

  .nav-links.is-open { display: block; }

  .nav-links li a {
    display: block;
    padding: 11px 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.03em;
    transition: background 0.15s, color 0.15s;
  }

  .nav-links li a:hover {
    background: var(--color-bg);
    color: var(--color-text-primary);
  }

  .nav-cta {
    padding: 11px 20px !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--color-accent) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
  }

  .nav-cta:hover {
    background: rgba(139, 94, 107, 0.08) !important;
    color: var(--color-accent-dark) !important;
  }

  /* Mobile dropdown */
  .nav-dropdown-menu {
    display: none;
    padding: 4px 0;
  }

  .nav-dropdown.is-open > .nav-dropdown-menu { display: block; }

  .nav-dropdown-trigger::after {
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    content: '';
    margin-left: 6px;
  }
}

/* The homepage has a longer navigation row, so collapse it before it loses
   enough measure for every label to remain readable. Shared pages retain the
   existing 700px breakpoint above. */
@media (max-width: 1150px) {
  .home-page .nav-inner { position: relative; height: 64px; }

  .home-page .nav-brand {
    flex: 1 1 auto;
    max-width: min(240px, calc(100vw - 88px));
  }

  .home-page .nav-wordmark {
    width: min(240px, calc(100vw - 88px));
    max-width: 100%;
  }

  .home-page .nav-hamburger {
    display: flex;
    margin-left: 12px;
  }

  .home-page .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    min-width: 0;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 88px);
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 0;
    padding: 12px 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 200;
    list-style: none;
  }

  .home-page .nav-links.is-open { display: block; }

  .home-page .nav-links li { min-width: 0; }

  .home-page .nav-links li a {
    display: block;
    padding: 11px 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.03em;
    white-space: normal;
    overflow-wrap: break-word;
    transition: background 0.15s, color 0.15s;
  }

  .home-page .nav-links li a:hover {
    background: var(--color-bg);
    color: var(--color-text-primary);
  }
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 60px) var(--section-padding);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(196, 168, 154, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; min-width: 0; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.hero-headline {
  max-width: 32rem;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  line-height: clamp(1.04em, 5vw, 1.12em);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
  color: var(--color-text-primary);
}

.hero-subhead {
  font-size: clamp(0.94rem, 1.15vw, 1.05rem);
  line-height: clamp(1.58em, 2vw, 1.75em);
  color: var(--color-text-secondary);
  margin-bottom: 2.2rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: transparent;
  color: var(--color-text-secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-border);
  transition: all 0.25s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--color-accent-light);
  color: var(--color-text-primary);
}

.hero-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-surface);
  box-shadow: 0 24px 60px rgba(90, 60, 50, 0.12);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-image-wrap { max-width: 480px; margin: 0 auto; width: 100%; aspect-ratio: 3 / 4; }
  .hero { min-height: auto; padding-top: clamp(88px, 11vw, 108px); }
}

/* === Section spacing === */
section { padding: var(--section-padding) 0; }

/* === Brand promise === */
.promise { background: var(--color-surface); }

.promise-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.promise-intro h2 {
  max-width: 760px;
  margin: 0 auto;
  text-wrap: balance;
}

.promise-lead {
  max-width: 650px;
  margin: 1.25rem auto 0;
  line-height: 1.75;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 60px);
}

.promise-item { text-align: center; }

.promise-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.2rem;
  color: var(--color-accent);
}

.promise-item h3 {
  max-width: 18ch;
  margin: 0 auto 0.6rem;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.promise-item p {
  max-width: 34ch;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === Philosophy === */
.philosophy { text-align: center; }

.philosophy-inner { max-width: 680px; margin: 0 auto; }

.philosophy h2 { margin-bottom: 1.2rem; }

.philosophy-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 1.4rem;
}

.philosophy-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.divider-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px auto;
  max-width: 200px;
  color: var(--color-accent-light);
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.philosophy-explore {
  text-align: left;
  max-width: 580px;
  margin: 1.6rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--color-border);
}

.philosophy-explore .section-label {
  text-align: center;
  margin-bottom: 0.9rem;
}

.philosophy-explore-body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.philosophy-explore-links {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.philosophy-explore-links a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
}

.philosophy-explore-links a:hover { text-decoration: underline; }

.philosophy-explore-or {
  margin: 0 0.4rem;
  color: var(--color-text-muted, var(--color-text-secondary));
  opacity: 0.7;
}

/* Topic-area grid on homepage — 2x3 in one column, stacks on mobile */
.philosophy-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 1.4rem 0 1.2rem;
  text-align: left;
}

.philosophy-topic-card {
  display: block;
  padding: 18px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.philosophy-topic-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: 0 6px 20px rgba(90,60,50,0.08);
  transform: translateY(-1px);
  color: var(--color-text-primary);
}

.philosophy-topic-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-accent-light);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.philosophy-topic-card h4 {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.philosophy-topic-cta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

@media (max-width: 700px) {
  .philosophy-topic-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Ritual CTA — two-button row */
.ritual-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.ritual .btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.3);
}

.ritual .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

/* === Ingredients === */
.ingredients { background: var(--color-surface); }

.ingredients-inner { max-width: var(--max-width); margin: 0 auto; }

.ingredients-header { text-align: center; margin-bottom: 64px; }
.ingredients-header h2 { margin-bottom: 1rem; }

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ingredient-card {
  padding: 36px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  transition: box-shadow 0.25s;
}

.ingredient-card:hover {
  box-shadow: 0 8px 32px rgba(90, 60, 50, 0.08);
}

.ingredient-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.ingredient-card .ingredient-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  display: block;
}

.ingredient-card p { font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 700px) {
  .ingredients-grid { grid-template-columns: 1fr; }
}

/* === Testimonials === */
.testimonials { text-align: center; }

.testimonials-inner { max-width: 900px; margin: 0 auto; }

.testimonials h2 { margin-bottom: 56px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  text-align: left;
}

.stars { color: var(--color-gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }

.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 1.4rem;
}

.testimonial-author { font-size: 0.8rem; font-weight: 600; color: var(--color-text-primary); letter-spacing: 0.04em; }

@media (max-width: 800px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* === Ritual === */
.ritual {
  background: var(--color-accent-dark);
  color: #fff;
}

.ritual-inner { max-width: 700px; margin: 0 auto; text-align: center; }

.ritual .section-label { color: var(--color-accent-light); }

.ritual h2 { color: #fff; margin-bottom: 1.2rem; }

.ritual p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.4rem;
}

.ritual .btn-primary {
  background: #fff;
  color: var(--color-accent-dark);
}

.ritual .btn-primary:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

/* === Footer === */
footer {
  background: var(--color-text-primary);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 36px;
  font-size: 0.82rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

/* 4-column variant — used when a Resources column is added on the homepage/menopause/sexual-wellness footers */
.footer-top--4col { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

.footer-col,
.footer-bottom > * {
  min-width: 0;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}

/* Logo lockup variant — used when brand logo image is present */
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Approved brand tagline — two-line, copper accent */
.footer-tagline-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-gold);
  font-style: italic;
  line-height: 1.55;
  margin-top: 0.6rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

.footer-col a,
.footer-bottom a {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === Trusted-vendor strip (Eterna Femme global footer) === */
.footer-vendor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.footer-vendor-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.45);
}
.footer-vendor-link {
  color: #B8DCD8;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(184,220,216,0.35);
  padding-bottom: 1px;
}
.footer-vendor-link:hover {
  color: #D4ECE8;
  border-bottom-color: rgba(212,236,232,0.7);
}
.footer-vendor-note {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  font-style: normal;
}
@media (max-width: 700px) {
  .footer-vendor { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* === Protocol card enhancements (homepage) === */
.protocol-peptides {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(139, 94, 107, 0.08);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.card-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.card-link:hover { color: var(--color-accent-dark); border-bottom-color: var(--color-accent-dark); }

/* === Pricing badge on protocol cards === */
.protocol-pricing-badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 0.6rem;
}

/* === Our Approach Teaser === */
.approach-teaser { background: var(--color-bg); }

.approach-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.approach-teaser-content h2 { margin-bottom: 1.2rem; }
.approach-teaser-content p { font-size: 0.95rem; line-height: 1.8; }

.approach-teaser-pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pillar-item { display: flex; gap: 20px; align-items: flex-start; }

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.pillar-item h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.3rem;
}

.pillar-item p { font-size: 0.88rem; line-height: 1.65; }

@media (max-width: 860px) {
  .approach-teaser-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* === Pricing Teaser === */
.pricing-teaser { background: var(--color-surface); }

.pricing-teaser-inner { max-width: 860px; margin: 0 auto; }

.pricing-teaser-inner h2 { margin-bottom: 1rem; }

.pricing-teaser-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2.8rem;
  max-width: 640px;
}

.pricing-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-teaser-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  gap: 8px;
}

.ptc-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.ptc-range {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-text-primary);
  line-height: 1;
}

.ptc-unit { font-size: 1rem; color: var(--color-text-secondary); }

.ptc-link {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 4px;
  text-decoration: none;
  transition: color 0.2s;
}
.ptc-link:hover { color: var(--color-accent-dark); }

@media (max-width: 700px) {
  .pricing-teaser-grid { grid-template-columns: 1fr; }
}

/* === Founder Note === */
.founder-note { background: var(--color-bg); }

.founder-note-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.founder-quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--color-accent-light);
  margin-bottom: 1.6rem;
  display: block;
  opacity: 0.6;
}

.founder-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 1.6rem;
  font-weight: 400;
}

.founder-attribution {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
}

/* Protocol page styles live in protocol.css — loaded by the CSS auto-scanner. */

/* === Trusted Vendor === */
.trusted-vendor {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.trusted-vendor-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.trusted-vendor-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-text-primary);
  line-height: 1.25;
  margin-bottom: 1.4rem;
}

.trusted-vendor-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: 2.4rem;
}

.trusted-vendor-btn {
  background: var(--color-text-primary);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.trusted-vendor-btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}
