/**
 * YCR GreenHope — Main Stylesheet
 * Desktop First Architecture
 * Typography: Cormorant Garamond + DM Sans
 * Palette: Deep Teal · Warm Gold · Ivory
 */

/* ═════════════════════════════════════════
   DESIGN TOKENS
   ═════════════════════════════════════════ */
:root {
  --ycr-teal-900: #1a2e38;
  --ycr-teal-800: #243e4c;
  --ycr-teal-700: #2e4f60;
  --ycr-teal-600: #3d5a6c;
  --ycr-teal-500: #4d7085;
  --ycr-teal-400: #6a8fa0;
  --ycr-teal-300: #91b3c4;
  --ycr-teal-200: #bfd4de;
  --ycr-teal-100: #e2edf3;
  --ycr-teal-50:  #f0f6f9;
  --ycr-gold-700: #b89620;
  --ycr-gold-600: #c9a822;
  --ycr-gold-500: #e8c547;
  --ycr-gold-400: #edcf6b;
  --ycr-gold-300: #f3dd96;
  --ycr-gold-100: #fdf6d8;
  --ycr-stone-900: #1c1a17;
  --ycr-stone-800: #2e2b24;
  --ycr-stone-700: #4a4540;
  --ycr-stone-600: #6b645c;
  --ycr-stone-500: #8a8279;
  --ycr-stone-400: #aba29a;
  --ycr-stone-300: #c8c3bc;
  --ycr-stone-200: #e1ddd8;
  --ycr-stone-100: #f2f0ed;
  --ycr-stone-50:  #faf9f7;
  --ycr-ivory: #fdf8f0;
  --ycr-white: #ffffff;
  --color-bg: var(--ycr-white);
  --color-surface: var(--ycr-stone-50);
  --color-text: var(--ycr-stone-900);
  --color-text-secondary: var(--ycr-stone-600);
  --color-border: var(--ycr-stone-200);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 5rem;
  --text-hero: clamp(3.5rem, 6vw, 6rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --container-max: 1280px;
  --container-pad: 3rem;
  --header-height: 72px;
  --announcement-height: 40px;
  --shadow-sm: 0 1px 3px rgba(28, 26, 23, 0.08);
  --shadow-md: 0 4px 12px rgba(28, 26, 23, 0.10);
  --shadow-lg: 0 12px 32px rgba(28, 26, 23, 0.12);
  --shadow-xl: 0 24px 48px rgba(28, 26, 23, 0.15);
  --shadow-teal: 0 8px 24px rgba(61, 90, 108, 0.25);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 400ms;
}

/* ═════════════════════════════════════════
   RESET & BASE
   ═════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a {
  color: var(--ycr-teal-600);
  text-decoration: none;
  transition: color var(--transition-fast) var(--ease-out);
}
a:hover { color: var(--ycr-teal-800); }
a:focus-visible {
  outline: 2px solid var(--ycr-gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--ycr-teal-600);
  color: var(--ycr-white);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 0 0 8px 8px;
  transition: top var(--transition-fast) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ═════════════════════════════════════════
   LAYOUT
   ═════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.ycr-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ═════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═════════════════════════════════════════ */
.announcement-bar {
  background: var(--ycr-teal-900);
  color: var(--ycr-teal-200);
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}
.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.announcement-text {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ycr-stone-300);
}
.announcement-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ycr-gold-500);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.announcement-link {
  color: var(--ycr-gold-400);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
  transition: color var(--transition-fast) var(--ease-out);
}
.announcement-link:hover { color: var(--ycr-gold-300); }

/* ═════════════════════════════════════════
   HEADER & NAVIGATION
   ═════════════════════════════════════════ */
.ycr-header {
  position: relative;
  height: var(--header-height);
  background: var(--ycr-stone-100);
  border-bottom: 1px solid var(--color-border);
  z-index: 200;
  transition: box-shadow var(--transition-base) var(--ease-out),
              background var(--transition-base) var(--ease-out);
}
.ycr-header.is-sticky {
  position: sticky;
  top: 0;
}
.ycr-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(242, 240, 237, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-6);
}

/* Brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  color: var(--color-text);
}
.brand-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: transform var(--transition-base) var(--ease-out);
}
.brand-link:hover .brand-logo {
  transform: rotate(-3deg) scale(1.05);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ycr-teal-700);
  letter-spacing: -0.01em;
}
.brand-subtitle {
  font-size: var(--text-xs);
  color: var(--ycr-stone-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.header-nav ul li {
  margin-right: var(--space-2);
}
.header-nav ul li:last-child {
  margin-right: 0;
}
.header-nav ul li {
  position: relative;
}
.header-nav ul li a,
.header-nav ul li span {
  display: flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ycr-stone-900);
  letter-spacing: 0.01em;
  position: relative;
  white-space: nowrap;
  border-radius: 4px;
}
.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--space-4);
  right: var(--space-4);
  height: 1.5px;
  background: var(--ycr-teal-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base) var(--ease-out);
}
.header-nav ul li a:hover,
.header-nav ul li.active a {
  color: var(--ycr-teal-700);
}
.header-nav ul li a:hover::after,
.header-nav ul li.active a::after { 
  transform: scaleX(1); 
}

/* Dropdown - ymflow.eu style with cream background */
.header-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 220px;
  background: var(--ycr-stone-100);
  border: 1px solid var(--ycr-stone-200);
  border-top: 2px solid var(--ycr-gold-500);
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-base) var(--ease-out),
              transform var(--transition-base) var(--ease-out),
              visibility var(--transition-base);
  display: flex;
  flex-direction: column;
  z-index: 300;
}
.header-nav ul li:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-nav ul ul li {
  margin: 0;
  width: 100%;
}
.header-nav ul ul li a {
  padding: var(--space-3) var(--space-5);
  border-radius: 0;
  width: 100%;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ycr-stone-700);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast) var(--ease-out);
}
.header-nav ul ul li a:hover {
  background: var(--ycr-gold-100);
  color: var(--ycr-stone-900);
  border-left-color: var(--ycr-gold-500);
  padding-left: calc(var(--space-5) + 4px);
}
.header-nav ul ul li a::after { display: none; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
  flex-shrink: 0;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  padding: var(--space-2);
  transition: background var(--transition-fast) var(--ease-out);
}
.nav-toggle:hover { background: var(--ycr-teal-50); }
.toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ycr-stone-700);
  transition: transform var(--transition-base) var(--ease-out),
              opacity var(--transition-base) var(--ease-out);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Overlay - Cream background with black text */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  top: calc(var(--announcement-height) + var(--header-height));
  background: var(--ycr-stone-100);
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity var(--transition-slow) var(--ease-out),
              transform var(--transition-slow) var(--ease-out),
              visibility var(--transition-slow);
  overflow-y: auto;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-nav-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-8);
}
.mobile-nav-overlay ul li a,
.mobile-nav-overlay ul li span,
.mobile-nav-overlay ul li button {
  display: block;
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--ycr-stone-900);
  border-bottom: 1px solid var(--ycr-stone-200);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: color var(--transition-fast) var(--ease-out),
              padding-left var(--transition-fast) var(--ease-out);
}
.mobile-nav-overlay ul li a:hover,
.mobile-nav-overlay ul li span:hover,
.mobile-nav-overlay ul li button:hover {
  color: var(--ycr-gold-600);
  padding-left: var(--space-4);
}

/* Mobile Dropdown Submenu */
.mobile-nav-overlay ul ul {
  display: none;
  background: var(--ycr-stone-50);
  margin: 0;
  padding: var(--space-2) 0;
  border-left: 2px solid var(--ycr-gold-500);
}
.mobile-nav-overlay ul li.open > ul,
.mobile-nav-overlay ul li.active > ul {
  display: flex;
  flex-direction: column;
}
.mobile-nav-overlay ul ul li a {
  font-size: var(--text-lg);
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
  color: var(--ycr-stone-700);
  border-bottom: none;
}
.mobile-nav-overlay ul ul li a:hover {
  color: var(--ycr-stone-900);
  padding-left: var(--space-6);
}

/* Parent item indicator */
.mobile-nav-overlay ul li.parent > button::after,
.mobile-nav-overlay ul li.deeper > button::after,
.mobile-nav-overlay ul li.parent > span::after,
.mobile-nav-overlay ul li.deeper > span::after {
  content: '+';
  margin-left: auto;
  font-size: var(--text-xl);
  color: var(--ycr-gold-500);
  transition: transform var(--transition-fast) var(--ease-out);
}
.mobile-nav-overlay ul li.open > button::after,
.mobile-nav-overlay ul li.open > span::after {
  content: '-';
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.tagline-mobile {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ycr-gold-400);
  opacity: 0.8;
}

