:root {
  --ink: #17332f;
  --ink-2: #24443f;
  --paper: #f5f1e9;
  --paper-2: #ebe4d8;
  --white: #fffdf8;
  --sage: #8caa9d;
  --sage-light: #dfe9e3;
  --terracotta: #b66f55;
  --line: rgba(23, 51, 47, .15);
  --shadow: 0 22px 60px rgba(39, 47, 42, .12);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 108px 0; }
.compact { padding: 62px 0; }
.soft-bg { background: var(--white); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Prata", serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.12;
}
h1 { font-size: clamp(48px, 6vw, 80px); max-width: 880px; margin-bottom: 28px; }
h2 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 24px; }
h3 { line-height: 1.25; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 233, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 51, 47, .08);
}
.nav-wrap { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  color: var(--paper); background: var(--ink);
  font-family: "Prata", serif; font-size: 14px;
}
.brand strong, .brand small { display: block; line-height: 1.18; }
.brand strong { font-size: 13px; letter-spacing: .02em; }
.brand small { margin-top: 5px; font-size: 10px; color: rgba(23,51,47,.62); text-transform: uppercase; letter-spacing: .11em; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.nav > a:not(.nav-cta) { position: relative; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--ink); transition: width .25s ease; }
.nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 6px auto; background: var(--ink); transition: .25s ease; }

