/* ==========================================================================
   KINDRED ADVOCATES — DRAFT 3 STYLESHEET
   Aesthetic: Concierge Healthcare Navigation inspired by The Healthcare Redefined
   Style: High-End Editorial Boutique, Luxury Serif Headlines, Warm Linen & Terracotta Palettes
   ========================================================================== */

:root {
  /* Concierge Warm Editorial Palette */
  --bg-sand: #fefcfb;
  --bg-cream: #f9f5f0;
  --bg-card: #ffffff;
  --bg-accent-soft: #ede6dc;
  
  /* Primary & Accent Tones */
  --terracotta: #b4654a;
  --terracotta-dark: #964f37;
  --terracotta-light: #f5ebe6;
  --olive-slate: #515c58;
  --warm-black: #212529;
  --charcoal: #2d3135;
  --body-muted: #5e656d;
  --border-delicate: #e8e2d8;
  --border-hover: #cfc4b4;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;

  /* Elevation */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-luxury: 0 12px 36px rgba(45, 49, 53, 0.08);
  --shadow-lift: 0 16px 40px rgba(180, 101, 74, 0.12);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--bg-sand);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-editorial);
  color: var(--warm-black);
  line-height: 1.25;
  font-weight: 600;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: all var(--transition-smooth);
}

a:hover {
  color: var(--terracotta-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   LUXURY CONCIERGE ANNOUNCEMENT STRIP
   ========================================================================== */
.concierge-strip {
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-delicate);
  padding: 10px 0;
  font-size: 0.84rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--body-muted);
}

.concierge-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.concierge-strip-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.concierge-strip-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}

.concierge-strip a {
  color: var(--charcoal);
}

.concierge-strip a:hover {
  color: var(--terracotta);
}

.tag-credential-editorial {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-delicate);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  color: var(--olive-slate);
  letter-spacing: 1px;
}

/* ==========================================================================
   EDITORIAL CONCIERGE HEADER
   ========================================================================== */
.site-header {
  background-color: var(--bg-sand);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-delicate);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 94px;
}

.brand-editorial {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-editorial h1 {
  font-family: var(--font-editorial);
  font-size: 1.65rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--warm-black);
  margin-bottom: -2px;
}

.brand-editorial span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.nav-editorial {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links-editorial {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links-editorial a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}

.nav-links-editorial a:hover,
.nav-links-editorial a.active {
  color: var(--terracotta);
}

.nav-links-editorial a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--terracotta);
}

/* EDITORIAL BUTTONS */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-terracotta {
  background-color: var(--terracotta);
  color: #ffffff;
}

.btn-terracotta:hover {
  background-color: var(--terracotta-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-outline-editorial {
  background-color: transparent;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
}

.btn-outline-editorial:hover {
  background-color: var(--warm-black);
  color: #ffffff;
}

.btn-cream {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-delicate);
  color: var(--warm-black);
}

.btn-cream:hover {
  background-color: var(--bg-accent-soft);
  border-color: var(--border-hover);
}

.mobile-toggle-editorial {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--warm-black);
}

/* ==========================================================================
   HERO SECTION (Editorial Concierge Layout)
   ========================================================================== */
.editorial-hero {
  padding: 70px 0 80px;
  border-bottom: 1px solid var(--border-delicate);
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-subtitle-pill {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 18px;
}

.editorial-hero-title {
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--warm-black);
}

.editorial-hero-title em {
  font-style: italic;
  font-family: var(--font-editorial);
  font-size: 3.6rem;
  color: var(--terracotta);
}

.editorial-hero-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--body-muted);
  margin-bottom: 34px;
}

.editorial-hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.editorial-hero-frame {
  position: relative;
}

.editorial-hero-frame img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-luxury);
  border: 8px solid #ffffff;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.editorial-hero-caption {
  position: absolute;
  bottom: -24px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editorial-hero-caption strong {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--warm-black);
  display: block;
}

.editorial-hero-caption span {
  font-size: 0.78rem;
  color: var(--body-muted);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   FEATURED IN / PRESS & PODCAST STRIP (The Healthcare Redefined Style)
   ========================================================================== */
.press-strip {
  background-color: var(--bg-cream);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-delicate);
  text-align: center;
}

.press-title {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--body-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.press-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.press-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity var(--transition-smooth);
}

.press-item:hover {
  opacity: 1;
}

.press-tag {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--charcoal);
  font-weight: 600;
}

.press-sub {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ==========================================================================
   EDITORIAL SECTION LAYOUTS
   ========================================================================== */
.section-editorial {
  padding: 90px 0;
}

.section-cream {
  background-color: var(--bg-cream);
}

.section-header-editorial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header-editorial .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.section-header-editorial h2 {
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--warm-black);
}

.section-header-editorial p {
  font-size: 1.1rem;
  color: var(--body-muted);
  line-height: 1.8;
}

/* ==========================================================================
   CONCIERGE ADVOCACY PATHWAYS (Editorial Cards)
   ========================================================================== */
.pathway-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pathway-card-editorial {
  background: #ffffff;
  border: 1px solid var(--border-delicate);
  border-radius: var(--radius-xs);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.pathway-card-editorial:hover {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-luxury);
  transform: translateY(-4px);
}

.pathway-card-number {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  color: var(--terracotta);
  margin-bottom: 16px;
  font-weight: 600;
}