/* ═════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity var(--transition-fast) var(--ease-out);
}
.btn:hover::before { opacity: 0.08; }
.btn-primary {
  background: var(--ycr-teal-600);
  border-color: var(--ycr-teal-600);
  color: var(--ycr-white);
  box-shadow: 0 2px 8px rgba(61, 90, 108, 0.25);
}
.btn-primary:hover {
  background: var(--ycr-teal-700);
  border-color: var(--ycr-teal-700);
  box-shadow: var(--shadow-teal);
  transform: translateY(-1px);
  color: var(--ycr-white);
}
.btn-gold {
  background: var(--ycr-gold-500);
  border-color: var(--ycr-gold-500);
  color: var(--ycr-teal-900);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232, 197, 71, 0.30);
}
.btn-gold:hover {
  background: var(--ycr-gold-600);
  border-color: var(--ycr-gold-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 197, 71, 0.35);
  color: var(--ycr-teal-900);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ycr-stone-300);
  color: var(--ycr-stone-700);
}
.btn-ghost:hover {
  border-color: var(--ycr-teal-600);
  color: var(--ycr-teal-700);
  background: var(--ycr-teal-50);
}
.btn-outline {
  background: transparent;
  border-color: var(--ycr-teal-600);
  color: var(--ycr-teal-600);
}
.btn-outline:hover {
  background: var(--ycr-teal-600);
  color: var(--ycr-white);
}
.btn-ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--ycr-white);
}
.btn-ghost-white:hover {
  border-color: var(--ycr-white);
  background: rgba(255,255,255,0.10);
  color: var(--ycr-white);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ═════════════════════════════════════════
   HERO SECTION
   ═════════════════════════════════════════ */
.ycr-hero {
  position: relative;
  background-color: var(--ycr-ivory);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-home {
  min-height: calc(100vh - var(--announcement-height) - var(--header-height));
  display: flex;
  align-items: center;
  padding-block: var(--space-24);
}
.hero-inner {
  padding-block: var(--space-16);
  background: var(--ycr-teal-50);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: var(--space-6); }
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--ycr-teal-100);
  color: var(--ycr-teal-700);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  border: 1px solid var(--ycr-teal-200);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ycr-teal-900);
  margin-bottom: var(--space-8);
}
.headline-line { display: block; }
.headline-line--2,
.headline-line--4 {
  color: var(--ycr-teal-600);
  font-style: italic;
}
.hero-body {
  font-size: var(--text-lg);
  color: var(--ycr-stone-600);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: var(--space-10);
  font-weight: 300;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

/* Hero Pillars */
.hero-pillars {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ycr-teal-100);
  border-radius: 50%;
  font-size: var(--text-xl);
  color: var(--ycr-teal-700);
}
.pillar-label {
  font-size: var(--text-xs);
  color: var(--ycr-stone-600);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
}
.hero-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-geo {
  position: absolute;
  border-radius: 50%;
}
.geo-circle-lg {
  width: 90%;
  height: 90%;
  border: 1px solid var(--ycr-teal-200);
  animation: slow-rotate 30s linear infinite;
}
.geo-circle-sm {
  width: 70%;
  height: 70%;
  border: 1px dashed var(--ycr-gold-300);
  animation: slow-rotate 20s linear infinite reverse;
}
.geo-arc {
  width: 55%;
  height: 55%;
  border: 3px solid transparent;
  border-top-color: var(--ycr-teal-300);
  border-right-color: var(--ycr-teal-300);
  animation: slow-rotate 8s linear infinite;
}
.geo-dot-grid {
  width: 80%;
  height: 80%;
  background-image: radial-gradient(circle, var(--ycr-teal-200) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  border-radius: 50%;
  animation: pulse-gentle 4s ease-in-out infinite;
}
@keyframes slow-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse-gentle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
.hero-emblem {
  position: relative;
  z-index: 2;
  width: 55%;
  filter: drop-shadow(0 20px 40px rgba(61, 90, 108, 0.25));
  animation: float-emblem 6s ease-in-out infinite;
}
@keyframes float-emblem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ═════════════════════════════════════════
   FEATURES SECTION
   ═════════════════════════════════════════ */
.ycr-features {
  padding-block: var(--space-24);
  background: var(--ycr-stone-50);
  position: relative;
  overflow: hidden;
}
.ycr-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.features-header {
  max-width: 600px;
  margin-bottom: var(--space-16);
}
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ycr-teal-500);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--ycr-gold-500);
}
.section-label--light {
  color: var(--ycr-gold-400);
  border-bottom-color: rgba(232, 197, 71, 0.4);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ycr-teal-900);
  margin-bottom: var(--space-6);
}
.section-lead {
  font-size: var(--text-lg);
  color: var(--ycr-stone-600);
  line-height: 1.65;
  font-weight: 300;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  background: var(--ycr-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow) var(--ease-out),
              box-shadow var(--transition-slow) var(--ease-out),
              border-color var(--transition-base) var(--ease-out);
  cursor: default;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ycr-teal-300), var(--ycr-gold-400));
  opacity: 0;
  transition: opacity var(--transition-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--ycr-teal-200);
}
.feature-card:hover::before { opacity: 1; }
.feature-card--accent {
  background: var(--ycr-teal-600);
  border-color: var(--ycr-teal-600);
}
.feature-card--accent .feature-number,
.feature-card--accent .feature-title,
.feature-card--accent .feature-body {
  color: var(--ycr-white);
}
.feature-card--accent .feature-link { color: var(--ycr-gold-400); }
.feature-card--accent:hover { background: var(--ycr-teal-700); border-color: var(--ycr-teal-500); }
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-6);
}
.feature-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--ycr-stone-300);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--ycr-teal-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.feature-body {
  font-size: var(--text-base);
  color: var(--ycr-stone-600);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: var(--space-6);
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ycr-teal-600);
  transition: gap var(--transition-fast) var(--ease-out);
}
.feature-link:hover { gap: var(--space-3); }

