/* ============================================
   NOVE ACADEMY — Brand Stylesheet v2
   Palette: Ivory / Blush / Rose / Plum / Gold
   Type: Fraunces (display) + Inter (body)
   ============================================ */

:root {
  --ivory: #FAF7F5;
  --white: #FFFFFF;
  --blush: #F6E9E7;
  --blush-deep: #EFDCD9;
  --rose: #C16A7B;
  --rose-deep: #9E4D60;
  --plum: #3A2733;
  --plum-deep: #2B1C26;
  --gold: #C29A6C;
  --charcoal: #2A2226;
  --stone: #786A70;
  --line: #EADCD9;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,245,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 112px;
}
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1; color: #141414;
}
.logo .l1 {
  font-family: 'Cormorant Garamond', 'Fraunces', serif; font-weight: 500;
  font-size: 42px; letter-spacing: .30em; text-indent: .30em;
}
.logo .l2 {
  font-family: 'Cormorant Garamond', 'Fraunces', serif; font-weight: 600;
  font-size: 14px; letter-spacing: .52em; text-indent: .52em; margin-top: 4px;
}
.nav-links { display: flex; gap: 34px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--stone); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--rose-deep); }
.nav-cta {
  background: var(--rose); border: 1px solid var(--rose);
  padding: 10px 22px; border-radius: var(--radius);
  color: #fff !important; transition: all .25s !important;
}
.nav-cta:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--charcoal); }

/* ---------- Hero (split) ---------- */
.hero {
  background: linear-gradient(160deg, var(--blush) 0%, var(--ivory) 55%, #F3E4E8 100%);
  padding: 80px 0 90px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: 22px; font-weight: 400;
}
.hero h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 24px; color: var(--plum); }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p.lede { max-width: 520px; margin-bottom: 38px; color: var(--stone); font-size: 17px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 38px; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  transition: all .25s; cursor: pointer; border-radius: var(--radius);
}
.btn-dark { background: var(--rose); color: #fff; border: 1px solid var(--rose); }
.btn-dark:hover { background: var(--rose-deep); border-color: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(158,77,96,.25); }
.btn-ghost { border: 1px solid var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--ivory); }

.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-collage img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: 10px; box-shadow: 0 14px 34px rgba(58,39,51,.18);
}
.hero-collage img:nth-child(1) { height: 300px; margin-top: 40px; }
.hero-collage img:nth-child(2) { height: 300px; }
.hero-collage img:nth-child(3) { grid-column: 1 / -1; height: 190px; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; color: var(--plum); }
.section-head p { color: var(--stone); }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blush-bg { background: linear-gradient(180deg, var(--blush) 0%, var(--ivory) 100%); }

