/* The Argonaut Studio: design system. Dark night sea, burnished gold, Black-Sea teal, bone-white text.
   Noto Serif Georgian (headings) + Noto Sans Georgian (body), self-hosted, OFL. No inline styles anywhere. */

@font-face { font-family: "Noto Serif Georgian"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-serif-georgian-georgian.woff2?v=515c695a2d") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Noto Serif Georgian"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-serif-georgian-latin.woff2?v=bc0a1a9095") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-georgian-georgian.woff2?v=3fc0dec939") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-georgian-latin.woff2?v=eb8ee9bbda") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --abyss: #060c11;
  --deep: #0a151c;
  --panel: #0e1d26;
  --panel-2: #12262f;
  --teal: #1a5c63;
  --teal-hi: #3aa1a1;
  --gold: #c9a24a;
  --gold-hi: #e7c978;
  --gold-dim: #8f7233;
  --bone: #efe8d8;
  --mist: #aebdbe;
  --muted: #8da0a2;
  --line: rgba(201, 162, 74, .24);
  --line-soft: rgba(239, 232, 216, .09);
  --serif: "Noto Serif Georgian", "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans Georgian", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --narrow: 780px;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; background: var(--abyss); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--bone);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(26, 92, 99, .38), transparent 62%),
    radial-gradient(800px 520px at -6% 14%, rgba(201, 162, 74, .07), transparent 60%),
    var(--abyss);
  min-height: 100vh; overflow-x: hidden; overflow-wrap: break-word;
}
html[lang="ka"] body { line-height: 1.8; }
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none; z-index: -1;
  background: url("../img/stars.svg?v=9de4e78adf") repeat; opacity: .7;
  -webkit-mask-image: linear-gradient(#000 20%, transparent 95%); mask-image: linear-gradient(#000 20%, transparent 95%);
}

img, video, iframe { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #fff3cf; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(231, 201, 120, .3); color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--narrow)); }
.muted { color: var(--muted); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: #1a1405; padding: .6rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 600; transition: top .15s; }
.skip:focus { top: 1rem; }

/* ── type scale ── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--bone); margin: 0; letter-spacing: -.005em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.35rem, 1.2rem + 4.6vw, 4.4rem); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.75rem); line-height: 1.18; }
h3, .h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; font-weight: 600; }
html[lang="ka"] h1 { line-height: 1.2; letter-spacing: -.015em; }
html[lang="ka"] h2 { line-height: 1.28; }
p { margin: 0 0 1em; text-wrap: pretty; }
.eyebrow { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--gold); margin: 0 0 1rem; display: flex; align-items: center; gap: .75rem; }
html[lang="en"] .eyebrow { text-transform: uppercase; }
html[lang="ka"] .eyebrow { letter-spacing: .04em; font-size: .9rem; }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); flex: none; }
.lede { font-size: 1.1875rem; color: var(--mist); max-width: 46rem; margin: 1.1rem 0 0; }
.lede-lg { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); max-width: 44rem; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; color: #1a1405; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border: 1px solid #f3dc9c; box-shadow: 0 6px 24px -8px rgba(201, 162, 74, .55), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s; }
.btn:hover { color: #1a1405; transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(231, 201, 120, .65), inset 0 1px 0 rgba(255, 255, 255, .4); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid rgba(239, 232, 216, .32); box-shadow: none; }
.btn-ghost:hover { color: #fff; background: rgba(239, 232, 216, .06); border-color: var(--gold-hi); box-shadow: none; filter: none; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.arrow-link::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.arrow-link:hover::after { width: 2.4rem; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 12, 17, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--bone); flex: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: .01em; white-space: nowrap; }
.nav { display: flex; gap: .25rem; margin-inline: auto; }
.nav a { white-space: nowrap; color: var(--mist); text-decoration: none; padding: .5rem .85rem; border-radius: 999px; font-size: .95rem; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--bone); background: rgba(239, 232, 216, .06); }
.nav a[aria-current="page"] { color: var(--gold-hi); }
.bar-end { display: flex; align-items: center; gap: .9rem; flex: none; }
.lang { color: var(--mist); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .35rem .7rem; border: 1px solid var(--line-soft); border-radius: 999px; }
.lang:hover { color: var(--bone); border-color: var(--gold-dim); }

/* ── hero: ქალაქი (iframe) თავად არის hero-ს კადრი; ≥1080px-ზე ტექსტი მარცხნივ, ქალაქი მარჯვნივ ── */
.hero { padding: clamp(2rem, 4vw, 4rem) 0 var(--s5); position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 55% at 76% 42%, rgba(26, 92, 99, .42), transparent 100%), radial-gradient(35% 45% at 6% 55%, rgba(201, 162, 74, .07), transparent 100%); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 3.8rem); max-width: 15ch; }
html[lang="ka"] .hero-copy h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.3rem); max-width: 17ch; }
.hero-copy .lede { margin-top: 1.4rem; }
html[lang="ka"] .hero-copy .lede-lg { font-size: 1.06rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }
.badge-line { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-hi); font-size: .78rem; font-weight: 600; letter-spacing: .1em; background: rgba(201, 162, 74, .08); }
html[lang="en"] .badge { text-transform: uppercase; }
html[lang="ka"] .badge { letter-spacing: .02em; font-size: .85rem; }

