/* Knowhow Test Prep & Tutoring */
:root {
  --green: #1F4D3A;
  --green-deep: #163828;
  --gold: #B8913A;
  --gold-light: #D9B661;
  --gold-dark: #7A5C1C;
  --ivory: #F7F3E8;
  --parchment: #EFE8D6;
  --ink: #1C1C1C;
  --muted: #4A4A44;
  --destructive: #A3261B;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-control: 4px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23B8913A' stroke-width='1' opacity='0.22'%3E%3Crect x='30' y='30' width='36' height='36'/%3E%3Crect x='30' y='30' width='36' height='36' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='8'/%3E%3Cpath d='M0 48h12M84 48h12M48 0v12M48 84v12'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  display: block;
}
.on-green .eyebrow { color: var(--gold-light); }

.rule {
  width: 72px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 1.5rem 0;
}
.center .rule { margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--green); color: var(--ivory); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 232, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 145, 58, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem var(--pad-x);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--green);
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0.3rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--ivory); box-shadow: none; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--green);
  border-radius: var(--radius-control);
  color: var(--green);
  font: 600 0.9rem var(--sans);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-control);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--green); color: var(--ivory); }
.btn-primary:hover { background: var(--green-deep); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--ivory); }
.on-green .btn-ghost { border-color: var(--ivory); color: var(--ivory); }
.on-green .btn-ghost:hover { background: var(--ivory); color: var(--green); }
.nav .btn { padding: 0.6rem 1.15rem; font-size: 0.95rem; }

