/* ============================================
   READY SET APPLY U — Global Stylesheet
   Design: "Overture" — classical music, modern energy
   Midnight concert-hall ink · ivory piano keys ·
   brass gold · velvet rose · royal violet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Outfit:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #1D1A2F;   /* midnight ink — the concert hall */
  --blue:       #6D45D9;   /* electric violet — labels, links */
  --blue-light: #8A6FD6;   /* soft violet */
  --lime:       #C0424E;   /* velvet rose — primary accent (stage curtains) */
  --orange:     #E5A226;   /* bright brass gold — secondary accent */
  --white:      #FFFFFF;
  --off-white:  #FAF3E1;   /* sunlit ivory */
  --gray-100:   #EAE3D6;   /* warm border */
  --gray-400:   #A69C90;   /* warm muted */
  --gray-600:   #5D5568;   /* ink-violet secondary text */
  --text:       #221E33;

  --gold-soft:  rgba(217,154,43,0.16);
  --rose-soft:  rgba(192,66,78,0.12);
  --violet-soft:rgba(108,75,196,0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', 'Helvetica Neue', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(29,26,47,0.08);
  --shadow-md: 0 8px 32px rgba(29,26,47,0.12);
  --shadow-lg: 0 24px 64px rgba(29,26,47,0.18);

  --transition: 0.22s cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #F6EDDD;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--orange); color: var(--navy); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { font-size: 1.1rem; color: var(--gray-600); line-height: 1.75; }

/* ---- Layout ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }

/* Sections come alive: soft color washes instead of flat white and cream.
   Plain sections get subtle corner glows; cream sections get a full
   gold-to-blush-to-lavender wash with color blooms. */
section:not([style]):not(.hero):not(.page-hero) {
  background:
    radial-gradient(circle at 92% 6%, rgba(109,69,217,0.10), transparent 42%),
    radial-gradient(circle at 6% 94%, rgba(192,66,78,0.09), transparent 45%),
    linear-gradient(150deg, #FDF1D9 0%, #FAE9E6 55%, #F1E8FD 100%);
}
section[style*="off-white"] {
  background:
    radial-gradient(circle at 88% 12%, rgba(229,162,38,0.14), transparent 45%),
    radial-gradient(circle at 8% 88%, rgba(192,66,78,0.10), transparent 48%),
    linear-gradient(20deg, #EFE4FD 0%, #FBE7EB 48%, #FFEFCB 100%) !important;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary {
  background: linear-gradient(120deg, var(--lime), #E0575B);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(192,66,78,0.45);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.6s ease-in-out infinite;
}
@keyframes btnShine {
  0%   { left: -80%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
.btn-primary:hover { background: linear-gradient(120deg, #CE4F5B, #E86A63); box-shadow: 0 8px 28px rgba(192,66,78,0.55); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); background: rgba(217,154,43,0.08); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29,26,47,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217,154,43,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  white-space: nowrap;
}
.nav-logo span { color: var(--orange); font-style: italic; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--lime);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}
.nav-cta:hover { opacity: 0.9; color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero (with music staff lines) ---- */
.hero {
  background:
    /* faint five-line music staff */
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 46px,
      rgba(255,255,255,0.045) 46px,
      rgba(255,255,255,0.045) 47px
    ),
    var(--navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(217,154,43,0.38) 0%, transparent 70%);
  pointer-events: none;
  animation: blobDrift 12s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(138,111,214,0.45) 0%, transparent 70%);
  pointer-events: none;
  animation: blobDrift 15s ease-in-out infinite alternate-reverse;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 45px) scale(1.18); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  border: 1px solid rgba(217,154,43,0.45);
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: badgeGlow 2.8s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,154,43,0); }
  50%      { box-shadow: 0 0 24px 2px rgba(217,154,43,0.45); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--orange), #FF8E5E, #E0575B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animated equalizer bars (used in the hero badge) */
.equalizer {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 15px;
}
.equalizer span {
  width: 3px;
  background: var(--orange);
  border-radius: 2px;
  height: 40%;
  animation: eqBounce 1.1s ease-in-out infinite;
}
.equalizer span:nth-child(2) { animation-delay: 0.15s; }
.equalizer span:nth-child(3) { animation-delay: 0.3s; }
.equalizer span:nth-child(4) { animation-delay: 0.45s; }
.equalizer span:nth-child(5) { animation-delay: 0.6s; }
@keyframes eqBounce {
  0%, 100% { height: 30%; }
  50%      { height: 100%; }
}
.hero-sub {
  font-size: 1.2rem !important;
  color: rgba(255,255,255,0.72) !important;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--lime), var(--blue));
}

/* Floating music notes (added by interactive.js) */
.float-note {
  position: absolute;
  bottom: -40px;
  color: rgba(229,162,38,0.85);
  text-shadow: 0 0 18px rgba(229,162,38,0.7), 0 0 40px rgba(229,162,38,0.35);
  font-size: 2rem;
  pointer-events: none;
  animation: noteFloat linear infinite;
  z-index: 0;
}

/* Scrolling marquee strip */
.music-marquee {
  background: linear-gradient(90deg, var(--navy), #322A52, var(--navy));
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  overflow: hidden;
  padding: 13px 0;
}
.mq-track {
  display: flex;
  gap: 56px;
  width: max-content;
  white-space: nowrap;
  animation: marqueeScroll 26s linear infinite;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--off-white);
}
.mq-track span { display: inline-flex; align-items: center; gap: 10px; }
.mq-track .mq-dot { color: var(--orange); }
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}
@keyframes noteFloat {
  0%   { transform: translateY(0) rotate(-8deg);    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-540px) rotate(10deg); opacity: 0; }
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--violet-soft);
  border: 1.5px solid rgba(109,69,217,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label::before { content: '♪ '; color: var(--orange); }
.section-title { margin-bottom: 16px; }
.section-title::after {
  content: '';
  display: block;
  width: 76px;
  height: 7px;
  border-radius: 7px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--orange), var(--lime), var(--blue));
}
.section-sub {
  font-size: 1.1rem !important;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ---- Resource Cards (routing grid) ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 rgba(29,26,47,0.9);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--lime), var(--blue));
}
.card[data-color="blue"]::before,
.card[data-color="purple"]::before { background: var(--blue); }
.card[data-color="lime"]::before,
.card[data-color="red"]::before    { background: var(--lime); }
.card[data-color="orange"]::before,
.card[data-color="teal"]::before   { background: var(--orange); }
.card:hover {
  transform: translate(-4px, -4px) rotate(-0.6deg);
  box-shadow: 12px 12px 0 rgba(29,26,47,0.9);
}
.card[data-color="blue"]:hover, .card[data-color="purple"]:hover { box-shadow: 12px 12px 0 var(--blue); }
.card[data-color="lime"]:hover, .card[data-color="red"]:hover    { box-shadow: 12px 12px 0 var(--lime); }
.card[data-color="orange"]:hover, .card[data-color="teal"]:hover { box-shadow: 12px 12px 0 var(--orange); }
.card-icon {
  font-size: 1.8rem;
  line-height: 1;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--off-white);
  transition: transform var(--transition), background var(--transition);
}
.card[data-color="blue"] .card-icon,
.card[data-color="purple"] .card-icon { background: var(--violet-soft); }
.card[data-color="lime"] .card-icon,
.card[data-color="red"] .card-icon    { background: var(--rose-soft); }
.card[data-color="orange"] .card-icon,
.card[data-color="teal"] .card-icon   { background: var(--gold-soft); }
.card:hover .card-icon { transform: scale(1.18) rotate(-8deg); }
.card-num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.card h3 {
  font-size: 1.4rem;
  color: var(--navy);
}
.card p {
  font-size: 0.95rem;
  flex: 1;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  margin-top: 8px;
  transition: gap var(--transition);
}
.card:hover .card-arrow { gap: 10px; }

