﻿/* ============================================================
   HER FUTURE STEM â€” styles.css
   Visual identity: soft pinks, blush tones, warm creams
   Design reference: abstract organic shapes, bold stars, swirls
   ============================================================ */

/* 1. Google Fonts
   2. Design Tokens (CSS Custom Properties)
   3. Reset & Base
   4. Accessibility
   5. Layout & Containers
   6. Typography
   7. Decorative System
   8. Buttons
   9. Badges & Tags
  10. Navigation
  11. Hero
  12. Mission
  13. Why Representation
  14. Stat Cards
  15. Pillar Cards
  16. Card Grid
  17. Callout Boxes
  18. Quote Blocks
  19. Dividers
  20. Newsletter / CTA Strip
  21. Page Banner
  22. Content Sections
  23. Filter Bar
  24. Contact Form
  25. Values Grid
  26. Empty States
  27. Breadcrumb
  28. Footer
  29. Utilities
  30. Responsive & Print
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */
:root {
  /* ---- Brand pinks ---- */
  --pink-primary:       #ED9ABA;
  --pink-primary-dark:  #c9789d;
  --pink-primary-deep:  #a85874;
  --pink-light:         #FBB3CF;
  --blush:              #FCD7D7;
  --blush-pale:         #fff0f5;

  /* ---- Warm neutrals ---- */
  --cream:        #FAF0E8;
  --sand:         #F0E0D6;
  --sand-deep:    #E5CFBF;
  --sand-border:  #E2D0C4;

  /* ---- Background surfaces ---- */
  --bg:        #FFF8FA;
  --bg-alt:    #FAF0F4;
  --white:     #ffffff;
  --off-white: #FFF9FB;

  /* ---- Text ---- */
  --text:        #2B1C26;
  --text-muted:  #6B5060;
  --text-subtle: #9E7A88;

  /* ---- Borders & overlays ---- */
  --border:       #F0D4DE;
  --border-soft:  #FAE8EE;
  --overlay:      rgba(237, 154, 186, 0.08);

  /* ---- Semantic ---- */
  --success: #3daa6d;
  --warning: #e6a817;
  --error:   #d94f4f;

  /* ---- Typography ---- */
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* ---- Line heights ---- */
  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.75;
  --leading-loose:  1.9;

  /* ---- Spacing scale ---- */
  --sp-2xs: 0.125rem;  /*  2px */
  --sp-xs:  0.25rem;   /*  4px */
  --sp-sm:  0.5rem;    /*  8px */
  --sp-md:  1rem;      /* 16px */
  --sp-lg:  1.5rem;    /* 24px */
  --sp-xl:  2rem;      /* 32px */
  --sp-2xl: 3rem;      /* 48px */
  --sp-3xl: 4rem;      /* 64px */
  --sp-4xl: 6rem;      /* 96px */
  --sp-5xl: 8rem;      /* 128px */

  /* ---- Layout ---- */
  --max-w:        1200px;
  --max-w-narrow:  760px;
  --max-w-wide:   1440px;
  --sidebar-w:     320px;
  --nav-h:          70px;

  /* ---- Border radii ---- */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-2xl:  48px;
  --r-full: 9999px;
  --r-blob: 60% 40% 70% 30% / 50% 60% 40% 50%;

  /* ---- Shadows ---- */
  --shadow-xs:   0 1px 3px  rgba(180, 60, 100, 0.05);
  --shadow-sm:   0 2px 6px  rgba(180, 60, 100, 0.07);
  --shadow-md:   0 4px 18px rgba(180, 60, 100, 0.11);
  --shadow-lg:   0 8px 36px rgba(180, 60, 100, 0.16);
  --shadow-xl:   0 16px 60px rgba(180, 60, 100, 0.2);
  --shadow-pink: 0 6px 24px rgba(237, 154, 186, 0.35);
  --shadow-card: 0 2px 12px rgba(180, 60, 100, 0.06);

  /* ---- Transitions ---- */
  --t-fast:   150ms ease;
  --t-base:   260ms ease;
  --t-slow:   400ms ease;
  --t-bounce: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-spring: 480ms cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Z-index layers ---- */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-modal:     400;
  --z-max:       900;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

img, svg, video, canvas, iframe { max-width: 100%; display: block; }
picture { display: block; }

body.nav-open { overflow: hidden; }

a {
  color: var(--pink-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover, a:focus-visible { color: var(--pink-primary-deep); }

ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
fieldset { border: none; }
table { border-collapse: collapse; }

/* ============================================================
   4. ACCESSIBILITY
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--pink-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; top: -60px; left: var(--sp-md);
  background: var(--pink-primary); color: #fff;
  padding: 0.6rem 1.25rem;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: var(--z-max);
  transition: top var(--t-fast);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   5. LAYOUT & CONTAINERS
   ============================================================ */

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--sp-xl); }
.container--narrow { max-width: var(--max-w-narrow); }
.container--wide   { max-width: var(--max-w-wide); }
.container--flush  { padding-inline: 0; }

/* ============================================================
   6. TYPOGRAPHY
   ============================================================ */

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: var(--leading-tight); color: var(--text); text-wrap: balance; }

