@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: hsl(355, 79%, 52%);
  --primary-hover: hsl(355, 79%, 45%);
  --primary-soft: hsl(355, 79%, 52%, 0.1);
  --primary-soft-2: hsl(355, 79%, 52%, 0.2);
  --gold: #E9B34B;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e5e7eb;
  --secondary: #f1f5f9;
  --red-50: #fef2f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* Scroll reveal — JS adds .js-reveal to <html> so we only hide content when JS is active */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Ticker */
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

/* Bounce */
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}
.scroll-indicator { animation: scrollBounce 2s ease-in-out infinite; }

/* Top nav */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
@media (min-width: 768px) { .topnav-inner { padding: 16px 24px; } }
.topnav-logo { height: 32px; }
@media (min-width: 768px) { .topnav-logo { height: 56px; } }
.topnav-links { display: none; gap: 32px; align-items: center; }
@media (min-width: 768px) { .topnav-links { display: flex; } }
.topnav-link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-foreground);
  transition: color .2s;
}
.topnav-link:hover { color: var(--foreground); }
.topnav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; border-radius: 6px;
  transition: opacity .2s, background-color .2s;
}
.btn-primary { background: var(--primary); color: #fff; padding: 10px 24px; }
.btn-primary:hover { opacity: 0.9; }
.btn-primary-lg { background: var(--primary); color: #fff; padding: 18px 40px; font-size: 16px; letter-spacing: 0.04em; }
.btn-primary-lg:hover { opacity: 0.9; }
.btn-uppercase { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; }
.btn-cta-white { background: #fff; color: #E52431; font-size: 18px; font-weight: 600; padding: 18px 48px; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.btn-cta-white:hover { background: rgba(255,255,255,.9); }
.btn-pill {
  background: #E52431; color: #fff; border-radius: 9999px;
  padding: 18px 32px; font-weight: 500;
}
.btn-icon-only {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.btn-icon-only:hover { background: var(--muted); }
.menu-btn-mobile { display: inline-flex; }
@media (min-width: 768px) { .menu-btn-mobile { display: none; } .apply-btn-desktop { display: inline-flex; } }
.apply-btn-desktop { display: none; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 80px 16px 48px;
}
@media (min-width: 768px) { .hero { padding: 80px 24px 64px; } }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay-1 { position: absolute; inset: 0; background: rgba(255,255,255,0.4); z-index: 1; }
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), rgba(255,255,255,.3), rgba(255,255,255,.5));
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 56rem; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 32px; align-items: center;
}
.hero-crest { width: 80px; filter: drop-shadow(0 25px 25px rgba(0,0,0,.2)); }
@media (min-width: 768px) { .hero-crest { width: 144px; } }
.hero-badge {
  display: inline-flex; align-items: center; padding: 6px 16px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid hsla(355,79%,52%,.3);
  color: var(--primary); background: var(--primary-soft);
  border-radius: 9999px;
}
.hero-title {
  font-size: 30px; font-weight: 300; line-height: 1.1; letter-spacing: -0.02em;
  color: #020617; text-shadow: 0 10px 15px rgba(0,0,0,.1); margin: 0;
}
.hero-title .accent { color: var(--primary); }
.hero-title .bold { font-weight: 600; }
@media (min-width: 768px) { .hero-title { font-size: 60px; } }
@media (min-width: 1024px) { .hero-title { font-size: 72px; } }
.hero-subtitle {
  color: #1e293b; font-size: 20px; max-width: 36rem; margin: 0 auto;
  line-height: 1.6; font-weight: 300;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 24px; } }
.hero-meta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 16px; color: #1e293b; font-weight: 500;
}
@media (min-width: 640px) { .hero-meta { flex-direction: row; gap: 24px; } }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--primary); width: 16px; height: 16px; }
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 32px; border: 2px solid rgba(255,255,255,.3);
  border-radius: 9999px; display: flex; justify-content: center; padding-top: 6px;
  z-index: 10;
}
.scroll-dot { width: 4px; height: 8px; background: rgba(255,255,255,.4); border-radius: 9999px; }

/* Ticker bar */
.ticker {
  background: var(--primary); color: #fff; padding: 12px 0; overflow: hidden;
}
.ticker-group {
  display: inline-flex; align-items: center; gap: 32px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; padding: 0 32px;
}
.ticker-group .dot { opacity: .4; }