.hero { padding-top: 78px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 72px; align-items: center; }
.eyebrow, .kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--terracotta); }
.eyebrow { display: inline-flex; padding: 8px 13px; border: 1px solid rgba(182,111,85,.4); border-radius: 999px; margin-bottom: 28px; }
.hero-lead { font-size: 20px; max-width: 700px; color: rgba(23,51,47,.75); margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; cursor: pointer; border: 0; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 12px 28px rgba(23,51,47,.16); }
.button-primary:hover { background: var(--ink-2); }
.button-outline { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: white; }
.button-light { background: var(--paper); color: var(--ink); }
.button-note { font-size: 12px; color: rgba(23,51,47,.62); max-width: 190px; }
.trust-row { margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font-family: "Prata", serif; font-size: 20px; font-weight: 400; }
.trust-row span { margin-top: 4px; font-size: 11px; line-height: 1.45; color: rgba(23,51,47,.58); }
.hero-visual { position: relative; }
.portrait-frame {
  position: relative;
  border-radius: 34px 34px 150px 34px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  aspect-ratio: .8;
}
.portrait-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.5); border-radius: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.hero-visual::before { content: ""; position: absolute; width: 68%; aspect-ratio: 1; border: 1px solid var(--sage); border-radius: 50%; right: -22%; bottom: -12%; z-index: -1; opacity: .5; }
.hero-card { position: absolute; left: -38px; bottom: 34px; display: flex; align-items: center; gap: 10px; background: var(--white); padding: 15px 18px; border-radius: 18px; box-shadow: 0 12px 34px rgba(23,51,47,.14); max-width: 240px; }
.hero-card p { margin: 0; font-size: 11px; line-height: 1.45; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #5f9576; box-shadow: 0 0 0 5px rgba(95,149,118,.12); flex: 0 0 auto; }

.manifesto { background: var(--ink); color: white; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: start; }
.manifesto .kicker { color: #d1a38d; padding-top: 8px; }
blockquote { margin: 0; font-family: "Prata", serif; font-size: clamp(26px, 3vw, 42px); line-height: 1.35; color: rgba(255,255,255,.92); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading p:not(.kicker) { color: rgba(23,51,47,.66); }
.about-copy > p { font-size: 18px; color: rgba(23,51,47,.75); max-width: 700px; }
.principles { margin-top: 40px; border-top: 1px solid var(--line); }
.principles > div { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles span { font-family: "Prata", serif; color: var(--terracotta); }
.principles p { margin: 0; }

.centered { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.request-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.request-card { min-height: 210px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(245,241,233,.36); transition: background .25s ease, transform .25s ease; }
.request-card:hover { background: var(--paper); transform: translateY(-3px); }
.request-card span { color: var(--terracotta); font-family: "Prata", serif; font-size: 13px; }
.request-card p { margin: 62px 0 0; font-size: 16px; font-weight: 600; line-height: 1.5; }

.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.format-card { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,253,248,.44); }
.format-card.featured { background: var(--ink); color: white; border-color: var(--ink); box-shadow: var(--shadow); }
.popular { position: absolute; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.format-label { color: var(--terracotta); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.featured .format-label { color: #e8bca6; }
.format-card h3 { font-family: "Prata", serif; font-size: 29px; font-weight: 400; margin: 20px 0; }
.format-card p { color: rgba(23,51,47,.66); }
.featured p { color: rgba(255,255,255,.7); }
.format-bottom { padding-top: 30px; border-top: 1px solid var(--line); }
.featured .format-bottom { border-color: rgba(255,255,255,.15); }
.price { font-family: "Prata", serif; font-size: 28px; margin-bottom: 22px; }
.price small { display: block; font-family: "Manrope", sans-serif; font-size: 10px; margin-top: 5px; color: rgba(23,51,47,.52); }
.featured .price small { color: rgba(255,255,255,.52); }
.featured .button-primary { background: var(--paper); color: var(--ink); }

.process-section { background: #e8e0d3; }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: start; }
.process-grid .section-heading { position: sticky; top: 130px; }
.steps { border-top: 1px solid rgba(23,51,47,.16); }
.step { display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding: 31px 0; border-bottom: 1px solid rgba(23,51,47,.16); }
.step-num { font-family: "Prata", serif; font-size: 20px; color: var(--terracotta); }
.step h3 { font-family: "Prata", serif; font-size: 27px; font-weight: 400; margin-bottom: 9px; }
.step p { margin: 0; color: rgba(23,51,47,.68); }
.aftercare { background: rgba(255,255,255,.28); padding-left: 20px; padding-right: 20px; }

.education-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.education-intro > p { color: rgba(23,51,47,.62); }
.diploma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diploma-card { text-align: left; border: 0; padding: 0; background: transparent; color: inherit; cursor: zoom-in; }
.diploma-image { aspect-ratio: 1.36; border-radius: 20px; overflow: hidden; background: #dedbd4; box-shadow: 0 14px 36px rgba(23,51,47,.08); }
.diploma-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.diploma-card:hover .diploma-image img { transform: scale(1.025); }
.diploma-meta { padding: 20px 6px 0; }
.diploma-meta span { font-size: 10px; color: var(--terracotta); text-transform: uppercase; letter-spacing: .12em; }
.diploma-meta h3 { font-family: "Prata", serif; font-size: 22px; font-weight: 400; margin: 11px 0 8px; }
.diploma-meta p { font-size: 12px; color: rgba(23,51,47,.55); }

.final-cta { padding: 58px 0 100px; background: var(--white); }
.cta-card { min-height: 350px; border-radius: 34px; background: var(--ink); color: white; padding: 58px; display: grid; grid-template-columns: 1.5fr .5fr; gap: 70px; align-items: end; overflow: hidden; position: relative; }
.cta-card::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -160px; top: -170px; }
.cta-card h2 { font-size: clamp(34px, 4vw, 54px); max-width: 760px; }
.cta-card p { color: rgba(255,255,255,.67); max-width: 700px; margin-bottom: 0; }
.kicker.light { color: #e8bca6; }
.cta-side { position: relative; z-index: 1; }
.cta-side .button { width: 100%; }
.cta-side span { display: block; margin-top: 14px; font-size: 10px; color: rgba(255,255,255,.52); text-align: center; }

.footer { padding: 52px 0 74px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: end; }
.footer-brand { margin-bottom: 22px; }
.footer p { font-size: 12px; color: rgba(23,51,47,.58); margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-links a:hover { text-decoration: underline; }
.back-top { font-size: 12px; }
.mobile-cta { display: none; }

.lightbox { width: min(94vw, 1280px); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; background: #151b19; color: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(8,15,13,.78); backdrop-filter: blur(8px); }
.lightbox-inner { max-height: 92vh; overflow: auto; padding: 26px; }
.lightbox img { width: 100%; height: auto; border-radius: 10px; }
.lightbox p { margin: 14px 0 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.68); }
.lightbox-close { position: fixed; right: max(3vw, 20px); top: 18px; z-index: 2; border: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.94); color: #111; font-size: 27px; line-height: 1; cursor: pointer; }

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

@media (max-width: 980px) {
  .section { padding: 82px 0; }
  .nav { position: fixed; inset: 86px 0 auto 0; height: calc(100vh - 86px); padding: 48px 24px; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; transform: translateX(100%); transition: transform .28s ease; }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .nav-cta { margin-top: 22px; text-align: center; border: 0; background: var(--ink); color: white; }
  .menu-button { display: block; }
  .menu-button.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; max-width: 620px; }
  .portrait-frame { border-radius: 30px 30px 120px 30px; }
  .manifesto-grid, .about-grid, .process-grid, .education-intro, .cta-card { grid-template-columns: 1fr; gap: 38px; }
  .request-grid { grid-template-columns: repeat(2, 1fr); }
  .format-grid { grid-template-columns: 1fr; }
  .format-card { min-height: 0; }
  .process-grid .section-heading { position: static; }
  .diploma-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .back-top { grid-column: 2; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  body { padding-bottom: 72px; }
  .section { padding: 68px 0; }
  .site-header .brand small { display: none; }
  .nav-wrap { height: 72px; }
  .nav { top: 72px; height: calc(100vh - 72px); }
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  .hero { padding-top: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .button-note { max-width: 100%; }
  .trust-row { grid-template-columns: 1fr; gap: 18px; }
  .hero-card { left: 12px; right: 12px; bottom: 18px; max-width: none; }
  .manifesto-grid { gap: 16px; }
  blockquote { font-size: 25px; }
  .about-grid { gap: 34px; }
  .request-grid { grid-template-columns: 1fr; }
  .request-card { min-height: 150px; }
  .request-card p { margin-top: 34px; }
  .format-card { padding: 28px; border-radius: 22px; }
  .step { grid-template-columns: 54px 1fr; }
  .diploma-grid { grid-template-columns: 1fr; }
  .education-intro { gap: 12px; }
  .cta-card { padding: 34px 26px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .back-top { grid-column: auto; }
  .mobile-cta { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: block; }
  .mobile-cta a { display: flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 12px 30px rgba(23,51,47,.3); font-size: 13px; font-weight: 700; }
  .lightbox { width: 96vw; }
  .lightbox-inner { padding: 14px; }
}

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