/*
 * Gasaghebi – escape rooms template · Abedev (abedev.com)
 *
 * Design: dark and precise – a near-black room, warm brass for everything that opens, a squared techno display face
 * for headings, a calm sans for text and a mono for times and codes. Every room has its genre colour, difficulty as a
 * row of padlocks and its success rate as a bar. The start page has a working combination lock (the page only knows a
 * hash of the code), the booking shows free start times of the next two weeks with the price of the whole group. The
 * language switch is a row of keys: the round flag is the bow, the code is cut into the blade and hovering turns the
 * key. On phones the menu is a corridor of doors with the timer running behind. All motion stops with "reduce motion".
 */
@font-face { font-family: "Key Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tektur-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: "Key Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tektur-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: "Key Head"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tektur-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: "Key Head"; font-style: normal; font-weight: 500; 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: "Key Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tektur-latin-800-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: "Key Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tektur-latin-ext-800-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: "Key Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tektur-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Key Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-800-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Key Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-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: "Key Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-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: "Key Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-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: "Key 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: "Key Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-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: "Key Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-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: "Key Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-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: "Key Text"; font-style: normal; font-weight: 600; 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: "Key Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-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: "Key Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-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: "Key Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-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: "Key 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; }

:root {
    --ink: #0f0e12;
    --bg: var(--ink);
    --bg-2: color-mix(in srgb, var(--ink) 88%, #fff);
    --bg-3: color-mix(in srgb, var(--ink) 80%, #fff);
    --text-c: #ece6da;
    --muted: #a59f95;
    --accent: #d9a441;
    --accent-ink: #17130a;
    --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
    --line: rgba(236, 230, 218, .12);
    --line-2: rgba(236, 230, 218, .22);
    --r: 12px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --head: "Key Head", system-ui, sans-serif;
    --text: "Key Text", system-ui, sans-serif;
    --mono: "Key Mono", ui-monospace, monospace;
    color-scheme: dark;
}

@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(--text-c); font: 400 1.0625rem/1.6 var(--text); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; line-height: 1.08; 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(--accent); color: var(--accent-ink); border-radius: 8px; 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 { display: block; margin: 0 0 .5rem; font: 400 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .small-label { letter-spacing: .04em; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li + li { margin-top: .3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font: 400 .8rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
:lang(ka) .eyebrow { letter-spacing: .04em; }
.display { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1.02; }
:lang(ka) .display { font-size: clamp(1.8rem, 1.1rem + 3.2vw, 3.5rem); line-height: 1.25; }
.display--page { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); max-width: 18ch; }
:lang(ka) .display--page { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.8rem); max-width: 24ch; }
.display--cta { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3.2rem); }
:lang(ka) .display--cta { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
:lang(ka) .h2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); }
.h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.lead--light { color: color-mix(in srgb, var(--text-c) 82%, transparent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px -12px var(--accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn-ghost { border-color: var(--line-2); color: var(--text-c); background: rgba(15, 14, 18, .35); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-line { border-color: var(--line-2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: var(--ink); color: var(--accent); }
.btn-white:hover { background: #000; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 0; }
.more { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); transform: rotate(-8deg); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(82deg); }
.logo-mark .icon { width: 24px; height: 24px; stroke-width: 2; }
.logo-img { max-height: 44px; width: auto; }
.logo > span:last-child { display: flex; flex-direction: column; font: 800 1.2rem/1.05 var(--head); letter-spacing: .02em; }
.logo small { font: 400 .7rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .logo small { letter-spacing: .03em; }
.nav { display: flex; gap: 1.4rem; }
.nav a { position: relative; padding: .4rem 0; text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--text-c); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); }
.header-cta[aria-current] { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--accent); }
.panel-btn { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; font-weight: 600; }
.panel-btn .icon { width: 20px; height: 20px; }

/* language switch: keys – the round flag is the bow, the code is cut into the blade; hovering turns the key in the lock */
.keys { display: flex; gap: .35rem; }
.key { display: inline-flex; align-items: center; text-decoration: none; padding: 4px; border-radius: 999px; transition: background .25s; }
.key-bow { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; padding: 3px; border-radius: 50%; background: var(--bg-3); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .45s var(--ease), box-shadow .25s; }
.key-bow .flag { width: 22px; height: 22px; border-radius: 50%; }
.key-blade { position: relative; display: inline-block; margin-left: -4px; padding: 2px 9px 2px 9px; font: 400 .7rem/1.5 var(--mono); letter-spacing: .08em; color: var(--muted); background: var(--bg-3); border-radius: 0 3px 3px 0;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 86% 40%, 86% 70%, 72% 70%, 72% 100%, 0 100%); transition: background .25s, color .25s; }
.key:hover .key-bow { transform: rotate(90deg); }
.key:hover .key-blade { color: var(--text-c); }
.key[aria-current] .key-bow { box-shadow: inset 0 0 0 2px var(--accent); }
.key[aria-current] .key-blade { background: var(--accent); color: var(--accent-ink); }
.keys--panel { flex-wrap: wrap; gap: .3rem; margin: 1.6rem 0 0; }
.keys--panel .key-bow { width: 34px; height: 34px; }
.keys--panel .key-bow .flag { width: 26px; height: 26px; }
.keys--panel .key-blade { font-size: .8rem; padding: 3px 12px 3px 10px; }

/* menu on phones: a corridor of doors, the timer running in the back */
.panel { position: fixed; inset: 0; z-index: 60; background: rgba(5, 5, 7, .6); }
.panel-inner { position: absolute; inset: 0 0 0 auto; width: min(440px, 100%); overflow-y: auto; padding: 1.2rem 1.25rem 2rem; background: var(--ink); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .45s var(--ease); }
.panel.is-open .panel-inner { transform: none; }
.panel-timer { position: absolute; right: -.1em; bottom: .2em; font: 400 7rem/1 var(--mono); color: var(--accent); opacity: .07; pointer-events: none; }
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.panel-label { font: 400 .8rem/1 var(--mono); 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-2); border-radius: 50%; background: none; cursor: pointer; }
.panel-nav { display: grid; gap: .6rem; }
.panel-nav a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); text-decoration: none; font: 800 1.2rem/1.2 var(--head);
    opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease) calc(var(--i) * 60ms), transform .4s var(--ease) calc(var(--i) * 60ms), border-color .2s; }
