/* ICPA — International Commission for Professional Accreditation */
/* ICF-inspired design system */

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: #1A1A2E;
  font-feature-settings: 'ss01', 'cv01';
}

.font-display {
  font-family: 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 800;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ICF-style stacked headline class */
.headline-stacked {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #F9F8F4;
}
::-webkit-scrollbar-thumb {
  background: #343DAA;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2A3290;
}

/* Selection */
::selection {
  background-color: #343DAA;
  color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
section {
  animation: fadeInUp 0.6s ease-out;
}

/* Aspect ratios */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }

/* Print styles */
@media print {
  header, footer, .no-print { display: none !important; }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #D4A437;
  outline-offset: 2px;
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(0,0,0,0.1);
  border-top: 3px solid #343DAA;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ICF-style large headline numbers */
.icf-big-num {
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

/* Card hover lift */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
}

/* Pill button base */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}
.btn-pill-primary {
  background-color: #343DAA;
  color: white;
}
.btn-pill-primary:hover {
  background-color: #2A3290;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(52, 61, 170, 0.5);
}
.btn-pill-mustard {
  background-color: #D4A437;
  color: #1A1A2E;
}
.btn-pill-mustard:hover {
  background-color: #B88B27;
  transform: translateY(-1px);
}
.btn-pill-outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-pill-outline:hover {
  border-color: #D4A437;
  color: #D4A437;
}

/* Prose content for news articles */
.prose-content p { margin-bottom: 1rem; line-height: 1.75; }
.prose-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-content li { margin-bottom: 0.4rem; }
.prose-content strong { color: #343DAA; font-weight: 700; }
.prose-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1A1A2E;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.prose-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.prose-content a {
  color: #343DAA;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.prose-content blockquote {
  border-left: 4px solid #D4A437;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4a5568;
}

/* ICF-style section dividers (color block transitions) */
.section-block-cream {
  background-color: #F5F0E6;
}
.section-block-blue {
  background-color: #343DAA;
  color: white;
}
.section-block-sand {
  background-color: #E8DFC8;
}

/* Image cutout shadow effect */
.cutout-shadow {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* Decorative dot accent */
.dot-accent::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4A437;
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* Wavy underline under section labels */
.section-label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #343DAA;
  display: inline-flex;
  align-items: center;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: #D4A437;
  margin-right: 0.75rem;
}
