/* CRP Corporate Site — Main Stylesheet
   Uses CRP Design System tokens (colors_and_type.css)
   Phase 1: Squarespace mirror with CRP brand DNA
*/

/* ═══ Font Faces ═══ */
@font-face { font-family: 'Area Normal'; src: url('../fonts/Area_Thin.woff2') format('woff2'), url('../fonts/Area_Thin.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('../fonts/Area_Regular.woff2') format('woff2'), url('../fonts/Area_Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('../fonts/Area_Regular_Italic.woff2') format('woff2'), url('../fonts/Area_Regular_Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('../fonts/Area_Semibold.woff2') format('woff2'), url('../fonts/Area_Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('../fonts/Area_Bold.woff2') format('woff2'), url('../fonts/Area_Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('../fonts/Area_Extrabold.woff2') format('woff2'), url('../fonts/Area_Extrabold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Market Pro'; src: url('../fonts/MarketPro.woff2') format('woff2'), url('../fonts/MarketPro.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

/* ═══ Design Tokens ═══ */
:root {
  --crp-navy:   #072061;
  --crp-blue:   #1843AD;
  --crp-cyan:   #A2DCEB;
  --crp-orange: #FF9933;

  --gradient-navy-blue: linear-gradient(135deg, #072061 0%, #1843AD 100%);
  --gradient-cyan-blue: linear-gradient(135deg, #A2DCEB 0%, #1843AD 100%);

  --bg:        #f0f4fa;
  --surface:   #FFFFFF;
  --border:    #c8d6e8;

  --fg-1: #072061;
  --fg-2: #3d5373;
  --fg-3: #5e7694;

  --font-sans: 'Area Normal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-script: 'Market Pro', 'Caveat', cursive;

  --shadow-sm: 0 1px 3px rgba(7,32,97,0.06);
  --shadow-md: 0 2px 12px rgba(26,39,68,0.08);
  --shadow-lg: 0 4px 16px rgba(7,32,97,0.10);
  --shadow-hover: 0 4px 16px rgba(24,67,173,0.15);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.2,.8,.2,1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crp-blue); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--crp-navy); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══ Body ═══ */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-1);
  background: #fff;
  overflow-x: hidden;
}

/* ═══ Layout ═══ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
  overflow-wrap: break-word;
}

/* ═══ Typography ═══ */
h1, .h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--crp-navy);
}
h2, .h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--crp-navy);
}
h3, .h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--crp-navy);
}
h4, .h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--crp-navy);
}
p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 16px;
}
.script {
  font-family: var(--font-script);
  color: var(--crp-orange);
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 8px;
}

/* ═══ Header / Navigation ═══ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  max-width: 100%;
  margin: 0;
  padding: 0 40px;
}
.header-logo img {
  height: 80px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--crp-blue);
}
.nav-links a.active {
  color: var(--crp-blue);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 24px;
  background: transparent;
  color: var(--fg-1) !important;
  border: 2px solid var(--fg-1);
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav-cta:hover {
  background: var(--fg-1);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(7,32,97,0.15);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--fg-1);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ Hero Section ═══ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 88px;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mark {
  width: 160px;
  height: 160px;
  margin-bottom: 32px;
}
.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.3));
}
.hero h2 {
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  line-height: 1.15;
}
.hero h1 {
  color: var(--crp-orange);
  font-family: var(--font-script);
  font-size: 72px;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.2;
}
.hero p {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 700px;
}
.hero .btn-group {
  justify-content: center;
  gap: 20px;
}
.hero .btn {
  height: 56px;
  padding: 0 48px;
  font-size: 16px;
  border-radius: 4px;
  min-width: 200px;
}
.hero .btn-primary {
  background: #fff;
  color: var(--fg-1);
  border-color: #fff;
}
.hero .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}
.hero .script {
  font-size: 34px;
  display: block;
  margin-bottom: 16px;
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 17px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--crp-orange);
  color: #fff;
  border-color: var(--crp-orange);
}
.btn-primary:hover {
  background: #e6872e;
  border-color: #e6872e;
  box-shadow: 0 4px 12px rgba(255,153,51,.3);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--crp-navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--crp-blue);
  color: var(--crp-blue);
  box-shadow: var(--shadow-hover);
}
.btn-navy {
  background: var(--crp-navy);
  color: #fff;
  border-color: var(--crp-navy);
}
.btn-navy:hover {
  background: #0a2a7a;
  border-color: #0a2a7a;
}
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══ Sections ═══ */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--bg);
}
.section-navy {
  background: var(--gradient-navy-blue);
  color: #fff;
}
.section-navy h2, .section-navy h3, .section-navy h4, .section-navy p, .section-navy li, .section-navy span {
  color: #fff;
}
.section-navy .script { color: var(--crp-orange); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-header .script {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}
.section-header p {
  font-size: 20px;
  color: var(--fg-2);
  margin-top: 12px;
}
.section-navy .section-header p {
  color: #fff;
}

/* ═══ Cards ═══ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ═══ Grid Layouts ═══ */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ═══ Stats ═══ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--crp-orange);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.4;
}

