/*
 * Aveji – furniture workshop template · Abedev (abedev.com)
 *
 * Design: a quiet Scandinavian workshop – warm off-white like birch plywood, charcoal, oak and one walnut brown, a
 * crisp old-style serif for headings over a round, clear sans. Square corners with a hairline, architect's dimension
 * lines under every piece, and furniture drawn as clean front views in the colour of the chosen wood. The language
 * switch is a row of veneer samples with the flags set into them – the language in use is the dark walnut chip. On
 * phones the menu is a drawer that slides out of the right edge, its pages lie inside like drawer fronts. All motion
 * stops with "reduce motion".
 */
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/brygada-1918-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/brygada-1918-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/brygada-1918-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/brygada-1918-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/brygada-1918-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/brygada-1918-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Aveji Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-500-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Aveji Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/didact-gothic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Aveji Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/didact-gothic-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Aveji Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/didact-gothic-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Aveji Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

:root {
    --bg: #f7f4ef;
    --paper: #efe9df;
    --white: #fffdfa;
    --ink: #2b2a28;
    --ink-2: #3f3c38;
    --oak: #c9a57a;
    --oak-soft: #ece1d0;
    --accent: #7a5235;
    --accent-ink: #fff;
    --muted: #6b655d;
    --line: #ddd5c8;
    --line-dark: rgba(255, 255, 255, .14);
    --r: 4px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --head: "Aveji Head", Georgia, serif;
    --text: "Aveji Text", system-ui, sans-serif;
    --grain: repeating-linear-gradient(100deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 7px), repeating-linear-gradient(96deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 13px);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); overflow-x: hidden; font-synthesis: none; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-family: var(--head); font-weight: 600; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(de) h1, :lang(ru) h1, :lang(de) h2, :lang(ru) h2 { -webkit-hyphens: auto; hyphens: auto; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute !important; 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: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.small-label, .field-label { display: block; margin: 0 0 .6rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .small-label { letter-spacing: .04em; font-size: .85rem; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li + li { margin-top: .3rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
:lang(ka) .eyebrow { letter-spacing: .04em; font-size: .9rem; }
.rule { width: 42px; height: 1px; background: currentColor; flex: none; }
.display { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5rem); line-height: 1.03; }
:lang(ka) .display { font-size: clamp(1.7rem, 1.05rem + 2.8vw, 3.1rem); line-height: 1.25; }
:lang(ru) .display { font-size: clamp(2.1rem, 1.2rem + 3.8vw, 4.4rem); }
.display--page { font-size: clamp(2.1rem, 1.25rem + 3.4vw, 3.8rem); max-width: 20ch; }
:lang(ka) .display--page { font-size: clamp(1.4rem, .85rem + 2.6vw, 2.6rem); max-width: 28ch; }
.display--cta { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); }
:lang(ka) .display--cta { font-size: clamp(1.35rem, 1rem + 1.9vw, 2.3rem); }
.h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); }
:lang(ka) .h2 { font-size: clamp(1.3rem, 1rem + 1.3vw, 1.95rem); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.h2 + .lead, .section-head .lead { margin-top: .9rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .7rem 1.45rem; border: 1px solid transparent; border-radius: var(--r); font: 500 1rem/1.25 var(--head); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .4rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.more { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font: 500 1rem/1.3 var(--head); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.more:hover { border-bottom-color: currentColor; }
.link-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .92rem; }
.link-btn:hover { color: var(--ink); }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: var(--oak); transition: background .3s; }
.logo:hover .logo-mark { background: var(--accent); color: #fff; }
.logo-mark .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.logo-img { max-height: 44px; width: auto; }
.logo > span:last-child { display: flex; flex-direction: column; font: 600 1.55rem/1 var(--head); letter-spacing: .01em; }
.logo small { margin-top: .2rem; font: 400 .72rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .logo small { letter-spacing: .02em; font-size: .78rem; }
.nav { display: flex; gap: 1.7rem; }
.nav a { position: relative; padding: .4rem 0; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: none; }
.header-cta[aria-current] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent); }
.panel-btn { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--ink); border-radius: var(--r); background: none; cursor: pointer; }
.panel-btn .icon { width: 20px; height: 20px; }