/* Generic section spacing */
.section-pad { padding: 64px 16px; }
@media (min-width: 768px) { .section-pad { padding: 96px 24px; } }
.section-pad-sm { padding: 32px 16px; }
@media (min-width: 768px) { .section-pad-sm { padding: 48px 24px; } }
.container { max-width: 72rem; margin: 0 auto; }
.container-narrow { max-width: 56rem; margin: 0 auto; }
.container-thin { max-width: 48rem; margin: 0 auto; }

/* Section heading */
.eyebrow {
  font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  font-size: 14px; color: var(--primary);
}
.h-section {
  font-size: 30px; font-weight: 300; letter-spacing: -0.02em; margin: 0;
}
@media (min-width: 768px) { .h-section { font-size: 48px; } }
.h-section .bold { font-weight: 600; }
.lead {
  color: var(--muted-foreground); max-width: 36rem; margin: 0 auto;
  font-size: 18px;
}
.center { text-align: center; }
.stack-4 > * + * { margin-top: 16px; }
.mb-16 { margin-bottom: 64px; }
.mb-12 { margin-bottom: 48px; }
.mb-8 { margin-bottom: 32px; }

/* Programme carousel */
.carousel { position: relative; width: 100%; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-slide { flex: 0 0 100%; min-width: 0; padding: 0 4px; }
.day-card {
  position: relative; background: var(--red-50); border: 1px solid var(--border);
  padding: 32px; text-align: center; transition: border-color .3s;
}
@media (min-width: 768px) { .day-card { padding: 40px 56px; } }
.day-card-bar {
  position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.day-card:hover .day-card-bar { transform: scaleX(1); }
.day-card:hover { border-color: hsla(355,79%,52%,.4); }
.day-graphic { display: flex; justify-content: center; margin-bottom: 12px; }
.day-eyebrow {
  font-size: 16px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 4px;
}
.day-title {
  font-size: 30px; font-weight: 600; line-height: 1.2; margin: 0 0 20px;
}
@media (min-width: 768px) { .day-title { font-size: 36px; } }
.day-list {
  display: grid; grid-template-columns: 1fr; gap: 12px 32px;
  max-width: 42rem; margin: 0 auto 20px; text-align: left;
}
@media (min-width: 768px) { .day-list { grid-template-columns: 1fr 1fr; } }
.day-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 18px; color: var(--muted-foreground); line-height: 1.6;
}
@media (min-width: 768px) { .day-list li { font-size: 20px; } }
.day-bullet {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  margin-top: 0.7em; flex-shrink: 0;
}
.day-evening {
  padding-top: 16px; border-top: 1px solid rgba(229,231,235,.5);
  font-style: italic; color: rgba(100,116,139,.7);
  font-size: 18px;
}
@media (min-width: 768px) { .day-evening { font-size: 20px; } }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,.06);
  z-index: 5;
}
@media (min-width: 768px) { .carousel-arrow { display: inline-flex; } }
.carousel-prev { left: -48px; }
.carousel-next { right: -48px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: rgba(100,116,139,.3); transition: all .3s;
}
.carousel-dot.is-active { background: var(--primary); width: 24px; }

/* Cambridge experience */
.exp-hero {
  position: relative; height: 400px; overflow: hidden;
}
@media (min-width: 768px) { .exp-hero { height: 500px; } }
.exp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.exp-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.exp-card-wrap {
  max-width: 56rem; margin: -128px auto 0; padding: 0 16px; position: relative; z-index: 10;
}
@media (min-width: 768px) { .exp-card-wrap { margin-top: -192px; padding: 0 24px; } }
.exp-card {
  background: #E52431; color: #fff; border-radius: 16px;
  padding: 24px; text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
}
@media (min-width: 768px) { .exp-card { padding: 48px; } }
.exp-card .eyebrow { color: rgba(255,255,255,.8); }
.exp-card h2 { color: #fff; }
.exp-card p { color: rgba(255,255,255,.85); font-size: 20px; max-width: 42rem; margin: 16px auto 0; line-height: 1.6; font-weight: 300; }

/* Feature grid */
.feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 64rem; margin: 0 auto; padding: 48px 16px 64px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); padding: 64px 24px; } }
.feature-cell { text-align: center; padding: 24px; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 4px;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.feature-icon svg { color: var(--primary); width: 24px; height: 24px; }
.feature-cell h3 {
  font-size: 18px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin: 0 0 12px;
}
.feature-cell p { color: var(--muted-foreground); font-size: 18px; line-height: 1.6; margin: 0; }

/* Programme details cards */
.details-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .details-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .details-grid { grid-template-columns: repeat(3, 1fr); } }
.detail-card {
  background: #E52431; color: #fff; padding: 32px;
  border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,.1);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.detail-card svg { width: 32px; height: 32px; opacity: .9; }