/* White stat variant */
.section-navy .stat-number { color: var(--crp-orange); }
.section-navy .stat-label { color: #fff; }

/* ═══ Trial Category Cards ═══ */
.trial-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.trial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}
.trial-card:hover img {
  transform: scale(1.05);
}
.trial-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(7,32,97,0.95) 0%, rgba(7,32,97,0.8) 60%, transparent 100%);
}
.trial-card-overlay h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.trial-card-overlay p {
  color: #fff;
  font-size: 17px;
  margin-bottom: 0;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ═══ Research Areas (legacy) ═══ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.research-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  border-top: 3px solid var(--crp-orange);
}
.research-category h4 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--crp-navy);
}
.research-category ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.research-category li {
  background: var(--bg);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-1);
  border: 1px solid var(--border);
  transition: all var(--dur-fast) var(--ease-out);
  cursor: default;
}
.research-category li:hover {
  border-color: var(--crp-blue);
  color: var(--crp-blue);
  background: #fff;
}

/* ═══ Research Areas V2 ═══ */
.research-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.research-card-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.research-card-v2:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.research-card-header {
  position: relative;
  padding: 32px 24px 28px;
  background-size: cover;
  background-position: center;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
}
.research-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,32,97,0.85) 0%, rgba(24,67,173,0.75) 100%);
}
.research-card-header h4 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}
.research-card-v2 ul {
  list-style: none;
  padding: 20px 24px 24px;
  margin: 0;
}
.research-card-v2 li {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-1);
  border-bottom: 1px solid var(--bg);
  transition: color var(--dur-fast) var(--ease-out);
}
.research-card-v2 li:last-child {
  border-bottom: none;
}
.research-card-v2 li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crp-orange);
  margin-right: 12px;
  vertical-align: middle;
}
.research-card-v2 li:hover {
  color: var(--crp-blue);
}
@media (max-width: 1024px) {
  .research-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .research-grid-v2 { grid-template-columns: 1fr; }
}

/* ═══ Steps / Process ═══ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.steps.steps-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step::before {
  display: none;
}
.step-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}
.step-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.step h4 {
  margin-bottom: 10px;
  font-size: 20px;
}
.step p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 260px;
  margin: 0 auto;
  flex: 1;
}
.section-navy .step p {
  color: #fff;
}
.section-navy .step h4 {
  color: #fff;
}

/* ═══ Blog Preview ═══ */
.blog-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.blog-preview-img {
  height: 100%;
  min-height: 320px;
}
.blog-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-preview-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-preview-content h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

/* ═══ Team Grid ═══ */
.team-section-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crp-blue);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--crp-cyan);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.team-member {
  text-align: center;
}
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--border);
  background: var(--bg);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member h4 {
  font-size: 17px;
  margin-bottom: 2px;
}
.team-member .role {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.3;
}

/* ═══ Values Grid ═══ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.value-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  border-top: 3px solid var(--crp-orange);
}
.value-card h4 {
  margin-bottom: 12px;
  font-size: 20px;
}
.value-card p {
  font-size: 17px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ═══ FAQ Accordion ═══ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-1);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--crp-blue);
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 0 20px;
}
.faq-answer p {
  font-size: 17px;
  color: var(--fg-2);
}

/* ═══ Sponsor Logos ═══ */
.sponsor-logos-img {
  max-width: 900px;
  margin: 0 auto;
}

/* ═══ Metrics Table ═══ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.15);
}
.metric-card .metric-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--crp-orange);
  margin-bottom: 4px;
}
.metric-card .metric-label {
  font-size: 15px;
  color: #fff;
}

/* ═══ Facility Features ═══ */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}
.facility-list h4 {
  margin-bottom: 12px;
}
.facility-list ul {
  list-style: disc;
  padding-left: 20px;
}
.facility-list li {
  font-size: 16px;
  color: var(--fg-2);
  margin-bottom: 6px;
}

/* ═══ Testimonials ═══ */
.testimonial {
  background: var(--gradient-navy-blue);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}
