/* tanyagorod.com · travel-journal look (see ../../design) */
:root {
  --linen: #F4EEE3; --paper: #FBF8F1; --band: #EFE6D6; --clay: #EDE0CC; --line: #DCCFB8;
  --ink: #26231F; --ink2: #5B544A; --teak: #8A4B2A; --teakd: #6F3A1F;
  --leaf: #2F4A3A; --leaf2: #3B5A47; --sage: #C9D2BA; --mango: #E3A64B;
  --serif: Literata, Georgia, "Times New Roman", serif;
  --sans: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: Caveat, "Segoe Print", cursive;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 9vw, 124px);
  --h2: clamp(34px, 4.2vw, 52px);
  --shadow: 0 18px 40px rgba(38, 35, 31, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--teak); }
a:hover { color: var(--teakd); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 420; letter-spacing: -.02em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--teak); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }
/* decorations bleed past the edges; clip them without making a scroll container (keeps sticky working) */
main { overflow-x: clip; }
#how, #contact { scroll-margin-top: 130px; }
.wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.band { background: var(--band); }
.muted { color: var(--ink2); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teak); }
.h2 { font-size: var(--h2); line-height: 1.08; }
.lead { font-size: 18px; line-height: 1.65; color: var(--ink2); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px; }
.head > .stack { max-width: 720px; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--teak); color: var(--paper); border: 1.5px solid var(--teak); font: 600 17px/1.2 var(--sans); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--teakd); border-color: var(--teakd); color: var(--paper); }
.btn--md { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--outline { background: transparent; color: var(--teak); }
.btn--outline:hover { background: var(--teak); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--leaf); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--leaf); }
.btn--ink { background: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: #000; border-color: #000; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.tlink svg { flex-shrink: 0; transition: transform .15s; }
.tlink:hover svg { transform: translateX(3px); }
.tlink--teak { color: var(--teak); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 16px; border-radius: 999px; background: var(--clay);
  font-size: 15px; font-weight: 500; line-height: 1.3; }
.chip svg { color: var(--teak); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { width: 44px; height: 44px; border-radius: 12px; background: var(--clay); color: var(--teak); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(244, 238, 227, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.mono { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teak); display: flex; align-items: center; justify-content: center;
  font: italic 400 17px/1 var(--serif); color: var(--teak); flex-shrink: 0; }
.brand-name { font: 500 24px/1.1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teak); }
.nav-cta { display: none; }
.bar-end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; height: 40px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.lang > * { height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; color: var(--ink); text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .i-x { display: none; }
.menu-open .menu-btn .i-x { display: block; }
.menu-open .menu-btn .i-menu { display: none; }

@media (max-width: 1180px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--pad) 24px;
    background: var(--linen); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(38, 35, 31, .1); max-height: calc(100vh - 88px); overflow: auto; }
  .menu-open .nav { display: flex; }
  .nav a { font: 450 24px/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: inline-flex; margin-top: 20px; border: 0; font: 600 17px/1.2 var(--sans); padding: 0 28px; color: var(--paper); }
  .nav .nav-cta:hover { color: var(--paper); }
}
@media (max-width: 720px) {
  .bar { height: 68px; gap: 12px; }
  .bar-end .btn { display: none; }
  .brand-name { font-size: 20px; }
  .mono { width: 34px; height: 34px; font-size: 14px; }
  .lang { height: 36px; }
  .lang > * { height: 26px; padding: 0 10px; font-size: 13px; }
  .nav { max-height: calc(100vh - 68px); }
  html { scroll-padding-top: 76px; }
}
@media (max-width: 380px) { .brand-name { font-size: 18px; } .brand { gap: 8px; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: center; padding-top: 24px; padding-bottom: 104px; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { margin-top: 28px; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.025em; }
html[lang="ru"] .hero h1 { font-size: clamp(38px, 4.6vw, 64px); }
.hero .lead { margin-top: 28px; max-width: 580px; font-size: clamp(17px, 1.4vw, 20px); }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; }
.hero-note { margin: 8px 0 0 150px; display: flex; align-items: flex-start; gap: 6px; }
.hero-note span { font: 500 25px/1.1 var(--hand); color: var(--teak); margin-top: 22px; }
.trust { list-style: none; margin: 40px 0 0 -24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% + 24px); }
.trust li { padding: 0 20px 0 24px; border-left: 1px solid var(--line); }
.trust .tile { display: none; }
.trust b { display: block; font: 500 19px/1.3 var(--serif); }
.trust span { display: block; font-size: 15px; color: var(--ink2); margin-top: 4px; line-height: 1.4; }
.hero-art { position: relative; aspect-ratio: 520 / 680; width: 100%; }
.hero-art .leaf { position: absolute; top: -6%; right: -23%; width: 77%; opacity: .6; }
.hero-art .photo { position: absolute; left: 7.7%; top: 1.5%; width: 86.5%; aspect-ratio: 450 / 630; object-fit: cover; object-position: 50% 70%; border-radius: 50% 50% 28px 28px / 35.7% 35.7% 28px 28px; }
.hero-art .stamp { position: absolute; right: -8.5%; top: 17.6%; width: 29%; transform: rotate(9deg); }
.note-card { background: var(--paper); border-radius: 18px; padding: 16px 24px 18px; box-shadow: 0 14px 34px rgba(38, 35, 31, .16); }
.hero-art .note-card { position: absolute; left: -2%; bottom: 4%; transform: rotate(-4deg); }
.note-card .hi { font: 700 36px/1 var(--hand); color: var(--teak); }
.note-card .since { font-size: 14px; color: var(--ink2); margin-top: 6px; }
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 8px; padding-bottom: 64px; }
  .hero-art { order: -1; max-width: 420px; }
  .hero-note { margin-left: 120px; }
}
@media (max-width: 640px) {
  .hero-art { max-width: 350px; }
  .hero-art .leaf { right: -12%; width: 64%; }
  .hero-art .stamp { right: -2%; width: 28%; }
  .note-card { padding: 12px 16px 14px; }
  .note-card .hi { font-size: 28px; }
  .note-card .since { font-size: 12px; }
  .hero h1 { margin-top: 20px; }
  .hero .lead { margin-top: 18px; }
  .hero-actions { margin-top: 28px; flex-direction: column; align-items: stretch; width: 100%; gap: 16px; text-align: center; }
  .hero-actions .tlink { justify-content: center; }
  .hero-note { margin: 0; order: 0; align-self: center; }
  .hero-note svg { display: none; }
  .hero-note span { margin-top: 10px; font-size: 22px; }
  .hero-text { align-items: stretch; }
  .hero-text > .chip { align-self: flex-start; }
  .trust { margin: 28px 0 0; width: 100%; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .trust li { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0; display: flex; gap: 14px; align-items: flex-start; }
  .trust .tile { display: flex; width: 40px; height: 40px; }
  .trust b { font-size: 17px; }
  .trust span { font-size: 14px; }
}

/* travel strip */
.travel { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.travel .wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: center; }
.travel .lead { font-size: 18px; }
.stamps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; padding: 16px 0; }
.stamps .route { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamps .plane { position: absolute; right: -8px; top: -44px; width: 92px; transform: rotate(-14deg); }
.stamps img.s { position: relative; width: 100%; max-width: 156px; justify-self: center; }
.s1 { transform: translateY(12px) rotate(-6deg); }
.s2 { transform: rotate(5deg); }
.s3 { transform: translateY(26px) rotate(-3deg); }
.s4 { transform: translateX(-12px) rotate(4deg); }
.s5 { transform: translateY(18px) rotate(-7deg); }
.s6 { transform: rotate(6deg); }
@media (max-width: 900px) {
  .travel .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stamps { gap: 16px 20px; }
  .stamps .plane { width: 64px; top: -36px; }
}

/* about */
.about { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 96px; align-items: start; }
.about-art { position: relative; padding-bottom: 84px; }
.about-art .leaf { position: absolute; left: -20%; top: 43%; width: 62%; opacity: .55; }
.about-art .photo { position: relative; width: 100%; aspect-ratio: 480 / 620; object-fit: cover; object-position: 50% 30%; border-radius: 28px; }
.about-art .stamp { position: absolute; right: -40px; bottom: 0; width: 128px; transform: rotate(-8deg); }
.about-art .caption { position: absolute; right: 104px; bottom: 26px; font: 500 26px/1 var(--hand); color: var(--teak); }
.about .copy { display: flex; flex-direction: column; gap: 22px; }
.about .copy p { font-size: 18px; line-height: 1.7; color: var(--ink2); }
.creds { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cred { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.cred b { display: block; font: 500 18px/1.3 var(--serif); }
.cred span { display: block; font-size: 14px; color: var(--ink2); margin-top: 4px; line-height: 1.45; }
.about .langs { font-size: 15px; color: var(--ink2); }
@media (max-width: 1000px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-art { max-width: 460px; }
}
@media (max-width: 640px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  .about-art .stamp { right: -4px; width: 96px; }
  .about-art .caption { right: 96px; bottom: 30px; font-size: 22px; }
  .about .copy p { font-size: 17px; }
}

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--paper); border-radius: 24px; padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 14px; }
.step .top { display: flex; justify-content: space-between; align-items: flex-start; }
.step .top img { width: 96px; }
.step .n { font: italic 400 40px/1 var(--serif); color: var(--teak); }
.step h3 { margin-top: 12px; font-size: 26px; font-weight: 500; line-height: 1.25; }
.step p { color: var(--ink2); }
.how .chips { margin-top: 28px; }
.how .chip { background: var(--paper); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .step { padding: 26px 24px 28px; } .step h3 { font-size: 23px; } .step .top img { width: 76px; } }

/* prices */
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ticket { position: relative; display: flex; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.ticket .main { flex: 1; min-width: 0; padding: 30px 34px 22px; }
.ticket .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket .kind { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.ticket .dur { font: 500 32px/1.1 var(--serif); white-space: nowrap; }
.ticket .who { font-size: 15px; color: var(--ink2); margin: 2px 0 18px; }
.ticket .row { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1.5px dashed var(--line); }
.ticket .row .l { font-size: 17px; }
.ticket .row .sp { flex: 1; }
.ticket .row .s { font-size: 14px; color: var(--ink2); white-space: nowrap; }
.ticket .row .p { font: 500 28px/1.1 var(--serif); min-width: 108px; text-align: right; white-space: nowrap; }
.ticket .stub { width: 172px; flex-shrink: 0; border-left: 2px dashed var(--line); padding: 30px 18px 26px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
.ticket .stub img { width: 116px; transform: rotate(-8deg); }
.ticket .notch { position: absolute; right: 159px; width: 28px; height: 28px; border-radius: 50%; background: var(--band); }
.ticket .notch.t { top: -14px; } .ticket .notch.b { bottom: -14px; }
.offers { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer { background: var(--paper); border-radius: 22px; padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.offer img { width: 84px; }
.offer h3 { margin-top: 10px; font-size: 26px; font-weight: 500; }
.offer p { font-size: 16px; color: var(--ink2); flex: 1; }
.offer .meta { font-size: 15px; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.offer .tlink { font-size: 16px; }
.switch-note { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink2); flex-wrap: wrap; }
.switch-note svg { flex-shrink: 0; }
@media (max-width: 1100px) { .tickets { grid-template-columns: minmax(0, 1fr); max-width: 680px; } .offers { grid-template-columns: minmax(0, 1fr); max-width: 680px; } }
@media (max-width: 600px) {
  .ticket { flex-direction: column; border-radius: 20px; }
  .ticket .main { padding: 24px 22px 12px; }
  .ticket .dur { font-size: 26px; }
  .ticket .kind { font-size: 12px; }
  .ticket .row .l { font-size: 16px; }
  .ticket .row .s { font-size: 13px; }
  .ticket .row .p { font-size: 24px; min-width: 0; }
  .ticket .stub { width: auto; border-left: 0; border-top: 2px dashed var(--line); flex-direction: row; padding: 16px 22px 18px; }
  .ticket .stub img { width: 68px; }
  .ticket .notch { right: auto; top: auto; bottom: 86px; width: 24px; height: 24px; }
  .ticket .notch.t { left: -12px; top: auto; } .ticket .notch.b { right: -12px; bottom: 86px; }
  .offer { padding: 24px 22px 26px; }
  .offer h3 { font-size: 23px; }
}
@media (max-width: 380px) { .ticket .row .s { display: none; } }

/* speaking club */
.club { background: var(--leaf); color: var(--paper); position: relative; overflow: hidden; }
.club .bgleaf { position: absolute; right: -140px; bottom: -120px; width: 520px; opacity: .12; filter: brightness(0) invert(1); pointer-events: none; }
.club .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 80px; align-items: center; }
.club .eyebrow { color: var(--sage); }
.club h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; color: var(--paper); }
.club .lead { color: var(--sage); max-width: 540px; }
.facts { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; max-width: 560px; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact .tile { background: var(--leaf2); color: var(--sage); }
.fact b { display: block; font-size: 18px; font-weight: 600; color: var(--paper); }
.fact span { display: block; font-size: 15px; color: var(--sage); margin-top: 2px; line-height: 1.4; }
.topics-label { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.topics { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.topics a { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--sage); color: var(--paper); font-size: 15px; font-weight: 500; text-decoration: none; }
.topics a:hover { background: var(--leaf2); color: var(--paper); }
.club .cta { margin-top: 16px; }
.club-art { position: relative; padding: 0 0 120px 80px; }
.club-art .photo { width: 100%; max-width: 420px; margin-left: auto; aspect-ratio: 420 / 560; object-fit: cover; object-position: 50% 62%; border-radius: 26px; }
.club-art .note { position: absolute; left: 0; bottom: 0; width: 300px; transform: rotate(-4deg); background: var(--paper); border-radius: 10px; padding: 20px 22px 22px; box-shadow: 0 22px 44px rgba(0, 0, 0, .28); color: var(--ink); }
.club-art .note img { width: 88px; margin: -46px 0 6px auto; transform: rotate(8deg); }
.club-art .note p { font: 500 24px/1.15 var(--hand); }
@media (max-width: 1000px) {
  .club .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .club-art { max-width: 480px; }
}
@media (max-width: 600px) {
  .club-art { padding: 0 0 110px 0; }
  .club-art .note { width: 260px; left: -4px; }
  .club-art .note p { font-size: 21px; }
  .facts { gap: 18px 16px; }
  .fact { gap: 10px; }
  .fact .tile { width: 36px; height: 36px; border-radius: 10px; }
  .fact .tile svg { width: 18px; height: 18px; }
  .fact b { font-size: 15px; }
  .fact span { font-size: 13px; }
  .club .cta { width: 100%; }
  .club .bgleaf { width: 360px; right: -120px; bottom: -80px; }
}

/* reviews */
.reviews .side { font-size: 15px; color: var(--ink2); text-align: right; line-height: 1.5; max-width: 340px; }
.reviews .side .tlink { font-size: 15px; margin-top: 4px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.rev-col { display: flex; flex-direction: column; gap: 24px; }
.rev { margin: 0; background: var(--paper); border-radius: 22px; padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.rev > svg { color: var(--teak); }
.rev blockquote { margin: 0; font-size: 17px; line-height: 1.65; }
.rev figcaption { font-size: 14px; font-weight: 600; color: var(--ink2); }
.rev--feature { background: var(--teak); position: relative; overflow: hidden; padding: 36px 32px 30px; gap: 20px; }
.rev--feature .bg { position: absolute; right: -30px; top: -20px; width: 200px; opacity: .22; filter: brightness(0) invert(1); }
.rev--feature blockquote { position: relative; font: italic 400 clamp(28px, 2.7vw, 38px)/1.16 var(--serif); color: var(--paper); }
.rev--feature figcaption { color: var(--clay); position: relative; }
@media (max-width: 1000px) {
  .rev-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .reviews .side { text-align: left; }
}
@media (max-width: 600px) { .rev { padding: 24px 22px 22px; } .rev blockquote { font-size: 16px; } }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.post-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .pic { height: 240px; background: var(--linen); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.band .post-card .pic { background: var(--linen); }
.post-card .pic img { width: 150px; }
.post-card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.post-card .tag { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teak); }
.post-card h3 { font-size: 24px; font-weight: 500; line-height: 1.25; }
.post-card p { font-size: 16px; color: var(--ink2); }
.post-card time { font-size: 14px; color: var(--ink2); }
.blog-note { margin-top: 20px; font-size: 15px; color: var(--ink2); }
@media (max-width: 1000px) { .posts { grid-template-columns: minmax(0, 1fr); max-width: 680px; } .post-card .pic { height: 200px; } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 96px; align-items: start; }
.faq .aside { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.faq .aside .dog { margin-top: 36px; width: 150px; }
.qa { border-bottom: 1px solid var(--line); }
.qa details { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font: 500 23px/1.3 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 40px; height: 40px; border-radius: 50%; background: var(--clay); color: var(--teak); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .15s, color .15s; }
.qa summary .i-minus { display: none; }
.qa details[open] summary .pm { background: var(--teak); color: var(--paper); }
.qa details[open] summary .i-minus { display: block; }
.qa details[open] summary .i-plus { display: none; }
.qa details p { margin: -8px 0 0; padding-bottom: 28px; max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--ink2); }
@media (max-width: 1000px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; } .faq .aside .dog { display: none; } }
@media (max-width: 600px) { .qa summary { font-size: 19px; padding: 20px 0; } .qa summary .pm { width: 36px; height: 36px; } .qa details p { font-size: 16px; padding-bottom: 22px; } }

/* contact */
.contact-card { background: var(--paper); border-radius: 36px; padding: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; position: relative; overflow: hidden; }
.contact-card .bg { position: absolute; right: -70px; bottom: -150px; width: 320px; opacity: .4; pointer-events: none; }
.contact-card .copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; position: relative; }
.contact-card h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; }
.contact-card .lead { max-width: 460px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.contact-links a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.contact-links a:hover { color: var(--teak); }
.form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .form legend { font-size: 15px; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--linen); font: 400 16px/1.5 var(--sans); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b8274; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teak); box-shadow: 0 0 0 3px rgba(138, 75, 42, .15); }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; }
.goals { display: flex; flex-wrap: wrap; gap: 8px; }
.goals label { position: relative; }
.goals input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.goals span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--linen); font-size: 15px; font-weight: 500; cursor: pointer; }
.goals input:checked + span { background: var(--teak); border-color: var(--teak); color: var(--paper); }
.goals input:focus-visible + span { outline: 3px solid var(--mango); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; font-weight: 500; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: #A33A1E; }
@media (max-width: 1000px) { .contact-card { grid-template-columns: minmax(0, 1fr); padding: 56px 48px; gap: 48px; } }
@media (max-width: 600px) { .contact-card { padding: 32px 22px; border-radius: 24px; gap: 32px; } .contact-card .bg { width: 200px; right: -60px; bottom: -70px; opacity: .3; } .contact-card .btn { width: 100%; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 40px; flex-wrap: wrap; }
.site-footer .who { display: flex; flex-direction: column; gap: 6px; }
.site-footer .who b { font: 500 22px/1.2 var(--serif); }
.site-footer .who span, .site-footer .copy { font-size: 15px; color: var(--ink2); }
.site-footer nav { display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.site-footer nav a { color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { color: var(--teak); }

/* phone: sticky Telegram bar */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(38, 35, 31, .06); transition: transform .25s; }
  .mbar.hide { transform: translateY(110%); }
  .mbar .btn { width: 100%; min-height: 52px; }
  body.has-mbar { padding-bottom: 80px; }
}

/* blog index */
.page-head { padding: 56px 0 0; display: flex; flex-direction: column; gap: 22px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -.025em; }
.page-head .lead { max-width: 640px; font-size: 19px; }
.featured { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s; }
.featured:hover { color: var(--ink); box-shadow: var(--shadow); }
.featured .pic { min-height: 420px; background: var(--linen); border-right: 1px solid var(--line); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.featured .pic .main { width: 220px; position: relative; }
.featured .body { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured .tag { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teak); }
.featured h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 450; line-height: 1.12; }
.featured p { font-size: 18px; color: var(--ink2); }
.featured .more { margin-top: 10px; }
.deco { position: absolute; }
.deco.a { left: 8%; top: 9%; width: 120px; transform: rotate(-8deg); }
.deco.b { right: 8%; bottom: 8%; width: 120px; transform: rotate(7deg); }
.deco.c { right: 30%; bottom: 8%; width: 86px; transform: rotate(-4deg); }
.deco.leafy { width: 200px; opacity: .45; }
.sub-card { background: var(--leaf); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; color: var(--paper); }
.sub-card .bg { position: absolute; right: -50px; bottom: -60px; width: 260px; opacity: .14; filter: brightness(0) invert(1); }
.sub-card .tile { width: 52px; height: 52px; border-radius: 16px; background: var(--leaf2); color: var(--sage); }
.sub-card h3 { font-size: 28px; font-weight: 450; line-height: 1.2; }
.sub-card p { color: var(--sage); flex: 1; font-size: 16px; }
.sub-card .btn { align-self: flex-start; position: relative; }
@media (max-width: 1000px) {
  .featured { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .featured .pic { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .featured .pic .main { width: 170px; }
  .featured .body { padding: 32px 28px 36px; }
  .deco.a, .deco.b { width: 92px; }
}

/* post */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 96px; align-items: start; padding-top: 40px; }
.post { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--ink2); flex-wrap: wrap; }
.crumbs a { color: var(--ink2); }
.post h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.025em; }
.byline { display: flex; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--ink2); flex-wrap: wrap; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--ink); font-weight: 600; }
.post-hero { height: 360px; border-radius: 28px; background: var(--band); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-hero .main { width: 230px; position: relative; }
.post-hero .deco.a { left: 8%; top: 12%; width: 130px; }
.post-hero .deco.b { right: 9%; top: 16%; bottom: auto; width: 130px; }
.post-hero .deco.c { right: 25%; bottom: 8%; width: 90px; }
.post-hero .deco.leafy { width: 240px; right: -40px; top: auto; bottom: -50px; opacity: .4; }
.post .prose p { font-size: 20px; line-height: 1.7; }
.post .prose { display: flex; flex-direction: column; gap: 20px; }
.phrases { display: flex; flex-direction: column; gap: 16px; }
.phrase { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 32px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; }
.phrase .n { grid-row: span 4; font: italic 400 40px/1 var(--serif); color: var(--teak); }
.phrase h2 { font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.phrase .m { font-size: 18px; line-height: 1.55; }
.phrase .ru { display: flex; gap: 10px; align-items: baseline; font-size: 16px; color: var(--ink2); }
.phrase .ru abbr { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: var(--clay); color: var(--teak); }
.phrase .ru i { font-style: italic; }
.phrase .ex { margin-top: 10px; padding: 14px 18px; border-radius: 14px; background: var(--linen); font-size: 17px; line-height: 1.55; }
.phrase .ex b { color: var(--teak); font-weight: 600; }
.topic { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; display: flex; flex-direction: column; gap: 8px; }
.topic time { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teak); }
.topic h2 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.topic p { font-size: 18px; line-height: 1.6; color: var(--ink2); }
.topic .tlink { margin-top: 6px; font-size: 16px; }
.post-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.post-facts .chip { background: var(--paper); border: 1px solid var(--line); }
.post-cta { margin-top: 10px; background: var(--leaf); border-radius: 24px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; color: var(--paper); }
.post-cta h2 { font-size: 30px; font-weight: 450; letter-spacing: -.01em; color: var(--paper); }
.post-cta p { margin-top: 8px; font-size: 17px; color: var(--sage); max-width: 480px; }
.post-aside { display: flex; flex-direction: column; gap: 32px; padding-top: 44px; position: sticky; top: 112px; }
.author { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.author img { width: 100%; aspect-ratio: 286 / 220; object-fit: cover; object-position: 50% 32%; border-radius: 16px; }
.author b { font: 500 22px/1.2 var(--serif); }
.author p { font-size: 15px; color: var(--ink2); }
.more-label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-bottom: 6px; }
.more-post { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.more-post:hover { color: var(--teak); }
.more-post .pic { width: 64px; height: 64px; border-radius: 14px; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.more-post .pic img { width: 46px; }
.more-post span { font: 500 17px/1.3 var(--serif); }
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .post { max-width: 760px; }
  .post-aside { position: static; padding-top: 0; max-width: 760px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
}
@media (max-width: 700px) {
  .post-aside { grid-template-columns: minmax(0, 1fr); }
  .post-hero { height: 240px; border-radius: 22px; }
  .post-hero .main { width: 150px; }
  .post-hero .deco.a, .post-hero .deco.b { width: 84px; }
  .post-hero .deco.c { width: 60px; }
  .post .prose p { font-size: 18px; }
  .phrase { padding: 22px 20px; grid-template-columns: minmax(0, 1fr); }
  .phrase .n { grid-row: auto; font-size: 30px; }
  .phrase h2 { font-size: 24px; }
  .phrase .m { font-size: 17px; }
  .topic { padding: 22px 20px; }
  .topic h2 { font-size: 24px; }
  .topic p { font-size: 17px; }
  .post-cta { flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .post-cta h2 { font-size: 26px; }
}

/* 404 */
.lost { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 64px 0 96px; }
.lost img { width: 160px; }
.lost h1 { font-size: clamp(36px, 4.6vw, 56px); }
.lost .btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