/* Sections */
section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad-x); }
.on-green {
  background-color: var(--green);
  background-image: var(--star);
  color: var(--ivory);
}
.on-green a:not(.btn) { color: var(--gold-light); }
.parchment { background: var(--parchment); }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 40rem; }
.on-green .lede { color: rgba(247, 243, 232, 0.88); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.narrow { max-width: 46rem; }
.center.narrow, .narrow.center { margin: 0 auto; }

/* Hero */
.hero {
  min-height: min(88vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}
.hero h1 { color: var(--ivory); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-mark {
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
}
.page-hero { padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.page-hero h1 { color: var(--ivory); max-width: 18ch; }

/* Credibility strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
  padding-bottom: 0;
  background: var(--green-deep);
  color: var(--ivory);
}
.strip div {
  padding: 2rem 1.25rem;
  border-left: 1px solid rgba(184, 145, 58, 0.4);
}
.strip div:first-child { border-left: 0; }
.strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}
.strip span { font-size: 0.95rem; opacity: 0.9; }

/* Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: #FFFDF7;
  border: 1px solid rgba(31, 77, 58, 0.15);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22, 56, 40, 0.12); color: var(--ink); }
.card h3 { color: var(--green); }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 600; color: var(--green); }
.card .tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

/* Phases */
.phase {
  position: relative;
  padding-top: 1.25rem;
  border-top: 2px solid var(--gold);
}
.phase-num {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.phase h3 { color: var(--green); }
.on-green .phase h3 { color: var(--ivory); }
.on-green .phase p { color: rgba(247, 243, 232, 0.88); }

/* Split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split-art {
  aspect-ratio: 1;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--green);
}
.on-green blockquote { color: var(--ivory); }

/* Services detail */
.service {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(31, 77, 58, 0.18);
  scroll-margin-top: 6rem;
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { color: var(--green); }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.7rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
}
.steps-list li { border-top: 2px solid var(--gold); padding-top: 1rem; }
.steps-list strong { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--green); margin-bottom: 0.4rem; }

/* Resources */
.shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.shelf .card { border-top-style: dashed; }
.soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius-control);
  padding: 0.2rem 0.6rem;
  margin-top: 1rem;
  align-self: flex-start;
}

/* Contact + form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.contact-aside h2 { color: var(--green); }
.contact-aside dl { margin: 2rem 0 0; }
.contact-aside dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.contact-aside dd { margin: 0.2rem 0 1.4rem; font-size: 1.1rem; }

.form-panel {
  background: #FFFDF7;
  border: 1px solid rgba(31, 77, 58, 0.18);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-field { margin-bottom: 1.35rem; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.form-field .req { color: var(--gold-dark); margin-left: 0.15rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #B9B3A2;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(184, 145, 58, 0.35); }
.form-field [aria-invalid="true"] { border-color: var(--destructive); }
.form-field .help { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; }
.field-error, .form-error { color: var(--destructive); font-size: 0.92rem; margin: 0.35rem 0 0; }
.form-error { margin: 0 0 1rem; font-weight: 600; }
.form-panel .btn { width: 100%; font-size: 1.05rem; padding: 1rem; }
.form-panel .btn[disabled] { opacity: 0.65; cursor: progress; }
.form-status { color: var(--muted); }
.thanks h3 { color: var(--green); }

/* CTA band */
.cta-band h2 { color: var(--ivory); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band .actions { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: rgba(247, 243, 232, 0.85);
  padding: 3.5rem var(--pad-x) 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(184, 145, 58, 0.35);
}
.site-footer .brand { color: var(--ivory); }
.site-footer .brand-name small { color: var(--gold-light); }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(247, 243, 232, 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0.8; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid rgba(184, 145, 58, 0.4); }
}
@media (max-width: 1240px) {
  .menu-toggle { display: inline-block; }
  .nav { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 860px) {
  .hero, .split, .service, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-mark { width: 220px; order: -1; justify-self: start; }
  .split-art { max-width: 260px; }
  .tutor { grid-template-columns: 1fr; }
  .tutor-photo { max-width: 340px; }
  .quotes, .price-grid { grid-template-columns: 1fr; }
  .grid-3, .shelf { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .steps-list, .strip { grid-template-columns: 1fr; }
  .strip div { border-left: 0 !important; border-top: 1px solid rgba(184, 145, 58, 0.4); }
  .strip div:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* v2: proof, tutor, testimonials, pricing */
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.schools-band { padding-top: 2.25rem; padding-bottom: 2.25rem; background: var(--parchment); text-align: center; }
.schools-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.9rem; }
.schools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.2rem; }
.schools li { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--green); }
.tutor {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.tutor-photo {
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 145, 58, 0.5);
  box-shadow: 14px 14px 0 var(--gold);
  justify-self: center;
}
.tutor h2 { color: var(--green); }
.chips { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(31, 77, 58, 0.35);
  border-radius: var(--radius-control);
  padding: 0.3rem 0.75rem;
  background: #FFFDF7;
}
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.quote {
  margin: 0;
  background: #FFFDF7;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote blockquote { font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); margin-bottom: 1.5rem; }
.quote figcaption { font-size: 0.95rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--green); font-size: 1.05rem; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFDF7;
  border: 1px solid rgba(31, 77, 58, 0.18);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem 1.5rem;
}
.price-card.featured { border: 2px solid var(--green); border-top: 6px solid var(--gold); box-shadow: 0 14px 30px rgba(22, 56, 40, 0.14); }
.price-card h3 { color: var(--green); margin-bottom: 0.25rem; }
.price { margin: 0.25rem 0; }
.price strong { font-family: var(--serif); font-size: 2.6rem; color: var(--ink); line-height: 1; }
.price span { color: var(--muted); font-size: 0.95rem; }
.price-note { color: var(--gold-dark); font-weight: 600; font-size: 0.95rem; }
.price-card .checklist { flex: 1; margin-bottom: 1.5rem; font-size: 0.97rem; }
.price-card .btn { text-align: center; font-size: 0.92rem; padding: 0.75rem 1rem; }
.badge {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  background: var(--green);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-control);
}

/* v3: pricing calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; margin-top: 2.5rem; align-items: stretch; }
.calc-controls { background: #FFFDF7; border: 1px solid rgba(31, 77, 58, 0.18); border-top: 3px solid var(--gold); border-radius: var(--radius-md); padding: 2rem; }
.calc-result { background-color: var(--green); background-image: var(--star); color: var(--ivory); border-radius: var(--radius-md); padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.calc-price { margin: 0 0 0.5rem; }
.calc-price strong { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--gold-light); margin-right: 0.4rem; }
.calc-price span { font-size: 1.05rem; }
.calc-hour { font-size: 1.15rem; margin-bottom: 0.4rem; }
.calc-save { color: rgba(247, 243, 232, 0.88); min-height: 3.2em; }
.calc-result .btn { align-self: flex-start; margin-top: 0.75rem; }
.calc-note { font-size: 0.9rem; color: rgba(247, 243, 232, 0.75); margin: 1rem 0 0; }
.compare { margin-top: 2.5rem; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; background: #FFFDF7; border: 1px solid rgba(31, 77, 58, 0.18); border-radius: var(--radius-md); }
.compare caption { text-align: left; font-weight: 600; color: var(--gold-dark); padding: 0 0 0.75rem; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid rgba(31, 77, 58, 0.12); }
.compare thead th { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: var(--parchment); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tr.is-selected { background: rgba(184, 145, 58, 0.16); }
.compare tr.is-selected th { color: var(--green); }
.matrix td { text-align: center; color: var(--green); font-weight: 600; }
.matrix thead th:not(:first-child) { text-align: center; }
.badge-inline { display: inline-block; background: var(--green); color: var(--ivory); font-size: 0.65rem; padding: 0.15rem 0.45rem; border-radius: var(--radius-control); margin-left: 0.3rem; vertical-align: middle; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* v4: FAQ */
.faq { max-width: 60rem; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(184, 145, 58, 0.4); }
.faq-nav a { font-weight: 600; text-decoration: none; color: var(--green); }
.faq-nav a:hover { color: var(--gold-dark); }
.faq-group { margin-bottom: 3.5rem; scroll-margin-top: 6rem; }
.faq-group h2 { color: var(--green); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.faq-intro { color: var(--muted); max-width: 46rem; }
.faq-item { background: #FFFDF7; border: 1px solid rgba(31, 77, 58, 0.15); border-left: 3px solid var(--gold); border-radius: var(--radius-md); margin-bottom: 0.75rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.4rem; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-dark); font-weight: 400; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { color: var(--green); }
.faq-answer { padding: 0 1.4rem 1.2rem; color: var(--ink); }
.faq-answer p:last-child { margin-bottom: 0; }

/* v5: enrollment */
.agreement { max-width: 60rem; }
.agreement-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.agreement-head h2 { color: var(--green); }
.terms { margin: 0; padding-left: 1.6rem; }
.terms li { margin-bottom: 0.9rem; padding-left: 0.3rem; }
.terms li::marker { color: var(--gold-dark); font-weight: 700; }
.terms strong { color: var(--green); }
.form-field input[type="checkbox"] { width: auto; margin-right: 0.5rem; transform: scale(1.2); }
@media print {
  .site-header, .site-footer, .no-print, .page-hero, .steps-list, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  section { padding: 0 !important; background: #fff !important; }
  .terms li { break-inside: avoid; }
}

/* v6: language switch + friends band */
.lang-switch { display: flex; gap: 0.15rem; align-items: center; }
.nav-links .lang-switch a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); padding: 0.25rem 0.45rem; border-radius: var(--radius-control); box-shadow: none; }
.nav-links .lang-switch a:hover { color: var(--green); background: rgba(184, 145, 58, 0.15); box-shadow: none; }
.nav-links .lang-switch a.is-current { background: var(--green); color: var(--ivory); }
.friends-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem 4rem; flex-wrap: wrap; background: var(--parchment); border-top: 3px solid var(--gold); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.friends-band > div { max-width: 44rem; }
.friends-band h2 { color: var(--green); }
.friends-band .lede { margin-bottom: 0; }
@media (min-width: 1241px) and (max-width: 1480px) { .nav-links { gap: 1.1rem; } .nav .btn { padding: 0.55rem 0.9rem; } }
@media (min-width: 1241px) and (max-width: 1320px) { .brand-name { font-size: 1.25rem; } .nav-links a { font-size: 0.92rem; } }

/* v7: Knowhow rebrand — navy + gold, Bricolage Grotesque + Inter */
:root {
  --green: #14213D;
  --green-deep: #0E1830;
  --gold: #C9A24A;
  --gold-light: #E4B54A;
  --gold-dark: #7A5C1C;
  --ivory: #F7F5F0;
  --parchment: #ECEAE3;
  --ink: #17171C;
  --muted: #4A4D57;
  --serif: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --star: none;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
h1 { letter-spacing: -0.03em; }
blockquote { font-style: normal; font-weight: 500; }
.site-header { background: rgba(247, 245, 240, 0.96); border-bottom-color: rgba(20, 33, 61, 0.12); }
.btn { border-radius: 999px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #FFFFFF; }
.card, .price-card, .calc-controls, .form-panel, .quote, .faq-item, .chips li, .compare table { background: #FFFFFF; }
.card, .price-card, .calc-controls, .form-panel { border-color: rgba(20, 33, 61, 0.12); border-top-color: var(--gold); }

/* logo */
.brand svg { width: 30px; height: 30px; }
.kh-word { font-family: var(--serif); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.035em; line-height: 1; color: var(--green); }
.site-footer .kh-word { color: #F4F1EA; }
@keyframes nowcycle-deep { 0%, 100% { color: #1E3F9A; } 25% { color: #0B7A80; } 50% { color: #9C6B12; } 75% { color: #B83A2A; } }
@keyframes nowcycle-light { 0%, 100% { color: #8FA8F5; } 25% { color: #40C4C0; } 50% { color: #E4B54A; } 75% { color: #F07B5E; } }
.kh-now { animation: nowcycle-deep 8s ease-in-out infinite; }
.on-green .kh-now, .site-footer .kh-now { animation-name: nowcycle-light; }

/* photo headers: the photo sits under a navy filter; swap --hero-img to change it */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--green); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, none) center / cover no-repeat; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 24, 48, 0.94) 0%, rgba(20, 33, 61, 0.86) 35%, rgba(20, 33, 61, 0.86) 70%, rgba(14, 24, 48, 0.94) 100%); }
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: min(90vh, 820px); }
.hero > div { max-width: 52rem; display: flex; flex-direction: column; align-items: center; }
.hero .hero-word { font-family: var(--serif); font-weight: 800; font-size: clamp(4.2rem, 13vw, 8.5rem); letter-spacing: -0.045em; line-height: 0.95; color: #F4F1EA; margin: 0 0 1.25rem; }
.hero .hero-tag { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; color: #F4F1EA; margin: 0 0 1.25rem; }
.hero .hero-tag em { font-style: normal; color: var(--gold-light); }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.hero-quote { margin: 2.5rem auto 0; max-width: 40rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 241, 234, 0.25); }
.hero-quote blockquote { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4; color: #F4F1EA; }
.hero-quote figcaption { margin-top: 0.6rem; font-size: 0.92rem; color: #C9D3E8; }
.page-hero { text-align: center; }
.page-hero h1 { margin-left: auto; margin-right: auto; }
.page-hero .lede { margin-left: auto; margin-right: auto; }
.page-hero .actions { justify-content: center; }

/* schools carousel */
.schools-band { overflow: hidden; }
.schools-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.schools-marquee .schools { flex-wrap: nowrap; width: max-content; gap: 0 3rem; animation: marquee 40s linear infinite; }
.schools-marquee:hover .schools { animation-play-state: paused; }
.schools li { white-space: nowrap; font-size: 1.3rem; font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.kh-art { max-width: 320px; }
@media (prefers-reduced-motion: reduce) {
  .kh-now { animation: none; }
  .schools-marquee .schools { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .schools-marquee .schools li[aria-hidden="true"] { display: none; }
}
@media (max-width: 860px) { .hero > div { max-width: 100%; } }
.hero .hero-word { display: flex; align-items: center; justify-content: center; gap: 0.18em; }
.hero-bars { width: 0.62em; height: 0.62em; flex: none; }

/* v8: Archivo titles; bars sit beside the word like a letter */
:root { --serif: "Archivo", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3 { letter-spacing: -0.015em; }
.brand { align-items: baseline; gap: 0.1rem; }
.brand svg { width: 1.45rem; height: 1.45rem; margin-bottom: -0.12rem; }
.kh-word { font-weight: 800; letter-spacing: -0.03em; }
.hero .hero-word { align-items: baseline; gap: 0.04em; letter-spacing: -0.035em; }
.hero-bars { width: 0.74em; height: 0.74em; margin-bottom: -0.06em; }

/* v9: tagline under the logo */
.kh-lockup { display: inline-flex; flex-direction: column; line-height: 1; }
.kh-tag { display: block; margin-top: 0.3rem; font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); white-space: nowrap; }
.site-footer .kh-tag { color: var(--gold-light); }

/* v10: real photos */
.hero::after, .page-hero::after { background: linear-gradient(180deg, rgba(14, 24, 48, 0.92) 0%, rgba(20, 33, 61, 0.82) 35%, rgba(20, 33, 61, 0.82) 70%, rgba(14, 24, 48, 0.92) 100%); }
.split-photo { width: 100%; max-width: 460px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); box-shadow: 14px 14px 0 var(--gold); justify-self: center; }
@media (max-width: 860px) { .split-photo { max-width: 340px; } }

/* v11: hover motion */
.nav-links a, .lang-switch a, .faq-nav a, .card .more { display: inline-block; transition: transform 0.18s ease, color 0.15s, background 0.15s, box-shadow 0.15s; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn):focus-visible, .lang-switch a:hover, .faq-nav a:hover { transform: scale(1.08); }
.btn { transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.15s, color 0.15s, border-color 0.15s; will-change: transform; }
.btn-ghost:hover, .btn-ghost:focus-visible { transform: scale(1.04); }
.btn-gold:hover, .btn-gold:focus-visible { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(228, 181, 74, 0.25), 0 10px 28px rgba(228, 181, 74, 0.45); }
.btn-primary:hover, .btn-primary:focus-visible { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.28), 0 10px 26px rgba(20, 33, 61, 0.35); }
.btn:active { transform: scale(0.98); }
.brand { transition: transform 0.2s ease; }
.brand:hover { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .nav-links a:hover, .lang-switch a:hover, .faq-nav a:hover, .btn:hover, .btn:focus-visible, .btn:active, .brand:hover { transform: none !important; }
}
