:root {
  --ink: #102233;
  --navy: #0b1c2c;
  --navy-2: #142b40;
  --paper: #f6f2e9;
  --paper-2: #fffdf8;
  --white: #ffffff;
  --gold: #b18a45;
  --gold-soft: #d7c28f;
  --muted: #5e6974;
  --line: rgba(16, 34, 51, 0.14);
  --shadow: 0 24px 60px rgba(11, 28, 44, 0.10);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }
.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;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.narrow { max-width: 820px; }
.section-pad { padding: 104px 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.028em;
  line-height: 1.08;
}
h1 { font-size: clamp(3.25rem, 4.8vw, 5rem); margin-bottom: 28px; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 3.25vw, 3.6rem); margin-bottom: 26px; font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); margin-bottom: 14px; font-weight: 600; }
p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.brand-word { font-weight: 800; letter-spacing: 0.16em; font-size: 0.9rem; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-size: 0.92rem; font-weight: 650; }
.main-nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--navy);
  padding: 11px 16px;
  border-radius: 999px;
}
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(177, 138, 69, 0.14), transparent 25%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 70px;
  align-items: center;
}
.hero-lead { max-width: 790px; font-size: clamp(1.12rem, 1.6vw, 1.35rem); }
.credentials { color: var(--ink); font-weight: 750; letter-spacing: 0.02em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); box-shadow: 0 12px 30px rgba(11, 28, 44, .18); }
.button-primary:hover { background: var(--navy-2); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.45); }
.button.full { width: 100%; }
.microcopy { font-size: .88rem; max-width: 700px; }

.hero-card {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 48px 38px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(215,194,143,.26);
  border-radius: 18px;
}
.formula {
  position: absolute;
  top: 30px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 2.35rem;
  line-height: 1;
  color: rgba(215, 194, 143, .30);
  pointer-events: none;
}
.hero-card-kicker { color: var(--gold-soft); font-size: .75rem; letter-spacing: .18em; font-weight: 800; }
.hero-card-title { position: relative; z-index: 1; color: var(--white); font-family: Georgia, serif; font-size: 2.2rem; line-height: 1.15; }
.hero-card-rule { width: 54px; height: 1px; background: var(--gold); margin: 20px 0; }
.hero-card-small { color: rgba(255,255,255,.72); }

.proof-strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.1); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--white); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.proof-grid span { color: rgba(255,255,255,.6); font-size: .9rem; }

.intro-centered { text-align: center; margin-inline: auto; margin-bottom: 52px; }
.intro-centered p:last-child { max-width: 760px; margin-inline: auto; }
.cards { display: grid; gap: 18px; }
.three-up { grid-template-columns: repeat(3, 1fr); }
.four-up { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(16,34,51,.04);
}
.card-number { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.card p:last-child { margin-bottom: 0; }

.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.67); }
.split-heading { display: grid; grid-template-columns: 1.05fr .8fr; gap: 100px; align-items: end; margin-bottom: 54px; }
.dark-cards .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.11); box-shadow: none; }

.services-section { background: var(--paper); }
.service-stack { display: grid; gap: 20px; }
.service-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: var(--radius);
}
.service-card.featured { border-color: rgba(177,138,69,.55); box-shadow: var(--shadow); }
.service-index { font-family: Georgia, serif; color: var(--gold); font-size: 2rem; }
.service-label { color: var(--gold); letter-spacing: .14em; font-size: .74rem; font-weight: 800; }
.check-list, .dash-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li, .dash-list li { position: relative; padding-left: 25px; margin: 8px 0; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--gold); position: absolute; left: 0; font-weight: 800; }
.dash-list li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }
.subject-line { color: var(--ink); font-weight: 700; margin-top: 20px; }

