:root {
  --ink: #07111c;
  --ink-soft: #0e1c2a;
  --paper: #f4f1e9;
  --paper-2: #e9e3d7;
  --gold: #d9ad58;
  --gold-light: #f0d89c;
  --mist: #9aabb7;
  --line: rgba(255, 255, 255, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Inter, Arial, sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 75% 7%, rgba(35, 83, 102, .24), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-light);
  font-family: var(--serif); font-size: .9rem;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
.brand-copy small { color: var(--mist); font-size: .72rem; margin-top: 5px; }
.site-header nav { display: flex; gap: 34px; color: #c8d1d6; font-size: .9rem; }
.site-header nav a, .site-footer a { transition: color .25s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--gold-light); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border: 1px solid var(--gold);
  background: var(--gold); color: var(--ink); font-weight: 700;
  letter-spacing: .02em; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.button:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .85rem; background: transparent; color: var(--paper); }
.button-small:hover { color: var(--ink); }
.button-light { background: var(--paper); border-color: var(--paper); }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.18fr .82fr; gap: 86px; align-items: center; padding-block: 74px 92px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .75rem; }
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(4rem, 7vw, 7.25rem); margin: 27px 0 28px; }
h2 { font-size: clamp(3rem, 5.3vw, 5.3rem); margin-bottom: 26px; }
h1 em, h2 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { color: #b7c2c8; font-size: 1.13rem; max-width: 620px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; font-size: .92rem; }
.text-link:hover { border-color: var(--gold); color: var(--gold-light); }
.hero-proof { display: flex; gap: 46px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; }
.hero-proof strong { color: var(--gold-light); font: 2rem var(--serif); }
.hero-proof span { color: var(--mist); font-size: .76rem; max-width: 105px; line-height: 1.4; }

.hero-card { background: var(--paper); color: var(--ink); padding: 16px 16px 24px; box-shadow: var(--shadow); transform: rotate(1.4deg); }
.portrait-wrap { position: relative; aspect-ratio: 1 / .88; overflow: hidden; background: #1f2d37; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; filter: saturate(.72) contrast(1.04); }
.portrait-glow { position: absolute; inset: auto 10% -20% 10%; height: 45%; background: rgba(217,173,88,.5); filter: blur(50px); mix-blend-mode: screen; }
.hero-card blockquote { font: 1.35rem/1.45 var(--serif); margin: 24px 15px 20px; }
.hero-card > p { display: grid; margin: 0 15px 14px; line-height: 1.35; }
.hero-card > p strong { font-size: .9rem; }
.hero-card > p span, .hero-card > small { color: #63717b; font-size: .75rem; }
.hero-card > small { display: block; margin: 0 15px; }

.marquee { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(255,255,255,.2); }
.marquee div { display: flex; align-items: center; width: max-content; gap: 32px; padding: 13px 0; animation: marquee 34s linear infinite; }
.marquee span { text-transform: uppercase; letter-spacing: .13em; font-size: .77rem; font-weight: 800; }
.marquee i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.catalog { padding-block: 130px; }
.section-heading { display: grid; grid-template-columns: 1fr 400px; align-items: end; gap: 80px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--mist); margin-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 52px 0 30px; }
.filter { border: 1px solid var(--line); background: transparent; color: #c3cdd2; padding: 9px 17px; cursor: pointer; font-size: .84rem; border-radius: 100px; transition: .25s ease; }
.filter:hover, .filter.active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.course-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.course-shelf::after { content: ""; position: absolute; left: -15px; right: -15px; bottom: -16px; height: 8px; background: linear-gradient(90deg, #5a421d, #d9ad58 40%, #684d25); box-shadow: 0 15px 30px rgba(0,0,0,.5); }
.course-card {
  min-height: 410px; padding: 26px; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: transform .32s ease, border-color .32s ease, background .32s ease, opacity .3s ease;
}
.course-card:hover { transform: translateY(-7px); border-color: rgba(217,173,88,.7); background: linear-gradient(145deg, rgba(217,173,88,.12), rgba(255,255,255,.02)); }
.course-card[hidden] { display: none; }
.course-top { display: flex; justify-content: space-between; color: var(--gold-light); text-transform: uppercase; letter-spacing: .13em; font-size: .69rem; }
.course-top small { color: #758995; }
.course-icon { height: 80px; display: flex; align-items: center; color: var(--gold); font: 2.1rem var(--serif); }
.course-card h3 { font: 1.72rem/1.1 var(--serif); margin: 0 0 15px; }
.course-card > p { color: #9fafb7; font-size: .91rem; line-height: 1.62; flex: 1; }
.course-meta { display: flex; gap: 18px; color: #7f929d; font-size: .74rem; margin-bottom: 18px; }
.course-link { min-height: 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 15px; font-size: .86rem; font-weight: 700; }
.course-link span { color: var(--gold); font-size: 1.15rem; }

.method { background: var(--paper); color: var(--ink); padding-block: 120px; }
.method .eyebrow, .expert .eyebrow { color: #7d5a1d; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.method-intro > p:last-child { color: #596671; max-width: 530px; }
.method-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid #c9c2b6; }
.method-steps li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid #c9c2b6; }
.method-steps li > span { color: #9c7a3e; font: italic 1.1rem var(--serif); }
.method-steps h3 { margin: 0 0 5px; font: 1.55rem var(--serif); }
.method-steps p { color: #66717a; margin: 0; }

.expert { padding-block: 130px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: center; }
.expert-photo { padding: 14px; background: #152433; border: 1px solid var(--line); }
.expert-photo img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; filter: grayscale(.16) saturate(.75); }
.expert-photo span { display: block; color: var(--mist); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; padding: 14px 4px 1px; }
.expert-copy .lead { font: 1.45rem/1.5 var(--serif); color: #d8e0e4; max-width: 650px; }
.expert-copy > p:not(.eyebrow):not(.lead) { color: var(--mist); max-width: 650px; }
.expert-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0; }
.expert-details div { display: grid; border-top: 1px solid var(--line); padding-top: 14px; }
.expert-details small { color: var(--mist); font-size: .72rem; }
.expert-details strong { font-size: .88rem; }

.cta { background: var(--gold); color: var(--ink); text-align: center; padding: 90px 30px; margin-bottom: 90px; }
.cta .eyebrow { color: #5e451b; justify-content: center; }
.cta h2 { margin: 30px auto 36px; max-width: 900px; }
.cta h2 em { color: #4c3818; }
.cta small { display: block; margin-top: 20px; color: #654a1b; }

.site-footer { min-height: 140px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--mist); font-size: .8rem; }
.site-footer p { margin: 0; }
.site-footer > div { display: flex; gap: 25px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--paper); color: var(--ink); padding: 13px 20px; box-shadow: var(--shadow); font-size: .85rem; opacity: 0; pointer-events: none; transition: .3s ease; width: max-content; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 60px; }
  .hero-card { width: min(600px, 100%); transform: none; }
  .course-shelf { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .method-grid { grid-template-columns: 1fr; gap: 38px; }
  .method-grid { gap: 60px; }
  .expert { gap: 55px; }
}

@media (max-width: 700px) {
  .shell, .site-header { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 76px; }
  .site-header > .button { display: none; }
  .hero { min-height: 0; padding-block: 62px 72px; }
  h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  h2 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .hero-actions { align-items: stretch; flex-direction: column; width: fit-content; }
  .hero-proof { gap: 22px; justify-content: space-between; }
  .catalog { padding-block: 90px; }
  .course-shelf { grid-template-columns: 1fr; }
  .course-card { min-height: 365px; }
  .method { padding-block: 85px; }
  .expert { grid-template-columns: 1fr; padding-block: 90px; }
  .expert-photo { max-width: 480px; }
  .expert-details { grid-template-columns: 1fr; }
  .cta { margin-bottom: 60px; padding: 70px 20px; }
  .site-footer { padding-block: 35px; gap: 26px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
