↩️ Ремонт-сайт: возврат к прежнему тёплому редакторскому дизайну
All checks were successful
Deploy Remont Site / deploy (push) Successful in 24s

По просьбе: чертёжный стиль откатан полностью, восстановлены
оригинальные style.css и generate.js (тёплая палитра материалов,
шалфейный акцент, круглые образцы, Spectral+Onest без моношрифта).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LuV7iC61963xpBTBvxkyEq
This commit is contained in:
Cosmo
2026-07-22 16:02:53 +00:00
parent 033a99e017
commit d5771ac98f
2 changed files with 150 additions and 245 deletions

View File

@@ -1,70 +1,57 @@
/* ============================================================
Ремонт квартиры — концепт как рабочий чертёж архитектора.
Тёплая палитра материалов самой квартиры (шалфей, дуб,
штукатурка) + чертёжный слой: миллиметровка, реперы,
размерные линии, моноширинные аннотации, blueprint-синий.
Ремонт квартиры — концепт-борд
Палитра взята из материалов самой квартиры:
шалфейный фасад кухни, тёплый дуб, штукатурка, пыльно-голубая спальня.
============================================================ */
:root {
/* поверхности — тёплая бумага чертежа */
--plaster: #E7E2D5; /* фон */
--paper: #F3EEE4; /* карточки */
--paper-2: #FBF8F1; /* приподнятые поверхности */
--ink: #21221A; /* текст */
--ink-soft:#6B6959; /* вторичный текст */
/* поверхности */
--plaster: #EDE8DE; /* фон — тёплая штукатурка */
--paper: #F7F3EA; /* карточки */
--paper-2: #FBF9F3; /* приподнятые карточки */
--ink: #2B2A25; /* текст */
--ink-soft:#6A675C; /* вторичный текст */
/* материалы квартиры */
--sage: #6E7D55; /* фасад кухни */
--sage-deep: #46522E; /* тёмный шалфей для текста */
--oak: #B8945F; /* дуб */
--sage: #7C8A66; /* фасад кухни */
--sage-deep: #55613C; /* тёмный шалфей для текста */
--oak: #C7A579; /* дуб */
--blue: #97B0C3; /* спальня */
--graphite: #4B4E52; /* пол / диван */
/* чертёжный слой */
--blueprint: #315468; /* чертёжная синь — акцент структуры */
--blueprint-soft: #6E93A6;
--blueprint-line: rgba(49, 84, 104, .55);
--line: rgba(43, 42, 37, .14);
--line-strong: rgba(43, 42, 37, .28);
--shadow: 0 1px 2px rgba(43,42,37,.05), 0 12px 32px -18px rgba(43,42,37,.28);
--shadow-lift: 0 2px 4px rgba(43,42,37,.06), 0 24px 48px -22px rgba(43,42,37,.38);
--line: rgba(33, 34, 26, .16);
--line-strong: rgba(33, 34, 26, .30);
--grid-line: rgba(49, 84, 104, .055); /* миллиметровка */
--grid-bold: rgba(49, 84, 104, .085);
--shadow: 0 1px 2px rgba(33,34,26,.05), 0 14px 34px -20px rgba(33,34,26,.30);
--shadow-lift: 0 2px 4px rgba(33,34,26,.07), 0 26px 54px -22px rgba(33,34,26,.42);
--maxw: 1180px;
--r: 6px; /* чертёж — минимум скруглений */
--r-lg: 10px;
--maxw: 1160px;
--r: 14px;
--r-lg: 22px;
--ff-display: "Spectral", Georgia, serif;
--ff-body: "Onest", system-ui, -apple-system, sans-serif;
--ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
:root[data-theme="dark"] {
--plaster: #191C1E;
--paper: #212527;
--paper-2: #282D2F;
--ink: #ECE7DB;
--ink-soft:#9BA0A0;
--sage: #9DB07F;
--sage-deep: #B7C99C;
--oak: #D4B788;
--plaster: #201F1B;
--paper: #262521;
--paper-2: #2D2C27;
--ink: #EFEADF;
--ink-soft:#A7A296;
--sage: #9DAE84;
--sage-deep: #B7C79E;
--oak: #D6B98E;
--blue: #A6BED0;
--graphite: #8A8D91;
--blueprint: #8FB6CB;
--blueprint-soft: #6E93A6;
--blueprint-line: rgba(143, 182, 203, .5);
--line: rgba(236, 231, 219, .14);
--line-strong: rgba(236, 231, 219, .28);
--grid-line: rgba(143, 182, 203, .05);
--grid-bold: rgba(143, 182, 203, .08);
--shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 36px -20px rgba(0,0,0,.62);
--shadow-lift: 0 2px 4px rgba(0,0,0,.36), 0 28px 56px -22px rgba(0,0,0,.72);
--line: rgba(239, 234, 223, .13);
--line-strong: rgba(239, 234, 223, .26);
--shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -18px rgba(0,0,0,.6);
--shadow-lift: 0 2px 4px rgba(0,0,0,.35), 0 26px 52px -22px rgba(0,0,0,.7);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
@@ -96,65 +83,59 @@ body::before {
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
/* ---------- моноширинные аннотации (размеры, коды, площади) ---------- */
/* ---------- типографика ---------- */
.eyebrow {
font-family: var(--ff-mono);
font-size: 12px;
letter-spacing: .16em;
font-size: 12.5px;
letter-spacing: .22em;
text-transform: uppercase;
font-weight: 500;
color: var(--blueprint);
font-weight: 600;
color: var(--sage-deep);
display: inline-flex;
align-items: center;
gap: .7em;
gap: .6em;
}
.eyebrow::before {
content: "";
width: 22px; height: 0;
border-top: 1px solid currentColor;
/* размерная засечка на конце */
box-shadow: 0 -3px 0 -2px currentColor, 0 3px 0 -2px currentColor;
width: 26px; height: 1px;
background: currentColor;
opacity: .6;
}
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
/* ---------- шапка — как штамп чертежа ---------- */
/* ---------- шапка ---------- */
.topbar {
position: sticky; top: 0; z-index: 50;
backdrop-filter: saturate(1.3) blur(10px);
background: color-mix(in srgb, var(--plaster) 84%, transparent);
backdrop-filter: saturate(1.4) blur(10px);
background: color-mix(in srgb, var(--plaster) 82%, transparent);
border-bottom: 1px solid transparent;
transition: border-color .3s, background .3s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar__inner {
max-width: var(--maxw); margin: 0 auto; padding: 13px 28px;
max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: baseline; gap: 11px; font-weight: 600; }
.brand b { font-family: var(--ff-display); font-weight: 600; font-size: 20px; letter-spacing: .01em; }
.brand span {
font-family: var(--ff-mono); font-size: 11px; color: var(--blueprint);
letter-spacing: .08em; padding: 3px 8px; border: 1px solid var(--line);
border-radius: 999px;
}
.nav { display: flex; align-items: center; gap: 2px; }
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 600; letter-spacing: .01em; }
.brand b { font-family: var(--ff-display); font-weight: 600; font-size: 19px; letter-spacing: .01em; }
.brand span { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
text-decoration: none; font-size: 14.5px; color: var(--ink-soft);
padding: 7px 13px; border-radius: 6px; transition: color .2s, background .2s;
padding: 7px 13px; border-radius: 999px; transition: color .2s, background .2s;
white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--blueprint) 12%, transparent); }
.nav a.active { color: var(--blueprint); background: color-mix(in srgb, var(--blueprint) 15%, transparent); }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--sage) 14%, transparent); }
.nav a.active { color: var(--sage-deep); background: color-mix(in srgb, var(--sage) 18%, transparent); }
.theme-toggle {
border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
width: 38px; height: 38px; border-radius: 6px; cursor: pointer;
width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s;
}
.theme-toggle:hover { background: color-mix(in srgb, var(--blueprint) 12%, transparent); border-color: var(--blueprint); }
.theme-toggle:hover { background: color-mix(in srgb, var(--sage) 14%, transparent); border-color: var(--sage); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
@@ -163,70 +144,47 @@ h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
.nav a .sm { display: none; }
@media (max-width: 720px) {
.nav a { padding: 6px 9px; font-size: 13px; }
.brand span { display: none; }
}
@media (max-width: 560px) {
.brand span { display: none; }
.brand { display: none; }
.nav a .lg { display: none; }
.nav a .sm { display: inline; }
.nav a { padding: 6px 11px; }
}
/* ---------- реперные метки (crop marks) на чертёжных врезках ---------- */
.sheet { position: relative; }
.sheet::after {
content: ""; position: absolute; inset: 9px; pointer-events: none;
background:
/* TL */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) left top/14px 1px no-repeat,
linear-gradient(var(--blueprint-line),var(--blueprint-line)) left top/1px 14px no-repeat,
/* TR */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) right top/14px 1px no-repeat,
linear-gradient(var(--blueprint-line),var(--blueprint-line)) right top/1px 14px no-repeat,
/* BL */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) left bottom/14px 1px no-repeat,
linear-gradient(var(--blueprint-line),var(--blueprint-line)) left bottom/1px 14px no-repeat,
/* BR */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) right bottom/14px 1px no-repeat,
linear-gradient(var(--blueprint-line),var(--blueprint-line)) right bottom/1px 14px no-repeat;
.topbar__inner { justify-content: space-between; }
}
/* ---------- hero ---------- */
.hero { padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 60px); }
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 60px); }
.hero__grid {
display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
align-items: center;
}
.hero__title {
font-size: clamp(52px, 9vw, 112px);
line-height: .9; letter-spacing: -.022em; margin: 20px 0 0;
font-size: clamp(52px, 9vw, 108px);
line-height: .92; letter-spacing: -.02em; margin: 18px 0 0;
}
.hero__title em { font-style: italic; color: var(--blueprint); }
.hero__title em { font-style: italic; color: var(--sage-deep); }
.hero__lead {
margin: 26px 0 0; max-width: 32ch; color: var(--ink-soft); font-size: 18px;
margin: 24px 0 0; max-width: 30ch; color: var(--ink-soft); font-size: 18px;
}
/* штамп-таблица с параметрами (title block) */
.hero__meta {
margin-top: 32px; display: flex; flex-wrap: wrap;
border: 1px solid var(--line); border-radius: var(--r);
overflow: hidden; background: color-mix(in srgb, var(--paper-2) 55%, transparent);
margin-top: 30px; display: flex; flex-wrap: wrap; gap: 26px;
border-top: 1px solid var(--line); padding-top: 22px;
}
.hero__meta div {
display: flex; flex-direction: column; padding: 14px 22px 13px;
border-right: 1px solid var(--line); flex: 1; min-width: 96px;
}
.hero__meta div:last-child { border-right: none; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta .num { font-family: var(--ff-display); font-size: 30px; line-height: 1; color: var(--ink); }
.hero__meta .lbl {
font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
color: var(--blueprint); margin-top: 8px;
}
.hero__meta .lbl { font-size: 12.5px; letter-spacing: .04em; color: var(--ink-soft); margin-top: 6px; }
.hero__plan {
background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
padding: 26px; box-shadow: var(--shadow);
background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 22px; box-shadow: var(--shadow); position: relative;
}
.hero__plan img { border-radius: 3px; margin: 0 auto; max-height: 470px; width: auto; cursor: zoom-in; }
.hero__plan img { border-radius: 8px; margin: 0 auto; max-height: 460px; width: auto; cursor: zoom-in; }
.hero__plan .cap {
position: absolute; top: 20px; left: 20px; z-index: 1;
font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
color: var(--blueprint); background: var(--paper); padding: 5px 11px; border-radius: 4px;
position: absolute; top: 22px; left: 22px;
font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
color: var(--ink-soft); background: var(--paper); padding: 4px 10px; border-radius: 999px;
border: 1px solid var(--line);
}
@@ -237,72 +195,51 @@ h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
}
/* ---------- палитра материалов ---------- */
.swatches { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.swatch {
display: flex; align-items: center; gap: 9px;
font-family: var(--ff-mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-soft);
}
.swatches { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.swatch { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-soft); }
.swatch i {
width: 20px; height: 20px; border-radius: 4px; display: block;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
width: 22px; height: 22px; border-radius: 50%; display: block;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
/* ---------- секции ---------- */
.section { padding: clamp(52px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.018em; line-height: 1; margin-top: 16px; }
/* номер листа (как на рабочем чертеже) */
.section { padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.015em; line-height: 1; margin-top: 14px; }
.section__index {
font-family: var(--ff-display); font-size: clamp(44px, 6.5vw, 78px); line-height: .9;
color: var(--line-strong); font-weight: 500; text-align: right; position: relative;
font-family: var(--ff-display); font-size: clamp(46px, 7vw, 84px); line-height: 1;
color: var(--line-strong); font-weight: 500;
}
.section__index::before {
content: "ЛИСТ"; display: block;
font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .22em; font-weight: 500;
color: var(--blueprint); margin-bottom: 8px;
}
.section__lead { max-width: 48ch; color: var(--ink-soft); margin: 20px 0 0; }
.section__lead { max-width: 46ch; color: var(--ink-soft); margin: 20px 0 0; }
/* планировка */
.plan-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,52px); margin-top: 46px; align-items: start; }
.plan-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,52px); margin-top: 44px; align-items: start; }
.plan-figure {
background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
padding: 30px; box-shadow: var(--shadow); display: grid; place-items: center;
background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 26px; box-shadow: var(--shadow); display: grid; place-items: center;
}
.plan-figure img { max-height: 540px; width: auto; cursor: zoom-in; border-radius: 3px; }
.plan-figure img { max-height: 540px; width: auto; cursor: zoom-in; }
.rooms { list-style: none; margin: 0; padding: 0; }
.rooms li {
display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px;
padding: 15px 6px; border-bottom: 1px solid var(--line); transition: background .2s;
display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
padding: 15px 4px; border-bottom: 1px solid var(--line);
}
.rooms li:first-child { border-top: 1px solid var(--line); }
.rooms li:hover { background: color-mix(in srgb, var(--blueprint) 6%, transparent); }
.room-no {
width: 30px; height: 30px; border-radius: 5px; display: grid; place-items: center;
font-family: var(--ff-mono); font-size: 13px; font-weight: 600; color: var(--blueprint);
border: 1px solid var(--blueprint-line); background: color-mix(in srgb, var(--blueprint) 8%, transparent);
width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
font-family: var(--ff-display); font-size: 17px; color: var(--sage-deep);
border: 1px solid var(--sage); background: color-mix(in srgb, var(--sage) 10%, transparent);
}
.room-name { font-weight: 500; }
.room-name small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.room-area {
font-family: var(--ff-mono); font-size: 14px; color: var(--ink); white-space: nowrap;
padding-left: 16px; position: relative;
}
/* размерная засечка перед площадью */
.room-area::before {
content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px;
background: var(--blueprint-line); transform: translateY(-50%);
}
.room-area { font-family: var(--ff-display); font-size: 20px; color: var(--ink); white-space: nowrap; }
a.rooms-link { text-decoration: none; }
a.rooms-link .room-name { transition: color .2s; }
a.rooms-link:hover .room-name { color: var(--blueprint); }
a.rooms-link:hover .room-name { color: var(--sage-deep); }
.tag {
font-family: var(--ff-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
padding: 4px 9px; border-radius: 4px; white-space: nowrap;
font-size: 11px; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.tag--done { color: var(--sage-deep); background: color-mix(in srgb, var(--sage) 18%, transparent); }
.tag--done { color: var(--sage-deep); background: color-mix(in srgb, var(--sage) 16%, transparent); }
.tag--wip { color: var(--ink-soft); background: color-mix(in srgb, var(--ink-soft) 12%, transparent); }
@media (max-width: 860px) { .plan-layout { grid-template-columns: 1fr; } }
@@ -312,84 +249,61 @@ a.rooms-link:hover .room-name { color: var(--blueprint); }
.renders--hero { grid-template-columns: 1fr; }
.renders--trio { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.render {
position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong);
position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
box-shadow: var(--shadow); cursor: zoom-in; background: var(--paper);
}
.render img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.render:hover img { transform: scale(1.035); }
.render .rcap {
position: absolute; left: 12px; bottom: 12px;
font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; color: #fff;
background: rgba(20,24,26,.6); backdrop-filter: blur(4px);
padding: 5px 11px; border-radius: 4px;
font-size: 12px; letter-spacing: .04em; color: #fff;
background: rgba(20,20,18,.55); backdrop-filter: blur(4px);
padding: 5px 11px; border-radius: 999px;
}
@media (max-width: 720px) { .renders--trio { grid-template-columns: 1fr; } }
/* подзаголовок блока — как строка спецификации */
.subhead { display: flex; align-items: baseline; gap: 14px; margin: 58px 0 24px; }
.subhead h3 { font-size: 27px; letter-spacing: -.01em; }
.subhead .count { font-family: var(--ff-mono); font-size: 11.5px; color: var(--blueprint); letter-spacing: .04em; }
.subhead::after {
content: ""; flex: 1; height: 0; border-top: 1px solid var(--line); align-self: center;
/* засечка на правом конце */
box-shadow: none;
}
/* блок вариантов (мебель) */
.subhead { display: flex; align-items: baseline; gap: 14px; margin: 56px 0 22px; }
.subhead h3 { font-size: 26px; letter-spacing: -.01em; }
.subhead .count { font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
/* карточки вариантов (мебель) */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opt {
display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line-strong);
display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.opt:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--blueprint); }
.opt__media {
aspect-ratio: 4 / 3; background: var(--paper); cursor: zoom-in; overflow: hidden;
border-bottom: 1px solid var(--line);
background-image:
linear-gradient(var(--grid-line) 1px, transparent 1px),
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
background-size: 20px 20px;
}
.opt__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.opt__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.opt__no {
font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
color: var(--blueprint); font-weight: 500;
}
.opt:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--sage); }
.opt__media { aspect-ratio: 16 / 10; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.opt__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.opt__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.opt__no { font-size: 12px; letter-spacing: .12em; color: var(--sage-deep); font-weight: 600; }
.opt__name { font-family: var(--ff-display); font-size: 20px; line-height: 1.15; }
.opt__desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }
.opt__price { font-family: var(--ff-mono); font-weight: 600; font-size: 22px; margin-top: 10px; letter-spacing: -.01em; }
.opt__price span { font-size: 14px; color: var(--ink-soft); font-weight: 400; }
.opt__price { font-family: var(--ff-display); font-size: 28px; margin-top: 8px; }
.opt__price span { font-size: 15px; color: var(--ink-soft); }
.opt__link {
margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px;
text-decoration: none; font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; color: var(--blueprint);
text-decoration: none; font-size: 14px; font-weight: 600; color: var(--sage-deep);
}
.opt__link svg { width: 14px; height: 14px; transition: transform .2s; }
.opt__link svg { width: 15px; height: 15px; transition: transform .2s; }
.opt__link:hover svg { transform: translate(2px,-2px); }
/* стаггер появления карточек в ряду */
.options .opt:nth-child(2) { transition-delay: .05s; }
.options .opt:nth-child(3) { transition-delay: .10s; }
.options .opt:nth-child(4) { transition-delay: .15s; }
.options .opt:nth-child(5) { transition-delay: .10s; }
.options .opt:nth-child(6) { transition-delay: .15s; }
/* группа карточек по типу (техника) */
.opt-group { margin-top: 36px; }
.opt-group { margin-top: 34px; }
.opt-group:first-child { margin-top: 0; }
.opt-group__title {
display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px;
display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px;
font-family: var(--ff-display); font-size: 21px; letter-spacing: -.01em;
}
.opt-group__title span { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; color: var(--blueprint); font-weight: 400; }
.opt-group__title span { font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); font-weight: 400; }
.opt-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
@media (max-width: 860px) { .options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
/* варианты отделки (нумерованный список к изображению) */
.finish { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px,4vw,48px); margin-top: 40px; align-items: center; }
.finish__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); cursor: zoom-in; }
.finish__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; }
.variants { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.variants li {
display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
@@ -397,10 +311,10 @@ a.rooms-link:hover .room-name { color: var(--blueprint); }
}
.variants li:first-child { border-top: 1px solid var(--line); }
.variants li::before {
counter-increment: v; content: counter(v, decimal-leading-zero);
font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--blueprint);
width: 32px; height: 32px; border-radius: 5px; display: grid; place-items: center;
border: 1px solid var(--blueprint-line); background: color-mix(in srgb, var(--blueprint) 8%, transparent);
counter-increment: v; content: counter(v);
font-family: var(--ff-display); font-size: 17px; color: var(--sage-deep);
width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
border: 1px solid var(--sage); background: color-mix(in srgb, var(--sage) 10%, transparent);
}
.variants b { font-weight: 500; }
.variants small { color: var(--ink-soft); display: block; font-size: 13.5px; }
@@ -413,56 +327,48 @@ a.rooms-link:hover .room-name { color: var(--blueprint); }
/* пустой раздел (в работе) */
.section-empty {
margin-top: 36px; padding: 30px 32px; border: 1px dashed var(--blueprint-line); border-radius: var(--r);
color: var(--ink-soft); font-size: 16px; background: color-mix(in srgb, var(--blueprint) 4%, transparent);
font-family: var(--ff-mono); font-size: 14px; letter-spacing: .01em;
margin-top: 36px; padding: 28px 30px; border: 1px dashed var(--line-strong); border-radius: var(--r);
color: var(--ink-soft); font-size: 16px; background: color-mix(in srgb, var(--sage) 5%, transparent);
}
/* проза и заметки из markdown */
.prose { max-width: 64ch; color: var(--ink-soft); margin: 22px 0 0; }
.prose { max-width: 62ch; color: var(--ink-soft); margin: 22px 0 0; }
.note {
max-width: 64ch; margin: 26px 0 0; padding: 15px 22px; font-size: 15px; color: var(--ink-soft);
border-left: 2px solid var(--blueprint); background: color-mix(in srgb, var(--blueprint) 6%, transparent);
border-radius: 0 6px 6px 0;
max-width: 62ch; margin: 26px 0 0; padding: 14px 20px; font-size: 15px; color: var(--ink-soft);
border-left: 2px solid var(--sage); background: color-mix(in srgb, var(--sage) 8%, transparent);
border-radius: 0 8px 8px 0;
}
/* спецификация (таблицы из markdown, техника) */
.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper-2); }
/* обычные таблицы из markdown */
.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-wrap th {
font-family: var(--ff-mono); font-weight: 500; color: var(--blueprint); font-size: 11px;
letter-spacing: .08em; text-transform: uppercase; background: color-mix(in srgb, var(--blueprint) 5%, transparent);
}
.table-wrap tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper) 60%, transparent); }
.table-wrap th { font-weight: 600; color: var(--sage-deep); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap td:first-child { font-weight: 500; color: var(--ink); }
.table-wrap td img { width: 84px; border-radius: 5px; }
.table-wrap td:first-child { font-weight: 500; color: var(--ink); white-space: nowrap; }
.table-wrap td img { width: 84px; border-radius: 8px; }
.table-wrap .tlink {
display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
font-family: var(--ff-mono); font-size: 12.5px; color: var(--blueprint); font-weight: 500; text-decoration: none;
color: var(--sage-deep); font-weight: 600; text-decoration: none;
}
.table-wrap .tlink svg { width: 13px; height: 13px; }
.table-wrap .tlink:hover { text-decoration: underline; }
/* ---------- футер — штамп чертежа ---------- */
.footer {
border-top: 1px solid var(--line-strong); padding: 40px 0 60px; color: var(--ink-soft);
font-family: var(--ff-mono); font-size: 12px; letter-spacing: .02em;
}
/* ---------- футер ---------- */
.footer { border-top: 1px solid var(--line); padding: 46px 0 60px; color: var(--ink-soft); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer b { font-family: var(--ff-display); color: var(--ink); font-weight: 500; letter-spacing: 0; }
.footer b { font-family: var(--ff-display); color: var(--ink); font-weight: 500; }
/* ---------- лайтбокс ---------- */
.lightbox {
position: fixed; inset: 0; z-index: 100; display: none;
background: rgba(16,19,20,.88); backdrop-filter: blur(6px);
background: rgba(18,17,15,.86); backdrop-filter: blur(6px);
align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
.lightbox__close {
position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 6px;
position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; cursor: pointer;
display: grid; place-items: center; font-size: 22px; line-height: 1;
}
@@ -474,7 +380,6 @@ a.rooms-link:hover .room-name { color: var(--blueprint); }
@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; }
.render img, .opt { transition: none; }
.options .opt { transition-delay: 0s; }
}
:focus-visible { outline: 2px solid var(--blueprint); outline-offset: 3px; border-radius: 3px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

View File

@@ -398,7 +398,7 @@ function renderPlan(rooms, sections) {
<div class="section__index" aria-hidden="true">01</div>
</div>
<div class="plan-layout">
<figure class="plan-figure sheet reveal"><img src="${imgSrc(cfg.hero.planImage)}" alt="Схема планировки" data-zoom></figure>
<figure class="plan-figure reveal"><img src="${imgSrc(cfg.hero.planImage)}" alt="Схема планировки" data-zoom></figure>
<ul class="rooms reveal">${items}</ul>
</div>
</div>
@@ -428,7 +428,7 @@ function buildHtml(rooms, sections) {
<meta name="theme-color" content="#EDE8DE">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Onest:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap&subset=cyrillic,cyrillic-ext,latin" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Onest:wght@400;500;600&display=swap&subset=cyrillic,cyrillic-ext,latin" rel="stylesheet">
<link rel="stylesheet" href="css/style.css?v=${CSS_VER}">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%237C8A66'/><path d='M25 70V42l25-18 25 18v28H56V52H44v18z' fill='%23F7F3EA'/></svg>">
</head>
@@ -461,8 +461,8 @@ function buildHtml(rooms, sections) {
${stats}
</div>
</div>
<div class="hero__plan sheet reveal">
<span class="cap">План · М 1:100</span>
<div class="hero__plan reveal">
<span class="cap">Планировка</span>
<img src="${imgSrc(h.planImage)}" alt="Планировка квартиры" data-zoom>
</div>
</div>