h1 { font-size: clamp(2rem,   5.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem;  font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
h6 { font-size: 0.875rem; font-weight: 600; }

p { color: var(--text); line-height: var(--leading-normal); }

.section-label {
  display: inline-flex; align-items: center; gap: var(--sp-xs);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; font-weight: 700; font-family: var(--font-body);
  color: var(--pink-primary-dark);
  margin-bottom: var(--sp-md);
  padding: 0.3em 0.9em;
  background: var(--blush); border-radius: var(--r-full);
  border: 1px solid var(--border);
}
.section-label::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px;
  background: var(--pink-primary); border-radius: 50%; flex-shrink: 0;
}

.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-md); margin-bottom: var(--sp-2xl); flex-wrap: wrap; }
.section-title { font-family: var(--font-head); font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: var(--sp-2xl); color: var(--text); line-height: var(--leading-snug); }
.section-header .section-title { margin-bottom: 0; }

.section-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--pink-primary-dark); text-decoration: none;
  white-space: nowrap; display: inline-flex; align-items: center; gap: var(--sp-xs);
  padding: 0.3rem 0.8rem; border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.section-link:hover { background: var(--blush); border-color: var(--pink-primary); color: var(--pink-primary-deep); text-decoration: none; }

.prose { font-size: 1rem; line-height: var(--leading-loose); color: var(--text-muted); max-width: 68ch; }
.prose + .prose { margin-top: var(--sp-lg); }
.prose strong { color: var(--text); font-weight: 600; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.15rem); color: var(--text-muted); line-height: var(--leading-loose); max-width: 62ch; }

code { font-family: var(--font-mono); font-size: 0.875em; background: var(--blush); color: var(--pink-primary-deep); padding: 0.15em 0.45em; border-radius: var(--r-xs); }

/* ============================================================
   7. DECORATIVE SYSTEM
   ============================================================ */

.deco-blob { position: absolute; border-radius: var(--r-blob); pointer-events: none; z-index: var(--z-below); }
.deco-blob--sand  { background: var(--sand); }
.deco-blob--blush { background: var(--blush); }
.deco-blob--pink  { background: var(--pink-light); }
.deco-blob--cream { background: var(--cream); }

.deco-star  { position: absolute; pointer-events: none; }
.deco-swirl { position: absolute; pointer-events: none; }
.deco-dots  { position: absolute; pointer-events: none; }