.town { margin: 0; min-width: 0; }
.town-frame { position: relative; aspect-ratio: 8 / 5; border-radius: 14px; overflow: hidden; background: var(--deep); border: 1px solid var(--line);
  box-shadow: 0 0 0 6px rgba(6, 12, 17, .8), 0 0 0 7px var(--line), 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 120px -40px rgba(58, 161, 161, .35); }
.town-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--deep); }
.town-poster { display: none; position: absolute; inset: 0; align-items: flex-end; justify-content: center; background:
  radial-gradient(70% 90% at 50% 100%, rgba(201, 162, 74, .22), transparent 70%), linear-gradient(170deg, #0f3a42 0%, #0a1d25 55%, #071016 100%); }
.town-poster-img { width: 100%; height: 100%; object-fit: cover; }
.town-poster-text { margin: 0; padding: 1.25rem; text-align: center; color: var(--mist); font-size: .95rem; }
.town figcaption { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .9rem; max-width: 46rem; margin-inline: auto; }

/* ── sections ── */
.section { padding: var(--s6) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, transparent, rgba(14, 29, 38, .72) 12%, rgba(14, 29, 38, .72) 88%, transparent); }
.section-flush { padding-top: var(--s4); }
.section-head { margin-bottom: var(--s4); max-width: 52rem; }
.section-head .h3 { font-size: 1.65rem; }
.more { margin: var(--s4) 0 0; }
.sub-title { font-size: 1.05rem; font-family: var(--sans); color: var(--mist); font-weight: 600; margin: var(--s4) 0 var(--s2); letter-spacing: .02em; }
.note { color: var(--mist); border-left: 2px solid var(--gold-dim); padding: .25rem 0 .25rem 1.1rem; margin: var(--s3) 0 0; max-width: 46rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { padding: 1.75rem 1.5rem 1.6rem; background: linear-gradient(180deg, rgba(18, 38, 47, .75), rgba(14, 29, 38, .6)); border: 1px solid var(--line-soft); border-radius: var(--radius); position: relative; }
.step::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.step-no { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
.step h3 { margin-bottom: .6rem; }
.step p { margin: 0; color: var(--mist); font-size: .98rem; }

.gates { margin-top: var(--s5); }
.gate-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gate { padding: 1.5rem; border-left: 2px solid var(--gold); background: rgba(18, 38, 47, .6); border-radius: 0 var(--radius) var(--radius) 0; }
.gate h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.gate p { margin: 0; color: var(--mist); font-size: .96rem; }

/* ── avatars / portraits / crests ── */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; border: 1px solid var(--line); background: var(--panel-2); }
.avatar--crest, .portrait--crest { display: grid; place-items: center; position: relative; color: var(--gold-hi); font-family: var(--serif);
  background: radial-gradient(circle at 50% 36%, rgba(231, 201, 120, .2), transparent 58%), linear-gradient(165deg, #14505a, #0a2229 70%); }
.avatar--crest .crest-letter { font-size: 1.5rem; line-height: 1; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: var(--panel-2); }
.portrait--crest { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  background: url("../img/mark.svg?v=60a3a96e7c") right 1.5rem bottom 1.5rem / 2.4rem no-repeat, radial-gradient(circle at 50% 46%, rgba(231, 201, 120, .2), transparent 58%), linear-gradient(165deg, #14505a, #0a2229 70%); }
.portrait--crest::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(231, 201, 120, .4); border-radius: 6px; }
.portrait--crest::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(231, 201, 120, .15); border-radius: 3px; background: url("../img/stars.svg?v=9de4e78adf") center / 220px; opacity: .5; }
.portrait--crest .crest-letter { position: relative; z-index: 1; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; text-shadow: 0 0 30px rgba(231, 201, 120, .45); }
.cards-4 .portrait--crest { aspect-ratio: 3 / 2; }

.mini-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.mini-grid .mini:first-child { grid-column: 1 / -1; }   /* პროდიუსერი წინა ხაზზეა, დანარჩენი 12 = 4×3: ბოლოში მარტოხელა ბარათი არ რჩება */
.mini { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: rgba(14, 29, 38, .8); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color .25s, transform .25s var(--ease); }
.mini:hover { border-color: var(--line); transform: translateY(-2px); }
.mini-text { display: grid; line-height: 1.3; min-width: 0; }
.mini-name { font-family: var(--serif); font-weight: 600; color: var(--bone); overflow-wrap: break-word; }
.mini-sub { color: var(--muted); font-size: .88rem; }

/* ── cards (crew / houses pages) ── */
.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.card { flex: 0 1 calc((100% - 3rem) / 3); background: linear-gradient(180deg, rgba(18, 38, 47, .8), rgba(10, 21, 28, .9)); border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.cards-4 .card { flex-basis: calc((100% - 4.5rem) / 4); }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-title { color: var(--gold-hi); font-weight: 500; margin: .15rem 0 .9rem; font-size: .98rem; }
.skills { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; color: var(--mist); font-size: .95rem; }
.skills li { padding-left: 1.1rem; position: relative; }
.skills li::before { content: ""; position: absolute; left: 0; top: .72em; width: .4rem; height: .4rem; background: var(--gold); transform: rotate(45deg); }
.years { color: var(--muted); font-size: .85rem; margin: .2rem 0 .3rem; }
.card-house .card-title { margin-bottom: .8rem; }
html[lang="en"] .card-house p:last-child { margin: 0; color: var(--mist); font-size: .95rem; }

.cards-h .card { flex-basis: calc((100% - 1.5rem) / 2); flex-direction: row; }
.cards-h .card:first-child { flex-basis: 100%; }   /* პროდიუსერი სრული სიგანით, დანარჩენი 12 წყვილებად */
.cards-h .portrait { flex: 0 0 36%; width: 36%; height: auto; aspect-ratio: auto; min-height: 100%; border-radius: var(--radius) 0 0 var(--radius); }
.cards-h .card-body { padding: 1.5rem; }

.room-block { margin-top: var(--s5); }
.room-block:first-child { margin-top: 0; }
.room-head { margin-bottom: var(--s3); max-width: 46rem; }
.room-head h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem); }
.room-head p { color: var(--mist); margin: .6rem 0 0; }

.callout { margin: var(--s5) 0 0; padding: 1.5rem 1.75rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(14, 29, 38, .7); max-width: 56rem; }
.callout h2 { margin-bottom: .5rem; }
.callout p { margin: 0; color: var(--mist); }
.callout-gold { border-color: var(--line); background: linear-gradient(135deg, rgba(201, 162, 74, .1), rgba(14, 29, 38, .7)); margin-top: var(--s3); }
.page-head .callout { margin-top: 2rem; }

/* ── home: houses ── */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.room h3 { font-size: 1.15rem; color: var(--gold-hi); margin-bottom: 1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { display: inline-flex; flex-direction: column; padding: .55rem .95rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(14, 29, 38, .7); line-height: 1.3; }
.chip-name { font-family: var(--serif); font-weight: 600; font-size: .98rem; }
.chip-sub { color: var(--muted); font-size: .8rem; }

/* ── showcase ── */
.strip-wrap { position: relative; }
.strip { list-style: none; margin: 0; padding: 0 0 1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; border-radius: var(--radius); }
.strip:focus-visible { outline-offset: 4px; }
.still { flex: 0 0 min(78%, 520px); scroll-snap-align: start; aspect-ratio: 1280 / 714; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--deep); }
.still img { width: 100%; height: 100%; object-fit: cover; }
.hint { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
@media (min-width: 1080px) {
  .strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; padding-bottom: 0; }
  .still { flex: none; }
  .hint { display: none; }
}
.clips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.clip { margin: 0; }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--deep); }
.clip figcaption { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.channel { margin-top: var(--s5); padding: 2rem 2.25rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(120deg, rgba(26, 92, 99, .35), rgba(14, 29, 38, .7) 60%); }
.channel p { max-width: 52rem; }
.channel h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.channel p { color: var(--mist); }
.channel p:last-child { margin: 1.25rem 0 0; }

/* ── early access / bands ── */
.early-card, .band .wrap { text-align: left; }
.early-card { padding: clamp(2rem, 4vw, 3.25rem); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(90% 120% at 100% 0%, rgba(26, 92, 99, .45), transparent 60%), linear-gradient(180deg, rgba(18, 38, 47, .85), rgba(10, 21, 28, .9)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ticks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .6rem; color: var(--bone); }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .6rem; height: .35rem; border-left: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi); transform: rotate(-45deg); }
.band { padding: var(--s6) 0; text-align: left; }
.band .narrow { padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(120deg, rgba(26, 92, 99, .35), rgba(14, 29, 38, .75) 70%); }
.band .lede { margin-bottom: 1.5rem; }

.page-head { padding: clamp(3rem, 5vw, 5rem) 0 var(--s3); }
.page-head .lede, .page-head .updated { max-width: 46rem; }
html[lang="ka"] .page-head h1 { max-width: 24em; }
.page-head h1 { max-width: 20ch; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.8rem); }
.updated { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; }

