:root {
  --ink: #2a1710;
  --ink-soft: #2b2825;
  --paper: #f6f1e8;
  --paper-bright: #fcfaf6;
  --line: rgba(42, 23, 16, .16);
  --clay: #755c4c;
  --clay-dark: #4b2b20;
  --sand: #e9c19d;
  --taupe: #e9c19d;
  --white: #fff;
  --muted: #6c625c;
  --radius: 1.25rem;
  --wrap: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@font-face { font-family: 'Montserrat Brand'; src: url('fonts/Montserrat-Regular.ttf') format('truetype'); font-display: swap; font-weight: 400; }
@font-face { font-family: 'Montserrat Brand'; src: url('fonts/Montserrat-SemiBold.ttf') format('truetype'); font-display: swap; font-weight: 600 800; }
@font-face { font-family: 'Cormorant SC Brand'; src: url('fonts/CormorantSC-Regular.ttf') format('truetype'); font-display: swap; font-weight: 400; }
@font-face { font-family: 'Cormorant SC Brand'; src: url('fonts/CormorantSC-SemiBold.ttf') format('truetype'); font-display: swap; font-weight: 600; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Montserrat Brand', Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9a6847; outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--white); color: var(--ink); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(1rem, calc((100vw - 1180px) / 2)); color: var(--ink); border-bottom: 1px solid rgba(42,23,16,.16); }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo-frame { position: relative; display: block; width: 188px; height: 64px; overflow: hidden; }
.brand-logo-frame img { position: absolute; width: 280px; max-width: none; height: auto; left: -49px; top: -48px; }
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a { text-decoration: none; font-size: .9rem; color: rgba(42,23,16,.72); }
.desktop-nav a:hover { color: var(--ink); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.25rem; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { background: var(--clay-dark); box-shadow: 0 10px 24px rgba(42,23,16,.16); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: .6rem 1rem; font-size: .9rem; }
.button-light { background: var(--sand); color: var(--ink); }
.button-light:hover { background: #f2d1b3; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--clay-dark); }

.hero { position: relative; min-height: 880px; display: flex; align-items: center; overflow: hidden; background: var(--paper); color: var(--ink); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 72% 54%; opacity: .72; filter: saturate(.58) brightness(1.2) contrast(.9); }
.hero-portrait { position: absolute; z-index: 1; right: max(310px, calc((100vw - 580px) / 2)); bottom: 0; width: min(35vw, 500px); height: 760px; overflow: hidden; opacity: .82; }
.hero-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, transparent 14%), linear-gradient(90deg, var(--paper) 0%, transparent 24%), linear-gradient(0deg, var(--paper) 0%, transparent 18%); pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(246,241,232,.99) 0%, rgba(246,241,232,.96) 45%, rgba(246,241,232,.68) 67%, rgba(246,241,232,.3) 100%), linear-gradient(0deg, rgba(246,241,232,.8), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding: 132px 0 64px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy-block { min-width: 0; }
.eyebrow { margin: 0 0 1.2rem; font-size: .78rem; line-height: 1.4; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.eyebrow.dark { color: #6f5947; }
.hero h1, .section h2, .case-section h2, .registration h2 { margin: 0; font-family: 'Cormorant SC Brand', Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -.025em; line-height: .96; text-wrap: balance; }
.hero .eyebrow { color: var(--clay); }
.hero h1 { max-width: 780px; font-size: clamp(3rem, 4.65vw, 4.55rem); }
.hero h1 em { color: var(--clay); font-weight: 400; font-style: normal; }
.hero-copy { max-width: 625px; margin: 2rem 0 1.6rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(42,23,16,.76); }
.event-line { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.event-line span { padding: .55rem .8rem; border: 1px solid rgba(42,23,16,.22); border-radius: 999px; font-size: .9rem; backdrop-filter: blur(8px); background: rgba(252,250,246,.56); }
.hero-gift { display: grid; gap: .2rem; max-width: 590px; padding: 1rem 1.1rem; border-left: 3px solid var(--sand); background: rgba(252,250,246,.68); backdrop-filter: blur(8px); }
.hero-gift span { color: var(--clay); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-gift strong { font-size: .94rem; line-height: 1.4; }
.hero-form { box-shadow: 0 24px 70px rgba(42,23,16,.2); }
.hero-form .form-heading { margin-bottom: 1.2rem; }
.hero-number { position: absolute; z-index: 1; left: -1vw; bottom: -8vw; margin: 0; font-family: 'Cormorant SC Brand', Georgia, serif; font-size: clamp(10rem, 28vw, 28rem); line-height: .8; color: rgba(42,23,16,.035); pointer-events: none; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sand); color: var(--ink); border-top: 1px solid rgba(42,23,16,.12); }
.proof-item { min-height: 180px; padding: 2rem clamp(1rem, 4vw, 4.5rem); border-right: 1px solid rgba(42,23,16,.14); }
.proof-item:last-child { border-right: 0; }
.proof-item span { display: block; margin-bottom: 2rem; color: var(--clay); font-size: .8rem; }
.proof-item strong { display: block; font-family: 'Cormorant SC Brand', Georgia, serif; font-size: 1.5rem; font-weight: 600; line-height: 1.08; }
.proof-item p { margin: .6rem 0 0; color: rgba(42,23,16,.66); font-size: .9rem; }

.section { padding: clamp(5rem, 9vw, 9rem) 0; }
.section-light { background: var(--paper-bright); }
.section-ink { background: var(--ink); color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2, .case-section h2, .registration h2, .lead-magnet h2 { font-size: clamp(2.5rem, 4.4vw, 4.4rem); }
.section-heading > p:last-child { max-width: 560px; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.08rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; }
.split-heading > p { color: rgba(255,255,255,.58) !important; }

.lead-magnet { overflow: hidden; background: var(--paper); }
.material-heading { max-width: 820px; margin-bottom: 2rem; }
.lead-magnet .material-heading h2 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.06; }
.material-heading > p:last-child { max-width: 640px; font-size: 1rem; }
.material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.material-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius); }
.material-cover { display: grid; place-items: center; margin: 0; padding: 1.75rem; background: #efe7dc; border-bottom: 1px solid var(--line); }
.material-cover img { width: min(100%, 232px); height: auto; aspect-ratio: 1074 / 1518; object-fit: contain; box-shadow: 0 8px 22px rgba(42,23,16,.14); }
.material-card-copy { min-width: 0; padding: clamp(1.25rem, 2.4vw, 2rem); }
.material-index { display: block; color: var(--clay); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.material-card h3 { margin: .9rem 0 1rem; font-family: 'Cormorant SC Brand', Georgia, serif; font-size: clamp(1.75rem, 2.4vw, 2.125rem); font-weight: 600; line-height: 1.12; text-wrap: balance; overflow-wrap: break-word; }
.material-card strong { display: block; margin-bottom: .75rem; font-size: 1rem; line-height: 1.5; }
.material-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.material-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-top: 1.25rem; padding: 1.25rem 1.4rem; background: var(--sand); border-radius: var(--radius); }
.material-cta p { max-width: 650px; margin: 0; font-weight: 600; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.situation-card { min-height: 260px; padding: 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.situation-card span { color: var(--clay); font-size: .78rem; }
.situation-card h3 { max-width: 260px; margin: 3.2rem 0 .8rem; font-family: 'Cormorant SC Brand', Georgia, serif; font-weight: 600; font-size: 1.7rem; line-height: 1.08; }
.situation-card p { margin: 0; color: var(--muted); }

.program-list { border-top: 1px solid rgba(255,255,255,.18); }
.program-item { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 2.2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.program-item > span { color: var(--sand); font-size: .85rem; }
.program-item h3 { margin: 0 0 .5rem; font-family: 'Cormorant SC Brand', Georgia, serif; font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 600; line-height: 1.08; }
.program-item p { max-width: 700px; margin: 0; color: rgba(255,255,255,.58); }
.section-cta { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-top: 4rem; padding: 2.2rem; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); }
.section-cta p { max-width: 760px; margin: 0; font-family: 'Cormorant SC Brand', Georgia, serif; font-size: clamp(1.5rem, 2.7vw, 2.5rem); font-weight: 600; line-height: 1.12; }

.case-section { padding: clamp(5rem, 9vw, 9rem) 0; background: var(--sand); color: var(--ink); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.case-intro blockquote { margin: 3rem 0 0; padding-left: 1.5rem; border-left: 2px solid var(--ink); font-family: 'Cormorant SC Brand', Georgia, serif; font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.case-visual { margin: 2.25rem 0 0; overflow: hidden; background: var(--paper-bright); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(38,29,23,.18); }
.case-visual img { width: 100%; aspect-ratio: 1.38 / 1; object-fit: cover; object-position: center; }
.case-visual figcaption { padding: .85rem 1rem; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.case-flow { padding: 2rem; background: rgba(255,255,255,.32); border-radius: var(--radius); }
.case-step { padding: 1.4rem; background: var(--paper-bright); border-radius: .9rem; }
.case-step span { display: block; margin-bottom: .5rem; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.case-step strong { font-family: 'Cormorant SC Brand', Georgia, serif; font-size: 1.55rem; font-weight: 600; line-height: 1.15; }
.case-step.accent { background: var(--ink); color: var(--white); }
.case-step.accent span { color: var(--sand); }
.case-arrow { padding: .55rem 0; text-align: center; font-size: 1.5rem; }
.data-note { margin: 1rem 0 0; font-size: .78rem; line-height: 1.45; color: rgba(23,25,21,.7); }

.expert-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.expert-portrait { position: relative; min-height: 520px; margin: 0; overflow: hidden; background: var(--ink); border-radius: var(--radius); }
.expert-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,10,.76), transparent 38%); pointer-events: none; }
.expert-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.expert-portrait figcaption { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.35rem; color: var(--white); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.expert-copy h2 { margin: 0; font-family: 'Cormorant SC Brand', Georgia, serif; font-weight: 600; font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -.025em; line-height: .98; }
.expert-role { margin: 1.2rem 0 2rem; color: #6f5947; font-size: 1.15rem; font-weight: 700; }
.expert-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; }
.expert-stats div { min-height: 120px; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: .85rem; }
.expert-stats strong, .expert-stats span { display: block; }
.expert-stats strong { font-family: 'Cormorant SC Brand', Georgia, serif; font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1; }
.expert-stats span { margin-top: .65rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.credentials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.credentials span { padding: .65rem .8rem; background: var(--paper); border-radius: 999px; font-size: .84rem; }

.outcomes { background: var(--paper); }
.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.outcome-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.outcome-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.outcome-list span { color: var(--clay); font-size: .78rem; }

.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-family: 'Cormorant SC Brand', Georgia, serif; font-size: 1.35rem; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--clay); font: 400 1.5rem Arial, sans-serif; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--muted); }

.registration { position: relative; padding: clamp(5rem, 10vw, 10rem) 0; overflow: hidden; background: var(--ink); color: var(--white); }
.registration-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.registration-copy p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.registration-copy p strong { color: var(--white); }
.registration-form { padding: 1.6rem; background: var(--paper-bright); color: var(--ink); border-radius: var(--radius); }
.form-heading { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; font-weight: 700; }
.form-heading span:last-child { color: var(--muted); font-weight: 400; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .88rem; font-weight: 700; }
.field input { width: 100%; min-height: 52px; padding: .75rem .9rem; border: 1px solid rgba(42,23,16,.26); border-radius: .75rem; background: var(--white); color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180,35,24,.12); }
.field-error { min-height: 1.25rem; margin: .3rem 0 0; color: #a11b12; font-size: .78rem; }
.button-submit { width: 100%; }
.form-note { margin: .85rem 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.form-success { margin-top: 1rem; padding: 1rem; background: #e6eee6; border-radius: .75rem; }
.form-success.is-error { background: #f5dfda; color: #6f2418; }
.form-success strong, .form-success span { display: block; }
.telegram-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: .8rem; padding: .65rem 1rem; border-radius: 999px; background: #229ed9; color: var(--white); font-weight: 700; text-decoration: none; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.metrika-pixel { position: absolute; left: -9999px; }
.button:disabled { cursor: wait; opacity: .72; transform: none; }
.registration-backdrop { position: absolute; inset: auto auto -5vw -1vw; color: rgba(255,255,255,.035); font-family: 'Cormorant SC Brand', Georgia, serif; font-size: 20vw; line-height: .8; pointer-events: none; }

.footer { padding: 1.5rem 0 6rem; background: var(--paper-bright); color: var(--muted); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; gap: 2rem; font-size: .84rem; }
.mobile-cta { display: none; }

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

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { min-height: 1000px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy-block { max-width: 720px; }
  .hero-form { width: min(100%, 560px); }
  .hero-portrait { right: -8vw; width: 58vw; height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgba(246,241,232,.99), rgba(246,241,232,.8)), linear-gradient(0deg, rgba(246,241,232,.72), transparent 52%); }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(42,23,16,.14); }
  .proof-item span { margin-bottom: .8rem; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading, .case-grid, .expert-grid, .outcomes-grid, .faq-grid, .registration-grid { grid-template-columns: 1fr; }
  .material-cta { grid-template-columns: 1fr; gap: 1rem; }
  .material-cta .button { justify-self: start; }
  .expert-portrait { min-height: 520px; }
  .registration-form { max-width: 560px; }
}

@media (max-width: 620px) {
  :root { --wrap: min(100% - 1.25rem, 1180px); }
  body { padding-bottom: 72px; }
  .site-header { height: 68px; padding-inline: .75rem; }
  .brand-logo-frame { width: 146px; height: 58px; }
  .brand-logo-frame img { width: 226px; left: -40px; top: -38px; }
  .site-header .button-small { display: none; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero-image { opacity: .38; }
  .hero-portrait { right: -36vw; width: 100vw; height: 720px; opacity: .32; }
  .hero-portrait::after { background: linear-gradient(90deg, var(--paper) 0%, transparent 50%), linear-gradient(0deg, var(--paper) 0%, transparent 34%); }
  .hero-shade { background: linear-gradient(90deg, rgba(246,241,232,.98), rgba(246,241,232,.74)), linear-gradient(0deg, rgba(246,241,232,.94), transparent 64%); }
  .hero-content { padding: 102px 0 3.5rem; }
  .hero-layout { gap: 2rem; }
  .hero h1 { font-size: clamp(2.05rem, 8.9vw, 2.8rem); line-height: .98; }
  .hero-copy { margin: 1.4rem 0; font-size: 1rem; }
  .event-line { gap: .4rem; }
  .event-line span { font-size: .8rem; }
  .hero-form { padding: 1.15rem; }
  .section { padding: 4.5rem 0; }
  .section-heading h2, .case-section h2, .registration h2, .lead-magnet h2 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .material-grid { grid-template-columns: 1fr; }
  .material-cover { padding: 1.5rem; }
  .material-cover img { width: min(100%, 208px); }
  .material-card-copy { padding: 1.5rem; }
  .material-card h3 { font-size: 1.875rem; }
  .material-cta { grid-template-columns: 1fr; padding: 1.2rem; }
  .material-cta .button { width: 100%; }
  .audience-grid { grid-template-columns: 1fr; }
  .situation-card { min-height: 225px; }
  .program-item { grid-template-columns: 42px 1fr; }
  .section-cta { grid-template-columns: 1fr; padding: 1.4rem; }
  .section-cta .button { width: 100%; }
  .case-section { padding: 4.5rem 0; }
  .case-flow { padding: 1rem; }
  .expert-portrait { min-height: 430px; }
  .expert-stats { grid-template-columns: 1fr; }
  .expert-stats div { min-height: auto; }
  .footer .wrap { flex-direction: column; gap: .5rem; }
  .mobile-cta { position: fixed; z-index: 50; display: flex; align-items: center; justify-content: center; left: .65rem; right: .65rem; bottom: max(.65rem, env(safe-area-inset-bottom)); min-height: 52px; padding: .7rem 1rem; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px rgba(42,23,16,.24); }
  .mobile-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
}

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