/* CSS dot grid background helper */
.dot-grid-bg {
  background-image: radial-gradient(circle, var(--pink-light) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.18;
}

/* ============================================================
   8. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  padding: 0.8rem 1.9rem;
  border-radius: var(--r-full);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
  transition:
    background-color var(--t-base), color var(--t-base),
    border-color var(--t-base), box-shadow var(--t-base),
    transform var(--t-bounce);
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left var(--t-slow); pointer-events: none;
}
.btn:hover::after { left: 160%; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-pink); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-primary { background: var(--pink-primary); color: #fff; border-color: var(--pink-primary); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--pink-primary-dark); border-color: var(--pink-primary-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--pink-primary-dark); border-color: var(--pink-primary); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--pink-primary); color: #fff; border-color: var(--pink-primary); }

.btn-ghost { background: rgba(237,154,186,0.12); color: var(--pink-primary-dark); border-color: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(237,154,186,0.25); color: var(--pink-primary-deep); }

.btn-white { background: #fff; color: var(--pink-primary-dark); border-color: rgba(255,255,255,0.4); }
.btn-white:hover { background: var(--blush); color: var(--pink-primary-deep); border-color: var(--blush); }

.btn-xs  { padding: 0.35rem 0.85rem; font-size: 0.78rem; }
.btn-sm  { padding: 0.5rem  1.2rem;  font-size: 0.875rem; }
.btn-lg  { padding: 1rem    2.25rem; font-size: 1.05rem; }
.btn-xl  { padding: 1.15rem 2.75rem; font-size: 1.1rem; }

.btn-icon {
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: var(--blush); color: var(--pink-primary-dark);
  border: 1.5px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.btn-icon:hover { background: var(--pink-primary); color: #fff; box-shadow: var(--shadow-pink); }

/* ============================================================
   9. BADGES & TAGS
   ============================================================ */

.tag {
  display: inline-flex; align-items: center; gap: var(--sp-xs);
  padding: 0.22em 0.85em;
  background: var(--blush); color: var(--pink-primary-deep);
  border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; line-height: 1.6; white-space: nowrap;
}
.tag--pink   { background: var(--pink-light); color: var(--text); border-color: var(--pink-primary); }
.tag--sand   { background: var(--sand); color: var(--text); border-color: var(--sand-border); }
.tag--cream  { background: var(--cream); color: var(--text-muted); border-color: var(--sand-border); }
.tag--dark   { background: var(--text); color: var(--blush); border-color: transparent; }

.badge { display: inline-block; padding: 0.1em 0.6em; background: var(--pink-primary); color: #fff; border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; line-height: 1.6; }
.badge--blush { background: var(--blush); color: var(--pink-primary-deep); }

/* ============================================================
  10. NAVIGATION
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  height: var(--nav-h);
  background: rgba(255,249,251,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.site-header.scrolled { background: rgba(255,249,251,0.97); box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--sp-xl); height: 100%; gap: var(--sp-xl);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; transition: opacity var(--t-fast); }
.nav-logo:hover { opacity: 0.85; }
.logo-mark { flex-shrink: 0; }
.logo-wordmark { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); white-space: nowrap; line-height: 1; }
.logo-wordmark span { color: var(--pink-primary); }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 0.42rem 0.7rem; border-radius: var(--r-full);
  font-size: 0.83rem; font-weight: 500;
  text-decoration: none; color: var(--text-muted);
  white-space: nowrap; position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--pink-primary); border-radius: var(--r-full);
  transition: left var(--t-base), right var(--t-base);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { left: 12px; right: 12px; }
.nav-link:hover, .nav-link:focus-visible, .nav-link[aria-current="page"] {
  color: var(--pink-primary-dark); background: var(--overlay);
}
.nav-link[aria-current="page"] { font-weight: 600; }

.nav-link--cta {
  background: var(--pink-light); color: var(--text);
  font-weight: 600; margin-left: var(--sp-sm);
  border: 1.5px solid transparent;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover, .nav-link--cta:focus-visible { background: var(--pink-primary); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.hbar { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--t-base), opacity var(--t-base), width var(--t-base); }
.hbar:nth-child(2) { width: 70%; }
.nav-toggle[aria-expanded="true"] .hbar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hbar:nth-child(2) { opacity: 0; width: 100%; }
.nav-toggle[aria-expanded="true"] .hbar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
  11. HERO
   ============================================================ */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--blush) 55%, var(--pink-light) 100%);
  padding: var(--sp-4xl) 0 var(--sp-3xl);
}
.hero::before {
  content: ''; position: absolute; top: -90px; left: -90px;
  width: 380px; height: 300px; background: var(--sand);
  border-radius: 62% 38% 72% 28% / 48% 62% 38% 52%;
  opacity: 0.48; pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; bottom: -70px; right: -70px;
  width: 300px; height: 240px; background: var(--sand);
  border-radius: 42% 58% 28% 72% / 62% 38% 52% 48%;
  opacity: 0.40; pointer-events: none; z-index: 0;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: var(--sp-3xl);
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--sp-xl);
  min-height: calc(88vh - var(--nav-h));
}

.hero-content { display: flex; flex-direction: column; align-items: flex-start; }

.hero-eyebrow {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--pink-primary-dark); margin-bottom: var(--sp-md);
  padding: 0.3em 1em; background: rgba(237,154,186,0.14);
  border-radius: var(--r-full); border: 1px solid var(--border);
}

.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; line-height: 1.1; margin-bottom: var(--sp-lg); color: var(--text); }
.hero-title em { font-style: italic; color: var(--pink-primary); text-shadow: 0 2px 20px rgba(237,154,186,0.3); }

.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--text-muted); max-width: 48ch; margin-bottom: var(--sp-2xl); line-height: var(--leading-loose); }

.hero-ctas { display: flex; gap: var(--sp-md); flex-wrap: wrap; }

.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-svg { width: min(100%, 480px); height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 12px 30px rgba(237,154,186,0.25)); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* ============================================================
  12. MISSION
   ============================================================ */

