:root {
  --ink: #353139;
  --cream: #f6f0ed;
  --paper: #fffaf7;
  --sand: #d8c9c5;
  --accent: #a66e82;
  --blush: #e8cdd3;
  --sage: #cbd6ca;
  --lavender: #dcd5e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.scroll-progress { position: fixed; left: 0; top: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #d1a8b5, var(--sage)); z-index: 20; pointer-events: none; }

.header { height: 88px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(28,27,24,.15); position: absolute; z-index: 5; width: 100%; }
.logo { font-family: "Prata", serif; font-size: 20px; letter-spacing: .08em; }
.logo span { display: block; margin-top: -4px; font: 500 9px "Manrope"; letter-spacing: .38em; text-align: center; text-transform: uppercase; }
.nav { display: flex; gap: 34px; font-size: 13px; }
.nav a, .header-link { transition: opacity .2s; }
.nav a:hover, .header-link:hover { opacity: .55; }
.header-link { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; border-bottom: 1px solid; padding-bottom: 5px; }

.hero { min-height: 100vh; display: grid; grid-template-columns: 46% 44% 10%; background: linear-gradient(145deg, #fbf6f3 0%, #f1e9ed 54%, #e8ece6 100%); padding-top: 88px; overflow: hidden; position: relative; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; pointer-events: none; animation: float 8s ease-in-out infinite; }
.orb-one { width: 230px; height: 230px; background: var(--lavender); left: -85px; top: 18%; }
.orb-two { width: 110px; height: 110px; background: var(--sage); left: 39%; bottom: 7%; animation-delay: -3s; }
.hero-copy { align-self: center; padding: 7vw 3vw 6vw 8vw; z-index: 2; }
.eyebrow, .section-number { text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 600; }
h1, h2 { font-family: "Prata", serif; font-weight: 400; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(52px, 6.1vw, 96px); letter-spacing: -.04em; }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.lead { max-width: 520px; margin: 30px 0 38px; line-height: 1.75; font-size: 15px; color: #57534b; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; min-width: 230px; padding: 17px 21px; background: var(--ink); color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; border-radius: 100px; box-shadow: 0 14px 34px rgba(68,55,67,.14); transition: transform .25s, background .25s, box-shadow .25s; }
.button:hover { transform: translateY(-4px) rotate(-1deg); background: var(--accent); box-shadow: 0 18px 38px rgba(141,91,110,.25); }
.button span { font-size: 19px; }
.hero-photo { min-height: 620px; position: relative; overflow: visible; background: #d7d6d2; margin: 32px 0 32px; border-radius: 46% 46% 8px 8px; box-shadow: 25px 28px 0 rgba(203,214,202,.75); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.photo-fallback { background: radial-gradient(circle at 48% 30%, #eee 0 13%, transparent 14%), linear-gradient(145deg, #e6e4df, #bab6af); }
.photo-fallback::after { content: "Фотография временно недоступна"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 70%; text-align: center; color: #777; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.vertical-note { position: absolute; right: 18px; bottom: 30px; writing-mode: vertical-rl; color: white; font-size: 10px; text-transform: uppercase; letter-spacing: .22em; }
.photo-sticker { position: absolute; left: -67px; bottom: 44px; width: 135px; height: 135px; border-radius: 50%; background: #f5e4b8; display: grid; place-content: center; text-align: center; font: 11px/1.45 "Manrope"; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-9deg); box-shadow: 0 15px 35px rgba(74,63,57,.12); animation: sticker 5s ease-in-out infinite; }
.photo-sticker em { font: italic 16px "Prata"; color: var(--accent); text-transform: none; letter-spacing: 0; }
.hero-index { display: grid; place-items: end center; padding-bottom: 42px; font-family: "Prata"; font-size: 22px; writing-mode: vertical-rl; }

.ticker { overflow: hidden; background: var(--blush); padding: 14px 0; color: #6f5760; font: italic 18px "Prata"; white-space: nowrap; transform: rotate(-1deg) scale(1.01); }
.ticker div { display: inline-block; animation: ticker 24s linear infinite; }
.manifesto { padding: 140px 8vw 150px; display: grid; grid-template-columns: 18% 48% 34%; gap: 2vw; position: relative; }
.manifesto::after { content: "“"; position: absolute; right: 5vw; top: 40px; color: var(--lavender); font: 220px "Prata"; z-index: -1; }
.section-number { color: #777168; }
.manifesto h2, .approach h2, .contact h2 { font-size: clamp(40px, 5vw, 76px); letter-spacing: -.035em; }
.script { margin: 0 0 20px; color: var(--accent); font-family: "Prata"; font-style: italic; font-size: 22px; }
.story { align-self: end; border-left: 1px solid var(--sand); padding-left: 35px; margin-top: 120px; }
.story p { font-size: 14px; line-height: 1.8; color: #5b574f; }

.quote-band { min-height: 330px; background: linear-gradient(120deg, #b78194, #9e748f 55%, #8c7f9d); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px 20px; position: relative; overflow: hidden; }
.quote-band::before, .quote-band::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.quote-band::before { left: -80px; top: -100px; }
.quote-band::after { right: -70px; bottom: -110px; }
.quote-band p { margin: 0; font: clamp(25px, 3.4vw, 52px) "Prata"; }
.quote-band span { margin-top: 14px; font: italic clamp(45px, 7vw, 100px) "Prata"; color: #dfcfc2; }

.approach { padding: 130px 8vw; background: linear-gradient(160deg, #f7f1ee, #edf1ec); }
.approach-intro { display: grid; grid-template-columns: 22% 52% 26%; align-items: end; }
.approach-intro > p:last-child { line-height: 1.8; color: #625e56; }
.steps { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand); }
.step { padding: 35px 45px 15px 0; border-right: 1px solid var(--sand); min-height: 250px; transition: transform .3s; }
.step:hover { transform: translateY(-8px); }
.step + .step { padding-left: 45px; }
.step:last-child { border-right: 0; }
.step > span { color: var(--accent); font-size: 12px; }
.step h3 { margin: 55px 0 15px; font: 26px "Prata"; }
.step p { color: #625e56; line-height: 1.75; font-size: 14px; }

.mood-lab { padding: 130px 8vw; display: grid; grid-template-columns: 42% 58%; align-items: center; background: #fffaf7; }
.mood-heading { padding-right: 7vw; }
.mood-heading h2, .faq h2 { font-size: clamp(42px, 5vw, 76px); }
.mood-heading > p:last-child { margin-top: 28px; color: #6b656b; line-height: 1.8; max-width: 430px; }
.mood-widget { border-radius: 40px; padding: 20px; background: #f1e4e8; transition: background .5s ease; box-shadow: 0 30px 80px rgba(98,72,84,.12); }
.mood-widget[data-mood="bold"] { background: #ddd6e7; }
.mood-widget[data-mood="alive"] { background: #dbe5d8; }
.mood-visual { min-height: 330px; border-radius: 26px; display: grid; place-items: center; position: relative; overflow: hidden; background: rgba(255,255,255,.42); }
.mood-word { z-index: 2; font: italic clamp(60px, 9vw, 130px) "Prata"; color: #765866; transition: opacity .2s, transform .4s; }
.mood-shape { position: absolute; border-radius: 50%; filter: blur(1px); transition: all .7s cubic-bezier(.2,.8,.2,1); }
.shape-a { width: 220px; height: 220px; background: rgba(255,255,255,.55); left: -40px; top: -70px; }
.shape-b { width: 150px; height: 150px; background: rgba(196,157,171,.35); right: 4%; bottom: -50px; }
[data-mood="bold"] .shape-a { width: 320px; height: 90px; border-radius: 8px; transform: rotate(-35deg); background: rgba(126,102,144,.3); top: 50px; }
[data-mood="bold"] .shape-b { transform: scale(1.4); background: rgba(255,255,255,.5); }
[data-mood="alive"] .shape-a { transform: translate(80px,100px) scale(.7); background: rgba(239,208,143,.6); }
[data-mood="alive"] .shape-b { transform: translate(-160px,-130px) scale(.8); background: rgba(139,171,137,.4); }
.mood-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mood-button { padding: 13px; border: 0; border-radius: 100px; color: #625c62; background: rgba(255,255,255,.48); cursor: pointer; transition: .25s; }
.mood-button:hover, .mood-button.active { background: var(--ink); color: white; }
.mood-description { margin: 20px 12px 8px; min-height: 45px; line-height: 1.6; font-size: 13px; color: #625c62; }

.prep { padding: 0 8vw 130px; background: #fffaf7; }
.prep-card { display: grid; grid-template-columns: auto 1fr 1fr; gap: 35px; align-items: center; padding: 48px; border: 1px solid #e6dbd8; border-radius: 30px; background: linear-gradient(120deg, #f5eceb, #f1f1e9); }
.prep-icon { width: 75px; height: 75px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); font: 30px "Prata"; }
.prep h2 { font-size: clamp(28px, 3vw, 45px); }
.prep ul { padding: 0; margin: 0; list-style: none; }
.prep li { padding: 10px 0; font-size: 13px; border-bottom: 1px solid rgba(53,49,57,.12); }
.prep li span { color: var(--accent); font-size: 10px; margin-right: 12px; }

.faq { padding: 130px 8vw; display: grid; grid-template-columns: 38% 62%; background: var(--lavender); }
.faq-list { border-top: 1px solid rgba(53,49,57,.25); }
.faq details { border-bottom: 1px solid rgba(53,49,57,.25); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 4px; display: flex; align-items: center; justify-content: space-between; font: 19px "Prata"; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font: 25px "Manrope"; transition: transform .25s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 620px; margin: -5px 0 25px; color: #5d5860; line-height: 1.8; font-size: 14px; animation: answer .35s ease; }

.floating-telegram { position: fixed; z-index: 10; right: 26px; bottom: 25px; display: flex; align-items: center; gap: 9px; padding: 8px 17px 8px 8px; border-radius: 100px; color: white; background: rgba(53,49,57,.9); backdrop-filter: blur(10px); box-shadow: 0 12px 35px rgba(40,32,39,.22); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s; }
.floating-telegram:hover { transform: translateY(-4px); }
.floating-telegram span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--ink); font-size: 16px; }

@keyframes answer { from { opacity: 0; transform: translateY(-8px); } }

.contact { background: linear-gradient(135deg, #403942, #514550); color: white; padding: 130px 8vw; display: grid; grid-template-columns: 65% 35%; align-items: end; position: relative; overflow: hidden; }
.contact::before { content: ""; width: 400px; height: 400px; border-radius: 50%; background: #7b6576; filter: blur(1px); opacity: .28; position: absolute; right: -120px; top: -190px; }
.contact .eyebrow { color: var(--sand); margin-bottom: 35px; }
.contact h2 em { color: #c97867; }
.contact-card { border: 1px solid #56534e; padding: 35px; }
.contact-card > p:first-child { color: #c8c4bc; line-height: 1.7; margin: 0 0 30px; }
.button-light { background: #f5e8ec; color: var(--ink); width: 100%; }
.contact-actions { display: grid; gap: 12px; }
.channel-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; transition: background .25s, transform .25s; }
.channel-link:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.telegram-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: #5d5264; font-size: 16px; }
.channel-link small, .channel-link strong { display: block; }
.channel-link small { color: #aaa1a8; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
.channel-link strong { font-size: 13px; font-weight: 500; }
.channel-link b { font-size: 20px; font-weight: 400; }
footer { padding: 35px 5vw; background: #11110f; color: #918e88; display: flex; align-items: center; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.logo-light { color: white; }
.footer-meta { display: flex; align-items: center; gap: 28px; }
.footer-meta p { margin: 0; }
.developer-credit { color: #b8b2b7; transition: color .2s; }
.developer-credit strong { color: #ead6dd; font-weight: 500; }
.developer-credit:hover { color: white; }

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

@keyframes float { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(15px,-22px,0); } }
@keyframes sticker { 0%, 100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-8px); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 88px; }
  .hero-copy { padding: 70px 7vw 60px; }
  .hero-photo { min-height: 78vh; }
  .photo-sticker { left: 12px; bottom: 22px; width: 112px; height: 112px; }
  .hero-index { display: none; }
  .manifesto { grid-template-columns: 1fr; padding: 90px 7vw; }
  .manifesto-content { margin-top: 30px; }
  .story { margin-top: 35px; }
  .approach { padding: 90px 7vw; }
  .approach-intro { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--sand); min-height: auto; }
  .step h3 { margin-top: 25px; }
  .contact { grid-template-columns: 1fr; gap: 50px; padding: 90px 7vw; }
  .mood-lab, .faq { grid-template-columns: 1fr; gap: 50px; padding: 90px 7vw; }
  .mood-heading { padding-right: 0; }
  .prep { padding: 0 7vw 90px; }
  .prep-card { grid-template-columns: auto 1fr; }
  .prep-card ul { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header { height: 72px; }
  .header-link { font-size: 10px; }
  .hero { padding-top: 72px; }
  h1 { font-size: 51px; }
  .lead { font-size: 14px; }
  .hero-photo { min-height: 70vh; }
  .quote-band { min-height: 260px; }
  .contact-card { padding: 24px; }
  .mood-visual { min-height: 250px; }
  .mood-controls { grid-template-columns: 1fr; }
  .prep-card { padding: 28px 22px; grid-template-columns: 1fr; }
  .prep-icon { width: 58px; height: 58px; }
  .prep-card ul { grid-column: auto; }
  .faq summary { font-size: 16px; gap: 20px; }
  .floating-telegram b { display: none; }
  .floating-telegram { padding: 7px; right: 15px; bottom: 15px; }
  footer { align-items: flex-start; gap: 24px; flex-direction: column; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .photo-sticker, .ticker div { animation: none; }
}