.detail-card .label {
  color: rgba(255,255,255,.7); font-size: 16px;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin: 0;
}
.detail-card .value { font-size: 20px; font-weight: 600; margin: 0; }
.detail-card .value.large { font-size: 30px; font-weight: 700; }
.bg-muted-soft { background: rgba(241,245,249,.5); }

/* Take home */
.takehome-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 640px) { .takehome-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .takehome-grid { grid-template-columns: repeat(4, 1fr); } }
.takehome-card {
  padding: 24px; border: 1px solid rgba(229,36,49,.3);
  border-radius: 12px; transition: border-color .2s;
  display: flex; flex-direction: column; gap: 16px;
}
.takehome-card:hover { border-color: rgba(229,36,49,.6); }
.takehome-card .feature-icon { margin: 0; transition: background-color .2s; }
.takehome-card:hover .feature-icon { background: var(--primary-soft-2); }
.takehome-card .feature-icon svg { width: 28px; height: 28px; }
.takehome-card h3 { font-size: 20px; font-weight: 600; margin: 0; }
.takehome-card p { color: var(--muted-foreground); font-size: 18px; line-height: 1.6; margin: 0; }

/* Schedule */
.schedule-section {
  position: relative; padding: 48px 16px; background: #1a1a1a; color: #fff; overflow: hidden;
}
@media (min-width: 768px) { .schedule-section { padding: 64px 24px; } }
.schedule-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.schedule-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 1; }
.schedule-crest {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; opacity: 0.04; pointer-events: none; user-select: none; z-index: 2;
}
.schedule-inner { max-width: 72rem; margin: 0 auto; position: relative; z-index: 10; }
.schedule-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start;
}
@media (min-width: 768px) { .schedule-grid { grid-template-columns: 1fr 1fr; } }
.schedule-eyebrow { color: #E52431; letter-spacing: 0.3em; }
.schedule-title { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
@media (min-width: 768px) { .schedule-title { font-size: 60px; } }
.schedule-title .bold { font-weight: 600; }
.day-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
@media (min-width: 768px) { .day-tabs { gap: 8px; } }
.day-tab {
  padding: 6px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,.5); background: rgba(255,255,255,.05);
  transition: color .2s, background .2s;
}
@media (min-width: 768px) { .day-tab { font-size: 16px; padding: 8px 16px; } }
.day-tab:hover { color: rgba(255,255,255,.8); }
.day-tab.is-active { color: #fff; background: #E52431; }
.day-theme-label { color: rgba(255,255,255,.4); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; margin: 24px 0 4px; }
.day-theme { font-size: 24px; font-weight: 600; margin: 0; color: var(--gold); }
@media (min-width: 768px) { .day-theme { font-size: 30px; } }
.schedule-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 24px; backdrop-filter: blur(4px);
}
@media (min-width: 768px) { .schedule-card { padding: 32px; } }
.slot { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.slot:last-child { border-bottom: 0; }
.slot-time {
  background: #E52431; color: #fff; font-size: 14px; font-weight: 600;
  padding: 4px 12px; border-radius: 4px; flex-shrink: 0; margin-top: 2px;
}
.slot-body { flex: 1; min-width: 0; }
.slot-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: #fff; margin: 0; }
.slot-badge {
  background: var(--gold); color: #000; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 3px; text-transform: uppercase;
}
.slot-desc { color: rgba(255,255,255,.6); font-size: 16px; margin: 4px 0 0; }
.schedule-note { color: rgba(255,255,255,.3); font-size: 12px; font-style: italic; margin-top: 32px; text-align: center; }

/* Who should apply */
.apply-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .apply-grid { grid-template-columns: 1fr 1fr; } }
.apply-card {
  background: var(--red-50); border: 1px solid rgba(229,36,49,.2);
  border-radius: 12px; padding: 24px;
}
.apply-card h3 {
  font-size: 20px; font-weight: 600; color: #E52431; margin: 0 0 16px;
}
.apply-card .row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.apply-card .row:last-child { margin-bottom: 0; }
.apply-card .row p { font-size: 18px; color: var(--foreground); margin: 0; }
.apply-card .row svg { color: #E52431; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.apply-card .num { font-weight: 700; font-size: 18px; color: #E52431; width: 20px; text-align: center; flex-shrink: 0; }
.apply-cta { text-align: center; margin-top: 32px; }

/* About college */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: stretch;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-text > * + * { margin-top: 24px; }
.about-text img.crest { width: 64px; }
.about-title { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
@media (min-width: 768px) { .about-title { font-size: 36px; } }
.about-title .bold { font-weight: 700; }
.about-text p { color: var(--muted-foreground); font-size: 18px; line-height: 1.6; margin: 0; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat-value { font-size: 30px; font-weight: 700; color: #E52431; margin: 0; }
.stat-label { font-size: 16px; color: var(--muted-foreground); margin: 0; }
.about-img {
  width: 100%; min-height: 300px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 20px 25px rgba(0,0,0,.15); height: 100%;
}
@media (min-width: 768px) { .about-img { min-height: 600px; } }

/* Our campus */
.campus-section { background: #faf8f5; padding: 64px 16px; }
@media (min-width: 768px) { .campus-section { padding: 80px 24px; } }
.campus-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .campus-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.campus-h { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
@media (min-width: 768px) { .campus-h { font-size: 36px; } }
.campus-bar { height: 4px; width: 48px; border-radius: 9999px; background: var(--primary); margin-top: 8px; }
.campus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .campus-cards { gap: 32px; } }
.campus-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; }
.campus-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.campus-card:hover img { transform: scale(1.05); }
.campus-card h3 { font-size: 18px; font-weight: 600; color: var(--primary); margin: 12px 0 4px; }
.campus-card p { color: var(--muted-foreground); font-size: 16px; line-height: 1.6; margin: 0; }
.campus-feature { border-radius: 16px; overflow: hidden; height: 100%; min-height: 400px; }
.campus-feature img { width: 100%; height: 100%; object-fit: cover; }

/* Beyond classroom */
.beyond-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .beyond-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .beyond-grid { grid-template-columns: repeat(3, 1fr); } }
.beyond-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
}
.beyond-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.beyond-card:hover img { transform: scale(1.1); }
.beyond-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.3) 50%, transparent);
}
.beyond-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; z-index: 2;
}
.beyond-content h3 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.beyond-content p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.5; margin: 0; }