/* language switch: veneer samples – the flag is set into the wood, the language in use is the walnut chip */
.chips-wood { display: flex; gap: 4px; }
.veneer { position: relative; display: inline-flex; align-items: center; gap: .3rem; height: 34px; padding: 0 7px 0 5px; text-decoration: none; border-radius: 2px; background: var(--grain), var(--oak-soft); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .3s var(--ease), background-color .3s; }
.veneer::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -5px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.veneer .flag { width: 18px; height: 18px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.veneer span { font-size: .72rem; letter-spacing: .08em; color: var(--ink-2); }
.veneer:hover { transform: translateY(-2px); background-color: var(--oak); }
.veneer[aria-current] { background-color: var(--accent); }
.veneer[aria-current] span { color: #fff; }
.veneer[aria-current]::after { transform: none; }
.chips-wood--panel { flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 0; }
.chips-wood--panel .veneer { height: 44px; padding: 0 12px 0 8px; gap: .5rem; }
.chips-wood--panel .veneer .flag { width: 24px; height: 24px; }
.chips-wood--panel .veneer span { font-size: .85rem; }

/* menu on phones: a drawer slides out of the right edge, the pages are its drawer fronts */
.panel { position: fixed; inset: 0; z-index: 60; background: rgba(43, 42, 40, 0); transition: background .4s; }
.panel.is-open { background: rgba(43, 42, 40, .45); }
.panel-inner { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); overflow-y: auto; padding: 1.2rem 1.25rem 2rem; background: var(--paper); box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .5s var(--ease); }
.panel.is-open .panel-inner { transform: none; }
.panel-handle { position: absolute; top: 50%; right: min(420px, 92vw); z-index: 1; width: 10px; height: 76px; margin: -38px -2px 0 0; border-radius: 3px 0 0 3px; background: var(--accent); transform: translateX(calc(min(420px, 92vw) + 10px)); transition: transform .5s var(--ease); }
.panel.is-open .panel-handle { transform: none; }
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.panel-label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.panel-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: none; cursor: pointer; }
.panel-nav { display: grid; gap: 6px; }
.panel-nav a { position: relative; display: flex; align-items: center; gap: .9rem; min-height: 74px; padding: .8rem 1rem; text-decoration: none; font: 600 1.6rem/1.15 var(--head); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 2px 0 var(--line);
    opacity: 0; transform: translateX(40px); transition: opacity .4s var(--ease) calc(.15s + var(--i) * 70ms), transform .45s var(--ease) calc(.15s + var(--i) * 70ms), background .2s; }
.panel-nav a::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 34px; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--oak); }
:lang(ka) .panel-nav a { font-size: 1.2rem; }
.panel.is-open .panel-nav a { opacity: 1; transform: none; }
.panel-nav a:hover { background: var(--oak-soft); }
.panel-num { font: 500 .85rem/1 var(--text); color: var(--muted); }
.panel-text { padding-right: 3rem; }
.panel-nav a[aria-current] { color: var(--accent); }
.panel-nav a[aria-current]::after { background: var(--accent); }
.panel-contact { margin-top: 1.4rem; color: var(--muted); }
.panel-contact a { text-decoration: none; }

/* hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero .lead { margin-top: 1.4rem; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.hero-swatches { position: absolute; left: -18px; top: 12%; display: grid; gap: 4px; }
.swatch { width: 36px; height: 52px; background: var(--grain), var(--wood); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .5); }
.hero-note { position: absolute; right: 0; bottom: 0; display: flex; gap: .6rem; align-items: flex-start; max-width: min(320px, 88%); padding: 1rem 1.15rem; background: var(--white); font: 500 1.02rem/1.4 var(--head); }
.hero-note .icon { margin-top: .15em; color: var(--accent); }

/* facts */
.facts { border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; gap: .3rem; padding: 1.8rem 1.4rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); line-height: 1; color: var(--accent); white-space: nowrap; }
.fact span { color: var(--muted); font-size: .95rem; }

