/* Акцент по умолчанию — зелёный (связь с «Моё зерно», рост).
   Сравнить: ?accent=blue | ?accent=red (или <html data-accent="…">). */
:root {
  --bg: #f8f9f7;
  --paper: #eef2eb;
  --ink: #171717;
  --muted: #5f655c;
  --line: #e1e6dd;
  --accent: #4cbb17;          /* заливки: кнопки, точки, иконки */
  --accent-hover: #5bd024;
  --on-accent: #0c1a05;       /* текст на заливке */
  --accent-ink: #2b7d0c;      /* акцентный текст на светлом */
  --accent-light: #6fd63a;    /* акцентный текст на тёмном */
  --soft: #e6f4dd;
  --glow: 76, 187, 23;
  --night: #141414;
  --night-2: #1d1d1d;
  --font: "Helvetica Neue", Helvetica, "Nimbus Sans", "Nimbus Sans L", "Liberation Sans", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-accent="blue"] {
  --bg: #f7f8fa;
  --paper: #eef1f6;
  --muted: #5c636e;
  --line: #e0e5ec;
  --accent: #1677ff;
  --accent-hover: #0b63e0;
  --on-accent: #fff;
  --accent-ink: #0d5fd8;
  --accent-light: #5cb0ff;
  --soft: #e5efff;
  --glow: 40, 140, 255;
}
:root[data-accent="red"] {
  --bg: #fbfaf8;
  --paper: #f3f1ee;
  --muted: #66605d;
  --line: #e7e2de;
  --accent: #f12632;
  --accent-hover: #d91625;
  --on-accent: #fff;
  --accent-ink: #d91625;
  --accent-light: #ff5a63;
  --soft: #f6e9eb;
  --glow: 241, 38, 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  padding: 0 var(--gutter); pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * 24px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(20, 20, 20, .55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  color: #fff;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.header.is-light .header__bar {
  background: rgba(251, 250, 248, .82);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(23,23,23,.06);
}
.logo { font-weight: 700; font-size: 21px; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; font-size: 14px; font-weight: 500; text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  background: var(--night-2); color: #fff; overflow: hidden;
  background-image: radial-gradient(ellipse at 28% 60%, rgba(var(--glow), .18), transparent 62%);
}
.hero__inner {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: var(--max); min-height: 100svh;
  padding: clamp(128px, 20svh, 230px) var(--gutter) 64px min(51%, 612px);

}
.hero__portrait {
  position: absolute; z-index: -1; bottom: 0; left: 0;
  width: min(52%, 625px, 67svh); height: auto;
}
.hero__copy { position: relative; }
.hero h1 { font-size: clamp(48px, 6.5vw, 92px); line-height: .96; letter-spacing: -.06em; }
.hero__copy p { margin: 22px 0 24px; font-size: clamp(16px, 1.5vw, 20px); }
.coffee {
  position: relative; display: inline-flex; gap: .5em; align-items: center; color: var(--accent-light);
  padding: 9px 0; border-bottom: 1px solid currentColor; text-decoration: none; font-weight: 600;
}
.coffee img {
  position: absolute; left: calc(100% + 10px); border-radius: 50%;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
}
.coffee:hover img, .coffee:focus-visible img { opacity: 1; transform: scale(1); }
@media (max-width: 650px) {

  .hero__inner {
    min-height: 100svh; padding: 96px var(--gutter) 0;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .hero__copy { order: -1; align-self: flex-end; }
  .hero h1 { font-size: clamp(40px, 10.8vw, 64px); }
  .hero__copy p { margin: 12px 0 6px; }
  .hero__portrait {
    position: static; width: min(100%, 440px); height: auto; max-height: 64svh;
    object-fit: contain; object-position: left bottom; margin-top: 20px;
  }
  .coffee img { left: auto; right: 0; bottom: 100%; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--paper {
  background: var(--paper);
  border-radius: var(--r-lg);
  margin: 0 clamp(0px, 1vw, 12px);
}
.label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 18px;
}
.label--light { color: var(--accent-light); }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.045em; max-width: 16ch; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); }
.head__aside { max-width: 330px; color: var(--muted); font-size: 16px; }

/* ---------- about bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,23,23,.07); }
.card:hover .icon { transform: rotate(8deg) scale(1.06); }
.card h3 { font-size: 21px; letter-spacing: -.03em; }
.card p { color: var(--muted); font-size: 15px; }
.card--dark { background: var(--night); border-color: var(--night); color: #fff; }
.card--dark p { color: rgba(255,255,255,.7); }
.card--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.card--wide h3 { font-size: 28px; margin-bottom: 10px; }
.portrait {
  position: relative; flex: none; width: 200px; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #2a2a2a, #111); display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; }
.icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--soft); color: var(--accent-ink); margin-bottom: 6px;
  transition: transform .45s var(--ease), background .3s;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- night (project) ---------- */
.night {
  background: var(--night); color: #fff;
  padding: clamp(72px, 10vw, 128px) 0;
  border-radius: var(--r-lg); margin: 0 clamp(0px, 1vw, 12px);
}
.night__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.night__title { color: #fff; max-width: 13ch; }
.night__lead { margin-top: 22px; max-width: 460px; color: rgba(255,255,255,.7); }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: rgba(255,255,255,.8); }

.panel { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); }
.panel__kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.panel h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.04em; }
.panel__text { margin-top: 10px; color: var(--muted); font-size: 15px; }
.checks { margin: 22px 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) scale(.8); transform-origin: 30% 70%;
}
.panel__note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- works ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  text-decoration: none; min-height: 260px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.work:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,23,23,.07); border-color: var(--line); }
.work__num { display: inline-block; transition: transform .35s var(--ease); }
.work:hover .work__num { transform: translateX(6px); }
.work__num { font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.work h3 { font-size: 21px; letter-spacing: -.03em; }
.work p { color: var(--muted); font-size: 15px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.work__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.work__links a { font-size: 14px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.work__links a:hover { text-decoration: underline; }

/* ---------- timeline ---------- */
.timeline { position: relative; border-top: 1px solid var(--line); }
.timeline::after {
  content: ""; position: absolute; left: 6px; top: 34px; bottom: 34px; width: 3px; border-radius: 3px;
  background: var(--accent); transform-origin: top; transform: scaleY(var(--progress, 0)); pointer-events: none;
}
.step__head { z-index: 1; }
.step { position: relative; border-bottom: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.step:first-child::before { top: 50%; }
.step:last-child::before { bottom: 50%; }
.step__head {
  position: relative; width: 100%; display: grid;
  grid-template-columns: 170px 1fr auto 28px; align-items: center; gap: 20px;
  padding: 22px 0 22px 36px; background: none; border: 0; text-align: left; cursor: pointer;
}
.step__head::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -7.5px;
  border-radius: 50%; background: var(--bg); border: 2px solid #c9c1bb;
  transition: border-color .25s, background .25s;
}
.step.is-open .step__head::before, .step__head:hover::before { border-color: var(--accent-ink); }
.step.is-open .step__head::before { background: var(--accent); }
.step--goal .step__head::before { border-style: dashed; }
.step__date { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.step__title { font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; letter-spacing: -.02em; }
.step__plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.step__plus::before, .step__plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease);
}
.step__plus::after { transform: rotate(90deg); }
.step.is-open .step__plus::after { transform: rotate(180deg); }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.step__body > p { overflow: hidden; padding-left: calc(36px + 170px + 20px); padding-right: 48px; color: var(--muted); font-size: 16px; max-width: 900px; }
.step.is-open .step__body { grid-template-rows: 1fr; }
.step.is-open .step__body > p { padding-bottom: 24px; }

.pill { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill--done { background: #e8f3ec; color: #22744a; }
.pill--sent { background: #eef0f7; color: #3c4a8a; }
.pill--wip { background: #fbf1df; color: #8a5a10; }
.pill--goal { background: var(--soft); color: var(--accent-ink); }

/* ---------- interests ---------- */
.interests { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.interests__list { display: grid; gap: 8px; align-content: start; }
.interests__list button {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: #fff; text-align: left; font-weight: 600; font-size: 17px; letter-spacing: -.02em; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.interests__list button span {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; background: var(--paper); color: var(--muted); transition: inherit;
}
.interests__list button:hover { border-color: #d6cec8; transform: translateX(3px); }
.interests__list button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.interests__list button[aria-selected="true"] span { background: rgba(255,255,255,.3); color: var(--on-accent); }

.interest {
  background: var(--night); color: #fff; border-radius: var(--r-md);
  padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column;
}
.interest__count { font-size: 13px; font-weight: 700; color: var(--accent-light); letter-spacing: .06em; }
.interest h3 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.05em; line-height: 1; }
.interest__sub { margin-top: 10px; color: rgba(255,255,255,.62); font-size: 16px; }
.interest__text { margin-top: 22px; color: rgba(255,255,255,.86); }
.interest__label { margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.interest__list { margin-top: 14px; display: grid; gap: 10px; }
.interest__list li { position: relative; padding-left: 22px; color: rgba(255,255,255,.86); font-size: 15px; }
.interest__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.interest.is-swapping > * { opacity: 0; transform: translateY(6px); }
.interest > * { transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* ---------- stories ---------- */
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.story {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--paper); border-radius: var(--r-md); padding: 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.story__quote { font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.story p:not(.story__quote) { color: var(--muted); font-size: 15px; flex: 1; }
.story__meta { font-size: 13px; font-weight: 700; color: var(--accent-ink); }

/* ---------- join (contacts) ---------- */
.join {
  background: var(--night); color: #fff; padding: clamp(72px, 10vw, 128px) 0;
  border-radius: var(--r-lg); margin: 0 clamp(0px, 1vw, 12px);
  position: relative; overflow: hidden; isolation: isolate;
}
.join::before {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; left: -25vw; bottom: -35vw;
  background: radial-gradient(closest-side, rgba(var(--glow), .25), transparent 70%);
}
.join__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.join__title { color: #fff; font-size: clamp(34px, 4.4vw, 58px); max-width: none; }
.join__lead { margin-top: 22px; color: rgba(255,255,255,.72); max-width: 470px; }
.topics { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.topics li { padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: rgba(255,255,255,.85); transition: border-color .25s, background .25s; }
.topics li:hover { border-color: rgba(var(--glow), .7); background: rgba(var(--glow), .12); }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); }
.contact {
  display: grid; grid-template-columns: 1fr auto 20px; gap: 12px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.contact__name { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.contact__val { color: var(--muted); font-size: 15px; }
.contact__arrow { color: var(--accent-ink); font-weight: 700; transition: transform .25s var(--ease); }
.contact:hover .contact__arrow { transform: translateX(4px); }
.contact-card .btn { margin-top: 24px; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #fff;
}
.social-links svg { width: 21px; height: 21px; fill: currentColor; }
.social-links a:hover, .social-links a:focus-visible { background: var(--accent); color: var(--on-accent); }
@media (min-width: 1050px) {
  .hero__copy { position: static; }
  .hero__inner { padding-right: 88px; }
  .social-links { position: absolute; right: var(--gutter); top: 50%; flex-direction: column; margin: -76px 0 0; }
}
.coffee-meeting {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 7vw, 100px); margin-top: clamp(64px, 9vw, 120px);
}
.coffee-meeting__copy { flex: 1; }
.coffee-meeting p { max-width: 39ch; margin: 18px 0 24px; color: rgba(255,255,255,.75); }
.coffee-meeting__cup {
  width: clamp(150px, 24vw, 290px); aspect-ratio: 1; margin-right: 7%;
  border-radius: 50%; overflow: hidden;
}
.coffee-meeting__cup img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; transform: scale(1.45); }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.direction { width: 1em; height: 1em; fill: currentColor; vertical-align: -.1em; flex: none; }
@media (max-width: 650px) {
  .coffee-meeting { flex-direction: column-reverse; align-items: flex-start; }
  .coffee-meeting__cup { width: 120px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  .hero__portrait { animation: hero-enter .9s var(--ease) backwards; }
  .hero__copy > * { animation: hero-enter .7s var(--ease) backwards; }
  .hero__copy p { animation-delay: .1s; }
  .hero__copy .coffee { animation-delay: .2s; }
  .direction, .social-links a, .coffee-meeting__cup img, .burger { transition: transform .32s var(--ease), background .25s; }
  a:hover > .direction, a:focus-visible > .direction { transform: translate(2px,-2px); }
  .coffee:hover > .direction { transform: translateY(3px); }
  .social-links a:hover { transform: translateY(-2px); }
  .coffee-meeting__cup:hover img { transform: scale(1.52) rotate(3deg); }
  .burger:active { transform: scale(.93); }
  details[open] > p { animation: hero-enter .35s var(--ease); }
}

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 80px); }
.faq__title { max-width: none; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--accent-ink); font-size: 22px; font-weight: 400;
  transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--soft); }
.faq details p { padding: 0 56px 24px 0; color: var(--muted); }
.faq details a { color: var(--accent-ink); }

/* ---------- footer ---------- */
.footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-ink); }
.logo--dark { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.story:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,23,23,.06); }

/* заголовки появляются по словам */
.split .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.is-in .w { opacity: 1; transform: none; }
.no-js .split .w { opacity: 1; transform: none; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8vw, 6vw) scale(1.12); }
}

/* soft reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity .5s ease; }
  .split .w { transform: none; transition-duration: .45s; transition-delay: calc(var(--i) * 40ms); }
  .story:hover, .work:hover { transform: none; }
  .work:hover .work__num { transform: translateX(3px); }
  .card:hover, .interests__list button:hover { transform: none; }
  .interest.is-swapping > * { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { gap: 18px; }
  .works, .stories { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .header__bar { gap: 12px; padding: 0 8px 0 20px; }
  .header__bar .btn--sm { margin-left: auto; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.1); cursor: pointer;
  }
  .header.is-light .burger { background: var(--paper); }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .header.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .header.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 70px;
    flex-direction: column; gap: 0; margin: 0; padding: 8px;
    background: rgba(20,20,20,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    pointer-events: auto;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: 14px; color: #fff; opacity: 1; }
  .nav a:hover { background: rgba(255,255,255,.08); }


  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .night__grid, .join__grid, .interests, .faq { grid-template-columns: 1fr; }

  .step__head { grid-template-columns: 1fr auto 20px; gap: 6px 14px; padding: 18px 0 18px 32px; }
  .step__date { grid-column: 1 / -1; }
  .step__title { grid-column: 1; }
  .step__body > p { padding-left: 32px; padding-right: 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header { top: 10px; }
  .header__bar { height: 56px; }
  .logo { font-size: 17px; }
  .header__bar .btn--sm { display: none; }
  .burger { margin-left: auto; }
  .bento, .works, .stories { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .portrait { width: 160px; }
  .work { min-height: 0; }
  .faq details p { padding-right: 0; }
  .contact { grid-template-columns: 1fr 20px; }
  .contact__val { grid-column: 1; grid-row: 2; margin-top: -8px; }
  .contact__arrow { grid-column: 2; grid-row: 1 / 3; }
}