.panel.is-open .panel-nav a { opacity: 1; transform: none; }
.panel-nav a[aria-current] { border-color: var(--accent); }
.panel-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-3); color: var(--muted); }
.panel-nav a[aria-current] .panel-num { background: var(--accent); color: var(--accent-ink); }
.panel-door { font: 400 .8rem/1 var(--mono); color: var(--muted); }
.panel-contact { margin-top: 1.4rem; color: var(--muted); }
.panel-contact a { text-decoration: none; }

/* hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 780px); padding: 7rem 0 3.5rem; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .hero-photo { transform: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 80% 20%, rgba(15, 14, 18, .15), rgba(15, 14, 18, .82) 70%), linear-gradient(180deg, rgba(15, 14, 18, .2), var(--ink)); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.hero-text { max-width: 760px; }
.hero .display { margin-bottom: 1.1rem; }
.hero .eyebrow { padding: .35rem .75rem; border-radius: 999px; background: rgba(15, 14, 18, .6); }
.timer { display: grid; justify-items: end; padding: 1rem 1.3rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--r); background: rgba(15, 14, 18, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.timer span { font: 400 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 var(--mono); color: var(--accent); text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent); font-variant-numeric: tabular-nums; }
.timer small { font: 400 .72rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* facts */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; gap: .2rem; padding: 1.8rem 1.2rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 800 clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem)/1.1 var(--head); 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--soft { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--dark { background: radial-gradient(80% 120% at 85% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), #08080a; border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.page-head { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 1rem; background: radial-gradient(60% 140% at 100% 0, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.page-head .lead { margin-top: 1.2rem; }
.h2 + .lead { margin-top: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.room { --g: var(--accent); position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, color-mix(in srgb, var(--g) 9%, var(--bg-2)), var(--bg-2) 45%); transition: transform .35s var(--ease), border-color .3s; }
.room::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--g); }
.room:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--g) 55%, transparent); }
.genre-horror { --g: #d4524a; }
.genre-mystery { --g: #d9a441; }
.genre-scifi { --g: #4fb6cf; }
.genre-adventure { --g: #8bbd5f; }
.room-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.room-genre { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .65rem; border-radius: 999px; background: color-mix(in srgb, var(--g) 16%, transparent); color: var(--g); font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
:lang(ka) .room-genre { letter-spacing: 0; }
.room-level span[aria-hidden] { display: flex; gap: 2px; }
.room-level i { color: var(--line-2); }
.room-level i.on { color: var(--accent); }
.room-level .icon { width: 17px; height: 17px; }
.room-name { font-size: 1.45rem; margin-bottom: .6rem; }
:lang(ka) .room-name { font-size: 1.25rem; }
.room-text { color: var(--muted); }
.room-story { margin: 0 0 .9rem; border-top: 1px dashed var(--line-2); padding-top: .7rem; }
.room-story summary { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; color: var(--accent); font-weight: 600; list-style: none; }
.room-story summary::-webkit-details-marker { display: none; }
.room-story summary .icon { transition: transform .3s; }
.room-story[open] summary .icon { transform: rotate(180deg); }
.room-story p { margin: .6rem 0 0; font-size: .95rem; color: color-mix(in srgb, var(--text-c) 80%, transparent); }
.room-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .8rem; margin: auto 0 1.2rem; padding: .9rem 0 0; border-top: 1px solid var(--line); font-size: .92rem; }
.room-facts li { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.room-facts .icon { color: var(--g); }
.room-success { position: relative; grid-column: 1 / -1; display: block !important; padding-top: .2rem; color: var(--muted); }
.room-success::before, .room-success::after { content: ""; display: block; height: 4px; border-radius: 4px; margin-top: .35rem; }
.room-success::before { background: var(--line); order: 2; }
.room-success::after { position: absolute; left: 0; bottom: 0; width: var(--p); background: var(--g); }
.room-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.room-price { margin: 0; display: grid; }
.room-price small { color: var(--muted); font-size: .8rem; }
.room-price b { font: 800 1.5rem/1.1 var(--head); }

/* padlock */
.padlock { position: relative; justify-self: center; width: min(100%, 420px); padding-top: 70px; }
.padlock-shackle { position: absolute; left: 50%; top: 0; width: 56%; height: 120px; margin-left: -28%; border: 18px solid #b9bcc2; border-bottom: 0; border-radius: 120px 120px 0 0; background: none;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, .25); transition: transform .6s var(--ease); transform-origin: 85% 100%; }
.padlock.is-open .padlock-shackle { transform: translateY(-34px) rotate(-14deg); }
.padlock-body { position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent) 45%, color-mix(in srgb, var(--accent) 70%, #000)); color: var(--accent-ink);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 2px 0 rgba(255, 255, 255, .35); text-align: center; }
.padlock.is-wrong .padlock-body { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.dials { display: flex; justify-content: center; gap: .55rem; margin-bottom: 1.2rem; }
.dial { display: grid; justify-items: center; gap: .3rem; }
.dial button { display: grid; place-items: center; width: 44px; height: 34px; border: 0; border-radius: 8px; background: rgba(23, 19, 10, .14); color: var(--accent-ink); cursor: pointer; }
.dial button:hover { background: rgba(23, 19, 10, .26); }
.dial output { display: grid; place-items: center; width: 52px; height: 64px; border-radius: 10px; background: #121014; color: #f3ead6; font: 400 2rem/1 var(--mono); box-shadow: inset 0 6px 10px rgba(0, 0, 0, .6), inset 0 -6px 10px rgba(0, 0, 0, .6); }
.padlock-try { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.padlock-try:hover { background: #000; }
.padlock-out { min-height: 1.5em; margin: .8rem 0 0; font-weight: 600; }
.padlock-prize { display: flex; align-items: flex-start; gap: .5rem; margin: .6rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: rgba(23, 19, 10, .88); color: var(--accent); text-align: left; font-weight: 600; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.section--dark .lead { white-space: normal; }

/* how a game works */
.split--photo { align-items: start; }
.lock-photo { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.lock-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .4rem; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); font: 400 .9rem/1 var(--mono); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.quote { margin: 0; padding: 1.6rem; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.08rem; }
.quote q { quotes: "“" "”"; }
:lang(de) .quote q { quotes: "„" "“"; }
:lang(ka) .quote q { quotes: "„" "“"; }
:lang(ru) .quote q { quotes: "«" "»"; }
.quote figcaption { font: 400 .8rem/1.4 var(--mono); color: var(--accent); letter-spacing: .06em; }

/* call to action */
.cta { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; background: var(--accent); color: var(--accent-ink); }
.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; }

/* room filter */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-bottom: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; border: 0; }
.chips legend { float: left; width: 100%; }
.chips label { position: relative; }
.chips input, .room-opt input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; transition: background .2s, border-color .2s, color .2s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span, .room-opt input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.stepper-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.stepper-row .small-label { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.stepper button:hover:not(:disabled) { color: var(--accent); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 2.2ch; text-align: center; font: 400 1.15rem/1 var(--mono); }
.filter-count { margin: 0 0 0 auto; font: 400 .9rem/1.4 var(--mono); color: var(--accent); }
.no-match { padding: 2rem; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--muted); }

/* parties and teams */
.packages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.package.is-featured { border-color: var(--accent); box-shadow: 0 20px 50px -30px var(--accent); }
.badge { position: absolute; top: -12px; right: 1.2rem; padding: .25rem .7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 400 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
:lang(ka) .badge { letter-spacing: 0; }
.package-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.package-ico .icon { width: 26px; height: 26px; }
.package h2 { margin-bottom: .6rem; }
.package-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.package-price b { font: 800 2rem/1.1 var(--head); color: var(--accent); }
.package-price s { color: var(--muted); }
.checks { list-style: none; margin: .4rem 0 1.6rem; padding: 0; display: grid; gap: .45rem; }
.checks li { display: flex; gap: .5rem; align-items: flex-start; }
.checks .icon { color: var(--accent); margin-top: .2em; }
.package .btn { margin-top: auto; align-self: flex-start; }

/* 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; }
.block { margin: 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); min-width: 0; }
.block legend { float: left; width: 100%; display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: 0; font: 800 1.1rem/1.2 var(--head); }
.block legend + * { clear: both; }
.block .step-n { min-width: 32px; height: 32px; font-size: .8rem; }
.room-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: .6rem; }
.room-opt { --g: var(--accent); position: relative; }
.room-opt span { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; align-items: center; height: 100%; padding: .8rem .9rem; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.room-opt .icon { grid-row: span 2; color: var(--g); width: 22px; height: 22px; }
.room-opt b { font-size: .98rem; line-height: 1.25; }
.room-opt small { color: var(--muted); font-size: .82rem; }
.room-opt input:checked + span { border-color: var(--g); background: color-mix(in srgb, var(--g) 14%, transparent); }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.day { position: relative; min-width: 0; }
.day span { display: grid; justify-items: center; padding: .5rem .3rem; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.day small { font-size: .72rem; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day b { font: 800 1.35rem/1.15 var(--head); }
.day em { font: 400 .72rem/1.2 var(--mono); font-style: normal; color: var(--muted); text-transform: lowercase; }
.day input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.day input:checked + span small, .day input:checked + span em { color: var(--accent-ink); }
.day.is-full span { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .5rem; }
.slot { position: relative; }
.slot span { display: grid; justify-items: center; padding: .55rem .3rem; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font: 400 1rem/1.3 var(--mono); transition: border-color .2s, background .2s; }
.slot small { font: 400 .68rem/1.2 var(--text); color: var(--muted); }
.slot input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.slot.is-taken span { cursor: not-allowed; text-decoration: line-through; color: var(--muted); border-style: dashed; }
.slot.is-taken small { text-decoration: none; }
.slot-hint { margin: .6rem 0 0; }
.slot-hint:empty { display: none; }
.block .stepper-row { margin-top: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.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; border-radius: 10px; }
.form-status.ok { background: rgba(139, 189, 95, .16); color: #b8dd93; }
.form-status.info { background: var(--accent-soft); color: var(--accent); }
.form-status.error { background: rgba(212, 82, 74, .16); color: #f0a49e; }
.book-side { display: grid; gap: 1.2rem; position: sticky; top: 92px; }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.card--summary { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--bg-2)), var(--bg-2) 60%); }
.summary-room { margin: 0 0 .3rem; font: 800 1.35rem/1.2 var(--head); }
.summary-when { margin: 0 0 .8rem; color: var(--muted); }
.summary-price { margin: 0; font: 800 1.6rem/1.2 var(--head); color: var(--accent); }
.summary-per { color: var(--muted); font-size: .9rem; }
.note { display: flex; gap: .5rem; align-items: flex-start; margin: .6rem 0 0; color: var(--muted); font-size: .9rem; }
.note .icon { margin-top: .15em; color: var(--accent); }
.addr { margin-bottom: 1rem; }
.addr a { text-decoration: none; }
.addr a:hover { color: var(--accent); }
.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; }
.hours li span:last-child { font-family: var(--mono); font-size: .9rem; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 1.8rem 0 .5rem; }
.legal p { color: var(--muted); }
.page-head h1 { font-size: clamp(1.4rem, .9rem + 3vw, 3.2rem); }
:lang(ka) .page-head h1 { font-size: clamp(1.15rem, .7rem + 3vw, 2.4rem); }

/* footer */
.footer { padding: 4rem 0 1.5rem; border-top: 1px solid var(--line); background: #08080a; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-name { font: 800 1.6rem/1.1 var(--head); color: var(--text-c); }
.footer-h { margin: 0 0 .8rem; font: 400 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
:lang(ka) .footer-h { letter-spacing: .03em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; }
.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); font-size: .88rem; }

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

@media (max-width: 1080px) {
    .nav { gap: 1rem; }
    .keys--top { display: none; }
}
@media (max-width: 900px) {
    .nav, .header-cta { display: none; }
    .panel-btn { display: inline-flex; }
    .split, .cta-inner, .book-grid { grid-template-columns: minmax(0, 1fr); }
    .book-side { position: static; }
    .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; }
    .lock-photo { aspect-ratio: 16 / 10; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .timer { justify-self: start; justify-items: start; }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 2rem); }
    .hero { min-height: 0; padding-top: 5rem; }
    .row2 { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .filter { padding: 1rem; }
    .filter-count { margin-left: 0; }
    .block { padding: 1.1rem; }
    .room { padding: 1.2rem 1.1rem; }
    .room-facts { grid-template-columns: minmax(0, 1fr); }
    .panel-btn span { display: none; }
    .panel-btn { width: 44px; padding: 0; justify-content: center; }
    .dials { gap: .35rem; }
    .dial output { width: 44px; height: 56px; font-size: 1.7rem; }
    .dial button { width: 40px; }
    .logo-mark { width: 38px; height: 38px; }
    .logo > span:last-child { font-size: 1.05rem; }
}
@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; }
}
