/* ============================================================
   College Recipe — shared design system
   Brand: warm cream / navy / gold · Cormorant Garamond + Jost
   ============================================================ */

:root {
  --cream: #faf8f3;
  --cream-dark: #f0ece0;
  --navy: #12213a;
  --navy-mid: #1e3554;
  --gold: #b8922a;
  --gold-light: #d4aa47;
  --gold-pale: #f5ead0;
  --text: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #8a8aaa;
  --border: rgba(184, 146, 42, 0.2);
  --border-light: rgba(26, 26, 46, 0.1);
  --shadow: 0 4px 24px rgba(18, 33, 58, 0.08);
  --shadow-lg: 0 12px 48px rgba(18, 33, 58, 0.14);
  --shadow-xl: 0 24px 70px rgba(18, 33, 58, 0.18);
  --nav-h: 4.6rem;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(18, 33, 58, 0.06);
  transition: padding .25s ease, box-shadow .25s ease;
}
nav.scrolled { padding-top: 0.75rem; padding-bottom: 0.75rem; box-shadow: 0 4px 28px rgba(18, 33, 58, 0.12); }
.logo {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.01em; text-decoration: none; flex-shrink: 0;
}
.logo span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-mid); text-decoration: none; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  transition: color .2s; position: relative; padding: 0.25rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--gold); transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--navy); color: var(--cream); padding: 0.6rem 1.5rem;
  border-radius: 100px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--navy-mid); transform: translateY(-1px); }
.nav-cta-mobile { display: none; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; z-index: 210;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(18, 33, 58, 0.35); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 190;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-gold, .btn-outline {
  padding: 0.9rem 2.2rem; border-radius: 100px; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  display: inline-block; transition: background .2s, transform .15s, box-shadow .2s, color .2s;
  font-family: var(--sans); border: none; cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(18, 33, 58, 0.25); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184, 146, 42, 0.35); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); padding: 0.88rem 2.2rem; }
.btn-outline:hover { background: var(--navy); color: var(--cream); transform: translateY(-2px); }

/* ---------- LAYOUT ---------- */
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 7rem 4rem 5rem; }
.section { max-width: 1160px; margin: 0 auto; padding: 5rem 4rem; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; color: var(--navy); }
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { color: var(--text-mid); font-size: 1rem; line-height: 1.8; max-width: 540px; margin-bottom: 3rem; font-weight: 300; }
.grid-auto { display: grid; gap: 1.5rem; }

/* ---------- CARDS ---------- */
.card {
  background: #fff; border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow);
  border: 1px solid rgba(26, 26, 46, 0.06); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.section-divider { border: none; border-top: 1px solid var(--border-light); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy); color: rgba(250, 248, 243, 0.7); padding: 4rem 4rem 2.5rem;
}
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--cream); margin-bottom: 0.75rem; }
.footer-logo span { color: var(--gold-light); font-style: italic; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: rgba(250, 248, 243, 0.65); text-decoration: none; font-size: 0.85rem; font-weight: 300; margin-bottom: 0.6rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1160px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(250, 248, 243, 0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: rgba(250, 248, 243, 0.45); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade { opacity: 0; animation: fadeUp .65s forwards; }
.fade-1 { animation-delay: .1s; } .fade-2 { animation-delay: .25s; } .fade-3 { animation-delay: .4s; } .fade-4 { animation-delay: .55s; } .fade-5 { animation-delay: .7s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- FORM INPUTS ---------- */
input, select, textarea {
  width: 100%; background: var(--cream); border: 1.5px solid var(--border-light);
  border-radius: 10px; padding: 0.8rem 1rem; font-size: 0.88rem; color: var(--text);
  font-family: var(--sans); outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.12); }
label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.4rem; font-weight: 600; }

/* ---------- FAQ ACCORDION ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; font-family: var(--sans); font-size: 1.02rem; font-weight: 500; color: var(--navy);
}
.faq-q .plus { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); transition: transform .3s ease; flex-shrink: 0; line-height: 1; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 0 1.4rem; color: var(--text-mid); font-size: 0.92rem; line-height: 1.85; font-weight: 300; }

/* ---------- BADGES / PILLS ---------- */
.pill { font-size: 0.82rem; padding: 0.5rem 1.1rem; border-radius: 100px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    gap: 1.5rem; padding: 6rem 2rem 2rem; box-shadow: -8px 0 40px rgba(18, 33, 58, 0.18);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1); z-index: 200;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; margin-top: 0.5rem; }
  .nav-cta-mobile a { color: var(--gold) !important; font-weight: 600; }
  .page-wrap, .section { padding: 6rem 1.5rem 3rem; }
  footer { padding: 3rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- URGENCY BANNER ---------- */
.urgency-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 36px;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em;
  text-align: center; padding: 0 3rem 0 1rem; gap: 0.4rem;
}
.urgency-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.urgency-bar a:hover { opacity: 0.85; }
.urgency-close {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.75); font-size: 1.2rem;
  cursor: pointer; line-height: 1; padding: 0.25rem 0.4rem; font-family: var(--sans);
}
.urgency-close:hover { color: #fff; }
body.has-banner nav { top: 36px !important; }
body.has-banner header.hero { padding-top: calc(9rem + 36px) !important; }
body.has-banner .page-wrap { padding-top: calc(7rem + 36px) !important; }
@media (max-width: 768px) {
  body.has-banner .page-wrap,
  body.has-banner .section { padding-top: calc(6rem + 36px) !important; }
}
@media (max-width: 600px) {
  body.has-banner header.hero { padding-top: calc(7rem + 36px) !important; }
  .urgency-bar { font-size: 0.68rem; }
}

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