/* sections */
.section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.section--tight { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .h2 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.4rem; }
.page-head { padding: clamp(3rem, 2rem + 4vw, 5rem) 0 1.4rem; }
.page-head .lead { margin-top: 1.2rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.note { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }
.note .icon { margin-top: .2em; color: var(--accent); }

/* furniture drawings */
.piece-svg, .stage-svg, .type-svg, .design-svg { width: 100%; height: auto; overflow: visible; }
.floor { stroke: rgba(43, 42, 40, .35); stroke-width: 1.5; }
.grain { fill: none; stroke: rgba(0, 0, 0, .14); stroke-width: 1; stroke-linecap: round; }
.shade { filter: brightness(.86); }
.joint { stroke: rgba(0, 0, 0, .22); stroke-width: 1.2; }
.dim { position: relative; display: block; width: calc(220 / 240 * 100% * var(--w, 1)); margin: .4rem auto 0; height: 22px; border-inline: 1px solid var(--muted); text-align: center; transition: width .35s var(--ease); }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--muted); }
.dim span { position: relative; padding: 0 .5rem; background: inherit; font-size: .78rem; letter-spacing: .06em; color: var(--muted); line-height: 22px; }

/* products */
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.4rem; }
.product { display: flex; flex-direction: column; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.product:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.product-stage { padding: 2rem 1.6rem 1.1rem; background: var(--paper); }
.product-stage .dim { width: auto; }
.product-stage .dim span { background: var(--paper); }
.product .piece-svg { max-height: 150px; transition: transform .5s var(--ease); }
.product:hover .piece-svg { transform: translateY(-4px); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.2rem; }
.product-meta { margin: 0 0 .35rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .product-meta { letter-spacing: .02em; font-size: .85rem; }
.product h3 { font-size: 1.4rem; margin-bottom: .4rem; }
:lang(ka) .product h3 { font-size: 1.12rem; }
.product-body > p:not([class]) { color: var(--muted); font-size: .97rem; }
.product-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.price { font: 600 1.3rem/1.2 var(--head); }
.price del { margin-left: .3rem; font: 400 .92rem/1 var(--text); color: var(--muted); }

/* collection filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.rooms { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.rooms label { position: relative; }
.rooms input, .types input, .swatches input, .finishes input, .purposes input, .day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rooms span { display: inline-flex; align-items: center; min-height: 42px; padding: .35rem 1rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rooms input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.rooms input:focus-visible + span, .types input:focus-visible + span, .swatches input:focus-visible + span, .finishes input:focus-visible + span, .purposes input:focus-visible + span, .day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wood-pick { display: flex; align-items: center; gap: .6rem; }
.wood-pick label { color: var(--muted); }
.wood-pick select { min-height: 42px; padding: .35rem 2rem .35rem .8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-size: 16px; }
.count { margin-left: auto; color: var(--muted); }
.no-match { padding: 2rem; text-align: center; color: var(--muted); background: var(--paper); }

/* woods */
.woods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.wood { display: grid; gap: .2rem; }
.wood-sample { aspect-ratio: 3 / 4; margin-bottom: .7rem; background: var(--grain), var(--wood); box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .55); transition: transform .5s var(--ease); }
.wood:hover .wood-sample { transform: translateY(-6px) rotate(-1.5deg); }
.wood b { font-size: 1.2rem; }
:lang(ka) .wood b { font-size: 1rem; }
.wood small { color: var(--muted); }

/* how we work */
.room { margin: 0; }
.room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.3rem; margin-bottom: .25rem; }
:lang(ka) .steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); }
.step-n { font: 500 1.1rem/1.6 var(--head); color: var(--accent); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2rem; }
.quote { margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); }
.quote blockquote { margin: 0 0 1rem; font: 500 1.2rem/1.5 var(--head); }
:lang(ka) .quote blockquote { font-size: 1.02rem; }
.quote blockquote p::before { content: "“"; } .quote blockquote p::after { content: "”"; }
:lang(de) .quote blockquote p::before, :lang(ka) .quote blockquote p::before { content: "„"; }
:lang(de) .quote blockquote p::after, :lang(ka) .quote blockquote p::after { content: "“"; }
:lang(ru) .quote blockquote p::before { content: "«"; } :lang(ru) .quote blockquote p::after { content: "»"; }
.quote figcaption { font-size: .88rem; color: var(--oak); letter-spacing: .04em; }