/* ---------- Course cards (with images) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(58,39,51,.14); }
.card-img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 30px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.card .num {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: 14px; font-weight: 400;
}
.card h3 { font-size: 24px; margin-bottom: 12px; color: var(--plum); }
.card p { color: var(--stone); font-size: 15px; flex: 1; }
.card .meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 20px 0 14px; }
.card .price { font-family: 'Fraunces', serif; font-size: 26px; margin: 16px 0 4px; color: var(--rose-deep); }
.card .price small { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--stone); letter-spacing: .06em; }
.card .deposit { font-size: 13px; color: var(--stone); margin-bottom: 20px; }
.card a.more {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-deep); border-bottom: 1px solid var(--rose);
  padding-bottom: 4px; align-self: flex-start; transition: all .2s;
}
.card a.more:hover { color: var(--plum); border-color: var(--plum); }

/* ---------- Feature / why us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 36px 30px; transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(58,39,51,.10); }
.feature h3 { font-size: 21px; margin-bottom: 12px; color: var(--plum); }
.feature p { color: var(--stone); font-size: 15px; }
.feature .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: #fff;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 17px;
  box-shadow: 0 6px 14px rgba(158,77,96,.3);
}

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip img {
  width: 100%; height: 240px; object-fit: cover; border-radius: 10px;
  transition: transform .35s;
}
.photo-strip img:hover { transform: scale(1.035); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .big {
  font-family: 'Fraunces', serif; font-size: 54px; line-height: 1;
  background: linear-gradient(120deg, var(--rose) 0%, var(--rose-deep) 60%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }

/* ---------- Course detail pages ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--blush) 0%, var(--ivory) 60%, #F3E4E8 100%);
  padding: 80px 0 76px; border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 20px; color: var(--plum); }
.page-hero p.lede { max-width: 560px; color: var(--stone); font-size: 17px; }
.page-hero-img {
  width: 100%; height: 340px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(58,39,51,.2);
}
.quick-facts { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 40px; }
.fact .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); }
.fact .v { font-family: 'Fraunces', serif; font-size: 19px; margin-top: 4px; color: var(--plum); }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.curriculum { list-style: none; counter-reset: mod; }
.curriculum li {
  counter-increment: mod;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 28px; align-items: baseline;
}
.curriculum li::before {
  content: "0" counter(mod);
  font-family: 'Fraunces', serif; font-style: italic;
  color: var(--rose); font-size: 15px; min-width: 32px;
}
.curriculum h3 { font-size: 19px; margin-bottom: 6px; color: var(--plum); }
.curriculum p { color: var(--stone); font-size: 15px; }

.aside-box {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 38px 34px; position: sticky; top: 100px;
  box-shadow: 0 10px 30px rgba(58,39,51,.08);
}
.aside-box h3 { font-size: 22px; margin-bottom: 18px; color: var(--plum); }
.aside-box ul { list-style: none; margin-bottom: 28px; }
.aside-box ul li {
  padding: 10px 0 10px 26px; font-size: 15px; color: var(--stone);
  border-bottom: 1px solid var(--line); position: relative;
}
.aside-box ul li::before { content: "—"; position: absolute; left: 0; color: var(--rose); }
.aside-box .btn { width: 100%; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 55%, #57333F 100%);
  color: var(--ivory); text-align: center; padding: 100px 0;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.cta-band h2 em { font-style: italic; color: #E3A9B4; }
.cta-band p { color: #C9B4BC; max-width: 500px; margin: 0 auto 38px; }
.cta-band .btn-light { background: var(--rose); border: 1px solid var(--rose); color: #fff; }
.cta-band .btn-light:hover { background: #fff; border-color: #fff; color: var(--plum); }

/* ---------- Contact ---------- */
.contact-banner { width: 100%; height: 260px; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: 34px; margin-bottom: 20px; color: var(--plum); }
.contact-info p { color: var(--stone); margin-bottom: 32px; }
.info-line { padding: 18px 0; border-top: 1px solid var(--line); }
.info-line .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); }
.info-line .v { font-size: 16px; margin-top: 4px; }
.info-line .v a:hover { color: var(--rose-deep); }

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 40px 36px; box-shadow: 0 10px 30px rgba(58,39,51,.08);
}
form .field { margin-bottom: 22px; }
form label {
  display: block; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 8px;
}
form input, form select, form textarea {
  width: 100%; padding: 14px 16px; font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 300; color: var(--charcoal);
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; outline: none;
}
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--rose); box-shadow: 0 0 0 3px rgba(193,106,123,.15);
}
form textarea { min-height: 140px; resize: vertical; }

/* ---------- Footer ---------- */
footer { background: var(--plum-deep); color: #C9B4BC; padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
footer .logo { margin-bottom: 16px; color: var(--ivory); }
footer .logo .l1 { font-size: 26px; }
footer .logo .l2 { font-size: 10px; }
footer p, footer li { font-size: 14px; color: #B49AA4; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a:hover { color: var(--ivory); }
footer h4 {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 400; color: #E3A9B4;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px;
  font-size: 12px; color: #9A808B;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .card-grid, .card-grid.two, .feature-grid, .stats, .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .aside-box { position: static; }
  .hero-collage img:nth-child(1) { margin-top: 0; }
}
@media (max-width: 620px) {
  .nav-links {
    display: none; position: absolute; top: 112px; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; padding: 24px;
    border-bottom: 1px solid var(--line); gap: 20px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .card-grid, .card-grid.two, .feature-grid, .stats, .footer-grid, .photo-strip { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}
