/*
 * Kvali – creative studio template · Abedev (abedev.com)
 *
 * Design: a creative studio – warm off-white paper, ink black, an electric blue and a lime marker, a heavy display face,
 * a monospace for labels and hard offset shadows; the language switch is a small keyboard with the flags on the keycaps
 * (the key of the language in use is pressed and lit) and on phones the menu is an artboard of a design tool. Colours,
 * fonts and spacing are variables: change them here and the whole site follows.
 * Sections: 1 fonts · 2 tokens · 3 base · 4 header, keycaps & artboard · 5 hero & home · 6 work · 7 services
 * · 8 studio · 9 contact · 10 footer · 11 smaller screens
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Kvali Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dela-gothic-one-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: "Kvali Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dela-gothic-one-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: "Kvali Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dela-gothic-one-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: "Kvali Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Kvali Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/scada-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: "Kvali Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/scada-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: "Kvali Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/scada-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: "Kvali 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; }
@font-face { font-family: "Kvali Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/scada-latin-700-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: "Kvali Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/scada-latin-ext-700-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: "Kvali Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/scada-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Kvali Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-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: "Kvali Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/martian-mono-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: "Kvali Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/martian-mono-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: "Kvali Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/martian-mono-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: "Kvali Mono"; 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; }

/* 2 ─ Tokens */
:root {
    --accent: #4433ff;
    --ink: #111114;
    --lime: #d7ff3d;
    --paper: #f4f3ef;
    --card: #ffffff;
    --line: #dddbd3;
    --mid: #5f5e66;
    --display: "Kvali Display", "Dela Gothic One", Impact, sans-serif;
    --text: "Kvali Text", "Scada", system-ui, sans-serif;
    --mono: "Kvali Mono", "Martian Mono", ui-monospace, monospace;
    --wrap: 1240px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; line-height: 1.15; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { font-weight: 700; line-height: 1.3; letter-spacing: 0; }
:lang(ka) h1 { font-size: clamp(1.8rem, 4.6vw, 3.4rem); }
:lang(ka) h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
:lang(ka) h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--accent); color: #fff; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 4px 10px; background: var(--lime); font: 400 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
:lang(ka) .eyebrow { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.lead { font-size: 1.15rem; color: var(--mid); max-width: 62ch; }
.muted { color: var(--mid); }
.small { font-size: .9rem; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(24px, 4vw, 44px) 0 clamp(56px, 8vw, 96px); }
.section--ink { background: var(--ink); color: #f1f0ec; }
.section--ink .lead, .section--ink .muted { color: #b9b8c2; }
.section--paper { background: #e9e7df; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 30px; }
.head-row h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 400 .78rem var(--mono); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
:lang(ka) .more { text-transform: none; }
.more:hover { color: var(--accent); }
.section--ink .more { border-color: var(--lime); }
.section--ink .more:hover { color: var(--lime); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 0; font: 700 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-line { background: var(--card); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--accent); }
.section--ink .btn, .cta .btn { border-color: var(--lime); box-shadow: 4px 4px 0 #fff; }
.round { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); cursor: pointer; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
/* iPhone Safari: date fields keep their own width otherwise and stick out of the form */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; }
input[type="date"]::-webkit-date-and-time-value { min-height: 1.4em; text-align: left; }

/* 4 ─ Header, keycaps (language) & artboard menu */
.header { position: sticky; top: 0; z-index: 40; background: rgba(244, 243, 239, .94); border-bottom: 2px solid var(--ink); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo-mark { position: relative; display: block; width: 40px; height: 40px; flex: none; }
.logo-mark i { position: absolute; display: block; border-radius: 50%; }
.logo-mark i:nth-child(1) { left: 0; bottom: 0; width: 14px; height: 14px; background: var(--ink); }
.logo-mark i:nth-child(2) { left: 12px; bottom: 10px; width: 14px; height: 14px; background: var(--accent); }
.logo-mark i:nth-child(3) { right: 0; top: 0; width: 16px; height: 16px; background: var(--lime); border: 2px solid var(--ink); }
.logo-img { max-height: 44px; width: auto; }
.logo > span:last-child { display: grid; font: 400 1.45rem/1 var(--display); }
.logo small { margin-top: 5px; font: 400 .6rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mid); }
:lang(ka) .logo small { text-transform: none; letter-spacing: 0; font-size: .7rem; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; text-decoration: none; font-weight: 700; font-size: .98rem; border: 2px solid transparent; }
.nav a:hover { border-color: var(--ink); }
.nav a[aria-current] { background: var(--ink); color: var(--lime); }
.keys { display: flex; gap: 4px; padding: 5px 6px 7px; background: #2a2a30; border-radius: 9px; box-shadow: inset 0 -3px 0 #000; }
.keys a { position: relative; display: block; text-decoration: none; transition: transform .1s; }
.key { width: 40px; height: 36px; }
.key-base { fill: #c9c8d0; }
.key-top { fill: #f3f2f7; }
.keys span { position: absolute; left: 0; right: 0; bottom: 7px; text-align: center; font: 400 .5rem/1 var(--mono); color: #3a3a44; letter-spacing: .04em; pointer-events: none; }
.keys a:hover { transform: translateY(1px); }
.keys a[aria-current] { transform: translateY(3px); }
.keys a[aria-current] .key-base { fill: var(--accent); }
.keys a[aria-current] .key-top { fill: var(--lime); }
.keys a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.board-btn { display: none; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 2px solid var(--ink); background: var(--lime); color: var(--ink); font: 700 .95rem var(--text); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.board { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 0 18px 28px; background: #e9e8e2 radial-gradient(circle, #c3c1b8 1.2px, transparent 1.4px) 0 0 / 18px 18px; opacity: 0; transition: opacity .25s; overflow: auto; }
.board.is-open { opacity: 1; }
.board-bar { display: flex; align-items: center; gap: 12px; margin: 0 -18px; padding: 10px 18px; background: var(--ink); color: #fff; }
.board-dots { display: flex; gap: 6px; }
.board-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.board-dots i:nth-child(2) { background: #febc2e; }
.board-dots i:nth-child(3) { background: #28c840; }
.board-zoom { margin-left: auto; font: 400 .72rem var(--mono); color: #b9b8c2; }
.board-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; }
.board-close .icon { width: 24px; height: 24px; }
.board-nav { display: grid; align-content: center; gap: 16px; }
.board-nav a { position: relative; justify-self: center; width: min(320px, 100%); padding: 16px 20px; background: #fff; border: 1px solid #c3c1b8; font: 400 1.5rem/1.1 var(--display); text-decoration: none; text-align: center; box-shadow: 0 2px 0 rgba(0, 0, 0, .06); transform: translateY(10px); opacity: 0; transition: transform .3s, opacity .3s; }
:lang(ka) .board-nav a { font: 700 1.15rem/1.4 var(--display); }
.board.is-open .board-nav a { transform: none; opacity: 1; }
.board-nav a[aria-current] { z-index: 2; outline: 2px solid var(--accent); outline-offset: 4px; }
.board-sel i { position: absolute; width: 9px; height: 9px; background: #fff; border: 2px solid var(--accent); }
.board-sel i:nth-child(1) { left: -9px; top: -9px; }
.board-sel i:nth-child(2) { right: -9px; top: -9px; }
.board-sel i:nth-child(3) { left: -9px; bottom: -9px; }
.board-sel i:nth-child(4) { right: -9px; bottom: -9px; }
.board-cursor { position: absolute; right: -6px; bottom: -34px; display: flex; align-items: flex-start; gap: 2px; color: var(--accent); pointer-events: none; }
.board-cursor .icon { width: 20px; height: 20px; fill: var(--accent); }
.board-cursor b { margin-top: 14px; padding: 2px 8px; background: var(--accent); color: #fff; font: 400 .62rem/1.5 var(--mono); white-space: nowrap; }
.keys--board { justify-self: center; }
@media (prefers-reduced-motion: reduce) { .board-nav a { transition: none; } }

/* 5 ─ Hero & start page */
.hero { border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-pic { position: relative; aspect-ratio: 1; border: 2px solid var(--ink); background: var(--card) radial-gradient(circle, #d8d6cd 1.2px, transparent 1.4px) 0 0 / 18px 18px; }
.hero-pic > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shape { position: absolute; display: block; }
.s1 { left: 12%; top: 14%; width: 46%; height: 46%; border-radius: 50%; background: var(--accent); animation: float 7s ease-in-out infinite; }
.s2 { right: 10%; top: 30%; width: 34%; height: 50%; background: var(--lime); border: 2px solid var(--ink); animation: float 9s ease-in-out infinite reverse; }
.s3 { left: 22%; bottom: 10%; width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 100px solid var(--ink); animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
.hero-sel { position: absolute; inset: 22% 6% 24% 30%; border: 2px solid var(--accent); pointer-events: none; }
.hero-sel i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--accent); }
.hero-sel i:nth-child(1) { left: -6px; top: -6px; }
.hero-sel i:nth-child(2) { right: -6px; top: -6px; }
.hero-sel i:nth-child(3) { left: -6px; bottom: -6px; }
.hero-sel i:nth-child(4) { right: -6px; bottom: -6px; }
@media (prefers-reduced-motion: reduce) { .hero-shape { animation: none; } }
.ticker { overflow: hidden; border-top: 2px solid var(--ink); background: var(--lime); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: tick 28s linear infinite; }
.ticker span { font: 400 clamp(1.3rem, 3vw, 2rem)/1 var(--display); white-space: nowrap; }
:lang(ka) .ticker span { font-weight: 700; }
.ticker i { display: block; width: 18px; height: 18px; background: var(--ink); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); min-width: 0; background: var(--card); border: 2px solid var(--ink); transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--c, var(--accent)); }
.case-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-bottom: 2px solid var(--ink); background: none; cursor: pointer; }
.case-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.case-pic > img, .case-pic > .cover { width: 100%; height: 100%; object-fit: cover; }
.case-plus { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--lime); border: 2px solid var(--ink); }
.case-body { padding: 16px 18px 20px; }
.case-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; font: 400 .68rem/1.4 var(--mono); text-transform: uppercase; color: var(--mid); }
:lang(ka) .case-meta { text-transform: none; }
.case-result { margin: 0; display: inline-block; padding: 2px 8px; background: color-mix(in srgb, var(--c, var(--accent)) 16%, #fff); font-weight: 700; }
.sheet { width: min(960px, 100% - 24px); max-height: calc(100vh - 24px); padding: 0; border: 2px solid var(--ink); background: var(--card); color: var(--ink); box-shadow: 10px 10px 0 var(--c, var(--accent)); }
.sheet::backdrop { background: rgba(17, 17, 20, .7); }
.sheet-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sheet-pic { min-height: 100%; border-right: 2px solid var(--ink); }
.sheet-pic > img, .sheet-pic > .cover { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.sheet-text { padding: 28px 26px 24px; }
.sheet-text dl { margin: 0 0 18px; }
.sheet-text dt { margin-top: 12px; font: 400 .7rem var(--mono); text-transform: uppercase; color: var(--accent); }
:lang(ka) .sheet-text dt { text-transform: none; }
.sheet-text dd { margin: 4px 0 0; }
.sheet-close { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--lime); cursor: pointer; }
.sheet-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sheet-nav span { font: 400 .8rem var(--mono); }
.sheet-nav .btn { margin-left: auto; }
.menu-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #3a3a42; }
.menu-list a { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid #3a3a42; text-decoration: none; transition: padding .2s, color .2s; }
.menu-list a:hover { padding-left: 12px; color: var(--lime); }
.ml-no { font: 400 .75rem var(--mono); color: var(--accent); }
.section--ink .ml-no { color: var(--lime); }
.menu-list b { font: 400 clamp(1.3rem, 2.6vw, 2rem)/1.1 var(--display); }
:lang(ka) .menu-list b { font-weight: 700; font-size: 1.25rem; }
.ml-text { color: #b9b8c2; }
.menu-list em { font: 400 .8rem var(--mono); font-style: normal; white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 clamp(48px, 7vw, 90px); border: 2px solid var(--ink); background: var(--card); }
.facts div { padding: 22px 20px; border-right: 2px solid var(--ink); min-width: 0; }
.facts div:last-child { border-right: 0; }
.facts dt { font: 400 clamp(2rem, 4.4vw, 3.4rem)/1 var(--display); color: var(--accent); }
.facts dd { margin: 8px 0 0; color: var(--mid); overflow-wrap: break-word; }
.facts--small { margin: 24px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts--small div:nth-child(2n) { border-right: 0; }
.facts--small div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
.quotes-title { margin-bottom: 30px; }
.stickies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sticky { margin: 0; padding: 26px 24px 22px; background: var(--lime); border: 2px solid var(--ink); transform: rotate(var(--r)); box-shadow: 5px 5px 0 var(--ink); }
.sticky:nth-child(2) { background: #fff; }
.sticky:nth-child(3) { background: #cfc9ff; }
.sticky blockquote { margin: 0 0 18px; font-size: 1.08rem; }
.sticky figcaption { display: grid; gap: 2px; }
.sticky figcaption span { font: 400 .68rem/1.4 var(--mono); text-transform: uppercase; color: var(--mid); }
:lang(ka) .sticky figcaption span { text-transform: none; }
.cta { padding: clamp(56px, 8vw, 100px) 0; background: var(--accent); color: #fff; }
.cta-inner { display: grid; justify-items: start; gap: 6px; }
.cta-inner h2 { font-size: clamp(2rem, 5vw, 4rem); margin: 0; }
.cta-inner p { max-width: 60ch; color: #dcd9ff; font-size: 1.1rem; margin: 6px 0 22px; }

/* 6 ─ Work */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(16px, 3vw, 28px); }
.filter-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { width: 100%; margin-bottom: 10px; padding: 0; font-weight: 700; font-size: .95rem; }
.chips label { position: relative; }
.chips input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chips span { display: inline-block; padding: 8px 14px; border: 2px solid var(--ink); background: var(--card); font-weight: 700; font-size: .92rem; cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: var(--lime); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.count { margin: 0; font: 400 .75rem var(--mono); color: var(--mid); }

/* 7 ─ Services & configurator */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; padding: 26px 26px 22px; background: var(--card); border: 2px solid var(--ink); scroll-margin-top: 100px; }
.service:target { box-shadow: 6px 6px 0 var(--accent); }
.service h2 { margin: 10px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.service > p { color: var(--mid); }
.ticks { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .icon { margin-top: 4px; color: var(--accent); }
.service-price { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: auto 0 0; padding-top: 14px; border-top: 2px dashed var(--line); }
.service-price b { font: 400 1.25rem var(--display); }
:lang(ka) .service-price b { font-weight: 700; }
.service-price span { display: inline-flex; align-items: center; gap: 6px; font: 400 .75rem var(--mono); color: var(--mid); }
.config { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.toggles { display: grid; gap: 10px; margin: 24px 0; padding: 0; border: 0; }
.toggles label { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #3a3a42; cursor: pointer; font-weight: 700; }
.toggles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; border-radius: 13px; background: #3a3a42; transition: background .2s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggles input:checked + .switch { background: var(--lime); }
.toggles input:checked + .switch::after { transform: translateX(20px); background: var(--ink); }
.toggles input:focus-visible + .switch { outline: 2px solid var(--lime); outline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sizes legend { width: 100%; margin-bottom: 10px; padding: 0; font-weight: 700; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sizes span { display: inline-block; padding: 8px 14px; border: 2px solid #f1f0ec; cursor: pointer; font-size: .92rem; }
.sizes input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.sizes input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.quote { position: sticky; top: 100px; padding: 26px; background: var(--card); color: var(--ink); border: 2px solid var(--lime); box-shadow: 8px 8px 0 var(--accent); }
.quote-label { margin: 0 0 4px; font: 400 .7rem var(--mono); text-transform: uppercase; color: var(--mid); }
:lang(ka) .quote-label { text-transform: none; }
.quote-range { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--display); margin-bottom: 18px; overflow-wrap: anywhere; }
.quote-time { font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; }
.quote-empty { color: #a3402f; font-weight: 700; }
.quote .btn { width: 100%; border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.quote .btn.is-off { opacity: .4; pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 30px 0 0; padding: 0; list-style: none; border: 2px solid var(--ink); background: var(--card); }
.steps li { padding: 22px 18px; border-right: 2px solid var(--ink); min-width: 0; }
.steps li:last-child { border-right: 0; }
.step-no { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; background: var(--accent); color: #fff; font: 400 .9rem var(--mono); }
.steps p { margin: 0; color: var(--mid); font-size: .95rem; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 30px; }
.faq details { border-bottom: 2px solid var(--ink); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--mid); }

/* 8 ─ Studio */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.studio-pic { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--lime); }
.studio-pic > img, .studio-pic > .cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.team li { display: grid; gap: 4px; align-content: start; min-width: 0; }
.team-pic { display: block; margin-bottom: 12px; border: 2px solid var(--ink); aspect-ratio: 1; overflow: hidden; background: var(--card); }
.team-pic > img, .team-pic > .avatar { width: 100%; height: 100%; object-fit: cover; }
.avatar-letter { font: 400 64px var(--display); fill: #fff; }
.team b { font: 400 1.3rem var(--display); }
:lang(ka) .team b { font-weight: 700; font-size: 1.1rem; }
.team-role { font: 400 .7rem/1.5 var(--mono); text-transform: uppercase; color: var(--accent); }
:lang(ka) .team-role { text-transform: none; }
.team-note { color: var(--mid); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.values article { padding-top: 16px; border-top: 4px solid var(--ink); }
.values h3 { margin-top: 10px; }
.values p { color: var(--mid); }

/* 9 ─ Contact & brief */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.panel { min-width: 0; padding: clamp(20px, 4vw, 36px); background: var(--card); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); scroll-margin-top: 100px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 0; background: #fff; font: 400 16px/1.4 var(--text); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111114' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field.chips { display: flex; }
.calls { display: grid; gap: 6px; }
.calls label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; }
.calls input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--accent); flex: none; }
.hint { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 14px; background: #fff6cc; border: 2px solid var(--ink); font-size: .95rem; }
.hint .icon { margin-top: 3px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-status { display: none; padding: 12px 16px; font-weight: 700; border: 2px solid var(--ink); }
.form-status.is-shown { display: block; }
.form-status.ok { background: #e3f6d6; }
.form-status.info { background: #fff6cc; }
.form-status.error { background: #ffe0dc; }
.side { display: grid; gap: 20px; min-width: 0; }
.side-block { padding: 24px; background: var(--ink); color: #f1f0ec; }
.side-block h2 { font-size: 1.4rem; }
.side-block .muted { display: flex; gap: 8px; align-items: flex-start; color: #b9b8c2; margin: 12px 0 0; }
.side-block .muted .icon { margin-top: 3px; color: var(--lime); }
.side-block .more { border-color: var(--lime); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #3a3a42; }
.hours li span:last-child { font: 400 .82rem var(--mono); white-space: nowrap; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.4em; }

/* 10 ─ Footer */
.footer { background: var(--ink); color: #c9c8d0; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.footer-name { font: 400 2.4rem/1 var(--display); color: var(--lime); margin-bottom: 12px; }
.footer .footer-h { font: 400 .72rem/1.4 var(--mono); text-transform: uppercase; color: #fff; margin-bottom: 12px; }
:lang(ka) .footer .footer-h { text-transform: none; font: 700 1rem var(--text); }
.footer a { color: #fff; }
.plain { list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #3a3a42; }
.socials a:hover { border-color: var(--lime); color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #2c2c33; font-size: .88rem; }

/* 11 ─ Smaller screens */
@media (max-width: 1100px) {
    .nav a { padding: 8px 8px; font-size: .92rem; }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps li:nth-child(3) { border-right: 0; }
    .steps li:nth-child(-n+3) { border-bottom: 2px solid var(--ink); }
}
@media (max-width: 980px) {
    .nav { display: none; }
    .board-btn { display: inline-flex; }
    .keys--top { margin-left: auto; }
    .keys--top + .board-btn { margin-left: 0; }
    .hero-grid, .config, .studio-grid, .faq-wrap, .contact-grid, .sheet-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-pic { max-width: 420px; width: 100%; }
    .sheet-pic { border-right: 0; border-bottom: 2px solid var(--ink); }
    .cases, .stickies, .team, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services { grid-template-columns: minmax(0, 1fr); }
    .menu-list a { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .ml-text { display: none; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts div:nth-child(2n) { border-right: 0; }
    .facts div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
    .quote { position: static; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .keys--top { display: none; }
    .board-btn, .keys--top + .board-btn { margin-left: auto; }
    .header-inner { min-height: 64px; gap: 12px; }
    .cases, .stickies, .team, .values, .footer-grid, .form { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .steps li { border-right: 0; border-bottom: 2px solid var(--ink); }
    .steps li:last-child { border-bottom: 0; }
    .menu-list a { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; }
    .menu-list em { grid-column: 2; }
    .sticky { transform: none; }
    .sheet-text { padding: 22px 18px 18px; }
    .sheet-nav .btn { margin-left: 0; width: 100%; }
    .facts dt { font-size: 2rem; }
}
@media (max-width: 380px) {
    .logo small { display: none; }
    .board-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .board-btn { padding: 8px 12px; }
    .facts { grid-template-columns: minmax(0, 1fr); }
    .facts div { border-right: 0; border-bottom: 2px solid var(--ink); }
    .facts div:last-child { border-bottom: 0; }
}