/* call to action */
.cta { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; background: var(--grain), var(--accent); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.cta p { font-size: 1.1rem; color: rgba(255, 255, 255, .85); }

/* configurator */
.cfg-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.cfg { display: grid; gap: 1.2rem; }
.cfg-block, .block { margin: 0; padding: 1.4rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border: 0; min-width: 0; }
.cfg-block legend, .block legend { float: left; width: 100%; display: flex; align-items: baseline; gap: .7rem; margin: 0 0 1.1rem; padding: 0; font: 600 1.4rem/1.2 var(--head); }
:lang(ka) .cfg-block legend, :lang(ka) .block legend { font-size: 1.12rem; }
.cfg-block legend + *, .block legend + * { clear: both; }
.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.types label, .swatches label, .finishes label, .purposes label { position: relative; min-width: 0; }
.types span { display: grid; gap: .4rem; justify-items: center; height: 100%; padding: .7rem .4rem .6rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.types b { font: 400 .85rem/1.25 var(--text); overflow-wrap: anywhere; }
.types input:checked + span { border-color: var(--ink); background: var(--oak-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.swatches span { display: grid; gap: .15rem; cursor: pointer; }
.swatches i { aspect-ratio: 1; margin-bottom: .35rem; background: var(--grain), var(--wood); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .3s var(--ease), box-shadow .2s; }
.swatches b { font: 400 .9rem/1.25 var(--text); }
.swatches small { color: var(--muted); font-size: .78rem; }
.swatches input:checked + span i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); transform: translateY(-3px); }
.width { display: flex; align-items: center; gap: 1rem; }
.width input { flex: 1; min-width: 0; height: 32px; margin: 0; accent-color: var(--accent); }
.width output { min-width: 5.5ch; text-align: right; font: 600 1.3rem/1 var(--head); }
.finishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.finishes span { display: grid; gap: .15rem; height: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.finishes b { font-size: 1rem; }
.finishes small { color: var(--muted); font-size: .85rem; }
.finishes input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--oak-soft); }
.stage { position: sticky; top: 96px; padding: 1.6rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.stage-draw { padding: 1.6rem 1rem 1rem; background: var(--paper); }
.stage-draw .dim span { background: var(--paper); }
.stage-svg { max-height: 240px; }
.stage-svg rect, .design-svg rect { transition: x .35s var(--ease), width .35s var(--ease), fill .35s; }
.stage-name { margin: 1.1rem 0 .6rem; font: 600 1.45rem/1.2 var(--head); }
:lang(ka) .stage-name { font-size: 1.15rem; }
.stage-facts { margin: 0 0 1.2rem; display: grid; }
.stage-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.stage-facts dt { color: var(--muted); }
.stage-facts dd { margin: 0; text-align: right; }
.stage-total { border-top-color: var(--ink) !important; }
.stage-total dt { color: var(--ink); }
.stage-total dd { font: 600 1.7rem/1.1 var(--head); color: var(--accent); }

/* booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.book { display: grid; gap: 1.2rem; }
.purposes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.purposes span { display: grid; gap: .2rem; align-content: start; height: 100%; padding: .9rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.purposes .icon { width: 24px; height: 24px; margin-bottom: .3rem; color: var(--accent); }
.purposes b { font-size: 1.02rem; line-height: 1.3; }
.purposes small { color: var(--muted); font-size: .84rem; }
.purposes input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--oak-soft); }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; margin-bottom: 1rem; }
.day { position: relative; min-width: 0; }
.day span { display: grid; justify-items: center; padding: .5rem .2rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.day small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; color: var(--muted); }
.day b { font-size: 1.4rem; line-height: 1.2; }
.day em { font-size: .72rem; font-style: normal; color: var(--muted); }
.day input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.day input:checked + span small, .day input:checked + span em { color: var(--oak); }
.field--time { max-width: 220px; margin-bottom: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .95rem; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.2rem; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent); flex: none; }
.form-status { margin-top: 1rem; }
.form-status.is-shown { padding: .8rem 1rem; }
.form-status.ok { background: #e3ead9; }
.form-status.info { background: var(--oak-soft); }
.form-status.error { background: #f6ddd3; color: #8a2f12; }
.book-side { display: grid; gap: 1.2rem; position: sticky; top: 96px; }
.card { padding: 1.4rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.card--design { background: var(--paper); box-shadow: none; }
.design-draw { padding: 1rem 1rem .4rem; background: var(--white); }
.design-svg { max-height: 130px; }
.design-name { margin: .9rem 0 .1rem; font: 600 1.3rem/1.2 var(--head); }
:lang(ka) .design-name { font-size: 1.1rem; }
.design-meta { margin: 0 0 .2rem; color: var(--muted); font-size: .95rem; }
.design-price { font: 600 1.1rem/1.3 var(--head); color: var(--accent); }
.design-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; margin: 0; }
.addr { margin-bottom: 1rem; }
.addr a { text-decoration: none; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin: 1.8rem 0 .5rem; }
.legal p { color: var(--muted); }
.page-head h1 { font-size: clamp(1.6rem, 1rem + 3.4vw, 3.4rem); }
:lang(ka) .page-head h1 { font-size: clamp(1.1rem, .65rem + 3vw, 2.4rem); }

/* footer */
.footer { padding: 4rem 0 1.5rem; background: var(--ink); color: rgba(255, 255, 255, .7); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-name { font: 600 2rem/1 var(--head); color: #fff; }
.footer-h { margin: 0 0 .9rem; font: 400 .78rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--oak); }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); font-size: .88rem; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) calc(var(--i, 0) * 70ms), transform .8s var(--ease) calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1160px) {
    .chips-wood--top { display: none; }
}
@media (max-width: 960px) {
    .nav, .header-cta { display: none; }
    .panel-btn { display: inline-flex; }
    .hero-grid, .split, .cta-inner, .book-grid, .cfg-grid { grid-template-columns: minmax(0, 1fr); }
    .book-side, .stage { position: static; }
    .hero-photo img { aspect-ratio: 4 / 3; }
    .hero-swatches { left: auto; right: 12px; top: -14px; grid-auto-flow: column; }
    .swatch { width: 28px; height: 40px; }
    .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact { padding: 1.4rem 1rem; }
    .fact:nth-child(3) { border-left: 0; padding-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .room img { aspect-ratio: 16 / 10; }
    .woods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 2rem); }
    .row2, .purposes, .finishes { grid-template-columns: minmax(0, 1fr); }
    .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .block, .cfg-block, .stage { padding: 1.1rem; }
    .panel-btn span { display: none; }
    .panel-btn { width: 44px; padding: 0; justify-content: center; }
    .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .woods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
    .wood-sample { aspect-ratio: 1; }
    .wood b { font-size: 1rem; }
    .hero-note { position: relative; max-width: none; }
    .count { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .panel-nav a { opacity: 1; transform: none; }
    @view-transition { navigation: none; }
}