.testimonial blockquote {
  font-size: 22px;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}
.testimonial cite {
  font-size: 16px;
  color: var(--crp-cyan);
  font-style: normal;
  font-weight: 600;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border-top: 3px solid var(--crp-orange);
  border: 1px solid var(--border);
  border-top: 3px solid var(--crp-orange);
}
.testimonial-stars {
  color: var(--crp-orange);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  font-size: 19px;
  font-style: italic;
  color: var(--fg-1);
  line-height: 1.6;
  margin: 0 0 16px 0;
}
.testimonial-author {
  font-size: 15px;
  color: var(--fg-3);
  font-weight: 600;
}

/* ═══ Contact Form ═══ */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--fg-1);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crp-blue);
  box-shadow: 0 0 0 3px rgba(24,67,173,0.15);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ═══ Two-Column Layout ═══ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse {
  direction: rtl;
}
.split-reverse > * {
  direction: ltr;
}
.split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ═══ Blog List ═══ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card-img {
  height: 180px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 20px;
}
.blog-card-date {
  font-size: 14px;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.blog-card-body p {
  font-size: 15px;
  margin-bottom: 0;
}

/* ═══ Footer ═══ */
.site-footer {
  background: #fff;
  color: var(--fg-1);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 0.8fr 0.8fr auto;
  gap: 40px;
  margin-bottom: 32px;
  align-items: start;
}
.footer-brand img {
  height: 64px;
  margin-bottom: 16px;
}
.footer-brand .social-label {
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 10px;
  margin-top: 16px;
}
.footer-col h4 {
  color: var(--crp-navy);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--fg-2);
  font-size: 14px;
  margin-bottom: 6px;
  transition: color var(--dur-fast);
}
.footer-col a:hover {
  color: var(--crp-blue);
}
.footer-col p {
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 3px;
}
.footer-col .address-label {
  color: var(--crp-blue);
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 3px;
  display: block;
}
.footer-cta .btn {
  height: 56px;
  padding: 0 48px;
  font-size: 16px;
  border-radius: var(--radius-pill);
  background: var(--crp-navy);
  color: #fff;
  border-color: var(--crp-navy);
  white-space: nowrap;
}
.footer-cta .btn:hover {
  background: #0a2a7a;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  color: var(--fg-3);
  font-size: 15px;
  margin: 0;
}
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-links a {
  color: var(--crp-navy);
  font-size: 20px;
  transition: color var(--dur-fast);
  display: inline-flex;
}
.social-links a:hover {
  color: var(--crp-blue);
}

/* ═══ CTA Banner ═══ */
.cta-banner {
  text-align: center;
  padding: 80px 32px;
}
.cta-banner h2 {
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 700;
}
.cta-banner .script {
  font-size: 38px;
  display: block;
  margin-bottom: 8px;
}
.cta-banner p {
  margin-bottom: 32px;
  font-size: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--fg-2);
  line-height: 1.6;
}
.section-navy .cta-banner p,
.section-navy .cta-banner h2 {
  color: #fff;
}
.cta-banner .btn {
  height: 52px;
  padding: 0 40px;
  font-size: 16px;
}

