:root {
  --paper: #f4f1ec;
  --card: #fbfaf7;
  --ink: #2d3037;
  --muted: #747983;
  --blue: #606a7d;
  --blue-deep: #465064;
  --blue-pale: #aab2c0;
  --sage: #79857b;
  --thread: #d8d1c8;
  --accent: #b86f55;
  --line: rgba(70, 80, 100, .15);
  --shadow: 0 24px 70px rgba(57, 61, 70, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: .055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.topbar {
  width: min(1180px, calc(100% - 40px));
  height: 132px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { color: inherit; display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand-logo-crop { width: 220px; height: 116px; display: block; overflow: hidden; flex: 0 0 auto; }
.brand-logo { width: 220px; height: 220px; display: block; object-fit: contain; transform: translateY(-51px); }
.brand .app-name { display: flex; align-items: baseline; gap: 7px; padding-left: 18px; border-left: 1px solid var(--line); }
.brand b { font-family: "Prata", serif; font-size: 19px; font-weight: 400; }
.brand i { color: var(--accent); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .12em; }
.quiet-button { border: 0; color: var(--blue-deep); background: transparent; }
.quiet-button span { margin-left: 8px; padding: 3px 8px; border-radius: 20px; background: #e3e0da; font-size: 12px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 8px auto 88px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 36px;
  background: rgba(251, 250, 247, .72);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
}
.hero-copy { position: relative; z-index: 2; padding: 76px 38px 48px 68px; }
.eyebrow { margin: 0 0 16px; color: var(--sage); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { font-family: "Prata", serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(53px, 6vw, 84px); line-height: 1.02; letter-spacing: -.045em; }
h1 em { color: var(--blue); font-style: italic; }
.lead { max-width: 540px; margin: 27px 0 34px; color: var(--muted); font-size: 17px; line-height: 1.72; }

.idea-box { max-width: 580px; }
.idea-box > label { display: block; margin-bottom: 11px; font-size: 13px; font-weight: 700; }
.idea-row { display: flex; padding: 7px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(49,53,61,.08); }
.idea-row input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 10px 13px; color: var(--ink); background: transparent; }
.idea-row input::placeholder { color: #a5a7aa; }
.idea-row button, .primary-button {
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--blue-deep);
  transition: transform .2s, background .2s;
}
.idea-row button { min-height: 50px; padding: 0 18px; display: flex; align-items: center; gap: 10px; }
.idea-row button:hover, .primary-button:hover { background: var(--accent); transform: translateY(-2px); }
.idea-row svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hint { margin: 10px 4px 0; color: #93928f; font-size: 11px; }
.trust-row { display: flex; gap: 24px; margin-top: 44px; color: var(--muted); font-size: 11px; }
.trust-row span { display: flex; align-items: baseline; gap: 5px; }
.trust-row b { color: var(--blue-deep); font-family: "Prata", serif; font-size: 22px; font-weight: 400; }

.hero-art { position: relative; min-height: 650px; background: linear-gradient(145deg, #dce0e5 0%, #b9c0cb 48%, #747e91 100%); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; width: 470px; height: 470px; right: -145px; top: -110px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.05), 0 0 0 110px rgba(255,255,255,.04); }
.knot { position: absolute; width: 114%; left: -8%; top: 80px; overflow: visible; filter: drop-shadow(0 18px 20px rgba(46,52,65,.18)); }
.cord { fill: none; stroke-width: 34; stroke-linecap: round; }
.cord.light { stroke: #edf0f2; }
.cord.dark { stroke: #566174; }
.cord.mid { stroke: #aeb7c4; }
.cord.pale { stroke: #d8dde3; }
.tail { fill: none; stroke: #eef0f2; stroke-width: 21; stroke-linecap: round; }
.spool { position: absolute; right: 44px; bottom: 55px; width: 126px; height: 122px; opacity: .7; }
.spool-line { position: absolute; inset: 8px; border: 2px solid rgba(255,255,255,.65); border-radius: 48% 52% 46% 54%; }
.line-two { inset: 20px 4px 4px 18px; transform: rotate(34deg); }
.line-three { inset: 5px 24px 18px 2px; transform: rotate(70deg); }
.spool-core { position: absolute; inset: 46px; border-radius: 50%; background: rgba(255,255,255,.7); }
.material-note { position: absolute; left: 38px; right: 190px; bottom: 44px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 15px; color: #fff; background: rgba(54,61,75,.26); backdrop-filter: blur(11px); }
.material-note span { display: block; margin-bottom: 4px; opacity: .72; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.material-note strong { font-size: 13px; font-weight: 500; }

.collection { width: min(1180px, calc(100% - 40px)); margin: 0 auto 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 47px); line-height: 1.18; }
.section-heading > p { max-width: 330px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.project-card { position: relative; min-height: 310px; padding: 24px; border: 1px solid rgba(255,255,255,.72); border-radius: 25px; overflow: hidden; background: var(--card); transition: transform .25s, box-shadow .25s; }
.project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 6; }
.project-card:nth-child(n+3) { grid-column: span 4; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(54,60,72,.1); }
.card-number { color: var(--blue-pale); font-family: "Prata", serif; font-size: 13px; }
.project-card h3 { position: relative; z-index: 2; margin: 62px 0 8px; font-family: "Prata", serif; font-size: 31px; font-weight: 400; }
.project-card p { position: relative; z-index: 2; max-width: 260px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.card-meta { position: absolute; z-index: 2; left: 24px; bottom: 22px; display: flex; gap: 7px; }
.card-meta span { padding: 7px 10px; border-radius: 20px; color: var(--blue-deep); background: #ece9e3; font-size: 10px; }
.card-button { position: absolute; z-index: 3; right: 19px; bottom: 19px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: var(--blue); font-size: 23px; transition: transform .2s, background .2s; }
.card-button:hover { transform: rotate(-8deg) scale(1.08); background: var(--accent); }
.card-shape { position: absolute; width: 170px; height: 170px; right: -30px; top: -18px; opacity: .75; border: 18px double var(--thread); border-radius: 44% 56% 57% 43%; transform: rotate(25deg); }
.project-card:nth-child(2) .card-shape { border-radius: 80% 0 80% 0; transform: rotate(45deg); }
.project-card:nth-child(3) .card-shape { border-radius: 50%; border-style: dotted; }
.project-card:nth-child(4) .card-shape { border-radius: 10% 70% 10% 70%; }
.project-card:nth-child(5) .card-shape { border-radius: 20% 20% 48% 48%; }

.project-dialog { width: min(610px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: var(--card); box-shadow: 0 35px 100px rgba(30,34,42,.27); }
.project-dialog::backdrop { background: rgba(41,45,53,.48); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 42px; }
.dialog-close { position: absolute; right: 18px; top: 16px; width: 35px; height: 35px; border: 0; border-radius: 50%; color: var(--muted); background: #ece9e3; font-size: 22px; }
.dialog-step h2 { margin: 0; font-size: 39px; line-height: 1.15; }
.dialog-description { margin: 13px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-grid label { color: var(--muted); font-size: 11px; font-weight: 600; }
.field-grid input, .field-grid select { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--ink); background: #fff; }
.field-grid input:focus, .field-grid select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(96,106,125,.1); }
.primary-button, .secondary-button { min-height: 50px; padding: 0 20px; border-radius: 13px; font-weight: 600; }
.dialog-step > .primary-button { width: 100%; margin-top: 24px; }
.result-metrics { margin: 24px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric { padding: 14px 12px; border-radius: 13px; background: #ebe8e2; }
.metric b { display: block; color: var(--blue-deep); font-family: "Prata", serif; font-size: 22px; font-weight: 400; }
.metric span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.cut-card { padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cut-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.cut-card h3 { margin: 0; font-family: "Prata", serif; font-size: 20px; font-weight: 400; }
.cut-card-head span { color: var(--sage); font-size: 10px; text-transform: uppercase; }
.cut-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.cut-row:last-child { border-bottom: 0; }
.cut-row strong { color: var(--blue-deep); }
.beta-note { color: var(--muted); font-size: 10px; line-height: 1.55; }
.dialog-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; margin-top: 18px; }
.secondary-button { border: 1px solid var(--line); color: var(--blue-deep); background: transparent; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 26px; padding: 13px 20px; border-radius: 30px; color: #fff; background: var(--blue-deep); opacity: 0; transform: translate(-50%, 20px); transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 34px 42px; }
  .hero-art { min-height: 430px; }
  .knot { top: 20px; }
  .project-card:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 600px) {
  .topbar { width: calc(100% - 24px); height: 108px; }
  .brand { gap: 8px; }
  .brand b { font-size: 13px; }
  .brand-logo-crop { width: 145px; height: 92px; }
  .brand-logo { width: 160px; height: 160px; transform: translate(-7px, -35px); }
  .brand .app-name { gap: 4px; padding-left: 9px; }
  .quiet-button { font-size: 0; }
  .quiet-button span { font-size: 11px; }
  .hero, .collection { width: calc(100% - 20px); }
  .hero { min-height: auto; margin-top: 0; border-radius: 25px; }
  .hero-copy { padding: 42px 22px 34px; }
  h1 { font-size: 47px; }
  .lead { font-size: 14px; }
  .idea-row { display: block; }
  .idea-row input { width: 100%; min-height: 48px; }
  .idea-row button { width: 100%; justify-content: center; }
  .trust-row { gap: 13px; justify-content: space-between; }
  .trust-row span { display: block; }
  .hero-art { min-height: 330px; }
  .knot { width: 135%; left: -19%; top: 8px; }
  .material-note { left: 20px; right: 90px; bottom: 24px; }
  .spool { width: 80px; height: 80px; right: 15px; bottom: 24px; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-card:nth-child(n) { grid-column: 1 / -1; min-height: 270px; }
  .dialog-shell { padding: 38px 20px 24px; }
  .dialog-step h2 { font-size: 31px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
}

/* Рабочий экран проекта */
[hidden] { display: none !important; }
.weaving-screen { min-height: 100vh; padding: 24px clamp(18px, 4vw, 64px) 48px; background: #f2efe9; }
.weaving-topbar { max-width: 1180px; margin: 0 auto 28px; display: flex; align-items: center; justify-content: space-between; }
.weaving-brand { display: flex; align-items: center; gap: 14px; }
.weaving-logo {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(38,43,54,.08);
}
.weaving-logo img {
  position: absolute;
  left: calc(50% + 10px);
  top: calc(50% - 4px);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  transform: translate(-50%, -50%) scale(1.38);
  transform-origin: center;
}
.weaving-brand small, .weaving-brand strong { display: block; }
.weaving-brand small { color: #7a7e86; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.weaving-brand strong { margin-top: 3px; font-family: Prata, serif; font-weight: 400; font-size: 17px; }
.weaving-layout { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 22px; align-items: start; }
.weaving-summary, .weaving-workspace { border: 1px solid rgba(93,99,114,.12); border-radius: 26px; background: rgba(255,255,255,.76); box-shadow: 0 18px 50px rgba(36,42,55,.07); }
.weaving-summary { padding: 30px 24px; position: sticky; top: 20px; }
.weaving-summary h2 { margin: 8px 0 20px; font: 30px/1.15 Prata, serif; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid #dedbd5; }
.project-facts span { padding: 10px; border-radius: 10px; background: #eeece7; color: #696d76; font-size: 11px; }
.project-facts span:first-child { grid-column: 1 / -1; }
.project-facts b { color: #404653; font-size: 15px; }
.step-list { display: grid; gap: 4px; margin-top: 18px; }
.step-list button { appearance: none; border: 0; border-radius: 10px; padding: 8px; background: transparent; color: #737782; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.step-list button i { width: 28px; height: 28px; border: 1px solid #d1d2d6; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.step-list button.active { background: #e4e6eb; color: #3e4658; font-weight: 700; }
.step-list button.active i { background: #5f687e; border-color: #5f687e; color: #fff; }
.step-list button.done i { border-color: #87907e; background: #87907e; color: transparent; position: relative; }
.step-list button.done i::after { content: '✓'; color: #fff; position: absolute; }
.weaving-workspace { padding: clamp(24px, 4vw, 46px); }
.progress-head { display: flex; justify-content: space-between; color: #6e737e; font-size: 12px; font-weight: 700; }
.progress-track { height: 5px; margin: 11px 0 28px; border-radius: 99px; overflow: hidden; background: #dfddd8; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: #626b80; transition: width .3s ease; }
.video-lesson { margin-bottom: 20px; overflow: hidden; border: 1px solid rgba(77,84,101,.14); border-radius: 22px; background: #252b38; color: #f7f5f1; box-shadow: 0 22px 50px rgba(38,44,57,.14); }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 72% 25%, #8790a3 0, transparent 30%), linear-gradient(135deg,#535d73,#242a37 70%); overflow: hidden; }
.video-stage video { width: 100%; height: 100%; display: block; object-fit: cover; background: #171b24; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 15px; padding: 28px; text-align: center; background: linear-gradient(135deg,rgba(75,84,105,.45),rgba(30,35,47,.72)); }
.video-placeholder::before, .video-placeholder::after { content: ''; position: absolute; width: 44%; height: 8px; border-radius: 99px; background: rgba(255,255,255,.09); transform: rotate(-18deg); }
.video-placeholder::before { left: -5%; top: 28%; box-shadow: 0 44px rgba(255,255,255,.06), 0 88px rgba(255,255,255,.04); }
.video-placeholder::after { right: -7%; bottom: 25%; transform: rotate(16deg); box-shadow: 0 -44px rgba(255,255,255,.05); }
.video-placeholder > * { position: relative; z-index: 1; }
.video-play-mark { width: 70px; height: 70px; display: grid; place-items: center; padding-left: 5px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(250,249,246,.12); color: #fff; font-size: 21px; backdrop-filter: blur(10px); }
.video-placeholder strong, .video-placeholder small { display: block; }
.video-placeholder strong { font: 20px/1.25 Prata, serif; font-weight: 400; }
.video-placeholder small { margin-top: 7px; color: rgba(255,255,255,.64); font-size: 11px; }
.video-caption { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 21px 24px 12px; }
.video-caption .eyebrow { color: rgba(255,255,255,.52); }
.video-caption h3 { margin: 5px 0 0; font: 22px/1.2 Prata, serif; font-weight: 400; }
.video-caption > span { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; color: rgba(255,255,255,.7); font-size: 10px; }
.video-transcript { margin: 0; padding: 0 24px 22px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }
.step-card { min-height: 410px; padding: clamp(25px, 5vw, 58px); border-radius: 22px; background: #f7f5f1; position: relative; overflow: hidden; }
.step-card h2 { max-width: 570px; margin: 8px 0 15px; font: clamp(30px, 4vw, 48px)/1.13 Prata, serif; color: #363c49; }
.step-description { max-width: 600px; color: #676b74; font-size: 16px; line-height: 1.7; }
.step-tip { max-width: 600px; margin-top: 28px; padding: 16px 18px; border-left: 3px solid #6b7488; background: rgba(255,255,255,.72); display: grid; gap: 4px; font-size: 13px; line-height: 1.5; }
.step-tip strong { color: #424958; }
.step-visual { float: right; width: 190px; height: 190px; margin: -8px -8px 22px 28px; border-radius: 50%; background: #dfe3ea; position: relative; }
.step-visual::before, .step-visual::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.step-visual::before { width: 85px; height: 85px; border: 7px double #667084; border-radius: 50%; }
.step-visual::after { width: 105px; height: 5px; border-radius: 99px; background: #fff; box-shadow: 0 15px #8b93a3, 0 -15px #fff; }
.visual-threads::before { border: 0; border-radius: 0; width: 7px; height: 120px; background: #687186; box-shadow: 22px 0 #fff, -22px 0 #9ca3b1, 44px 0 #8790a2; }
.visual-ring::before { width: 88px; height: 88px; border-style: solid; }
.visual-divide::after { transform: translate(-50%,-50%) rotate(90deg); }
.visual-knot::after, .visual-chain::after, .visual-wrap::after { height: 12px; background: transparent; border-top: 7px solid #687186; border-bottom: 7px solid #fff; transform: translate(-50%,-50%) rotate(-18deg); }
.visual-measure::before { border: 0; border-radius: 4px; width: 105px; height: 32px; background: repeating-linear-gradient(90deg,#697287 0 2px,transparent 2px 10px); }
.visual-finish::before { border-color: #7c8676; }
.help-panel { margin-top: 16px; padding: 17px 20px; border-radius: 14px; color: #505867; background: #e2e6df; }
.help-panel strong { font-family: Prata, serif; font-weight: 400; }
.help-panel p { margin: 6px 0 0; line-height: 1.55; font-size: 13px; }
.weaving-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.action-spacer { flex: 1; }
.weaving-actions button:disabled { opacity: .35; cursor: not-allowed; }
.finish-dialog { width: min(560px, calc(100% - 28px)); border: 0; padding: 0; border-radius: 24px; background: transparent; }
.finish-dialog::backdrop { background: rgba(41,47,59,.62); backdrop-filter: blur(5px); }
.feedback-form { width: auto; background: #f8f6f2; }
.wide-field, .photo-field { display: grid; gap: 7px; margin: 14px 0; color: #5f6470; font-size: 12px; font-weight: 700; }
.wide-field textarea { resize: vertical; min-height: 82px; border: 1px solid #ddd9d2; border-radius: 10px; padding: 12px; font: inherit; background: #fff; }
.photo-field { padding: 14px; border: 1px dashed #c8c6c2; border-radius: 10px; }

@media (max-width: 820px) {
  .weaving-layout { grid-template-columns: 1fr; }
  .weaving-summary { position: static; }
  .step-list { grid-template-columns: repeat(4, 1fr); }
  .step-list button span { display: none; }
}
@media (max-width: 600px) {
  .weaving-screen { padding: 14px 12px 32px; }
  .weaving-topbar { align-items: flex-start; }
  .weaving-logo { width: 52px; height: 52px; flex-basis: 52px; }
  .weaving-topbar .quiet-button { padding: 9px 10px; font-size: 11px; }
  .weaving-summary, .weaving-workspace { border-radius: 18px; }
  .weaving-summary { padding: 22px 18px; }
  .weaving-workspace { padding: 18px; }
  .step-card { min-height: 0; padding: 26px 20px; }
  .video-caption { align-items: flex-start; padding: 18px 18px 10px; }
  .video-caption h3 { font-size: 18px; }
  .video-transcript { padding: 0 18px 18px; }
  .video-play-mark { width: 58px; height: 58px; }
  .step-visual { float: none; width: 125px; height: 125px; margin: 0 0 24px; }
  .step-visual::before { transform: translate(-50%,-50%) scale(.72); }
  .step-visual::after { transform: translate(-50%,-50%) scale(.72); }
  .weaving-actions { flex-wrap: wrap; }
  .action-spacer { display: none; }
  .weaving-actions button { flex: 1 1 42%; }
  #nextStepButton { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* v3 — первый экран полностью собран вокруг исходного логотипа «Переплетение» */
body { background: #eceef2; }
.topbar { margin-top: 10px; border-radius: 26px 26px 0 0; padding: 0 28px; background: #f8f7f4; }
.hero {
  margin-top: 0;
  border: 0;
  border-radius: 0 0 34px 34px;
  background: #f8f7f4;
  box-shadow: 0 30px 80px rgba(64, 72, 88, .14);
}
.hero-copy { padding-top: 68px; }
.hero-copy .eyebrow { color: #676f82; }
.hero-copy h1 { color: #303540; }
.hero-copy h1 em { color: #676f82; }
.idea-row button, .primary-button { background: #676f82; }
.idea-row button:hover, .primary-button:hover { background: #4d566a; }
.trust-row b { color: #676f82; }

.hero-brand-panel {
  min-height: 650px;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 15%, rgba(255,255,255,.18), transparent 26%),
    linear-gradient(145deg, #858d9e 0%, #626c80 52%, #495366 100%);
}
.hero-brand-panel::before {
  width: 390px;
  height: 390px;
  right: -120px;
  top: -125px;
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018);
}
.brand-panel-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-panel-label span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}
.hero-logo-window {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 44%;
  width: min(390px, 76%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  background: rgba(250,249,246,.97);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow:
    0 28px 70px rgba(31,38,52,.22),
    inset 0 0 0 10px rgba(103,111,130,.06);
}
.hero-logo-window::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(103,111,130,.16);
  pointer-events: none;
}
.hero-logo-window img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 86%;
  height: 86%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: none;
}
.brand-flow {
  position: absolute;
  z-index: 3;
  left: 38px;
  right: 38px;
  bottom: 122px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-flow i { height: 1px; flex: 1; background: rgba(255,255,255,.3); }
.brand-note {
  left: 38px;
  right: 38px;
  bottom: 35px;
  padding: 17px 19px;
  background: rgba(32,39,53,.22);
}

.collection { padding-top: 12px; }
.project-card { background: #f8f7f4; }
.project-card:nth-child(1) { background: #dfe3ea; }
.project-card:nth-child(2) { background: #e6e3df; }

@media (max-width: 860px) {
  .hero-brand-panel { min-height: 510px; }
  .hero-logo-window { width: min(360px, 72%); }
}
@media (max-width: 600px) {
  .topbar { margin-top: 6px; padding: 0 10px; }
  .hero { border-radius: 0 0 25px 25px; }
  .hero-copy { padding-top: 36px; }
  .hero-brand-panel { min-height: 430px; padding: 24px; }
  .hero-logo-window { top: 43%; width: min(320px, 78%); }
  .brand-flow { left: 24px; right: 24px; bottom: 110px; }
  .brand-note { left: 24px; right: 24px; bottom: 23px; }
}
