:root {
  --paper: #f5f2e8;
  --paper-deep: #e8e2d2;
  --ink: #15293d;
  --ink-soft: #516171;
  --turmeric: #f2cb05;
  --turmeric-dark: #d8b300;
  --chilli: #e5533d;
  --herb: #2d7258;
  --white: #fffef8;
  --line: #c9c4b5;
  --shadow: 8px 10px 0 rgba(21, 41, 61, .14);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, .brand__text { font-family: "Fraunces", serif; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--chilli); outline-offset: 3px; }
.kicker {
  color: var(--herb);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker span {
  display: inline-block;
  margin-right: .5rem;
  padding: .1rem .45rem;
  color: var(--ink);
  background: var(--turmeric);
  transform: rotate(-1deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--primary { color: var(--ink); background: var(--turmeric); }
.btn--primary:hover { background: #ffda18; }
.btn--large { padding: .95rem 1.5rem; }
.btn--nav { margin-left: 1rem; color: var(--white); background: var(--ink); border-color: var(--ink); font-size: .86rem; }
.btn--nav:hover { color: var(--ink); background: var(--turmeric); }
.btn--light { color: var(--ink); background: var(--white); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  border: 0;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.text-link:hover span { transform: translateY(3px); }
.text-link--dark { color: var(--ink); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 232, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav__inner {
  display: flex;
  align-items: center;
  max-width: 1240px;
  min-height: 74px;
  margin: auto;
  padding: .65rem 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand__seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: "Fraunces", serif;
  font-weight: 800;
  transform: rotate(-7deg);
}
.brand__text { font-size: 1.13rem; font-weight: 800; line-height: .95; }
.brand__text small {
  display: block;
  margin-top: .35rem;
  font-family: "DM Sans", sans-serif;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav__links { display: flex; gap: 1.65rem; margin-left: auto; }
.nav__links a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav__links a:hover { box-shadow: inset 0 -.65em var(--turmeric); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  min-height: 680px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5.6rem 2rem 4.5rem;
}
.hero__copy { align-self: center; padding-right: 4rem; }
.hero h1 {
  max-width: 10ch;
  margin: 1rem 0 1.4rem;
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  letter-spacing: -.045em;
}
.hero h1 em {
  position: relative;
  z-index: 0;
  font-style: normal;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -.08em;
  bottom: .08em;
  left: -.08em;
  height: .28em;
  background: var(--turmeric);
  transform: rotate(-1deg);
}
.hero__intro { max-width: 57ch; color: var(--ink-soft); font-size: 1.12rem; }
.hero__actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.proof-strip {
  display: flex;
  gap: 1.7rem;
  margin-top: 3.2rem;
  list-style: none;
}
.proof-strip li { color: var(--ink-soft); font-size: .78rem; }
.proof-strip strong { display: block; color: var(--ink); font-family: "Fraunces", serif; font-size: 1.5rem; }
.hero__visual { position: relative; min-height: 540px; }
.hero__image {
  position: absolute;
  inset: 0 2.2rem 0 0;
  background: url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=1100&q=82") center/cover;
  border-radius: 48% 48% 8px 8px;
  box-shadow: var(--shadow);
}
.planner-note {
  position: absolute;
  right: -1rem;
  bottom: 2.2rem;
  width: 215px;
  padding: 2rem 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 6px 7px 0 rgba(21, 41, 61, .18);
  transform: rotate(3deg);
}
.planner-note__clip {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 18px;
  height: 40px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  transform: rotate(6deg);
}
.planner-note small { color: var(--chilli); font-weight: 700; text-transform: uppercase; }
.planner-note strong { display: block; margin-top: .5rem; font-family: "Fraunces", serif; font-size: 1.25rem; line-height: 1.25; }
.hero__stamp {
  position: absolute;
  top: 1.3rem;
  left: -2.4rem;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  color: var(--white);
  background: var(--chilli);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
}
.course-tabs {
  position: absolute;
  right: -57px;
  top: 8rem;
  display: flex;
  gap: .45rem;
  transform: rotate(90deg);
  transform-origin: center;
}
.course-tabs span { padding: .3rem .8rem; background: var(--turmeric); border-radius: 4px 4px 0 0; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.course-tabs span:nth-child(2) { background: #ef9f8f; }
.course-tabs span:nth-child(3) { color: var(--white); background: var(--herb); }
.course-tabs span:nth-child(4) { background: #9fc9d8; }

.fit-finder {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem max(2rem, calc((100vw - 1176px) / 2));
  color: var(--white);
  background: var(--ink);
}
.fit-finder > p { font-family: "Fraunces", serif; font-size: 1.1rem; }
.fit-finder div { color: #d5dde4; font-size: .78rem; }
.fit-finder div span { margin-right: .35rem; color: var(--turmeric); font-weight: 800; }
.fit-finder__action { padding: .45rem 0; color: var(--turmeric); background: none; border: 0; font-weight: 700; cursor: pointer; }

.section { max-width: 1240px; margin: 0 auto; padding: 6rem 2rem; }
.section__head { margin-bottom: 3rem; }
.section__head--split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; }
.section__head h2, .planner__copy h2, .campus__copy h2, .final-cta h2 { margin-top: .7rem; font-size: clamp(2.5rem, 5vw, 4.3rem); letter-spacing: -.04em; }
.section__head--split > p { max-width: 44ch; color: var(--ink-soft); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.chip {
  padding: .65rem 1rem;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.chip:hover, .chip.is-active { color: var(--ink); border-color: var(--turmeric); }
.results-count { margin: 1rem 0 1.4rem; color: var(--ink-soft); font-size: .78rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { position: relative; flex: 0 0 35%; min-height: 220px; background-position: center; background-size: cover; }
.card__tag {
  position: absolute;
  top: .7rem;
  left: .7rem;
  padding: .2rem .45rem;
  color: var(--white);
  background: var(--ink);
  font-size: .62rem;
  font-weight: 700;
}
.card__body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem; }
.card__code { color: var(--chilli); font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.card h3 { margin: .45rem 0 1rem; font-size: 1.18rem; line-height: 1.18; }
.card__meta { display: grid; gap: .2rem; margin-bottom: 1rem; color: var(--ink-soft); font-size: .75rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--paper-deep); }
.card__price { font-family: "Fraunces", serif; font-size: 1.12rem; font-weight: 800; }
.card__ask { padding: .35rem 0; color: var(--herb); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .73rem; font-weight: 700; cursor: pointer; }

.planner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
  padding: 7rem max(2rem, calc((100vw - 1176px) / 2));
  background: var(--turmeric);
}
.planner__preview { position: relative; min-height: 470px; }
.planner-sheet {
  position: absolute;
  inset: 0 3rem 0 1rem;
  padding: 3.2rem 3rem;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 10px 12px 0 var(--ink);
  transform: rotate(-2deg);
}
.planner-sheet--back { background: #b9d8cc; transform: rotate(4deg) translate(10px, -5px); box-shadow: none; }
.planner-sheet__label { display: inline-block; padding: .25rem .6rem; color: var(--white); background: var(--chilli); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.planner-sheet > p { margin-top: 3rem; color: var(--herb); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.planner-sheet h2 { max-width: 10ch; margin: .6rem 0 1.7rem; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.04em; }
.planner-sheet ul { margin-left: 1.1rem; color: var(--ink-soft); }
.planner-sheet__scribble { position: absolute; right: 2rem; bottom: 1.8rem; color: var(--chilli); font-family: "Fraunces", serif; font-style: italic; transform: rotate(-4deg); }
.planner__copy { max-width: 550px; }
.planner__copy > p:not(.kicker) { max-width: 50ch; margin: 1.2rem 0; }
.check-list { display: grid; gap: .55rem; margin: 1.4rem 0 2rem; list-style: none; }
.check-list li::before { content: "✓"; margin-right: .65rem; font-weight: 800; }
.lead-form label { display: block; margin-bottom: .45rem; font-weight: 700; }
.lead-form__row { display: flex; gap: .6rem; }
.lead-form input {
  flex: 1;
  min-width: 0;
  padding: .85rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 4px;
}
.lead-form__fine { margin-top: .55rem; font-size: .73rem; }
.lead-form__status { min-height: 1.4rem; margin-top: .5rem; font-weight: 700; }

.why { padding-top: 7rem; padding-bottom: 7rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.principles article { min-height: 280px; padding: 2rem; background: var(--white); border-right: 1px solid var(--line); }
.principles article:last-child { border-right: 0; }
.principles span { display: inline-block; margin-bottom: 3rem; color: var(--chilli); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.principles h3 { margin-bottom: .8rem; font-size: 1.65rem; }
.principles p { color: var(--ink-soft); }

.campus { display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; color: var(--white); background: var(--herb); }
.campus__image { background: url("https://images.unsplash.com/photo-1607013251379-e6eecfffe234?auto=format&fit=crop&w=1200&q=82") center/cover; }
.campus__copy { align-self: center; max-width: 590px; padding: 5rem; }
.campus .kicker { color: var(--turmeric); }
.location { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.location:first-of-type { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.28); }
.location span { color: var(--turmeric); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.location p { color: #dfeae5; font-size: .9rem; }
.campus .text-link { margin-top: 1.6rem; color: var(--white); }

.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.4rem 3rem 1.4rem 0; font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::after { content: "+"; position: absolute; right: .5rem; font-family: "DM Sans", sans-serif; font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 70ch; padding: 0 0 1.5rem; color: var(--ink-soft); }

.final-cta { padding: 7rem 2rem; color: var(--white); background: var(--chilli); text-align: center; }
.final-cta .kicker { color: var(--turmeric); }
.final-cta > p:not(.kicker) { max-width: 50ch; margin: 1.3rem auto 2rem; }
.final-cta__contact a { font-weight: 700; }
.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 3.5rem max(2rem, calc((100vw - 1176px) / 2));
  color: #dce3e8;
  background: var(--ink);
}
.brand--footer { color: var(--white); }
.footer > div > p { margin-top: 1rem; color: #9caab5; font-size: .85rem; }
.footer__links { display: flex; align-items: center; gap: 1.4rem; }
.footer__links a { font-size: .85rem; text-decoration: none; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid #405366; color: #91a1ad; font-size: .72rem; }

.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--ink);
  background: var(--turmeric);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: .69rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
}
.chat-fab__pulse { position: absolute; inset: -2px; border: 2px solid var(--ink); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { to { transform: scale(1.45); opacity: 0; } }
.chat {
  position: fixed;
  right: 24px;
  bottom: 110px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 9px 0 var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: .2s ease;
}
.chat.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.chat__header { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; color: var(--white); background: var(--ink); }
.chat__id { display: flex; align-items: center; gap: .7rem; }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); background: var(--turmeric); border-radius: 50%; font-family: "Fraunces", serif; font-weight: 800; }
.chat__id strong { display: block; }
.chat__id small { color: #cbd5dd; font-size: .75rem; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: .2rem; background: #7fe0a8; border-radius: 50%; }
.chat__close { color: var(--white); background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
.chat__body { display: flex; flex: 1; flex-direction: column; gap: .75rem; overflow-y: auto; padding: 1rem; background: var(--paper); }
.msg { max-width: 84%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; font-size: .87rem; white-space: pre-wrap; }
.msg--bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 2px; }
.msg--user { align-self: flex-end; color: var(--white); background: var(--herb); border-color: var(--herb); border-bottom-right-radius: 2px; }
.typing { display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; background: var(--ink-soft); border-radius: 50%; animation: bounce 1.1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-4px); } }
.chat__suggest { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem; border-top: 1px solid var(--line); }
.chat__suggest button { flex: 0 0 auto; padding: .4rem .65rem; color: var(--herb); background: #e4efe9; border: 0; border-radius: 4px; font-size: .74rem; cursor: pointer; }
.chat__input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.chat__input input { flex: 1; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 4px; }
.chat__input button { width: 42px; color: var(--ink); background: var(--turmeric); border: 1px solid var(--ink); border-radius: 4px; font-weight: 800; cursor: pointer; }

@media (max-width: 1050px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr .82fr; }
  .hero__copy { padding-right: 2rem; }
  .fit-finder { grid-template-columns: 1fr repeat(3, auto); }
  .fit-finder__action { grid-column: 1 / -1; justify-self: end; }
}
@media (max-width: 800px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 3.8rem; }
  .hero__copy { padding-right: 0; }
  .hero__visual { min-height: 450px; margin-top: 3rem; }
  .hero__stamp { left: -.5rem; }
  .course-tabs { display: none; }
  .fit-finder { grid-template-columns: 1fr; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .fit-finder__action { grid-column: auto; justify-self: start; }
  .section__head--split, .planner, .campus { grid-template-columns: 1fr; }
  .section__head--split { gap: 1rem; }
  .planner { gap: 4rem; }
  .planner__preview { min-height: 440px; }
  .campus__image { min-height: 430px; }
  .campus__copy { padding: 4rem 2rem; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles article:last-child { border-bottom: 0; }
  .principles span { margin-bottom: 1.5rem; }
}
@media (max-width: 580px) {
  .nav__inner { padding: .6rem 1rem; }
  .btn--nav { padding: .6rem .7rem; font-size: .72rem; }
  .brand__text { font-size: .93rem; }
  .brand__seal { width: 37px; height: 37px; }
  .hero { min-height: auto; padding: 3rem 1rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .text-link { align-self: flex-start; }
  .proof-strip { gap: .9rem; justify-content: space-between; }
  .hero__visual { min-height: 390px; }
  .hero__image { right: .75rem; }
  .planner-note { right: -.25rem; width: 175px; }
  .section { padding: 4.5rem 1rem; }
  .grid { grid-template-columns: 1fr; }
  .card__img { flex-basis: 32%; }
  .planner { padding: 5rem 1rem; }
  .planner__preview { min-height: 390px; }
  .planner-sheet { inset: 0 1rem; padding: 2.4rem 1.5rem; }
  .planner-sheet > p { margin-top: 2rem; }
  .lead-form__row { flex-direction: column; }
  .campus__image { min-height: 330px; }
  .footer { grid-template-columns: 1fr; padding: 3rem 1rem; }
  .footer__links { flex-wrap: wrap; }
  .footer__legal { grid-column: auto; }
  .chat { right: 16px; bottom: 100px; }
  .chat-fab { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