/* ═══ Page Hero (inner pages — full-impact, matches homepage) ═══ */
.page-hero {
  margin-top: 88px;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--crp-navy);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.page-hero > * {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.page-hero .hero-script {
  color: var(--crp-orange);
  font-family: var(--font-script);
  font-size: 48px;
  font-weight: 400;
  display: block;
  margin-bottom: 28px;
  line-height: 1.2;
}
.page-hero p {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.page-hero .script {
  color: var(--crp-orange);
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}
.page-hero .btn {
  margin-top: 28px;
}

/* ═══ Differentiator icons ═══ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.diff-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}
.diff-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ═══ Benefits / Risks ═══ */
.benefits-risks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.benefit-list, .risk-list {
  padding: 28px;
  border-radius: var(--radius-xl);
}
.benefit-list {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.risk-list {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.benefit-list h4 { color: #059669; margin-bottom: 16px; }
.risk-list h4 { color: #dc2626; margin-bottom: 16px; }
.benefit-list li, .risk-list li {
  font-size: 16px;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--fg-2);
}
.benefit-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}
.risk-list li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* ═══ Referral Hero ═══ */
.referral-amount {
  font-size: 64px;
  font-weight: 800;
  color: var(--crp-orange);
}

/* ═══ Map Embed ═══ */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ═══ Location Cards ═══ */
.location-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.location-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.location-card h4 {
  margin-bottom: 12px;
  color: var(--crp-blue);
}
.location-card p {
  font-size: 16px;
  margin-bottom: 4px;
}

/* ═══ Study Category Sections ═══ */
.study-category {
  margin-bottom: 40px;
}
.study-category h3 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--crp-cyan);
}
.study-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.study-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-1);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.study-pill:hover {
  border-color: var(--crp-blue);
  color: var(--crp-blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

/* ═══ Blog Detail ═══ */
.blog-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}
.blog-detail h1 {
  font-size: 36px;
  margin-bottom: 16px;
}
.blog-meta {
  font-size: 16px;
  color: var(--fg-3);
  margin-bottom: 32px;
}
.blog-detail p {
  margin-bottom: 20px;
}
.blog-detail h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--crp-navy);
}
.blog-detail h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--crp-navy);
}
.blog-detail ul, .blog-detail ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.blog-detail ul { list-style: disc; }
.blog-detail ol { list-style: decimal; }
.blog-detail li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.blog-detail strong {
  font-weight: 600;
}
.blog-detail blockquote {
  border-left: 3px solid var(--crp-orange);
  margin: 24px 0;
  padding: 12px 20px;
  color: var(--fg-2);
  font-style: italic;
  background: var(--bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--crp-blue);
  margin-bottom: 32px;
  transition: color var(--dur-fast) var(--ease-out);
}
.blog-back:hover {
  color: var(--crp-navy);
}
.blog-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .hero { min-height: 460px; }
  .hero h2 { font-size: 32px; }
  .hero h1 { font-size: 42px; }
  h1, .h1 { font-size: 36px; }
  h2, .h2 { font-size: 28px; }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.steps-5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .page-hero h1 { font-size: 40px; }
  .page-hero .hero-script { font-size: 44px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 24px; }
  h3, .h3 { font-size: 22px; }
  p { font-size: 16px; line-height: 1.6; }
  .section-header { margin: 0 auto 32px; }
  .section-header p { font-size: 16px; }
  .section-header .script { font-size: 28px; }
  .grid-2, .grid-3, .grid-4, .blog-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .benefits-risks { grid-template-columns: 1fr; }
  .blog-preview { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-cta { grid-column: 1 / -1; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .location-cards { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 36px; }
  .hero-content { padding: 48px 0; }
  .facility-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 32px; }
  .page-hero .hero-script { font-size: 36px; }
  .page-hero p { font-size: 16px; }
  .impact-grid { grid-template-columns: 1fr; }
  .steps, .steps.steps-5 { grid-template-columns: 1fr; }
  .page-hero { min-height: 50vh; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .value-card { padding: 24px; }
  .value-card p { font-size: 15px; }
  .research-category { padding: 20px 24px; }
  .research-category li { font-size: 15px; padding: 10px 16px; }
  .blog-preview-content { padding: 28px 24px; }
  .blog-preview-content h3 { font-size: 22px; }
  .testimonial { padding: 28px 24px; }
  .testimonial blockquote { font-size: 18px; }
  .testimonial-card { padding: 24px; }
  .testimonial-card blockquote { font-size: 16px; }
  .step p { font-size: 15px; }
  .faq-question { font-size: 16px; padding: 16px 0; }
  .faq-answer p { font-size: 15px; }
  .trial-card-overlay { padding: 20px 16px; }
  .trial-card-overlay h3 { font-size: 22px; }
  .trial-card-overlay p { font-size: 15px; }
  .metric-card .metric-value { font-size: 32px; }
  .metric-card .metric-label { font-size: 13px; }
  .location-card { padding: 20px; }
  .map-container { height: 200px; }
  .map-container iframe { pointer-events: none; }
}
@media (max-width: 480px) {
  .steps, .steps.steps-5 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 24px; }
  .hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-photo { width: 100px; height: 100px; }
  .team-member h4 { font-size: 15px; }
  .team-member .role { font-size: 12px; }
  .section-header { margin: 0 auto 24px; }
  .card { padding: 20px; }
  .value-card { padding: 20px; }
  .testimonial { padding: 24px 20px; }
}

/* ═══ Breadcrumb ═══ */
.breadcrumb {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; }

/* ═══ Skip Link (accessibility) ═══ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--crp-navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
}

/* ═══ Hero Social Proof ═══ */
.hero-proof {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
  margin-bottom: 0;
  letter-spacing: 0.03em;
  font-weight: 500;
}

/* ═══ Step Time Badge ═══ */
.step-time {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crp-cyan);
  background: rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