/* ═════════════════════════════════════════
   MAIN CONTENT & SIDEBARS
   ═════════════════════════════════════════ */
.ycr-main {
  flex: 1;
  padding-block: var(--space-16);
}
.main-layout {
  display: grid;
  gap: var(--space-12);
}
.col-content { grid-template-columns: 1fr; }
.col-content-right { grid-template-columns: 1fr 280px; }
.col-content-left  { grid-template-columns: 280px 1fr; }
.col-content-both  { grid-template-columns: 240px 1fr 240px; }

/* Content Typography */
.ycr-content h1, .ycr-content h2, .ycr-content h3,
.ycr-content h4, .ycr-content h5, .ycr-content h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ycr-teal-900);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}
.ycr-content h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; margin-top: 0; }
.ycr-content h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
.ycr-content h3 { font-size: var(--text-3xl); }
.ycr-content h4 { font-size: var(--text-2xl); }
.ycr-content h5 { font-size: var(--text-xl); }
.ycr-content h6 { font-size: var(--text-lg); }

.ycr-content p {
  font-size: var(--text-md);
  line-height: 1.8;
  color: var(--ycr-stone-700);
  margin-bottom: var(--space-6);
  font-weight: 300;
}

.ycr-content ul {
  margin-bottom: var(--space-6);
  padding-left: 0;
  list-style: none;
}

.ycr-content ul li {
  padding-left: var(--space-6);
  position: relative;
  margin-bottom: var(--space-3);
  color: var(--ycr-stone-700);
  line-height: 1.7;
}

.ycr-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ycr-gold-500);
}

.ycr-content blockquote {
  margin: var(--space-10) 0;
  padding: var(--space-6) var(--space-8);
  border-left: 4px solid var(--ycr-gold-500);
  background: var(--ycr-teal-50);
  border-radius: 0 24px 24px 0;
}

.ycr-content blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--ycr-teal-800);
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Article Page Enhancements - Match Homepage */
.ycr-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ycr-teal-200), transparent);
  margin: var(--space-12) 0;
}

.ycr-content img {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 46, 56, 0.12);
  margin: var(--space-6) 0;
  max-width: 100%;
  height: auto;
}

.ycr-content strong {
  color: var(--ycr-teal-800);
  font-weight: 500;
}

/* Page Header Styling */
.page-header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--ycr-teal-100);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  color: var(--ycr-teal-900);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.page-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--ycr-gold-500);
  margin: var(--space-6) auto 0;
  border-radius: 2px;
}

/* Article Section Labels */
.ycr-content h3 {
  position: relative;
  padding-top: var(--space-4);
}

.ycr-content h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--ycr-gold-500);
}

/* Numbered sections styling */
.ycr-content h2 + h3 {
  margin-top: var(--space-6);
}

/* Better list styling for articles */
.ycr-content ul li strong {
  color: var(--ycr-teal-700);
}

/* ═════════════════════════════════════════
   CTA BAND
   ═════════════════════════════════════════ */
.ycr-cta-band {
  background: var(--ycr-teal-800);
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

.ycr-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 197, 71, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(61, 90, 108, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ycr-white);
  margin-bottom: var(--space-6);
}

.cta-body {
  font-size: var(--text-lg);
  color: var(--ycr-teal-200);
  line-height: 1.65;
  font-weight: 300;
  max-width: 50ch;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cta-geo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-geo-1 {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.05);
  top: -100px;
  right: -100px;
}