.mission { background: var(--white); padding: var(--sp-3xl) 0; text-align: center; border-bottom: 1px solid var(--border-soft); position: relative; overflow: hidden; }
.mission::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blush), var(--pink-primary), var(--pink-light), var(--blush)); opacity: 0.8; }

.mission-quote {
  font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-style: italic; color: var(--pink-primary-dark);
  max-width: 68ch; margin-inline: auto; line-height: 1.8; margin-bottom: var(--sp-lg); position: relative;
}
.mission-quote::before { content: '\201C'; font-size: 4rem; line-height: 0; vertical-align: -0.7em; color: var(--pink-light); margin-right: 0.1em; font-style: normal; }
.mission-quote::after  { content: '\201D'; font-size: 4rem; line-height: 0; vertical-align: -0.7em; color: var(--pink-light); margin-left:  0.1em; font-style: normal; }
.mission-body { font-size: 1rem; color: var(--text-muted); max-width: 62ch; margin-inline: auto; line-height: var(--leading-loose); }

/* ============================================================
  13. WHY REPRESENTATION
   ============================================================ */

.why-rep {
  background: linear-gradient(135deg, var(--blush) 0%, var(--pink-light) 50%, var(--blush) 100%);
  padding: var(--sp-4xl) 0; position: relative; overflow: hidden;
}
.why-rep::after { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 260px; background: var(--sand); border-radius: 55% 45% 65% 35% / 45% 55% 45% 55%; opacity: 0.30; pointer-events: none; }
.why-rep-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); align-items: center; position: relative; z-index: 1; }

/* ============================================================
  14. STAT CARDS
   ============================================================ */

.why-rep-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

.stat-card {
  background: rgba(255,255,255,0.80); border-radius: var(--r-lg);
  padding: var(--sp-xl); text-align: center;
  border: 1px solid rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-number { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--pink-primary-dark); line-height: 1; margin-bottom: var(--sp-sm); }
.stat-label  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
  15. PILLAR CARDS
   ============================================================ */

.pillars { padding: var(--sp-4xl) 0; background: var(--off-white); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--sp-lg); }

.pillar-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-md);
  padding: var(--sp-xl);
  background: var(--white); border: 1.5px solid var(--border-soft);
  border-radius: var(--r-lg); text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--pink-primary), var(--pink-light));
  opacity: 0; transition: opacity var(--t-base);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.pillar-card:hover::before, .pillar-card:focus-visible::before { opacity: 1; }
.pillar-card:hover, .pillar-card:focus-visible { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--pink-light); color: inherit; }

.pillar-icon { background: var(--blush); border-radius: var(--r-md); padding: var(--sp-md); display: flex; align-items: center; justify-content: center; transition: background var(--t-base), transform var(--t-base); }
.pillar-card:hover .pillar-icon { background: var(--pink-light); transform: scale(1.08); }
.pillar-title { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); }
.pillar-desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
  16. CARD GRID
   ============================================================ */

.cards-section     { padding: var(--sp-4xl) 0; background: var(--bg-alt); }
.cards-section--alt { background: var(--white); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: var(--sp-lg); }

.card {
  background: var(--white); border: 1.5px solid var(--border-soft);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--pink-light); }
.card-link-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card-link-card:hover, .card-link-card:focus-visible { color: inherit; text-decoration: none; }
.card-link-card:focus-visible { outline-offset: 4px; }
.blog-card__cta {
  margin-left: auto;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--blush);
  color: var(--pink-primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.card-link-card:hover .blog-card__cta,
.card-link-card:focus-visible .blog-card__cta {
  background: var(--pink-primary);
  color: #fff;
  transform: translateY(-1px);
}

.card-visual {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blush) 0%, var(--pink-light) 60%, var(--sand) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}

.card-body { padding: var(--sp-lg); flex: 1; display: flex; flex-direction: column; gap: var(--sp-sm); }
.card-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--pink-primary-dark); }
.card-title { font-family: var(--font-head); font-size: 1.05rem; line-height: var(--leading-snug); color: var(--text); transition: color var(--t-fast); }
.card:hover .card-title { color: var(--pink-primary-dark); }
.card-excerpt { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.card-footer { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-md) var(--sp-lg); border-top: 1px solid var(--border-soft); font-size: 0.78rem; color: var(--text-subtle); }

.card-link { text-decoration: none; color: var(--pink-primary-dark); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 3px; transition: gap var(--t-fast), color var(--t-fast); }
.card-link:hover { gap: 6px; color: var(--pink-primary-deep); text-decoration: none; }

/* ============================================================
  17. CALLOUT BOXES
   ============================================================ */