/* ═══ Mobile Nav Backdrop ═══ */
.nav-backdrop {
  display: none;
}
@media (max-width: 1024px) {
  .nav-links.open ~ .nav-backdrop,
  .nav-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7,32,97,0.4);
    z-index: 998;
  }
}

/* ═══ Utility: card-body text (smaller than default <p>) ═══ */
.text-card {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
}
.text-card-light {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
}
.text-footnote {
  font-size: 13px;
  color: var(--fg-3);
  text-align: center;
}
@media (max-width: 768px) {
  .text-card, .text-card-light { font-size: 14px; }
  .text-footnote { font-size: 12px; }
}

/* ═══ Fade-In Animations ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.2,.8,.2,1), transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance animation */
.hero-content {
  animation: fadeUp 0.8s cubic-bezier(.2,.8,.2,1) 0.2s both;
}

/* Stagger children in grids */
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.values-grid > *,
.stat-grid > *,
.steps > *,
.blog-grid > *,
.team-grid > * {
  animation: fadeUp 0.5s cubic-bezier(.2,.8,.2,1) both;
}
.grid-3 > *:nth-child(1), .blog-grid > *:nth-child(1), .steps > *:nth-child(1) { animation-delay: 0.05s; }
.grid-3 > *:nth-child(2), .blog-grid > *:nth-child(2), .steps > *:nth-child(2) { animation-delay: 0.1s; }
.grid-3 > *:nth-child(3), .blog-grid > *:nth-child(3), .steps > *:nth-child(3) { animation-delay: 0.15s; }
.grid-3 > *:nth-child(4), .blog-grid > *:nth-child(4), .steps > *:nth-child(4) { animation-delay: 0.2s; }
.grid-3 > *:nth-child(5), .blog-grid > *:nth-child(5), .steps > *:nth-child(5) { animation-delay: 0.25s; }

/* ═══ Image hover zoom (blog cards, trial cards) ═══ */
.blog-card-img img,
.trial-card img {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.blog-card:hover .blog-card-img img,
.trial-card:hover img {
  transform: scale(1.05);
}

/* (page-hero rules consolidated above) */

/* ═══ Smooth link underline on hover ═══ */
.footer-col a,
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crp-blue);
  transition: width 0.25s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ═══ Section divider ═══ */
.section + .section-alt,
.section-alt + .section {
  border-top: 1px solid var(--border);
}

/* ═══ Blog card author ═══ */
.blog-card-author {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 4px;
}

/* ═══ Newsletter section ═══ */
.newsletter-section {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.newsletter-section h2 {
  margin-bottom: 8px;
}
.newsletter-section p {
  margin-bottom: 24px;
}
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 16px;
}
.newsletter-form .full-width {
  grid-column: 1 / -1;
}

/* ═══ Impact Section (homepage stats) ═══ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.impact-grid.impact-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
.impact-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.impact-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.impact-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--crp-orange);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-label {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.impact-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}
.impact-features {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.impact-feature {
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #fff;
  font-weight: 500;
}
@media (max-width: 768px) {
  .impact-grid,
  .impact-grid.impact-grid-2col { grid-template-columns: 1fr; }
  .impact-number { font-size: 36px; }
  .impact-card { padding: 28px 20px; }
  .impact-features { flex-direction: column; align-items: center; gap: 20px; }
}

/* ═══ Announcement Bar ═══ */
.announcement-bar {
  background: var(--crp-navy);
  color: #fff;
  text-align: center;
  padding: 10px 56px 10px 24px;
  font-size: 16px;
  font-weight: 600;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
}
@media (max-width: 768px) {
  .announcement-bar { padding: 10px 48px 10px 16px; font-size: 14px; }
}
.announcement-bar a { color: var(--crp-cyan); text-decoration: underline; margin-left: 8px; }
.announcement-bar .close-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 24px; cursor: pointer;
  padding: 10px; line-height: 1; min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
body.has-announcement .site-header { top: 40px; }
body.has-announcement .hero { margin-top: 128px; }
body.has-announcement .page-hero { margin-top: 128px; }

/* ═══ Blog Carousel ═══ */
.blog-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.carousel-track .blog-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.carousel-track .blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: none;
}
.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--crp-navy);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--crp-navy);
  color: #fff;
  border-color: var(--crp-navy);
  box-shadow: var(--shadow-hover);
}
@media (max-width: 1024px) {
  .carousel-track .blog-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
  .carousel-track .blog-card { flex: 0 0 100%; }
  .carousel-btn { width: 40px; height: 40px; font-size: 16px; }
}

/* ═══ Focus styles for accessibility ═══ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--crp-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