.method-section { background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.method-intro { position: sticky; top: 120px; }
.text-link { color: var(--ink); text-decoration: none; font-weight: 800; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.method-steps { border-top: 1px solid var(--line); }
.method-step { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.method-step > span { color: var(--gold); font-weight: 800; letter-spacing: .1em; }
.method-step p:last-child { margin-bottom: 0; }

.professor-section { background: var(--navy); }
.professor-grid { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 72px; align-items: center; }
.portrait-wrap { position: relative; width: 100%; max-width: 320px; justify-self: center; }
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(215,194,143,.35);
  border-radius: var(--radius);
  z-index: 0;
}
.portrait-wrap img { position: relative; z-index: 1; width: 100%; height: auto; display: block; border-radius: var(--radius); filter: grayscale(1) contrast(1.06); }
.professor-copy h2 { color: var(--white); }
.professor-copy p { color: rgba(255,255,255,.68); }
.professor-name { color: var(--gold-soft) !important; font-size: 1.15rem; font-weight: 800; }
.credentials-list { margin: 28px 0; }
.credentials-list > div { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.credentials-list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.credentials-list dt { color: var(--white); font-weight: 700; }
.credentials-list dd { margin: 0; color: rgba(255,255,255,.55); text-align: right; }
blockquote {
  margin: 30px 0 0;
  padding: 24px 0 0 24px;
  border-left: 2px solid var(--gold);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.45;
}

.why-section { background: var(--paper); }
.fit-section { background: var(--navy-2); color: var(--white); }
.fit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.fit-copy h2 { color: var(--white); }
.fit-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-panel { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.04); }
.fit-panel.positive { border-color: rgba(215,194,143,.45); }
.fit-panel h3 { color: var(--white); font-size: 1.45rem; }
.fit-panel .check-list li, .fit-panel .dash-list li { color: rgba(255,255,255,.68); }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 800; color: var(--ink); list-style: none; padding-right: 40px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -4px; font-size: 1.6rem; color: var(--gold); }
details[open] summary::after { content: "−"; }
details p { padding-top: 14px; margin-bottom: 0; }

.application-section { background: var(--paper); }
.application-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.application-copy { position: sticky; top: 120px; }
.contact-note { margin-top: 34px; border-left: 2px solid var(--gold); padding-left: 18px; }
.contact-note strong, .contact-note span { display: block; }
.contact-note span { color: var(--muted); margin-top: 5px; }
.application-form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.form-heading { margin-bottom: 26px; }
.form-heading h3 { margin-bottom: 7px; }
.form-heading p { margin-bottom: 0; }
.field-grid { display: grid; gap: 16px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
label { display: block; font-weight: 750; font-size: .92rem; margin-bottom: 16px; }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(177,138,69,.14); }
textarea { resize: vertical; }
.form-privacy { font-size: .78rem; margin: 12px 0 0; }
.form-status { font-size: .9rem; font-weight: 700; color: var(--ink); margin: 12px 0 0; }

.faq-grid > div:first-child h2 { max-width: 420px; font-size: clamp(2.25rem, 3vw, 3.35rem); }

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status.success { color: #2f6b4f; }
.form-status.error { color: #9b3f3f; }

.site-footer { background: #081622; color: var(--white); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr minmax(250px, 1.05fr) .78fr .82fr; gap: 40px; }
.footer-grid h2 { font-family: inherit; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer-grid p, .footer-grid a { display: block; color: rgba(255,255,255,.6); text-decoration: none; font-size: .93rem; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { color: var(--white); margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,.48); font-size: .84rem; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 1000px) {
  .section-pad { padding: 84px 0; }
  .hero-grid, .professor-grid, .fit-grid, .faq-grid, .application-grid, .method-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-card { min-height: 380px; }
  .four-up { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .method-intro, .application-copy { position: static; }
  .fit-panels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    background: transparent;
    border: 0;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .nav-cta { text-align: center; padding: 12px !important; }
  .three-up { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 50px 1fr; padding: 28px 22px; }
  .credentials-list > div { grid-template-columns: 1fr; gap: 4px; }
  .credentials-list dd { text-align: left; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 68px 0; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.4rem); }
  .hero { min-height: auto; }
  .hero-grid { gap: 40px; }
  .hero-card { min-height: 330px; padding: 34px 28px; }
  .hero-card-title { font-size: 1.9rem; }
  .cta-row { flex-direction: column; }
  .button { width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { padding: 20px 12px; }
  .proof-grid strong { font-size: 1.2rem; }
  .four-up { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; gap: 12px; }
  .service-index { font-size: 1.5rem; }
  .method-step { grid-template-columns: 48px 1fr; }
  .field-grid.two { grid-template-columns: 1fr; }
  .application-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