.callout {
  padding: var(--sp-lg) var(--sp-xl); border-radius: var(--r-lg);
  border-left: 4px solid var(--pink-primary); background: var(--blush-pale);
  position: relative; overflow: hidden;
}
.callout--sand    { border-left-color: var(--sand-deep);   background: var(--cream); }
.callout--success { border-left-color: var(--success);     background: #f0faf5; }
.callout--warning { border-left-color: var(--warning);     background: #fdf8ed; }

.callout-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: var(--sp-xs); }
.callout p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.note {
  display: flex; align-items: flex-start; gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--cream); border: 1px solid var(--sand-border);
  border-radius: var(--r-md); font-size: 0.85rem; color: var(--text-muted); line-height: 1.65;
}
.note::before { content: 'i'; flex-shrink: 0; color: var(--pink-primary-dark); font-size: 0.9rem; font-weight: 700; font-style: italic; line-height: 1.4; }

/* ============================================================
  18. QUOTE BLOCKS
   ============================================================ */

blockquote, .quote-block {
  position: relative; padding: var(--sp-xl) var(--sp-2xl);
  background: linear-gradient(135deg, var(--blush-pale), var(--cream));
  border-radius: var(--r-xl); border: 1px solid var(--border-soft);
  margin: var(--sp-2xl) 0;
}
blockquote::before, .quote-block::before {
  content: '\201C'; font-family: var(--font-head); font-size: 5rem; line-height: 1;
  color: var(--pink-light); position: absolute; top: var(--sp-md); left: var(--sp-xl); pointer-events: none;
}
blockquote p, .quote-block p { font-family: var(--font-head); font-size: clamp(1rem, 1.6vw, 1.2rem); font-style: italic; color: var(--pink-primary-dark); line-height: 1.8; position: relative; z-index: 1; }

blockquote cite, .quote-attribution { display: block; margin-top: var(--sp-md); font-size: 0.82rem; font-style: normal; color: var(--text-subtle); font-weight: 600; }
.quote-attribution::before { content: '\2014 '; }

.pull-quote { text-align: center; padding: var(--sp-2xl); border-top: 3px solid var(--pink-primary); border-bottom: 3px solid var(--pink-primary); margin: var(--sp-2xl) 0; }
.pull-quote p { font-family: var(--font-head); font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-style: italic; color: var(--pink-primary-dark); line-height: 1.5; }

/* ============================================================
  19. DIVIDERS
   ============================================================ */

hr.divider { border: none; border-top: 1px solid var(--border-soft); margin: var(--sp-2xl) 0; }

.divider-dots { display: flex; align-items: center; justify-content: center; gap: var(--sp-sm); margin: var(--sp-2xl) 0; }
.divider-dots::before { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border)); }
.divider-dots::after  { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.divider-dots span { width: 6px; height: 6px; background: var(--pink-primary); border-radius: 50%; display: block; }

.border-top-pink { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--blush), var(--pink-primary), var(--pink-light)) 1; }

/* ============================================================
  20. NEWSLETTER / CTA STRIP
   ============================================================ */

.newsletter {
  background: linear-gradient(140deg, var(--pink-primary-dark) 0%, var(--pink-primary) 50%, var(--pink-light) 100%);
  padding: var(--sp-4xl) 0; text-align: center; position: relative; overflow: hidden;
}
.newsletter::before { content: ''; position: absolute; bottom: -80px; left: -60px; width: 280px; height: 240px; background: rgba(255,255,255,0.08); border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%; pointer-events: none; }
.newsletter::after  { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 200px; background: rgba(255,255,255,0.07); border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; pointer-events: none; }

.newsletter-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: #fff; margin-bottom: var(--sp-md); text-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.newsletter-subtitle { color: rgba(255,255,255,0.92); font-size: clamp(0.95rem, 1.4vw, 1.05rem); max-width: 50ch; margin-inline: auto; line-height: 1.85; margin-bottom: var(--sp-xl); }