/* FAQ */
.faq-section { background: rgba(241,245,249,.5); }
.faq-list > * + * { margin-top: 8px; }
.faq-item { border: 1px solid var(--border); padding: 0 24px; background: #fff; }
.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; text-align: left;
  font-size: 18px; font-weight: 500;
}
.faq-trigger .chev { transition: transform .2s; flex-shrink: 0; }
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-panel {
  max-height: 0; overflow: hidden; transition: max-height .3s ease-out;
  color: var(--muted-foreground); font-size: 16px; line-height: 1.6;
}
.faq-panel-inner { padding: 0 0 20px; }

/* CTA */
.cta-section {
  position: relative; padding: 64px 16px; color: #fff; background: #E52431; overflow: hidden;
}
@media (min-width: 768px) { .cta-section { padding: 80px 24px; } }
.cta-watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0.03; pointer-events: none;
}
.cta-watermark svg { width: 500px; height: 500px; }
.cta-inner { max-width: 56rem; margin: 0 auto; text-align: center; position: relative; z-index: 10; }
.cta-title { font-size: 36px; font-weight: 300; letter-spacing: -0.02em; margin: 0; }
@media (min-width: 768px) { .cta-title { font-size: 60px; } }
.cta-title .bold { font-weight: 700; color: #fff; }
.cta-lead { color: rgba(255,255,255,.85); font-size: 20px; max-width: 42rem; margin: 24px auto; line-height: 1.6; }
.cta-meta { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 16px; align-items: center; }
@media (min-width: 640px) { .cta-meta { flex-direction: row; gap: 32px; } }
.cta-meta div { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: 16px; }
.cta-meta svg { width: 16px; height: 16px; }

/* Trust */
.trust-section { padding: 64px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.trust-inner > * + * { margin-top: 24px; }
.trust-inner img { height: 48px; margin: 0 auto; }
@media (min-width: 768px) { .trust-inner img { height: 56px; } }
.trust-inner p { color: var(--muted-foreground); font-size: 16px; max-width: 32rem; margin: 0 auto; line-height: 1.6; }

/* Mobile sheet */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: 288px;
  background: #fff; z-index: 61; transform: translateX(100%);
  transition: transform .3s ease-out;
  padding: 48px 24px 24px; display: flex; flex-direction: column; gap: 24px;
}
.sheet.is-open { transform: translateX(0); }
.sheet button.sheet-link {
  text-align: left; font-size: 14px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--foreground);
  transition: color .2s;
}
.sheet button.sheet-link:hover { color: var(--primary); }
.sheet-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}

