/* ============ TOKENS ============ */
:root {
  --navy-900: #0b1f38;
  --navy-800: #0f2a4a;
  --navy-700: #17395f;
  --navy-100: #e6edf5;
  --gold-500: #c9962b;
  --gold-400: #ddb04a;
  --gold-100: #f8eed6;
  --ink: #16202c;
  --ink-soft: #4a5868;
  --line: #dfe5ec;
  --paper: #ffffff;
  --tint: #f5f7fa;
  --green: #1f7a4d;
  --green-bg: #e3f3ea;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 31, 56, .06), 0 8px 24px rgba(11, 31, 56, .08);
  --shadow-lg: 0 2px 4px rgba(11, 31, 56, .06), 0 20px 48px rgba(11, 31, 56, .14);
  --max: 1160px;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy-900); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 6px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: #fff; box-shadow: 0 6px 18px rgba(201, 150, 43, .35); }
.btn-gold:hover { background: #b5841f; }
.btn-ghost { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--navy-900); }
.brand-name b { color: var(--gold-500); font-weight: 700; }
.brand-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--navy-800); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: .2s; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% -10%, var(--gold-100), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, var(--navy-100), transparent 60%),
    var(--paper);
  padding: 84px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-400); }
.hero h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-500); font-style: italic; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.lead strong { color: var(--navy-900); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { font-size: 15px; font-weight: 500; color: var(--navy-800); padding-left: 26px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23c9962b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.mentor-card {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 32px 28px; text-align: center; border: 1px solid var(--line); position: relative;
}
.mentor-card::before {
  content: ""; position: absolute; inset: -10px -10px auto auto; width: 90px; height: 90px;
  border-radius: 22px; background: var(--gold-500); opacity: .14; z-index: -1;
}
.mentor-photo {
  width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-700));
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 6px var(--gold-100);
}
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; }
.monogram { font-family: var(--font-head); font-size: 54px; font-weight: 600; color: var(--gold-400); }
.mentor-name { font-size: 28px; margin-bottom: 2px; }
.mentor-role { color: var(--ink-soft); margin-bottom: 4px; }
.mentor-boards { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-500); margin-bottom: 18px; }
.mentor-subjects { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mentor-subjects span {
  font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: var(--navy-100); color: var(--navy-800);
}

/* ============ SECTIONS ============ */
.section { padding: 92px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy-900); color: #d6dfea; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-title { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -.01em; }
.section-title.light { color: #fff; }
.section-sub { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }
.section-sub.light { color: #b9c6d6; }

/* About */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.profile { margin: 0; position: sticky; top: 104px; }
.profile-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700));
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .monogram { font-size: 88px; }
.profile figcaption {
  margin: -36px 20px 0; position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); border-top: 3px solid var(--gold-500);
}
.profile-name { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy-900); }
.profile-role { display: block; font-size: 14px; color: var(--ink-soft); }
.credentials { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.credentials:empty { display: none; }
.credentials li { padding: 2px 0; }
.about-copy .section-title { margin-bottom: 20px; }
.about-copy p { font-size: 16.5px; color: var(--ink-soft); }
.about-copy .about-lead { font-size: 19px; color: var(--navy-900); line-height: 1.6; }
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); margin: 32px 0 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; color: var(--navy-900); }

/* Subjects */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.subject-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 32px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.subject-card h3 { font-size: 24px; margin: 18px 0 10px; }
.subject-card > p { color: var(--ink-soft); }
.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400);
}
.icon-badge svg { width: 28px; height: 28px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-500); transform: rotate(45deg); }

/* Approach */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 3px solid var(--navy-800); }
.steps li:nth-child(even) { border-top-color: var(--gold-500); }
.step-num { font-family: var(--font-head); font-size: 40px; font-weight: 600; color: var(--line); display: block; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 15px; }


/* Materials */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font: 500 14px var(--font-body); cursor: pointer;
}
.filter:hover { border-color: var(--navy-700); color: var(--navy-800); }
.filter.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.material {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.material[hidden] { display: none; }
.material-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tag-commerce { color: var(--navy-700); }
.tag-economics { color: var(--green); }
.format { font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--tint); padding: 3px 10px; border-radius: 6px; }
.material h3 { font-size: 19px; }
.material p { font-size: 14.5px; color: var(--ink-soft); margin: 0; flex: 1; }
.material-meta { font-size: 13px; color: var(--ink-soft); }
.material .btn { align-self: flex-start; padding: 10px 18px; font-size: 14px; }
.btn-disabled { background: var(--tint); color: var(--ink-soft); border-color: var(--line); cursor: default; box-shadow: none; }
.btn-disabled:hover { transform: none; }

.offline-note {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 20px 24px;
  border-radius: var(--radius); background: var(--navy-100); color: var(--navy-900);
}
.offline-note svg { width: 28px; height: 28px; flex: none; color: var(--navy-800); }
.offline-note p { margin: 0; font-size: 15px; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; margin: 0;
}
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: 18px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 20px; font-size: 16px; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--navy-800); color: var(--gold-400); font-weight: 700; font-size: 15px;
}
.review-name { font-weight: 600; color: var(--navy-900); font-size: 15px; }
.review-role { font-size: 13px; color: var(--ink-soft); }
.placeholder-flag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #a13c3c; margin-bottom: 8px; }

/* Forms */
input, select, textarea {
  width: 100%; font: 15px var(--font-body); color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 150, 43, .2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-700); display: grid; place-items: center; color: var(--gold-400); flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--gold-400); }
.copy-btn {
  margin-left: 4px; padding: 3px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid #35506f; background: transparent; color: #b9c6d6; font: 500 12px var(--font-body);
}
.copy-btn:hover { border-color: var(--gold-400); color: var(--gold-400); }
.copy-btn.is-done { border-color: #4fbf8a; color: #4fbf8a; }
.contact-form { background: var(--paper); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-status.is-ok { display: block; background: var(--green-bg); color: var(--green); }
.form-status.is-error { display: block; background: #fbeaea; color: #a13c3c; }
.form-status a { color: inherit; font-weight: 600; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-hint { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }

/* Footer */
.site-footer { background: #081729; color: #9fb0c4; padding: 48px 0 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-tag { color: #9fb0c4; }
.footer-note { margin-top: 14px; font-size: 14px; max-width: 34ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-links a { text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid #1a2d45; padding: 18px 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .materials-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mentor-card { max-width: 420px; }
  .profile { position: static; max-width: 360px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 20px 20px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .cards-2, .materials-grid, .reviews-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .brand-name { font-size: 18px; }
  .lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