.newsletter-form { max-width: 500px; margin-inline: auto; }
.form-inline { display: flex; gap: var(--sp-sm); }
.form-email { flex: 1; min-width: 0; padding: 0.85rem 1.35rem; border: 2px solid rgba(255,255,255,0.4); border-radius: var(--r-full); background: rgba(255,255,255,0.95); font-size: 0.95rem; color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.form-email:focus { outline: none; border-color: rgba(255,255,255,0.9); box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }
.form-email::placeholder { color: var(--text-subtle); }
.form-msg { margin-top: var(--sp-sm); font-size: 0.875rem; color: rgba(255,255,255,0.95); min-height: 1.4em; font-weight: 500; }

/* ============================================================
  21. PAGE BANNER
   ============================================================ */

.page-banner {
  background: linear-gradient(155deg, var(--blush) 0%, var(--pink-light) 50%, var(--cream) 100%);
  padding: var(--sp-4xl) 0 var(--sp-3xl); text-align: center;
  position: relative; overflow: hidden;
}
.page-banner::before { content: ''; position: absolute; top: -70px; right: -70px; width: 260px; height: 220px; background: var(--sand); border-radius: 52% 48% 62% 38% / 42% 52% 48% 58%; opacity: 0.38; pointer-events: none; }
.page-banner::after  { content: ''; position: absolute; bottom: -50px; left: -50px; width: 200px; height: 160px; background: var(--sand-deep); border-radius: 38% 62% 42% 58% / 58% 42% 58% 42%; opacity: 0.25; pointer-events: none; }

.page-banner-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--pink-primary-dark); margin-bottom: var(--sp-md); display: block; }
.page-banner-title { font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 3.1rem); color: var(--text); margin-bottom: var(--sp-lg); position: relative; z-index: 1; }
.page-banner-subtitle { font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--text-muted); max-width: 58ch; margin-inline: auto; line-height: 1.9; position: relative; z-index: 1; }

/* ============================================================
  22. CONTENT SECTIONS
   ============================================================ */

.content-section      { padding: var(--sp-4xl) 0; }
.content-section--alt { background: var(--off-white); }
.content-section--white { background: var(--white); }
.content-section--cream { background: var(--cream); }

/* ============================================================
  Blog invitation section (focused styles)
   ============================================================ */
.blog-invite { padding: var(--sp-4xl) 0; }
.blog-invite__content { order: 1; }
.blog-invite__visual  { order: 2; display:flex;align-items:center;justify-content:center; }
.blog-invite__content .section-label { color: var(--pink-primary-dark); font-weight:700; }
.blog-invite__content h2 { font-family: var(--font-head); margin-top: var(--sp-sm); }
.blog-invite__actions .btn { min-width: 160px; }

@media (max-width: 800px) {
  .blog-invite > .container > div { grid-template-columns: 1fr !important; }
  .blog-invite__content { margin-bottom: var(--sp-lg); }
}

/* ============================================================
  Article pages
   ============================================================ */
.article-hero { padding: var(--sp-4xl) 0; background: linear-gradient(155deg, var(--blush) 0%, var(--cream) 100%); }
.article-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-3xl); align-items: center; }
.article-hero__content h1 { margin: var(--sp-sm) 0 var(--sp-md); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-bottom: var(--sp-sm); }
.article-reading-time { font-size: 0.82rem; font-weight: 700; color: var(--pink-primary-deep); }
.article-dek { max-width: 60ch; font-size: 1.02rem; line-height: 1.85; color: var(--text-muted); }
.article-hero__visual { display: flex; justify-content: center; }
.article-body { padding: var(--sp-4xl) 0; }
.article-content { max-width: 760px; margin-inline: auto; }
.article-section + .article-section { margin-top: var(--sp-2xl); }
.article-section h2 { margin-bottom: var(--sp-md); }
.article-section p { color: var(--text-muted); line-height: 1.9; }
.article-section ul { margin: var(--sp-md) 0 0; padding-left: 1.2rem; }
.article-section li { color: var(--text-muted); line-height: 1.8; margin-bottom: var(--sp-sm); }
.article-sources { margin-top: var(--sp-2xl); padding: var(--sp-xl); border: 1.5px solid var(--border-soft); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.article-sources h2 { margin-bottom: var(--sp-md); }
.article-sources ul { padding-left: 1.2rem; }
.article-sources li { word-break: break-word; overflow-wrap: anywhere; }
.article-cta { padding: var(--sp-3xl) 0 var(--sp-4xl); }
.article-cta__card { max-width: 760px; margin-inline: auto; padding: var(--sp-2xl); background: linear-gradient(135deg, var(--blush-pale), var(--cream)); border: 1.5px solid var(--border-soft); border-radius: var(--r-xl); text-align: center; }
.article-cta__actions { display: flex; gap: var(--sp-md); flex-wrap: wrap; justify-content: center; margin-top: var(--sp-lg); }

@media (max-width: 900px) {
  .article-hero__grid { grid-template-columns: 1fr; }
  .article-hero__visual { order: 2; }
  .article-hero__content { order: 1; }
}

/* ============================================================
  23. FILTER BAR
   ============================================================ */

.filter-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--white); border-radius: var(--r-lg);
  border: 1.5px solid var(--border-soft); box-shadow: var(--shadow-xs);
}
.filter-btn {
  padding: 0.44rem 1.1rem; border-radius: var(--r-full);
  font-size: 0.84rem; font-weight: 500;
  border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted);
  cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.filter-btn:hover { background: var(--blush); border-color: var(--pink-primary); color: var(--pink-primary-dark); }