/* Utility */
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: inline-flex; } .hidden-desktop { display: none; } }

/* ===================== APPLY PAGE ===================== */
.jc-apply-body { background: var(--background); color: var(--foreground); font-family: 'Jost', sans-serif; min-height: 100vh; }

.jc-apply-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.jc-apply-nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; }
.jc-apply-back {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--muted-foreground);
  transition: color .2s;
}
.jc-apply-back:hover { color: var(--foreground); }
.jc-apply-logo { height: 32px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .jc-apply-logo { height: 40px; } }

.jc-apply-section { padding: 112px 24px 96px; }
.jc-apply-wrap { max-width: 640px; margin: 0 auto; }

.jc-apply-head { text-align: center; margin-bottom: 40px; }
.jc-apply-eyebrow {
  font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--primary); margin: 0 0 16px;
}
.jc-apply-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300; letter-spacing: -0.01em; line-height: 1.1;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0;
}
.jc-apply-title .bold { font-weight: 600; }

.jc-apply-card {
  background: rgba(241,245,249,0.5);
  border: 1px solid var(--border);
  padding: 32px;
}

.jc-apply-form-head { margin-bottom: 24px; }
.jc-apply-form-head h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; font-family: 'Jost', sans-serif; }
.jc-apply-form-head p { margin: 0; font-size: 14px; color: var(--muted-foreground); }

.jc-apply-group { margin-bottom: 24px; }
.jc-apply-group-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-foreground); margin: 0 0 12px;
}
.jc-apply-fields { display: flex; flex-direction: column; gap: 12px; }
.jc-apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.jc-apply-field { display: flex; flex-direction: column; gap: 6px; }
.jc-apply-field label { font-size: 14px; font-weight: 500; color: var(--foreground); }
.jc-apply-field input, .jc-apply-field textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit; color: var(--foreground);
  transition: border-color .15s, box-shadow .15s;
}
.jc-apply-field input::placeholder, .jc-apply-field textarea::placeholder { color: #94a3b8; }
.jc-apply-field input:focus, .jc-apply-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.jc-apply-field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.jc-apply-submit {
  width: 100%;
  padding: 16px 24px;
  background: var(--primary); color: #fff;
  font-weight: 500; font-size: 16px; letter-spacing: 0.02em;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s;
  margin-top: 8px;
}
.jc-apply-submit:hover { background: var(--primary-hover); }
.jc-apply-submit:disabled { opacity: .6; cursor: not-allowed; }

.jc-apply-success { text-align: center; padding: 32px 0; }
.jc-apply-success .ico {
  width: 64px; height: 64px; border-radius: 9999px;
  background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.jc-apply-success h3 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 20px; margin: 0 0 12px; }
.jc-apply-success p { font-size: 14px; color: var(--muted-foreground); max-width: 420px; margin: 0 auto; line-height: 1.6; }
.jc-apply-success .hl { font-weight: 500; color: var(--foreground); }