.cta-geo-2 {
  width: 250px;
  height: 250px;
  border: 1px solid rgba(232, 197, 71, 0.08);
  bottom: -60px;
  right: 120px;
}

/* ═════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════ */
.ycr-footer {
  background: var(--ycr-teal-900);
  color: var(--ycr-teal-200);
  padding-top: var(--space-24);
}

.footer-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-10);
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  color: inherit;
}

.footer-logo { width: 52px; height: 52px; }

.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ycr-white);
  line-height: 1.1;
}
.footer-brand-sub {
  font-size: var(--text-xs);
  color: var(--ycr-teal-300);
  letter-spacing: 0.06em;
}

.footer-mission {
  font-size: var(--text-sm);
  color: var(--ycr-teal-300);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: var(--space-6);
  max-width: 36ch;
}

.footer-accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.accred-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  font-size: var(--text-xs);
  color: var(--ycr-teal-300);
  letter-spacing: 0.06em;
  font-weight: 500;
  cursor: default;
  transition: border-color var(--transition-fast) var(--ease-out), color var(--transition-fast) var(--ease-out);
}

.accred-badge:hover { border-color: var(--ycr-gold-500); color: var(--ycr-gold-400); }

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.footer-nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ycr-white);
  margin-bottom: var(--space-5);
}

.footer-nav-list { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-nav-list a,
.footer-contact a,
.footer-contact p {
  font-size: var(--text-sm);
  color: var(--ycr-teal-300);
  font-weight: 300;
  transition: color var(--transition-fast) var(--ease-out);
  line-height: 1.5;
}

.footer-nav-list a:hover,
.footer-contact a:hover { color: var(--ycr-gold-400); }

.footer-contact { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }

.footer-social { display: flex; gap: var(--space-3); }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: var(--ycr-teal-300);
  transition: all var(--transition-base) var(--ease-out);
}

.social-link svg { width: 16px; height: 16px; }

.social-link:hover {
  background: var(--ycr-gold-500);
  border-color: var(--ycr-gold-500);
  color: var(--ycr-teal-900);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-legal { font-size: var(--text-xs); color: var(--ycr-teal-500); }
.footer-legal-nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-legal-nav a { font-size: var(--text-xs); color: var(--ycr-teal-400); transition: color var(--transition-fast) var(--ease-out); }
.footer-legal-nav a:hover { color: var(--ycr-gold-400); }

.footer-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--ycr-teal-600);
  color: var(--ycr-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

/* ═════════════════════════════════════════
   ANIMATIONS
   ═════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .hero-headline .headline-line {
    opacity: 0;
    transform: translateY(24px);
    animation: slide-up 0.7s var(--ease-out) forwards;
  }
  .headline-line--1 { animation-delay: 0.1s; }
  .headline-line--2 { animation-delay: 0.2s; }
  .headline-line--3 { animation-delay: 0.3s; }
  .headline-line--4 { animation-delay: 0.4s; }

  .hero-body, .hero-cta-group, .hero-pillars {
    opacity: 0;
    transform: translateY(16px);
    animation: slide-up 0.6s var(--ease-out) forwards;
  }
  .hero-body { animation-delay: 0.55s; }
  .hero-cta-group { animation-delay: 0.65s; }
  .hero-pillars { animation-delay: 0.75s; }

  .hero-visual {
    opacity: 0;
    animation: fade-in-scale 0.8s var(--ease-out) 0.3s forwards;
  }
}

@keyframes slide-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ═════════════════════════════════════════
   MOBILE RESPONSIVE - OPTIMIZED FOR MOBILE
   ═════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --container-pad: 1.5rem;
    --header-height: 64px;
  }
  
  .header-nav {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .hero-visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-band-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  :root {
    --container-pad: 1rem;
    --text-hero: clamp(2.5rem, 12vw, 3.5rem);
  }
  
  .announcement-bar {
    display: none;
  }
  
  .brand-text {
    display: none;
  }
  
  .hero-home {
    min-height: auto;
    padding-block: var(--space-12);
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .hero-pillars {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-6);
  }
  
  .pillar-icon {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }
  
  .ycr-features {
    padding-block: var(--space-16);
  }
  
  .feature-card {
    padding: var(--space-6);
  }
  
  .ycr-cta-band {
    padding-block: var(--space-16);
  }
  
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
}

/* Mobile Navigation Menu Styling */
.mobile-nav-overlay ul li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure desktop menu items stay on one line */
.header-nav ul li a {
  white-space: nowrap;
}

/* Hide long menu text on smaller desktops */
@media (max-width: 1200px) and (min-width: 1025px) {
  .header-nav ul li a {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8rem;
  }
}