.filter-btn.active { background: var(--pink-primary); border-color: var(--pink-primary); color: #fff; font-weight: 600; box-shadow: var(--shadow-sm); }
.filter-btn:focus-visible { outline: 3px solid var(--pink-primary); outline-offset: 2px; }

/* ============================================================
  24. CONTACT FORM
   ============================================================ */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); align-items: start; }

.form-group { display: flex; flex-direction: column; gap: var(--sp-xs); margin-bottom: var(--sp-lg); }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.form-field {
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  background: var(--white); font-size: 0.95rem; color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  box-shadow: var(--shadow-xs);
}
.form-field:hover { border-color: var(--pink-primary); }
.form-field:focus { outline: none; border-color: var(--pink-primary); box-shadow: 0 0 0 3px rgba(237,154,186,0.2); background: var(--off-white); }
.form-field::placeholder { color: var(--text-subtle); }
textarea.form-field { resize: vertical; min-height: 150px; line-height: 1.7; }
select.form-field { cursor: pointer; }
.contact-form__status { margin-top: var(--sp-sm); padding: 0.85rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--pink-primary-dark); min-height: 1.4em; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-md); }
.contact-form__status--success { color: #2f7b52; background: rgba(61, 170, 109, 0.09); border-color: rgba(61, 170, 109, 0.24); }
.contact-form__status--error { color: #9a3e5c; background: rgba(237, 154, 186, 0.14); border-color: rgba(237, 154, 186, 0.32); }
.contact-form__safety-note { margin: 0 0 var(--sp-md); padding: 0.95rem 1rem; border: 1px solid rgba(237, 154, 186, 0.22); border-radius: var(--r-md); background: linear-gradient(180deg, #fff8fb 0%, #fffaf6 100%); color: var(--text-muted); font-size: 0.84rem; line-height: 1.7; }
.contact-form__privacy-note { margin-top: var(--sp-md); padding: var(--sp-lg); background: var(--off-white); border-radius: var(--r-md); border: 1px solid var(--border); }
.contact-form__privacy-note p { margin: 0; font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
  25. VALUES GRID
   ============================================================ */

.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-lg); }

.value-card {
  background: var(--white); border: 1.5px solid var(--border-soft);
  border-radius: var(--r-lg); padding: var(--sp-xl); text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.value-icon { margin-inline: auto; margin-bottom: var(--sp-md); background: var(--blush); border-radius: 50%; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; transition: background var(--t-base), transform var(--t-base); }
.value-card:hover .value-icon { background: var(--pink-light); transform: scale(1.1) rotate(-5deg); }
.value-title { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: var(--sp-sm); color: var(--text); }
.value-desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
  26. EMPTY STATES
   ============================================================ */

.empty-state { text-align: center; padding: var(--sp-3xl) var(--sp-xl); color: var(--text-muted); font-size: 0.95rem; }

.placeholder-card { background: linear-gradient(135deg, var(--blush-pale), var(--cream)); border: 2px dashed var(--border); border-radius: var(--r-lg); padding: var(--sp-3xl) var(--sp-xl); text-align: center; color: var(--text-subtle); font-size: 0.9rem; }
.placeholder-card::before { content: '\2726'; display: block; font-size: 2rem; color: var(--pink-light); margin-bottom: var(--sp-md); }

.coming-soon { display: inline-flex; align-items: center; gap: var(--sp-xs); padding: 0.3em 0.9em; background: var(--cream); color: var(--text-subtle); border: 1px solid var(--sand-border); border-radius: var(--r-full); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }

/* ============================================================
  27. BREADCRUMB
   ============================================================ */

.breadcrumb { display: flex; align-items: center; gap: var(--sp-xs); flex-wrap: wrap; font-size: 0.78rem; color: var(--text-subtle); margin-bottom: var(--sp-md); }
.breadcrumb a { color: var(--text-subtle); text-decoration: none; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--pink-primary-dark); }
.breadcrumb-sep { color: var(--border); user-select: none; }
.breadcrumb-current { color: var(--text-muted); font-weight: 500; }

/* ============================================================
  28. FOOTER
   ============================================================ */

.site-footer { background: var(--text); color: var(--blush); padding: var(--sp-3xl) 0 var(--sp-xl); position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: -100px; right: -100px; width: 320px; height: 260px; background: rgba(237,154,186,0.05); border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%; pointer-events: none; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--sp-2xl); margin-bottom: var(--sp-2xl); }

.footer-brand .logo-wordmark     { color: var(--blush); font-size: 1.05rem; }
.footer-brand .logo-wordmark span{ color: var(--pink-light); }
.footer-tagline { font-size: 0.875rem; color: rgba(252,215,215,0.55); margin-top: var(--sp-sm); line-height: 1.7; max-width: 28ch; }

.footer-heading { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--pink-light); margin-bottom: var(--sp-md); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-links a { font-size: 0.875rem; color: rgba(252,215,215,0.65); text-decoration: none; transition: color var(--t-fast), padding-left var(--t-fast); display: inline-block; }
.footer-links a:hover { color: var(--pink-light); padding-left: 4px; }

.footer-bottom { border-top: 1px solid rgba(252,215,215,0.10); padding-top: var(--sp-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-sm); font-size: 0.78rem; color: rgba(252,215,215,0.38); }
.footer-bottom a { color: rgba(252,215,215,0.55); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--pink-light); }

/* === Footer copyright line === */
footer.site-footer::after {
  content: "© 2026 Her Future STEM. Student project. All rights reserved.";
  display: block;
  width: 100%;
  flex-basis: 100%;
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.78;
}

footer.site-footer .footer-bottom > p {
  display: none;
}

/* ============================================================
  29. UTILITIES
   ============================================================ */

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-muted); }
.text-subtle  { color: var(--text-subtle); }
.text-pink    { color: var(--pink-primary-dark); }
.text-italic  { font-style: italic; }
.font-head    { font-family: var(--font-head); }
.font-bold    { font-weight: 700; }