/* ── legal prose ── */
.prose { padding-bottom: var(--s5); }
.prose > * { max-width: 46rem; }
.prose-sec { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line-soft); }
.prose-sec:first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.prose p { color: var(--mist); max-width: 44rem; }

/* ── footer ── */
.site-footer { margin-top: var(--s5); padding: var(--s4) 0 var(--s4); border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, transparent, rgba(4, 8, 11, .8)); }
.wave { height: 24px; margin-bottom: var(--s4); background: url("../img/wave.svg?v=1be104d4a8") repeat-x center; opacity: .8; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-brand p { color: var(--mist); max-width: 24rem; margin: 1rem 0 0; }
.foot-brand p.muted { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.foot-title { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--gold); margin: 0 0 1rem; }
html[lang="en"] .foot-title { text-transform: uppercase; }
html[lang="ka"] .foot-title { letter-spacing: .03em; font-size: .88rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: var(--mist); text-decoration: none; }
.site-footer ul a:hover { color: var(--gold-hi); }
.copy { margin: var(--s4) 0 0; color: var(--muted); font-size: .85rem; }

/* ── scroll reveal (only when JS enabled it) ── */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
  .town-frame { animation: glow 7s ease-in-out infinite alternate; }
}
@keyframes glow { from { box-shadow: 0 0 0 6px rgba(6, 12, 17, .8), 0 0 0 7px var(--line), 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 90px -40px rgba(58, 161, 161, .25); }
  to { box-shadow: 0 0 0 6px rgba(6, 12, 17, .8), 0 0 0 7px rgba(231, 201, 120, .4), 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 140px -30px rgba(58, 161, 161, .4); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ── responsive ── */
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 9fr) minmax(0, 15fr); }
  .hero-copy h1 { font-size: clamp(2.4rem, .9rem + 2.6vw, 3.5rem); }
  html[lang="ka"] .hero-grid { grid-template-columns: minmax(0, 10fr) minmax(0, 14fr); }
  .hero-copy .btn { padding: .75rem 1.05rem; font-size: .95rem; }
  .hero-copy .actions { gap: .7rem; }
  html[lang="ka"] .hero-copy h1 { font-size: clamp(2.1rem, .8rem + 2.2vw, 3.1rem); }
  .town figcaption { text-align: left; margin-inline: 0; }
}
@media (max-width: 1080px) {
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-4 .card { flex-basis: calc((100% - 3rem) / 3); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; row-gap: 0; padding-block: .7rem 0; }
  .bar-end { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; padding: .4rem 0 .6rem; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .gate-list, .rooms { grid-template-columns: 1fr; }
  .card, .cards-4 .card, .cards-h .card { flex-basis: calc((100% - 1.5rem) / 2); }
  .cards-h .card { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .town-embed { display: none; }
  .town-poster { display: flex; }
  .town-frame { aspect-ratio: 1280 / 788; }
}
@media (max-width: 640px) {
  :root { --s5: 3rem; --s6: 4.5rem; }
  .wrap, .narrow { width: min(100% - 2rem, var(--wrap)); }
  .steps, .clips { grid-template-columns: 1fr; }
  .card, .cards-4 .card { flex-basis: 100%; }
  .cards-h .card { flex-direction: column; }
  .cards-h .portrait { flex: none; width: 100%; aspect-ratio: 16 / 10; min-height: 0; object-position: 50% 15%; border-radius: var(--radius) var(--radius) 0 0; }
  .hero-copy h1, html[lang="ka"] .hero-copy h1 { max-width: none; }
  .brand-name { font-size: 1.02rem; }
  .mini-grid { grid-template-columns: 1fr; }
  .nav { gap: 0; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .nav a { padding: .45rem .6rem; font-size: .9rem; }
  html[lang="ka"] .page-head h1 { font-size: min(7vw, 2.4rem); }
  /* პორტრეტამდე გერბი კომპაქტური მწკრივია (მარცხნივ გერბი, მარჯვნივ ტექსტი): ფოტო-ბარათის სიმაღლე ტექსტს არ უნდა ფარავდეს */
  .cards .card.card--crest { flex-direction: row; }
  .cards .card--crest .portrait--crest { flex: 0 0 5.25rem; width: 5.25rem; aspect-ratio: auto; min-height: 100%; border-radius: var(--radius) 0 0 var(--radius);
    background: radial-gradient(circle at 50% 46%, rgba(231, 201, 120, .2), transparent 58%), linear-gradient(165deg, #14505a, #0a2229 70%); }
  .portrait--crest::before { inset: 8px; }
  .portrait--crest::after { inset: 13px; }
  .portrait--crest .crest-letter { font-size: 2.2rem; }
  .card--crest .card-body { padding: 1.1rem 1.2rem 1.25rem; }
  .bar-end .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .actions .btn { width: 100%; }
  .channel, .early-card { padding: 1.5rem; }
  .still { flex-basis: 88%; }
}