.pathway-card-editorial h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  color: var(--warm-black);
}

.pathway-card-editorial p {
  font-size: 0.96rem;
  color: var(--body-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pathway-link-editorial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  border-top: 1px solid var(--border-delicate);
  padding-top: 18px;
}

/* ==========================================================================
   THE LEGACY FRAMEWORK™ (Editorial Showcase)
   ========================================================================== */
.legacy-editorial-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.legacy-box-editorial {
  background: var(--white);
  border: 1px solid var(--border-delicate);
  padding: 32px 28px;
  border-radius: var(--radius-xs);
  position: relative;
  transition: all var(--transition-smooth);
}

.legacy-box-editorial:hover {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-soft);
}

.legacy-initial {
  font-family: var(--font-editorial);
  font-size: 2.8rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 12px;
}

.legacy-box-editorial h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--warm-black);
}

.legacy-box-editorial p {
  font-size: 0.92rem;
  color: var(--body-muted);
  line-height: 1.65;
}

/* ==========================================================================
   FOUNDER'S STORY SECTION (Nicoletta / Healthcare Redefined Style)
   ========================================================================== */
.founder-story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.founder-story-image-wrap {
  position: relative;
}

.founder-story-image-wrap img {
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-luxury);
  width: 100%;
}

.quote-editorial {
  font-family: var(--font-editorial);
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--warm-black);
  font-style: italic;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--terracotta);
  margin: 28px 0;
}

/* ==========================================================================
   EDITORIAL MEDIA & BOOKS
   ========================================================================== */
.media-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.media-item-editorial {
  background: #ffffff;
  border: 1px solid var(--border-delicate);
  border-radius: var(--radius-xs);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.media-item-editorial:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-luxury);
}

.media-thumb-editorial {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.media-thumb-editorial img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.media-item-editorial h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--warm-black);
}

.media-item-editorial .category {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 10px;
}

.media-item-editorial p {
  font-size: 0.88rem;
  color: var(--body-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   CONCIERGE PROCESS / STEPS
   ========================================================================== */
.process-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-col-editorial {
  border-top: 1px solid var(--border-delicate);
  padding-top: 28px;
}

.process-col-editorial .step-index {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.process-col-editorial h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--warm-black);
}

.process-col-editorial p {
  font-size: 0.92rem;
  color: var(--body-muted);
  line-height: 1.65;
}

/* ==========================================================================
   CONCIERGE CTA BANNER
   ========================================================================== */
.concierge-callout {
  background-color: var(--warm-black);
  color: #ffffff;
  padding: 80px 0;
  border-radius: var(--radius-xs);
  text-align: center;
  position: relative;
  margin: 60px auto;
  max-width: 1180px;
}

.concierge-callout h2 {
  font-size: 2.8rem;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 18px;
}

.concierge-callout p {
  font-size: 1.15rem;
  color: var(--border-delicate);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ==========================================================================
   FOOTER (The Healthcare Redefined Elegant Layout)
   ========================================================================== */
.site-footer-editorial {
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-delicate);
  padding: 80px 0 40px;
}

.footer-editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col h3 {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.footer-brand-col p {
  font-size: 0.92rem;
  color: var(--body-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-col-editorial h4 {
  font-size: 0.84rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-black);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-nav-editorial {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-editorial a {
  font-size: 0.9rem;
  color: var(--charcoal);
}

.footer-nav-editorial a:hover {
  color: var(--terracotta);
}

.footer-bottom-editorial {
  border-top: 1px solid var(--border-delicate);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.84rem;
  color: var(--body-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .editorial-hero-grid,
  .founder-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pathway-editorial-grid,
  .legacy-editorial-container {
    grid-template-columns: 1fr;
  }

  .media-editorial-grid,
  .process-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle-editorial {
    display: block;
  }

  .nav-editorial {
    position: fixed;
    top: 94px;
    left: 0;
    right: 0;
    background-color: var(--bg-sand);
    flex-direction: column;
    padding: 28px;
    border-bottom: 1px solid var(--border-delicate);
    display: none;
    box-shadow: var(--shadow-luxury);
  }

  .nav-editorial.active {
    display: flex;
  }

  .nav-links-editorial {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 18px;
  }

  .editorial-hero-title {
    font-size: 2.3rem;
  }

  .media-editorial-grid,
  .process-editorial-grid {
    grid-template-columns: 1fr;
  }

  .footer-editorial-grid {
    grid-template-columns: 1fr;
  }

  .press-grid {
    gap: 28px;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (The Healthcare Redefined Style)
   ========================================================================== */

/* Base hidden state for intersection observer elements */
.reveal-on-scroll, 
.reveal-up, 
.reveal-fade, 
.reveal-stagger > * {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Specific start states */
.reveal-up {
  transform: translateY(40px);
}
.reveal-fade {
  transform: translateY(0);
}
.reveal-stagger > * {
  transform: translateY(30px);
}

/* Revealed states */
.reveal-on-scroll.revealed,
.reveal-up.revealed,
.reveal-fade.revealed,
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.55s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.7s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.85s; }

/* Image zoom out effect on hover (Showit style parallax) */
.img-zoom-hover {
  overflow: hidden;
}
.img-zoom-hover img {
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.img-zoom-hover:hover img {
  transform: scale(1.05);
}