.mt-xs  { margin-top: var(--sp-xs); }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mb-sm  { margin-bottom: var(--sp-sm); }
.mb-md  { margin-bottom: var(--sp-md); }
.mb-lg  { margin-bottom: var(--sp-lg); }
.mb-xl  { margin-bottom: var(--sp-xl); }

.flex            { display: flex; }
.flex-col        { display: flex; flex-direction: column; }
.items-center    { align-items: center; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap       { flex-wrap: wrap; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }

.w-full     { width: 100%; }
.max-narrow { max-width: var(--max-w-narrow); margin-inline: auto; }

.hidden     { display: none; }
.invisible  { visibility: hidden; }
.rounded-full { border-radius: var(--r-full); }
.rounded-lg   { border-radius: var(--r-lg); }

/* ============================================================
  30. RESPONSIVE & PRINT
   ============================================================ */

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

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; text-align: center; padding: var(--sp-3xl) var(--sp-xl); }
  .hero-visual { order: -1; }
  .hero-svg   { width: min(100%, 340px); }
  .hero-ctas  { justify-content: center; }
  .hero-content { align-items: center; }
  .hero-subtitle { margin-inline: auto; }
  .why-rep-inner { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,249,251,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column; align-items: flex-start;
    padding: var(--sp-md) var(--sp-xl) var(--sp-lg);
    gap: var(--sp-xs); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform var(--t-base), opacity var(--t-base);
    z-index: var(--z-dropdown);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { width: 100%; padding: 0.7rem 1rem; font-size: 0.95rem; }
  .nav-link::after { display: none; }
  .nav-link--cta { margin-left: 0; margin-top: var(--sp-xs); }

  .pillars-grid  { grid-template-columns: 1fr; }
  .cards-grid    { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .why-rep-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }

  .form-inline   { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .container     { padding-inline: var(--sp-lg); }
  .filter-bar    { padding: var(--sp-sm) var(--sp-md); }

  .homepage-preview-grid,
  .homepage-engineering-cards {
    grid-template-columns: 1fr !important;
    gap: var(--sp-lg) !important;
  }

  .homepage-engineering-cards {
    justify-items: stretch;
  }

  .homepage-preview-grid > *,
  .homepage-engineering-cards > * {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .hero-ctas    { flex-direction: column; align-items: stretch; }
  .btn          { width: 100%; max-width: 320px; align-self: center; }
  .why-rep-stats{ grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .container    { padding-inline: var(--sp-md); }
  .page-banner  { padding: var(--sp-2xl) 0 var(--sp-xl); }

  .homepage-preview-grid,
  .homepage-engineering-cards {
    gap: var(--sp-md) !important;
  }

  .homepage-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .homepage-cta-row .btn {
    max-width: 100%;
  }
}

@media print {
  .site-header, .site-footer, .newsletter, .filter-bar { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