/* All cards in a grid share the same size, background, and heading scale
   so every box matches — no oversized/tinted "featured" first card. */

/* Card accent colors on hover — ivory, blush, gold, lavender */
.card[data-color="blue"]:hover  { background: #F3EFFC; }
.card[data-color="lime"]:hover  { background: #FBF0EF; }
.card[data-color="orange"]:hover{ background: #FBF3DF; }
.card[data-color="purple"]:hover{ background: #F3EFFC; }
.card[data-color="teal"]:hover  { background: #FBF3DF; }
.card[data-color="red"]:hover   { background: #FBF0EF; }

/* ---- Callout / Feature Strips ---- */
.callout {
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.callout-icon { font-size: 3rem; flex-shrink: 0; }
.callout-body { flex: 1; min-width: 240px; }
.callout-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.callout.lime  { background: linear-gradient(120deg, var(--lime), #A93844); color: var(--white); }
.callout.lime h3 { color: var(--white); }
.callout.lime p  { color: rgba(255,255,255,0.85) !important; }
.callout.navy  {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px, transparent 30px,
      rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 31px
    ),
    var(--navy);
  color: var(--white);
}
.callout.navy p { color: rgba(255,255,255,0.7); }
.callout.navy h3 { color: var(--white); }
.callout.off   { background: var(--off-white); }

/* ---- Why Us / Stats ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-icon {
  width: 52px;
  height: 52px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform var(--transition), background var(--transition);
}
.why-item:nth-child(3n+1) .why-icon { background: var(--gold-soft); }
.why-item:nth-child(3n+2) .why-icon { background: var(--rose-soft); }
.why-item:nth-child(3n)   .why-icon { background: var(--violet-soft); }
.why-item:hover .why-icon { transform: rotate(-10deg) scale(1.15); }
.why-item h4 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--navy);
}
.why-item p { font-size: 0.95rem; }

/* ---- Divider: a strip of piano keys ---- */
.divider {
  height: 52px;
  border: none;
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
  margin: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--navy) 0 22px, transparent 22px 64px),
    repeating-linear-gradient(90deg, #FFFFFF 0 60px, #B8B0A0 60px 64px);
  background-size: 64px 60%, 64px 100%;
  background-position: 33px 0, 0 0;
  background-repeat: repeat-x;
  box-shadow: inset 0 -6px 10px rgba(29,26,47,0.12);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
  border-top: 4px solid var(--orange);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand h4 span { color: var(--orange); font-style: italic; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ---- Even, centered wrapping: no lonely cards hanging off the end ----
   Grids become centered flex rows, so a 5-item set wraps 3 + 2 (centered)
   instead of 4 across with one orphan below. */
.cards-grid, .why-grid,
body .values-grid, body .contact-grid, body .crisis-grid, body .fit-grid,
body .truth-grid, body .degree-grid, body .apptype-grid, body .prep-grid,
body .search-grid, body .studios-grid, body .tier-grid, body .ny-grid,
body .compare-grid, body .schol-grid, body .prog-grid, body .ap-grid,
body .component-grid, body .tool-grid, body .tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.cards-grid > *, .why-grid > *,
body .values-grid > *, body .contact-grid > *, body .crisis-grid > *, body .fit-grid > *,
body .truth-grid > *, body .degree-grid > *, body .apptype-grid > *, body .prep-grid > *,
body .search-grid > *, body .studios-grid > *, body .tier-grid > *, body .ny-grid > *,
body .compare-grid > *, body .schol-grid > *, body .prog-grid > *, body .ap-grid > *,
body .component-grid > *, body .tool-grid > *, body .tools-grid > * {
  flex: 1 1 280px;
  max-width: 420px;
  min-width: 0;
}

/* ---- Symmetry fix: a grid of exactly 4 boxes renders as a balanced 2x2,
   instead of 3 across with a lonely 4th box dropping below. 3- and 6-box
   grids are unaffected (they already wrap evenly). ---- */
:where(.cards-grid, .why-grid, .values-grid, .contact-grid, .crisis-grid,
  .fit-grid, .truth-grid, .degree-grid, .apptype-grid, .prep-grid, .search-grid,
  .studios-grid, .tier-grid, .ny-grid, .compare-grid, .schol-grid, .prog-grid,
  .ap-grid, .component-grid, .tool-grid, .tools-grid) > :first-child:nth-last-child(4),
:where(.cards-grid, .why-grid, .values-grid, .contact-grid, .crisis-grid,
  .fit-grid, .truth-grid, .degree-grid, .apptype-grid, .prep-grid, .search-grid,
  .studios-grid, .tier-grid, .ny-grid, .compare-grid, .schol-grid, .prog-grid,
  .ap-grid, .component-grid, .tool-grid, .tools-grid) > :first-child:nth-last-child(4) ~ * {
  flex: 1 1 calc(50% - 12px);
  max-width: 560px;
}

/* On phones, those same 4-box grids stack one per row. */
@media (max-width: 640px) {
  :where(.cards-grid, .why-grid, .values-grid, .contact-grid, .crisis-grid,
    .fit-grid, .truth-grid, .degree-grid, .apptype-grid, .prep-grid, .search-grid,
    .studios-grid, .tier-grid, .ny-grid, .compare-grid, .schol-grid, .prog-grid,
    .ap-grid, .component-grid, .tool-grid, .tools-grid) > :first-child:nth-last-child(4),
  :where(.cards-grid, .why-grid, .values-grid, .contact-grid, .crisis-grid,
    .fit-grid, .truth-grid, .degree-grid, .apptype-grid, .prep-grid, .search-grid,
    .studios-grid, .tier-grid, .ny-grid, .compare-grid, .schol-grid, .prog-grid,
    .ap-grid, .component-grid, .tool-grid, .tools-grid) > :first-child:nth-last-child(4) ~ * {
    flex-basis: 100%;
    max-width: none;
  }
}

/* ---- Pop treatment for inner-page cards (overrides each page's local styles) ---- */
body .tool-card, body .schol-card, body .prog-card, body .type-card,
body .apptype-card, body .value-card, body .fit-card, body .truth-card,
body .studio-card, body .step-card, body .search-card, body .contact-card,
body .degree-card, body .compare-card, body .ny-card, body .system-card,
body .crisis-card, body .prep-card, body .ap-card, body .tier-card {
  border: 2px solid var(--navy);
  box-shadow: 5px 5px 0 rgba(29,26,47,0.85);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
body .tool-card:hover, body .schol-card:hover, body .prog-card:hover,
body .type-card:hover, body .apptype-card:hover, body .value-card:hover,
body .fit-card:hover, body .truth-card:hover, body .studio-card:hover,
body .step-card:hover, body .search-card:hover, body .contact-card:hover,
body .degree-card:hover, body .compare-card:hover, body .ny-card:hover,
body .system-card:hover, body .crisis-card:hover, body .prep-card:hover,
body .ap-card:hover, body .tier-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--orange);
}

/* ---- Inner page heroes get the concert-hall treatment too ---- */
body .page-hero {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px, transparent 46px,
      rgba(255,255,255,0.05) 46px, rgba(255,255,255,0.05) 47px
    ),
    radial-gradient(circle at 85% 10%, rgba(229,162,38,0.28) 0%, transparent 45%),
    radial-gradient(circle at 5% 95%, rgba(109,69,217,0.35) 0%, transparent 40%),
    var(--navy);
}

/* ---- Icon cleanup: decorative emoji chips removed sitewide ---- */
.card-icon, .why-icon, .callout-icon, .contact-icon, .tip-icon,
.strategy-emoji, .sms-icon, .q-icon, .qr-icon, .crisis-icon {
  display: none !important;
}

/* ============================================
   INTERACTIVE LAYER — used by interactive.js
   ============================================ */

/* ---- Scroll-reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- "Next big deadline" ticker (inserted below nav) ---- */
.deadline-ticker {
  background: linear-gradient(90deg, var(--orange), #F0BC4F);
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.88rem;
  position: relative;
  z-index: 99;
}
.deadline-ticker .dt-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.deadline-ticker .dt-count {
  font-weight: 700;
  color: var(--navy);
  background: rgba(255,255,255,0.5);
  padding: 2px 10px;
  border-radius: 50px;
}
.deadline-ticker .dt-label { font-weight: 500; }
.deadline-ticker .dt-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(29,26,47,0.55);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}
.deadline-ticker .dt-close:hover { color: var(--navy); background: rgba(255,255,255,0.5); }

/* ---- Tappable checklists ---- */
.checklist.interactive { margin-top: 24px; }
.checklist.interactive li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  color: var(--gray-600);
}
.checklist.interactive li::before { content: none !important; }
.checklist.interactive li:hover { border-color: var(--blue-light); transform: translateX(3px); }
.checklist.interactive li .check-bubble {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: all var(--transition);
  margin-top: 2px;
}
.checklist.interactive li.done {
  background: var(--off-white);
  border-color: var(--gray-100);
}
.checklist.interactive li.done .check-bubble {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--white);
}
.checklist.interactive li.done .check-text {
  text-decoration: line-through;
  text-decoration-color: rgba(192,66,78,0.5);
  opacity: 0.6;
}
.checklist-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}
.checklist-progress .bar {
  flex: 1;
  height: 8px;
  background: var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
}
.checklist-progress .bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--orange), var(--lime));
  transition: width 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---- "Which path is for me?" quiz ---- */
.quiz-box {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px, transparent 38px,
      rgba(255,255,255,0.04) 38px, rgba(255,255,255,0.04) 39px
    ),
    var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quiz-box::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(217,154,43,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.quiz-step { position: relative; z-index: 1; }
.quiz-qnum {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--white);
  margin-bottom: 24px;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiz-option:hover {
  border-color: var(--orange);
  background: rgba(217,154,43,0.12);
  transform: translateX(4px);
}
.quiz-option .q-icon { font-size: 1.3rem; }
.quiz-result { position: relative; z-index: 1; text-align: center; }
.quiz-result .qr-icon { font-size: 3rem; margin-bottom: 12px; animation: qrPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes qrPop { from { transform: scale(0); } to { transform: scale(1); } }
.quiz-result h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 10px;
}
.quiz-result p { color: rgba(255,255,255,0.75) !important; margin-bottom: 24px; }
.quiz-restart {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  margin-top: 16px;
  text-decoration: underline;
}
.quiz-restart:hover { color: var(--white); }

/* ---- Click note burst ---- */
.click-note {
  position: fixed;
  pointer-events: none;
  font-size: 1.2rem;
  color: var(--orange);
  z-index: 998;
  animation: clickNote 0.9s ease-out forwards;
}
@keyframes clickNote {
  0%   { opacity: 1; transform: translate(0, 0) scale(0.7) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx, 0), -60px) scale(1.3) rotate(20deg); }
}

/* ---- Confetti canvas ---- */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-note { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .hero { padding: 72px 0 60px; }
  .callout { padding: 32px 24px; flex-direction: column; }
  .quiz-box { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
    gap: 16px;
  }
  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: wrap; position: relative; }
}
