/* ==========================================================================
   thekvara.com — საჯარო საიტის დიზაინ-სისტემა  ·  v1 (2026-10-01)
   კვარაცხელიების საგვარეულო კავშირი „ჩვენ კვარაცხელიები"
   Plain CSS · mobile-first · BEM-ის მსგავსი კლასები · inline style / !important არ გამოიყენება
   --------------------------------------------------------------------------
   სარჩევი
   01 ცვლადები            09 hero სლაიდერი        17 გვერდის სათაური (page-hero)
   02 reset / საფუძველი   10 ლაივის ბანერი        18 prose · ციტატა · timeline · სიები
   03 ტიპოგრაფია          11 ბარათები             19 ჩანაწერის გვერდი
   04 layout              12 ციფრები / ფაქტები    20 ლაივის გვერდი
   05 იკონები             13 გალერეა · lightbox   21 ფორმები · alert-ები
   06 ღილაკები            14 მხარდაჭერა           22 პროფილი · tabs · რედაქტორი · ატვირთვა
   07 ორნამენტი           15 CTA                  23 ბეიჯები · pagination · empty · chips
   08 header / ნავიგაცია  16 footer               24 v1.1: ადამიანი ფოტოთი · თავმჯდომარე · პროექტები · ჩატი
                                                   (+ placeholder .ph)  25 toast · reveal · reduced-motion · print
   ========================================================================== */

/* 01 ── ცვლადები ─────────────────────────────────────────────────────────── */
:root {
  /* ღვინისფერი */
  --wine-950: #2A0A10;
  --wine-900: #3E0F17;
  --wine-800: #5A1621;
  --wine-700: #7A1F2B;   /* ძირითადი */
  --wine-600: #93303D;
  --wine-200: #E7C9CC;
  --wine-100: #F4E4E5;
  --wine-50:  #FBF3F3;
  /* ძველი ოქრო */
  --gold-800: #6F4F1A;
  --gold-700: #8A6424;   /* ოქროსფერი ტექსტი ღია ფონზე (AA) */
  --gold-600: #B8893B;   /* აქცენტი / ხაზები */
  --gold-400: #D4AE6A;
  --gold-300: #E4C78E;   /* ოქროსფერი ტექსტი მუქ ფონზე (AA) */
  --gold-100: #F5EAD3;
  /* სპილოსძვალი / ქაღალდი */
  --ivory:   #FAF6EF;
  --ivory-2: #F3ECDF;
  --ivory-3: #EAE0CF;
  --paper:   #FFFFFF;
  /* ნახშირი */
  --ink:   #1F1B18;
  --ink-2: #463E37;
  --ink-3: #6B6158;
  --line:        #E4D9C6;
  --line-strong: #CFC0A6;
  /* სტატუსები */
  --live:       #D92D20;
  --success:    #2F6B4A;
  --success-bg: #E8F2EC;
  --warning:    #8A5A00;
  --warning-bg: #FBF1D9;
  --danger:     #A12A2A;
  --danger-bg:  #FAE9E7;
  --info:       #2B5C8A;
  --info-bg:    #E7F0F8;
  --neutral-bg: #EFEAE2;

  /* ტიპოგრაფია */
  --font-serif: "Noto Serif Georgian", "DejaVu Serif", Georgia, serif;
  --font-sans:  "Noto Sans Georgian", "DejaVu Sans", "Segoe UI", Arial, sans-serif;
  --font-mono:  ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --fs-xs:   0.8125rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-2xl:  clamp(1.5rem, 1.28rem + 1vw, 2rem);
  --fs-3xl:  clamp(1.75rem, 1.36rem + 1.8vw, 2.625rem);
  --fs-4xl:  clamp(2rem, 1.35rem + 3vw, 3.625rem);
  --lh-tight: 1.28;
  --lh-snug:  1.45;
  --lh-body:  1.7;

  /* დაშორებები */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --gutter: 1.25rem;
  --container: 75rem;
  --container-mid: 60rem;
  --container-narrow: 46rem;

  /* ფორმა */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --sh-xs: 0 1px 2px rgba(62, 15, 23, 0.06);
  --sh-sm: 0 2px 8px rgba(62, 15, 23, 0.07);
  --sh-md: 0 10px 28px rgba(62, 15, 23, 0.10), 0 2px 6px rgba(62, 15, 23, 0.05);
  --sh-lg: 0 24px 60px rgba(42, 10, 16, 0.18), 0 6px 16px rgba(42, 10, 16, 0.08);
  --ring: 0 0 0 3px rgba(122, 31, 43, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 4rem;

  /* ორნამენტის ბადე (გადაჯაჭვული წრეები) */
  --pattern-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23D4AE6A' stroke-opacity='.17'%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='56' cy='0' r='28'/%3E%3Ccircle cx='0' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-wine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%237A1F2B' stroke-opacity='.07'%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='56' cy='0' r='28'/%3E%3Ccircle cx='0' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 48em) {
  :root { --gutter: 2rem; }
}

/* 02 ── reset / საფუძველი ───────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; display: block; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
/* :where — ნულოვანი სპეციფიკურობა, რომ კომპონენტის კლასმა padding თავისუფლად დააყენოს */
:where(ol[class], ul[class]) { padding: 0; list-style: none; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--wine-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--wine-900); }

button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
/* ორმაგი სელექტორი — რომ display-ის მქონე კლასებმა hidden არ გადაფარონ */
[hidden][hidden] { display: none; }

:focus-visible {
  outline: 3px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--wine-700); color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--wine-700);
  color: #fff;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* 03 ── ტიპოგრაფია ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--ink);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-weight: 600; }

.h-display { font-size: var(--fs-4xl); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;           /* ქართულში → მთავრული */
  color: var(--gold-700);
  line-height: 1.5;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 2px;
  background: var(--gold-600);
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--ink-2);
}

.text-muted { color: var(--ink-3); }
.text-center { text-align: center; }
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.nowrap { white-space: nowrap; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--wine-700);
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 04 ── layout ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--mid { max-width: calc(var(--container-mid) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--alt { background: var(--ivory-2); }
.section--paper { background: var(--paper); }
.section--line { border-top: 1px solid var(--line); }
.section--wine {
  position: relative;
  background:
    var(--pattern-gold),
    radial-gradient(120% 90% at 85% 0%, #8A2836 0%, rgba(138, 40, 54, 0) 60%),
    linear-gradient(160deg, var(--wine-800) 0%, var(--wine-950) 100%);
  color: #fff;
}
.section--wine .section-head__title { color: #fff; }
.section--wine .eyebrow { color: var(--gold-300); }
.section--wine .lead { color: #EEDFD9; }
.section--wine :focus-visible { outline-color: var(--gold-300); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}
.section-head__title { max-width: 26ch; }
.section-head__text { max-width: 60ch; color: var(--ink-2); }
.section-head__action { margin-top: var(--sp-1); }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .section-head__title { max-width: 30ch; }

@media (min-width: 48em) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: var(--sp-6);
  }
  .section-head--split > * { grid-column: 1; }
  .section-head--split .section-head__action {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    margin: 0;
  }
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
}
.grid > * { min-width: 0; }
@media (min-width: 40em) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .grid { gap: var(--sp-6); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid--tight { gap: var(--sp-4); }
/* პორტრეტებისთვის: მობილურზეც 2 სვეტი */
.grid--people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (min-width: 48em) { .grid--people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }
@media (min-width: 64em) { .grid--people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: center;
}
.split > * { min-width: 0; }
@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--sp-8); }
  .split--reverse > :first-child { order: 2; }
}

.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.stack > * { min-width: 0; }
.stack--sm { gap: var(--sp-2); }
.stack--lg { gap: var(--sp-6); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
}
.cluster > * { min-width: 0; }
.cluster--between { justify-content: space-between; }
.cluster--center { justify-content: center; }

/* ტექსტი + გვერდითი სვეტი (about / post) */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
}
.with-aside > * { min-width: 0; }
@media (min-width: 64em) {
  .with-aside { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
  .with-aside--right { grid-template-columns: minmax(0, 1fr) 20rem; }
}

/* 05 ── იკონები ─────────────────────────────────────────────────────────── */
.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }
.icon--xl { width: 2.5rem; height: 2.5rem; stroke-width: 1.5; }
.icon--solid { fill: currentColor; stroke: none; }

/* 06 ── ღილაკები ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  background: var(--wine-700);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--wine-900); color: #fff; box-shadow: var(--sh-sm); }
.btn:active { transform: translateY(1px); }
.btn[disabled],
.btn.is-disabled { opacity: 0.55; pointer-events: none; }

.btn--gold { background: var(--gold-400); color: var(--wine-950); }
.btn--gold:hover { background: var(--gold-300); color: var(--wine-950); }

.btn--outline { background: transparent; border-color: var(--wine-700); color: var(--wine-700); }
.btn--outline:hover { background: var(--wine-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--wine-700); }
.btn--ghost:hover { background: var(--wine-100); color: var(--wine-900); box-shadow: none; }

.btn--light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--wine-900); }

.btn--neutral { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn--neutral:hover { background: var(--ivory-2); color: var(--ink); border-color: var(--ink-3); }

.btn--danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }

.btn--sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 3.5rem; padding: 0.9rem 1.9rem; font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }
.btn--icon { width: 2.75rem; min-height: 2.75rem; padding: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* 07 ── ორნამენტი ───────────────────────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: var(--gold-600);
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 0 1 7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 137, 59, 0), var(--gold-600));
}
.ornament::after { transform: scaleX(-1); }
.ornament__mark { width: 1.75rem; height: 1.75rem; }
.ornament--left { justify-content: flex-start; }
.ornament--left::before { display: none; }
.ornament--light { color: var(--gold-300); }
.ornament--section { padding-block: var(--sp-6); }

/* 08 ── header / ნავიგაცია ──────────────────────────────────────────────
   მობილური (<1024px): .site-header მიკრულია ზემოთ (ლოგო + ღილაკი), .site-nav — სრულეკრანიანი პანელი.
   დესკტოპი (≥1024px): ორსართულიანი „masthead" — ზედა რიგი (ლოგო, ცხელი ხაზი, შესვლა) სტატიკურია,
   მენიუს რიგი (.site-nav) მიკრულია ზემოთ scroll-ისას.                                         */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.95);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(250, 246, 239, 0.95); backdrop-filter: blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(62, 15, 23, 0.08); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 2.75rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--wine-700);
  color: var(--gold-300);
}
.brand__mark svg { width: 2.1rem; height: 2.1rem; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(0.9375rem, 4.6vw, 1.0625rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  white-space: nowrap;
}
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light .brand__mark { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(228, 199, 142, 0.5); }
.brand--light .brand__tag { color: var(--gold-300); }

.header-actions { display: none; }

.header-hotline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}
.header-hotline:hover { color: var(--ink); }
.header-hotline__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--gold-600);
  color: var(--gold-700);
}
.header-hotline__label { display: block; font-size: 0.75rem; color: var(--ink-3); }
.header-hotline__number { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.0625rem; font-variant-numeric: lining-nums; white-space: nowrap; }
.header-hotline:hover .header-hotline__number { color: var(--wine-700); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--wine-700);
  background: var(--paper);
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* მობილური პანელი */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--ivory);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.site-nav__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  min-height: 100%;
  padding-block: var(--sp-3) var(--sp-6);
}
/* JS-ის გარეშე მენიუ უბრალოდ header-ის ქვეშ იშლება */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav {
  position: static;
  visibility: visible;
  opacity: 1;
  transform: none;
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; flex-direction: column; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav__link:hover { color: var(--wine-700); }
.nav__link.is-active { color: var(--wine-700); }
.nav__link.is-active::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold-600);
  transform: rotate(45deg);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--wine-700);
  text-decoration: none;
}
.nav__cta .icon { color: var(--gold-700); }

.nav-auth { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: auto; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.5rem 0.15rem 0.45rem;
  border-radius: var(--r-pill);
  background: var(--live);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.live-pill__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

@media (max-width: 63.99em) {
  html.has-drawer { overflow: hidden; }
}

@media (min-width: 64em) {
  :root { --header-h: 3.5rem; }

  .site-header,
  .site-header.is-scrolled {
    position: static;
    background: var(--ivory);
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .site-header__inner { min-height: 5.75rem; }
  .brand__mark { width: 3.5rem; height: 3.5rem; }
  .brand__mark svg { width: 2.7rem; height: 2.7rem; }
  .brand__name { font-size: 1.375rem; }
  .brand__tag { font-size: 0.75rem; letter-spacing: 0.14em; }
  .nav-toggle { display: none; }
  .header-actions { display: flex; align-items: center; gap: var(--sp-6); }
  .header-actions__auth { display: flex; align-items: center; gap: var(--sp-2); }

  .site-nav,
  html:not(.js) .site-nav {
    position: sticky;
    inset: 0 auto auto auto;
    z-index: 100;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: rgba(250, 246, 239, 0.95);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s;
  }
  .site-nav.is-stuck { box-shadow: 0 6px 24px rgba(62, 15, 23, 0.08); }
  .site-nav__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    min-height: var(--header-h);
    padding-block: 0;
  }
  .nav { flex-direction: row; align-items: stretch; margin-left: -0.45rem; }
  .nav__link {
    min-height: var(--header-h);
    padding: 0 0.45rem;
    border-bottom: 0;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    bottom: -1px;
    height: 3px;
    background: var(--gold-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link.is-active::after { transform: scaleX(1); }
  .nav__link.is-active::after { background: var(--wine-700); }
  .nav__link.is-active { font-weight: 600; }
  .nav__link.is-active::before { display: none; }
  .nav-auth { display: none; }
  .nav__cta { display: none; }
}
@supports (backdrop-filter: blur(8px)) {
  @media (min-width: 64em) {
    .site-nav { background: rgba(250, 246, 239, 0.96); backdrop-filter: blur(12px); }
  }
}
@media (min-width: 75em) {
  .nav { margin-left: -0.75rem; }
  .nav__link { padding: 0 0.75rem; font-size: 0.9375rem; }
  .nav__link::after { left: 0.75rem; right: 0.75rem; }
}
@media (min-width: 80em) {
  .nav { margin-left: -0.85rem; }
  .nav__link { padding: 0 0.85rem; font-size: 1rem; }
  .nav__link::after { left: 0.85rem; right: 0.85rem; }
}

/* 09 ── hero სლაიდერი ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--wine-950);
  color: #fff;
  overflow: hidden;
}
.hero :focus-visible { outline-color: var(--gold-300); }
/* ყველა სლაიდი ერთ grid-უჯრაშია: სიმაღლე = ყველაზე გრძელი ტექსტის სიმაღლე (ტექსტი არასდროს იჭრება) */
.hero__track {
  position: relative;
  display: grid;
  min-height: clamp(33rem, 80vh, 47.5rem);
}
@supports (height: 1svh) {
  .hero__track { min-height: clamp(33rem, 80svh, 47.5rem); }
}
.hero__slide {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s 0.9s;
}
.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
/* ნებისმიერი პროპორციის ფოტო ავსებს ჩარჩოს */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__img--top { object-position: center top; }
.hero__img--center { object-position: center; }
.hero__img--bottom { object-position: center bottom; }
.hero__slide.is-active .hero__img { animation: hero-zoom 9s ease-out both; }
@keyframes hero-zoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
/* მუქი გადასვლა — ტექსტი ნებისმიერ ფოტოზე იკითხება */
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(31, 7, 12, 0.94) 0%, rgba(31, 7, 12, 0.72) 34%, rgba(31, 7, 12, 0.28) 68%, rgba(31, 7, 12, 0.3) 100%);
}
@media (min-width: 64em) {
  .hero__slide::after {
    background:
      linear-gradient(to right, rgba(31, 7, 12, 0.9) 0%, rgba(31, 7, 12, 0.66) 38%, rgba(31, 7, 12, 0.1) 72%),
      linear-gradient(to top, rgba(31, 7, 12, 0.75) 0%, rgba(31, 7, 12, 0) 45%);
  }
}
/* სურათის გარეშე: გრადიენტი + ორნამენტი */
.hero__media--placeholder {
  background:
    var(--pattern-gold),
    radial-gradient(70% 90% at 82% 30%, #A23545 0%, rgba(162, 53, 69, 0) 65%),
    linear-gradient(140deg, var(--wine-800) 0%, var(--wine-950) 78%);
}
.hero__media--gold {
  background:
    var(--pattern-gold),
    radial-gradient(70% 90% at 82% 30%, #8C6A2C 0%, rgba(140, 106, 44, 0) 65%),
    linear-gradient(140deg, #4A2A12 0%, #1D0F0A 78%);
}
.hero__slide--placeholder::after {
  background: linear-gradient(to top, rgba(31, 7, 12, 0.55) 0%, rgba(31, 7, 12, 0) 55%);
}
.hero__ornament {
  position: absolute;
  top: 46%;
  right: -22%;
  width: min(92vw, 30rem);
  height: auto;
  aspect-ratio: 1;
  color: var(--gold-400);
  opacity: 0.2;
  transform: translateY(-50%);
  animation: orn-spin 160s linear infinite;
}
@media (min-width: 64em) {
  .hero__ornament { right: 6%; top: 50%; width: min(38vw, 33rem); opacity: 0.26; }
}
@keyframes orn-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero__content {
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 6.5rem;
}
.hero__inner { max-width: 42rem; }
.hero__eyebrow { color: var(--gold-300); margin-bottom: var(--sp-4); }
.hero__eyebrow::before { background: var(--gold-400); }
.hero__title {
  font-size: var(--fs-4xl);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__title em { font-style: normal; color: var(--gold-300); }
.hero__text {
  margin-top: var(--sp-4);
  max-width: 36rem;
  font-size: var(--fs-md);
  line-height: 1.75;
  color: #F1E7E2;
}
.hero__actions { margin-top: var(--sp-5); }
@media (min-width: 48em) {
  .hero__content { padding-bottom: 7.5rem; }
  .hero__text { font-size: var(--fs-lg); }
  .hero__actions { margin-top: var(--sp-6); }
}

.hero__controls { display: none; }
html.js .hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 3;
  display: block;
}
html.js .hero--single .hero__controls { display: none; }
.hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.hero__dots { display: flex; align-items: center; gap: 0.25rem; min-width: 0; }
.hero__dot {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  transition: width 0.3s var(--ease);
}
.hero__dot::before,
.hero__dot::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}
.hero__dot::after {
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot:hover::before { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-active { width: 4.25rem; }
.hero__dot.is-active::after { transform: scaleX(1); }
.hero.is-playing .hero__dot.is-active::after {
  animation: hero-progress var(--hero-interval, 7000ms) linear both;
}
@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero__arrows { display: flex; gap: var(--sp-2); }
.hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(31, 7, 12, 0.35);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hero__arrow:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--wine-950); }
.hero__arrow--pause .icon-play { display: none; }
.hero__arrow--pause[aria-pressed="true"] .icon-play { display: block; }
.hero__arrow--pause[aria-pressed="true"] .icon-pause { display: none; }
@media (min-width: 48em) {
  .hero__arrow { width: 3.25rem; height: 3.25rem; }
  html.js .hero__controls { bottom: 2.25rem; }
}

/* 10 ── ლაივის ბანერი ───────────────────────────────────────────────────── */
.live-banner {
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--live);
}
.live-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
}
.live-banner__text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.live-banner__label { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); color: #D9CFC7; }
.live-banner__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.live-banner .btn { background: var(--live); }
.live-banner .btn:hover { background: #B42318; }
.live-banner :focus-visible { outline-color: #fff; }
@media (min-width: 48em) {
  .live-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--sp-5); }
}

/* 11 ── ბარათები ────────────────────────────────────────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }

.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ivory-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media--portrait { aspect-ratio: 4 / 5; }
.card__media--wide { aspect-ratio: 16 / 9; }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
  min-width: 0;
  padding: 1.25rem 1.25rem 1.4rem;
}
@media (min-width: 48em) {
  .card__body { padding: 1.4rem 1.5rem 1.6rem; }
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.card__meta-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.card__tag {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* მთელი ბარათი დაკლიკებადია */
.card:hover .card__title a { color: var(--wine-700); }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--gold-600); outline-offset: 3px; }
.card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-3);
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--wine-700);
}
.card__more .icon { transition: transform 0.25s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

.card__foot .card__meta { flex: none; white-space: nowrap; }

/* თარიღის ნიშანი ფოტოზე (სიახლე) */
.card__date {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.4rem;
  padding: 0.4rem 0.6rem 0.45rem;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.15;
  box-shadow: var(--sh-sm);
}
.card__date-day { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; color: var(--wine-700); }
.card__date-month { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

/* ავტორი (ბლოგი) */
.card__author { display: flex; align-items: center; gap: 0.6rem; min-width: 0; font-size: var(--fs-sm); }
.card__author-name { font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ბლოგი: ზედა ოქროს ხაზი */
.card--blog { border-top: 3px solid var(--gold-600); }

/* წარმატებული — პორტრეტი */
.card--person .card__body { gap: 0.25rem; padding: 0.85rem 0.75rem 1rem; }
.card--person .card__title { font-size: 1rem; }
.card__role { font-size: var(--fs-sm); color: var(--gold-700); font-weight: 600; line-height: 1.45; }
@media (min-width: 48em) {
  .card--person .card__body { padding: 1rem 1.25rem 1.25rem; }
  .card--person .card__title { font-size: var(--fs-lg); }
}

/* ალბომი */
.card__count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(31, 7, 12, 0.78);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* ვიდეო / წინა ეთერი */
.card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--wine-700);
  box-shadow: var(--sh-md);
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.card__play .icon { margin-left: 3px; }
.card:hover .card__play { transform: scale(1.08); background: var(--wine-700); color: #fff; }
.card__duration {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--r-sm);
  background: rgba(20, 17, 15, 0.82);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* დოკუმენტი */
.card--doc {
  flex-direction: row;
  align-items: center;
  gap: var(--sp-4);
  padding: 1.1rem 1.1rem;
}
.card--doc .card__body { padding: 0; gap: 0.2rem; }
.card--doc .card__title { font-size: var(--fs-md); }
.card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-md);
  background: var(--wine-50);
  color: var(--wine-700);
  border: 1px solid var(--wine-100);
}
.card__icon--gold { background: var(--gold-100); color: var(--gold-800); border-color: #EBDAB6; }
.card__arrow { flex: none; color: var(--gold-700); transition: transform 0.25s var(--ease); }
.card--doc:hover .card__arrow { transform: translateY(3px); }
@media (min-width: 48em) {
  .card--doc { padding: 1.4rem 1.5rem; gap: var(--sp-5); }
}

/* თვისება / მიმართულება */
.card--feature .card__body { padding-top: 1.5rem; gap: 0.7rem; }
.card--feature .card__icon { margin-bottom: 0.4rem; }
.card--feature .card__excerpt { -webkit-line-clamp: unset; line-clamp: unset; display: block; }

/* კონტაქტი */
.card--contact .card__body { gap: 0.4rem; }
.card--contact .card__icon { margin-bottom: 0.6rem; }
/* მობილურზე: იკონი მარცხნივ, ტექსტი მარჯვნივ */
@media (max-width: 39.99em) {
  .card--contact .card__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--sp-4);
    row-gap: 0.15rem;
    align-items: center;
  }
  .card--contact .card__icon { grid-row: 1 / span 3; margin: 0; align-self: start; }
}
.card__note a { position: relative; z-index: 2; color: inherit; }
.card__note a:hover { color: var(--wine-700); }
.card__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.card__value {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.card__value a { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.card__value a:hover { color: var(--wine-700); }
.card__note { font-size: var(--fs-sm); color: var(--ink-3); }

/* ჰორიზონტალური ბარათი (≥640px) */
@media (min-width: 40em) {
  .card--row { flex-direction: row; }
  .card--row .card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 12rem; }
}

.avatar {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--wine-700);
  color: var(--gold-300);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--gold { background: var(--gold-100); color: var(--wine-700); box-shadow: inset 0 0 0 1px #E3CFA3; }
.avatar--sm { width: 1.6rem; height: 1.6rem; font-size: 0.8125rem; }
.avatar--lg { width: 3.25rem; height: 3.25rem; font-size: 1.375rem; }
.avatar--xl { width: 5.5rem; height: 5.5rem; font-size: 2.25rem; }

/* 12 ── ციფრები / ფაქტები ───────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n + 2) { border-bottom: 0; }
.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--wine-700);
  font-variant-numeric: lining-nums;
}
.stat__value small { font-size: 0.5em; font-weight: 600; color: var(--gold-700); }
.stat__label { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
@media (min-width: 64em) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 1.75rem 1.75rem; border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ფოტო ჩარჩოთი (შესავალი) */
.framed { margin: 0; }
.framed__media {
  position: relative;
  margin: 0 0.75rem 0.75rem 0;
}
.framed__media::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1.5px solid var(--gold-600);
  border-radius: var(--r-lg);
}
.framed__media img,
.framed__media .ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.framed__caption {
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* 13 ── გალერეა · lightbox ──────────────────────────────────────────────── */
.photo {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ivory-3);
  color: #fff;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 10, 16, 0.55), rgba(42, 10, 16, 0) 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.photo__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--wine-700);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.photo:hover img,
.photo:focus-visible img { transform: scale(1.06); }
.photo:hover::after,
.photo:focus-visible::after { opacity: 1; }
.photo:hover .photo__zoom,
.photo:focus-visible .photo__zoom { opacity: 1; transform: none; }
.photo--wide { aspect-ratio: 3 / 2; }

/* მთავარი გვერდის მოზაიკა */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
.mosaic > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 48em) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
  .mosaic > :first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ალბომის ფოტოების ბადე */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
@media (min-width: 40em) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(20, 6, 9, 0.97);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox.is-open { opacity: 1; }
.lightbox :focus-visible { outline-color: var(--gold-300); }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 0.75rem var(--gutter);
}
.lightbox__counter { font-size: var(--fs-sm); color: #D9CFC7; font-variant-numeric: tabular-nums; }
.lightbox__btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.lightbox__btn:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--wine-950); }
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding-inline: var(--gutter);
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
}
.lightbox__nav { position: absolute; top: 50%; margin-top: -1.375rem; }
.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }
.lightbox__nav.lightbox__btn { background: rgba(20, 6, 9, 0.6); }
.lightbox__nav.lightbox__btn:hover { background: var(--gold-400); }
.lightbox__caption {
  padding: 0.9rem var(--gutter) 1.25rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: #EEE4DD;
  min-height: 3rem;
}
html.has-lightbox { overflow: hidden; }
@media (min-width: 48em) {
  .lightbox__stage { padding-inline: 5rem; }
  .lightbox__nav--prev { left: 1.25rem; }
  .lightbox__nav--next { right: 1.25rem; }
}

/* 14 ── მხარდაჭერა ──────────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}
.support-grid > * { min-width: 0; }
@media (min-width: 48em) {
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .support-grid > .hotline { grid-column: 1 / -1; }
}
@media (min-width: 72em) {
  .support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support-grid > .hotline { grid-column: auto; }
}

/* ბანკის ანგარიშის ბარათი */
.account {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-width: 0;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--sh-lg);
}
.account__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); min-width: 0; }
.account__titles { flex: 1 1 11rem; min-width: 0; }
.account__bank { font-family: var(--font-serif); font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; color: var(--ink); }
.account__code { font-size: var(--fs-sm); color: var(--ink-3); }
.account__code strong { color: var(--ink); font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.03em; }
.account__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.account__iban {
  display: block;
  margin-top: 0.4rem;
  padding: 0.8rem 0.75rem;
  border: 1px dashed var(--gold-600);
  border-radius: var(--r-md);
  background: var(--ivory);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
  user-select: all;
}
.account__copy { margin-top: auto; }
.account__copy.is-copied { background: var(--success); border-color: var(--success); color: #fff; }
@media (min-width: 48em) {
  .account { padding: 1.75rem; }
  .account__iban { font-size: 1rem; letter-spacing: 0.04em; }
}

/* ლოგოს ფილა (ბანკი / ოპერატორი) */
.logo-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 3.75rem;
  padding: 0.5rem 0.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile--fill { padding: 0; }
.logo-tile--fill img { object-fit: cover; }
.logo-tile--zoom img { transform: scale(1.8); }
.logo-tile--sm { width: 5.25rem; height: 3rem; padding: 0.35rem 0.5rem; }
.logo-tile--sm.logo-tile--fill { padding: 0; }

/* საქველმოქმედო ხაზი */
.hotline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid rgba(228, 199, 142, 0.55);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(228, 199, 142, 0.16), rgba(228, 199, 142, 0.05));
  color: #fff;
}
.hotline__label { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--gold-300); }
.hotline__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.hotline__number:hover { color: var(--gold-300); }
.hotline__note { font-size: var(--fs-sm); color: #EEDFD9; }
.hotline__operators { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-1); }
.hotline__action { margin-top: auto; padding-top: var(--sp-2); }
@media (min-width: 48em) {
  .hotline { padding: 1.75rem; }
}
@media (min-width: 48em) and (max-width: 71.99em) {
  .hotline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--sp-6); }
  .hotline > * { grid-column: 1; }
  .hotline__action { grid-column: 2; grid-row: 1 / span 4; margin: 0; padding: 0; }
}

.assurance {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  max-width: 52rem;
  margin: var(--sp-6) auto 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: #EEDFD9;
}
.assurance .icon { margin-top: 0.15rem; color: var(--gold-300); }

/* 15 ── CTA ─────────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  padding: 2.25rem 1.5rem;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    var(--pattern-gold),
    radial-gradient(80% 120% at 100% 0%, #9A3140 0%, rgba(154, 49, 64, 0) 60%),
    linear-gradient(135deg, var(--wine-700), var(--wine-900));
  color: #fff;
  isolation: isolate;
}
.cta :focus-visible { outline-color: var(--gold-300); }
.cta__title { color: #fff; font-size: var(--fs-3xl); max-width: 18ch; }
.cta__text { max-width: 46ch; color: #F1E7E2; font-size: var(--fs-md); }
.cta__content { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
.cta__ornament {
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  color: var(--gold-400);
  opacity: 0.16;
}
.cta .eyebrow { color: var(--gold-300); }
@media (min-width: 64em) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 4rem 4.5rem; gap: var(--sp-8); }
  .cta__ornament { right: 14rem; bottom: -9rem; width: 26rem; height: 26rem; }
}

/* 16 ── footer ──────────────────────────────────────────────────────────── */
.site-footer {
  flex: none;
  background: var(--wine-950);
  color: #D9CBC6;
  font-size: 0.9375rem;
}
.site-footer :focus-visible { outline-color: var(--gold-300); }
.site-footer a { color: #EFE5E0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer__top { height: 4px; background: linear-gradient(90deg, var(--wine-700), var(--gold-600) 50%, var(--wine-700)); }
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-7);
}
.site-footer__main > * { min-width: 0; }
.site-footer__about { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 26rem; }
.site-footer .brand__mark { width: 3rem; height: 3rem; }
.site-footer .brand__mark svg { width: 2.3rem; height: 2.3rem; }
.site-footer .brand__name { font-size: 1.125rem; }
.site-footer .brand__tag { font-size: 0.6875rem; letter-spacing: 0.1em; }
.site-footer__title {
  margin-bottom: var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.site-footer__list { display: grid; gap: 0.1rem; }
.site-footer__list a,
.site-footer__list span { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; }
.site-footer__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-4); }
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  color: #BDAAA5;
}
@media (min-width: 48em) {
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 64em) {
  .site-footer__main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); padding-block: var(--sp-8); }
  .site-footer__list a,
  .site-footer__list span { min-height: 2.25rem; }
}

/* 17 ── გვერდის სათაური (page-hero) ─────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 1.6rem + 3.2vw, 4.5rem);
  background:
    var(--pattern-gold),
    radial-gradient(70% 140% at 90% 0%, #8A2836 0%, rgba(138, 40, 54, 0) 62%),
    linear-gradient(135deg, var(--wine-800), var(--wine-950));
  color: #fff;
  isolation: isolate;
}
.page-hero :focus-visible { outline-color: var(--gold-300); }
.page-hero__inner { display: flex; flex-direction: column; gap: var(--sp-3); }
.page-hero__title { color: #fff; font-size: var(--fs-3xl); max-width: 24ch; }
.page-hero__text { max-width: 58ch; font-size: var(--fs-md); color: #EEDFD9; }
.page-hero__ornament {
  position: absolute;
  right: -4rem;
  top: 50%;
  z-index: -1;
  width: 16rem;
  height: 16rem;
  margin-top: -8rem;
  color: var(--gold-400);
  opacity: 0.14;
}
@media (min-width: 64em) {
  .page-hero__ornament { right: 6%; width: 22rem; height: 22rem; margin-top: -11rem; }
}
.page-hero--center .page-hero__inner { align-items: center; text-align: center; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: var(--fs-sm);
  color: #D9CBC6;
}
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2rem; color: var(--gold-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb__sep { color: rgba(255, 255, 255, 0.4); }
.breadcrumb--dark { color: var(--ink-3); }
.breadcrumb--dark a { color: var(--wine-700); }
.breadcrumb--dark a:hover { color: var(--wine-900); }
.breadcrumb--dark .breadcrumb__sep { color: var(--line-strong); }

/* 18 ── prose · ციტატა · timeline · სიები ───────────────────────────────── */
.prose {
  max-width: 44rem;
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--ink-2);
}
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.2em; font-size: var(--fs-2xl); color: var(--ink); }
.prose h3 { margin-top: 1.9em; font-size: var(--fs-xl); color: var(--ink); }
.prose h2 + *,
.prose h3 + * { margin-top: 0.7em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--wine-700); text-decoration: underline; text-decoration-color: var(--gold-600); text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--wine-900); text-decoration-color: var(--wine-700); }
.prose strong { color: var(--ink); font-weight: 700; }
/* ქართულ შრიფტს დახრილი მოხაზულობა არ აქვს — გამოყოფა ფერით */
.prose em { font-style: normal; color: var(--wine-700); font-weight: 500; }
.prose ul,
.prose ol { padding-left: 1.5rem; }
.prose li + li { margin-top: 0.45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6rem; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold-600);
  transform: rotate(45deg);
}
.prose ol > li::marker { font-family: var(--font-serif); font-weight: 700; color: var(--wine-700); }
.prose blockquote {
  margin-block: 1.8em;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--gold-600);
  font-family: var(--font-serif);
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--ink);
}
.prose blockquote > * + * { margin-top: 0.6em; }
.prose blockquote cite { display: block; font-family: var(--font-sans); font-size: var(--fs-sm); font-style: normal; color: var(--ink-3); }
.prose img,
.prose figure { margin-block: 2em; }
.prose img { width: 100%; border-radius: var(--r-lg); }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--ink-3); text-align: center; }
.prose hr { height: 1px; margin-block: 2.5em; border: 0; background: var(--line-strong); }
.prose--lead > p:first-of-type { font-size: var(--fs-lg); color: var(--ink); }
.prose--dropcap > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.6rem 0 0;
  font-family: var(--font-serif);
  font-size: 3.6em;
  font-weight: 700;
  line-height: 0.95;
  color: var(--wine-700);
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: 2rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.quote__mark { width: 2.5rem; height: 2.5rem; color: var(--gold-600); }
.quote__text {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.quote__cite { display: flex; align-items: center; gap: 0.75rem; font-style: normal; font-size: var(--fs-sm); color: var(--ink-3); }
.quote__cite strong { display: block; color: var(--ink); font-size: var(--fs-base); }
@media (min-width: 48em) {
  .quote { padding: 3rem 3.5rem; }
}
.quote--wine { background: var(--wine-700); border-color: var(--wine-700); }
.quote--wine .quote__text { color: #fff; }
.quote--wine .quote__mark { color: var(--gold-300); }
.quote--wine .quote__cite { color: #EEDFD9; }
.quote--wine .quote__cite strong { color: #fff; }

/* ინფო-ჩარჩო (რეგისტრაციის ფაქტი, P.S.) */
.note {
  display: flex;
  gap: var(--sp-4);
  padding: 1.25rem 1.25rem;
  border: 1px solid #EBDAB6;
  border-left: 4px solid var(--gold-600);
  border-radius: var(--r-md);
  background: var(--gold-100);
  color: var(--ink);
}
.note .icon { margin-top: 0.2rem; color: var(--gold-800); }
.note__body { min-width: 0; }
.note__title { font-family: var(--font-serif); font-weight: 700; font-size: var(--fs-md); margin-bottom: 0.25rem; }
.note--wine { border-color: var(--wine-200); border-left-color: var(--wine-700); background: var(--wine-50); }
.note--wine .icon { color: var(--wine-700); }

/* ქრონოლოგია */
.timeline { position: relative; display: grid; gap: var(--sp-6); padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-600), var(--line-strong) 85%, rgba(207, 192, 166, 0));
}
.timeline__item { position: relative; min-width: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.45rem;
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--gold-600);
  box-shadow: 0 0 0 1.5px var(--gold-600);
}
.timeline__item--key::before { background: var(--wine-700); box-shadow: 0 0 0 1.5px var(--wine-700), 0 0 0 6px rgba(122, 31, 43, 0.14); }
.timeline__date {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--wine-700);
  line-height: 1.4;
}
.timeline__title { margin-top: 0.15rem; font-size: var(--fs-lg); }
.timeline__text { margin-top: 0.4rem; color: var(--ink-2); max-width: 60ch; }
.section--alt .timeline__item::before { border-color: var(--ivory-2); }
@media (min-width: 48em) {
  .timeline { padding-left: 0; }
  .timeline::before { left: calc(11rem + 1.5rem + 0.4rem - 1px); }
  .timeline__item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 4rem; }
  .timeline__item::before { left: calc(11rem + 1.5rem); }
  .timeline__date { text-align: right; }
  .timeline__title { margin-top: 0; }
  .timeline__body { min-width: 0; }
}

/* დანომრილი სია (მიზნები) */
.num-list { counter-reset: num; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
.num-list__item {
  counter-increment: num;
  position: relative;
  display: flex;
  gap: var(--sp-4);
  min-width: 0;
  padding: 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.65;
}
.num-list__item::before {
  content: counter(num, decimal-leading-zero);
  flex: none;
  width: 2.75rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold-600);
  font-variant-numeric: lining-nums;
}
@media (min-width: 48em) {
  .num-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .num-list__item { padding: 1.5rem 1.6rem; }
}

/* ადამიანების სია (დამფუძნებლები, გამგეობა) */
.people { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
.person {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.person__body { min-width: 0; }
.person__name { font-family: var(--font-serif); font-size: var(--fs-md); font-weight: 700; line-height: 1.4; color: var(--ink); }
.person__role { font-size: var(--fs-sm); color: var(--ink-3); }
.person--lead { border-color: var(--gold-600); background: linear-gradient(120deg, var(--gold-100), var(--paper) 70%); }
.person--lead .person__role { color: var(--gold-800); font-weight: 600; }
@media (min-width: 40em) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } }
@media (min-width: 64em) { .people--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* გვერდის შიდა სარჩევი */
.toc { display: none; }
@media (min-width: 64em) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-left: var(--sp-4);
    border-left: 1px solid var(--line-strong);
  }
  .toc__title { margin-bottom: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-700); }
  .toc__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
  }
  .toc__link:hover { color: var(--wine-700); }
  .toc__link:hover::before {
    content: "";
    position: absolute;
    left: calc(var(--sp-4) * -1 - 1px);
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--wine-700);
  }
}

.block { display: flex; flex-direction: column; gap: var(--sp-5); min-width: 0; }
.block > * { min-width: 0; }
.block + .block { margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.block__head { display: flex; flex-direction: column; gap: var(--sp-2); }

/* განსაზღვრებების სია (რეკვიზიტები) */
.deflist { display: grid; }
.deflist__row { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.deflist__row:first-child { padding-top: 0; }
.deflist__row:last-child { border-bottom: 0; padding-bottom: 0; }
.deflist dt { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.deflist dd { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* 19 ── ჩანაწერის გვერდი ────────────────────────────────────────────────── */
.post-header { padding-block: clamp(2rem, 1.4rem + 3vw, 4rem) var(--sp-6); }
.post-header__inner { display: flex; flex-direction: column; gap: var(--sp-4); }
.post-header__title { font-size: var(--fs-3xl); line-height: 1.3; }
.post-header__lead { font-size: var(--fs-lg); line-height: 1.75; color: var(--ink-2); }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.post-meta__author { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.post-meta__name { display: block; font-weight: 600; font-size: var(--fs-base); color: var(--ink); line-height: 1.35; }
.post-meta__item { display: inline-flex; align-items: center; gap: 0.4rem; }

.post-cover { margin: 0; }
.post-cover img,
.post-cover .ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.post-cover figcaption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--ink-3); text-align: center; }

.post-body { padding-block: var(--sp-7); }
.post-body .prose { margin-inline: auto; }

.post-foot {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: 44rem;
  margin: var(--sp-7) auto 0;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.15rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--ivory-2);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
a.tag:hover { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }
.tag--gold { background: var(--gold-100); border-color: #EBDAB6; color: var(--gold-800); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.share__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); margin-right: var(--sp-1); }
.share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.share__btn:hover { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }

.author-box {
  display: flex;
  gap: var(--sp-4);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.author-box__body { min-width: 0; }
.author-box__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700); }
.author-box__name { font-family: var(--font-serif); font-size: var(--fs-lg); font-weight: 700; }
.author-box__text { margin-top: 0.25rem; font-size: var(--fs-sm); color: var(--ink-2); }

/* 20 ── ლაივის გვერდი ───────────────────────────────────────────────────── */
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #14110F;
  box-shadow: var(--sh-lg);
  color: #fff;
}
.player iframe,
.player video,
.player > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.player__badge { position: absolute; left: 1rem; top: 1rem; z-index: 2; }
.player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border-radius: 50%;
  background: var(--live);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(217, 45, 32, 0.25), var(--sh-lg);
  transition: transform 0.25s var(--ease);
}
.player__play:hover { transform: scale(1.07); }
.player__play .icon { width: 1.75rem; height: 1.75rem; margin-left: 4px; }
.player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(20, 6, 9, 0.6), rgba(20, 6, 9, 0.15));
  pointer-events: none;
}
.player--embed::after { display: none; }
/* ეთერი არ მიმდინარეობს */
.player--off {
  display: grid;
  place-items: center;
  padding: var(--sp-5);
  text-align: center;
  background:
    var(--pattern-gold),
    linear-gradient(150deg, #3A322C 0%, #14110F 100%);
}
.player--off::after { display: none; }
.player__off { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); max-width: 30rem; }
.player__off-icon { width: 3rem; height: 3rem; color: var(--gold-400); opacity: 0.8; }
.player__off-title { font-family: var(--font-serif); font-size: var(--fs-xl); font-weight: 700; color: #fff; line-height: 1.35; }
.player__off-text { font-size: var(--fs-sm); color: #D9CFC7; }
@media (max-width: 39.99em) {
  .player--off { aspect-ratio: auto; min-height: 15rem; padding-block: var(--sp-6); }
}

.onair {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.onair__status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); color: var(--ink-3); }
.onair__title { font-size: var(--fs-2xl); }
.onair__text { color: var(--ink-2); max-width: 64ch; }
.onair__main { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
@media (min-width: 64em) {
  .onair { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: var(--sp-7); }
  .onair__side { flex: none; }
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--live);
}
.status-dot::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(217, 45, 32, 0.5);
  animation: dot-ring 1.8s ease-out infinite;
}
.status-dot--off { color: var(--ink-3); }
.status-dot--off::before { background: var(--ink-3); animation: none; }
@keyframes dot-ring {
  0% { box-shadow: 0 0 0 0 rgba(217, 45, 32, 0.5); }
  100% { box-shadow: 0 0 0 0.6rem rgba(217, 45, 32, 0); }
}

/* 21 ── ფორმები · alert-ები ─────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 40em) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-5); }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.5; }
.field__req { color: var(--danger); font-weight: 700; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.55; }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--danger);
  line-height: 1.55;
}
.field__error .icon { width: 1rem; height: 1rem; margin-top: 0.12rem; }

.input,
.select,
.textarea {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-base);
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: #766C63; opacity: 1; }
.input:hover,
.select:hover,
.textarea:hover { border-color: var(--ink-3); }
.input:focus,
.select:focus,
.textarea:focus { outline: none; border-color: var(--wine-700); box-shadow: var(--ring); }
.input[disabled],
.select[disabled],
.textarea[disabled] { background: var(--ivory-2); color: var(--ink-3); cursor: not-allowed; }
.textarea { min-height: 9rem; resize: vertical; }
.select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237A1F2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: var(--danger); background-color: #FFFAF9; }
.field.is-invalid .input:focus,
.field.is-invalid .select:focus,
.field.is-invalid .textarea:focus { box-shadow: 0 0 0 3px rgba(161, 42, 42, 0.18); }
.field.is-valid .input { border-color: var(--success); }

/* ველი ღილაკით (პაროლის ჩვენება) */
.input-group { position: relative; display: flex; min-width: 0; }
.input-group .input { padding-right: 3.25rem; }
.input-group__btn {
  position: absolute;
  right: 0.125rem;
  top: 0.125rem;
  bottom: 0.125rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  border-radius: var(--r-sm);
  color: var(--ink-3);
}
.input-group__btn:hover { color: var(--wine-700); background: var(--wine-50); }
.input-group__btn .icon-eye-off { display: none; }
.input-group__btn[aria-pressed="true"] .icon-eye { display: none; }
.input-group__btn[aria-pressed="true"] .icon-eye-off { display: block; }

/* checkbox / radio */
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  cursor: pointer;
}
.check__input {
  flex: none;
  display: grid;
  place-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.05rem 0 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.check__input::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  background: #fff;
  clip-path: polygon(14% 52%, 0 66%, 40% 100%, 100% 22%, 86% 10%, 39% 70%);
  transform: scale(0);
  transition: transform 0.15s var(--ease);
}
.check__input:checked { background: var(--wine-700); border-color: var(--wine-700); }
.check__input:checked::before { transform: scale(1); }
.check__input[type="radio"] { border-radius: 50%; }
.check__input[type="radio"]::before { clip-path: circle(50%); width: 0.6rem; height: 0.6rem; }
.check__input:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; }
.check__label { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); min-width: 0; }
.check.is-invalid .check__input { border-color: var(--danger); }
.check-row { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }

/* ფორმის ჯგუფი (დანომრილი) */
.form-section {
  padding: 1.25rem 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.form-section__head {
  float: left;                 /* legend რომ ჩარჩოს ხაზს არ გადაეფაროს */
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.form-section__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--wine-700);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1;
}
.form-section__head + * { clear: both; }
.form-section__titles { display: flex; flex-direction: column; min-width: 0; }
.form-section__title { font-family: var(--font-serif); font-size: var(--fs-lg); font-weight: 700; line-height: 1.4; color: var(--ink); }
.form-section__text { font-size: var(--fs-sm); color: var(--ink-3); }
@media (min-width: 48em) {
  .form-section { padding: 1.75rem 2rem 2rem; }
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.form-actions__note { display: flex; align-items: flex-start; gap: 0.5rem; flex: 1 1 16rem; font-size: var(--fs-sm); color: var(--ink-3); }
.form-actions__note .icon { margin-top: 0.2rem; color: var(--gold-700); }
@media (min-width: 40em) {
  .form-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .form-actions--end { justify-content: flex-end; }
  .form-actions--between { justify-content: space-between; }
}

/* შეტყობინებები */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-left-width: 4px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.alert .icon { margin-top: 0.15rem; }
.alert__body { flex: 1; min-width: 0; }
.alert__title { font-weight: 700; }
.alert__list { margin-top: 0.3rem; padding-left: 1.1rem; list-style: disc; }
.alert__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.5rem -0.6rem -0.5rem 0;
  border-radius: var(--r-sm);
  color: inherit;
  opacity: 0.7;
}
.alert__close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.alert--success { background: var(--success-bg); border-color: #B5D3C1; border-left-color: var(--success); color: #1F4A33; }
.alert--error   { background: var(--danger-bg);  border-color: #EBC1BC; border-left-color: var(--danger);  color: #7A1F1F; }
.alert--warning { background: var(--warning-bg); border-color: #EBD49B; border-left-color: #B67A00; color: #614000; }
.alert--info    { background: var(--info-bg);    border-color: #BCD3E8; border-left-color: var(--info);    color: #1F4467; }
.alert a { color: inherit; font-weight: 600; }

/* შესვლა / რეგისტრაცია */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.auth__aside {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: 3rem;
  background:
    var(--pattern-gold),
    linear-gradient(160deg, var(--wine-700), var(--wine-950));
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.auth__aside-title { color: #fff; font-size: var(--fs-2xl); }
.auth__aside-text { color: #EEDFD9; }
.auth__ornament { position: absolute; right: -7rem; bottom: -7rem; z-index: -1; width: 22rem; height: 22rem; color: var(--gold-400); opacity: 0.18; }
.auth__main { display: flex; flex-direction: column; gap: var(--sp-5); min-width: 0; padding: 1.75rem 1.25rem 2rem; }
.auth__head { display: flex; flex-direction: column; gap: var(--sp-2); }
.auth__switch { font-size: var(--fs-sm); color: var(--ink-3); text-align: center; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--sp-4); }
@media (min-width: 48em) {
  .auth__main { padding: 3rem; }
}
@media (min-width: 64em) {
  .auth { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .auth__aside { display: flex; }
}

/* 22 ── პროფილი · tabs · რედაქტორი · ატვირთვა ───────────────────────────── */
.profile-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-xs);
}
.profile-head__main { display: flex; align-items: center; gap: var(--sp-4); min-width: 0; }
.profile-head__body { min-width: 0; }
.profile-head__name { font-size: var(--fs-xl); }
.profile-head__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: var(--fs-sm); color: var(--ink-3); }
@media (min-width: 48em) {
  .profile-head { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; }
}

.tabs__list {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line-strong);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tabs__list::-webkit-scrollbar { display: none; }
/* მობილურზე ტაბები ჰორიზონტალურად იფურცლება — მარჯვენა კიდე ქრება მინიშნებად */
@media (max-width: 39.99em) {
  .tabs__list {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    padding-right: 2rem;
  }
}
.tabs__tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  text-decoration: none;
}
.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--wine-700);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"],
.tabs__tab.is-active { color: var(--wine-700); }
.tabs__tab[aria-selected="true"]::after,
.tabs__tab.is-active::after { transform: scaleX(1); }
.tabs__tab:focus-visible { outline-offset: -3px; }
.tabs__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: var(--r-pill);
  background: var(--ivory-3);
  font-size: 0.75rem;
  color: var(--ink-2);
}
.tabs__panel:focus-visible { outline-offset: 6px; }
.tabs__panel > * + * { margin-top: var(--sp-4); }
/* JS-ის გარეშე ყველა პანელი ჩანს, ერთმანეთის ქვეშ */
html:not(.js) .tabs__panel + .tabs__panel { margin-top: var(--sp-7); }

.panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.panel__title { font-size: var(--fs-xl); }
@media (min-width: 48em) { .panel { padding: 2rem; } }

/* ჩემი ჩანაწერები */
.entries { display: grid; gap: var(--sp-3); }
.entry {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--sp-3) var(--sp-4);
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.entry__thumb { width: 4.5rem; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.entry__thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry__thumb .ph__orn { width: 60%; }
.entry__main { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.entry__title { font-family: var(--font-serif); font-size: var(--fs-md); font-weight: 700; line-height: 1.4; color: var(--ink); }
.entry__title a { color: inherit; text-decoration: none; }
.entry__title a:hover { color: var(--wine-700); }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; font-size: var(--fs-xs); color: var(--ink-3); }
.entry__note {
  margin-top: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-sm);
  background: var(--danger-bg);
  font-size: var(--fs-sm);
  color: #7A1F1F;
}
.entry__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
@media (min-width: 48em) {
  .entry { grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; padding: 1.1rem 1.25rem; }
  .entry__thumb { width: 5.5rem; }
  .entry__actions { grid-column: auto; padding: 0; border: 0; flex-wrap: nowrap; }
}

/* WYSIWYG */
.editor {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.editor:focus-within { border-color: var(--wine-700); box-shadow: var(--ring); }
.editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.editor__btn {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background-color 0.15s, color 0.15s;
}
.editor__btn:hover { background: var(--wine-100); color: var(--wine-900); }
.editor__btn[aria-pressed="true"] { background: var(--wine-700); color: #fff; }
.editor__btn--serif { font-family: var(--font-serif); font-size: var(--fs-base); }
.editor__sep { width: 1px; height: 1.5rem; margin-inline: 0.25rem; background: var(--line-strong); }
.editor__area {
  min-height: 20rem;
  max-width: none;
  padding: 1.1rem 1.1rem 1.5rem;
  outline: none;
}
.editor__area:empty::before { content: attr(data-placeholder); color: #766C63; }
.editor__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 0.5rem 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
@media (min-width: 48em) {
  .editor__area { padding: 1.5rem 1.75rem 2rem; }
}

/* ფაილის ატვირთვა */
.upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 10rem;
  padding: 1.5rem 1rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--ivory);
  color: var(--ink-2);
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s;
}
.upload:hover,
.upload.is-dragover { border-color: var(--wine-700); background: var(--wine-50); }
.upload:focus-within { border-color: var(--wine-700); box-shadow: var(--ring); }
.upload__icon { color: var(--wine-700); }
.upload__title { font-weight: 600; color: var(--ink); }
.upload__title span { color: var(--wine-700); text-decoration: underline; }
.upload__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload__previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); margin-top: var(--sp-3); }
.upload__previews:empty { display: none; }
.upload__thumb { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--ivory-2); }
.upload__thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload__thumb figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.2rem 0.4rem;
  background: rgba(20, 6, 9, 0.7);
  color: #fff;
  font-size: 0.6875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload__previews--cover { grid-template-columns: minmax(0, 1fr); }
.upload__previews--cover .upload__thumb { aspect-ratio: 16 / 9; }
@media (min-width: 48em) { .upload__previews { grid-template-columns: repeat(5, minmax(0, 1fr)); } .upload__previews--cover { grid-template-columns: minmax(0, 24rem); } }

/* 23 ── ბეიჯები · pagination · empty · chips ────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--neutral-bg);
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.badge::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.badge--plain::before { display: none; }
.badge--draft     { background: var(--neutral-bg); color: #5A5048; }
.badge--pending   { background: var(--warning-bg); color: #6E4800; }
.badge--published { background: var(--success-bg); color: #245A3D; }
.badge--rejected  { background: var(--danger-bg);  color: #8C2323; }
.badge--info      { background: var(--info-bg);    color: #234E77; }
.badge--live      { background: var(--live); color: #fff; }
.badge--live::before { animation: live-pulse 1.6s ease-in-out infinite; }
.badge--gold      { background: var(--gold-100); color: var(--gold-800); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: var(--sp-7);
}
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.pagination__link:hover { border-color: var(--wine-700); color: var(--wine-700); }
.pagination__link.is-current { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }
.pagination__link.is-disabled { opacity: 0.45; pointer-events: none; }
.pagination__gap { min-width: 1.5rem; text-align: center; color: var(--ink-3); }
.pagination__label { display: none; }
@media (min-width: 40em) {
  .pagination__label { display: inline; }
  .pagination__link--prev,
  .pagination__link--next { padding-inline: 1rem; }
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: 3rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--paper);
  text-align: center;
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: var(--sp-2);
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
}
.empty__icon svg { width: 3rem; height: 3rem; }
.empty__title { font-size: var(--fs-xl); }
.empty__text { max-width: 44ch; color: var(--ink-2); }
.empty__action { margin-top: var(--sp-2); }
@media (min-width: 48em) { .empty { padding: 4.5rem 2rem; } }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.3rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--wine-700); color: var(--wine-700); }
.chip.is-active { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }

.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* 24 ── v1.1 დამატებები: ადამიანი ფოტოთი · თავმჯდომარის სიტყვა · პროექტები · ავტორი · ჩატი ── */

/* ადამიანი — პორტრეტის ვარიანტი (ფოტო ადმინიდან; ფოტოს გარეშე — .ph + ინიციალი)
   მრგვალი ვარიანტი: ჩვეულებრივი .person + <span class="avatar avatar--lg"><img></span> */
.people--portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) { .people--portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .people--portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); } }
.person--portrait {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.person__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-2);
}
.person__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person--portrait .person__body { padding: 0.8rem 0.85rem 0.95rem; }
.person--portrait .person__name { font-size: 1rem; }
.person--portrait.person--lead { background: var(--paper); box-shadow: 0 0 0 1px var(--gold-600); }
@media (min-width: 48em) {
  .person--portrait .person__body { padding: 1rem 1.15rem 1.15rem; }
  .person--portrait .person__name { font-size: var(--fs-md); }
}

/* თავმჯდომარის მიმართვა / სიტყვა: პორტრეტი + ტექსტი გვერდიგვერდ (მობილურზე — ერთმანეთის ქვეშ) */
.chair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}
.chair > * { min-width: 0; }
.chair__figure { margin: 0; max-width: 20rem; }
.chair__media {
  position: relative;
  margin: 0 0.75rem 0.75rem 0;
}
.chair__media::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1.5px solid var(--gold-600);
  border-radius: var(--r-lg);
}
.chair__media img,
.chair__media .ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.chair__caption { margin-top: 1.5rem; line-height: 1.4; }
.chair__name { display: block; font-family: var(--font-serif); font-size: var(--fs-lg); font-weight: 700; color: var(--ink); }
.chair__role { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--gold-700); }
.chair__body { display: flex; flex-direction: column; gap: var(--sp-4); }
.chair__quote {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.chair__mark { width: 2.5rem; height: 2.5rem; color: var(--gold-600); }
.chair__sign { display: flex; flex-direction: column; padding-left: var(--sp-4); border-left: 3px solid var(--gold-600); line-height: 1.45; }
@media (min-width: 48em) {
  .chair { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: var(--sp-7); }
  .chair--center { align-items: center; }
}
@media (min-width: 64em) {
  .chair { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: var(--sp-8); }
  .chair--compact { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); }
}
@media (max-width: 47.99em) {
  .chair__figure { max-width: 15rem; }
}

/* პროექტის ბარათი */
.card--project .card__media { aspect-ratio: 16 / 10; }
.card__media--logo {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.card__media--logo img,
.card:hover .card__media--logo img { width: auto; height: auto; max-width: 70%; max-height: 70%; object-fit: contain; transform: none; }
.card__badge { position: absolute; left: 0.85rem; top: 0.85rem; z-index: 2; }
.card__domain {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card--project .card__foot { flex-wrap: wrap; gap: 0.25rem var(--sp-3); border-top: 1px solid var(--line); padding-top: var(--sp-3); margin-top: auto; }
.card--project .card__domain { flex: none; max-width: 100%; }
.card--project .card__more { white-space: nowrap; }
.card--project .card__excerpt { -webkit-line-clamp: 4; line-clamp: 4; }

/* ავტორის ბლოკი (projects.php-ის თავში) */
.author-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.author-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--gold-600), var(--wine-700));
}
.author-card__photo {
  width: 7.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--gold-600);
  margin: 0.4rem;
}
.author-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.author-card__photo .ph__initial { font-size: 3rem; }
.author-card__body { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.author-card__name { font-size: var(--fs-2xl); }
.author-card__role { font-size: var(--fs-sm); font-weight: 600; color: var(--gold-700); }
.author-card__text { color: var(--ink-2); max-width: 62ch; }
@media (min-width: 48em) {
  .author-card { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--sp-7); padding: 2.25rem 2.5rem; }
  .author-card__photo { width: 10rem; }
}

/* footer — საიტის ავტორის ხაზი */
.site-footer__credit {
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: #BDAAA5;
  text-align: center;
}
.site-footer .site-footer__credit a { color: var(--gold-300); }
.site-footer .site-footer__credit a:hover { color: #fff; text-decoration: underline; }
.site-footer__credit + .site-footer__bottom { border-top: 0; padding-top: 0; }

/* ჩატი (chat.php — მხოლოდ შესული წევრებისთვის) */
.chat-page > .container { padding-inline: 0; }
@media (min-width: 64em) {
  .chat-page { padding-block: 2rem 3rem; }
  .chat-page > .container { padding-inline: var(--gutter); }
}
.chat {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-h));
  min-height: 22rem;
  background: var(--paper);
}
@supports (height: 1dvh) {
  .chat { height: calc(100dvh - var(--header-h)); }
}
.chat__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0.7rem var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.chat__title { font-size: var(--fs-lg); line-height: 1.3; }
.chat__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.75rem; font-size: var(--fs-xs); color: var(--ink-3); }
.chat__online { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--success); }
.chat__note { display: none; }
.chat__head .btn { display: none; }
@media (min-width: 40em) {
  .chat__note { display: inline; }
  .chat__head .btn { display: inline-flex; }
}
.chat__online::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--success); }
.chat__body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat__list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem var(--gutter) 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    var(--pattern-wine),
    var(--ivory);
}
.chat__list:focus-visible { outline-offset: -3px; }
.chat__day {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-block: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.chat__day::before,
.chat__day::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.chat__msg {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  max-width: min(100%, 40rem);
  min-width: 0;
}
.chat__bubble {
  position: relative;
  min-width: 0;
  padding: 0.6rem 0.85rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 1rem 1rem 1rem 0.3rem;
  background: var(--paper);
  box-shadow: var(--sh-xs);
}
.chat__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.6rem; line-height: 1.4; }
.chat__name { font-size: var(--fs-sm); font-weight: 700; color: var(--wine-700); }
.chat__badge { font-size: 0.6875rem; font-weight: 700; color: var(--gold-800); background: var(--gold-100); padding: 0 0.4rem; border-radius: var(--r-pill); }
.chat__time { font-size: 0.75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chat__text { margin-top: 0.15rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
/* საკუთარი შეტყობინება — მარჯვნივ, ღვინისფერ ფონზე */
.chat__msg--own { align-self: flex-end; flex-direction: row-reverse; max-width: min(88%, 34rem); }
.chat__msg--own .chat__bubble {
  border-color: var(--wine-700);
  border-radius: 1rem 1rem 0.3rem 1rem;
  background: var(--wine-700);
}
.chat__msg--own .chat__text { color: #fff; }
.chat__msg--own .chat__time { color: #EBD5D3; }
.chat__msg--own .chat__meta { justify-content: flex-end; }
/* ადმინის „წაშლა“ */
.chat__delete {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 -0.4rem -0.3rem;
  border-radius: 50%;
  color: var(--ink-3);
  transition: background-color 0.15s, color 0.15s;
}
.chat__delete:hover { background: var(--danger-bg); color: var(--danger); }
.chat__msg.is-deleted .chat__bubble { background: transparent; border-style: dashed; box-shadow: none; }
.chat__msg.is-deleted .chat__text { color: var(--ink-3); font-size: var(--fs-sm); }
/* „ახალი შეტყობინებები ↓“ */
.chat__new {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.3rem 1rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--sh-md);
  transform: translateX(-50%);
}
.chat__new:hover { background: var(--wine-700); }
.chat__empty {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  max-width: 24rem;
  padding: var(--sp-5);
  text-align: center;
  color: var(--ink-2);
}
.chat__empty-icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); }
.chat__empty-icon svg { width: 2.5rem; height: 2.5rem; }
.chat__empty-title { font-family: var(--font-serif); font-size: var(--fs-lg); font-weight: 700; color: var(--ink); }
/* შეყვანის ველი — ყოველთვის ჩატის ბოლოში (მობილურზე — ეკრანის ბოლოში) */
.chat__form {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter);
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.chat__input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  max-height: 9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: var(--ivory);
  color: var(--ink);
  font-size: var(--fs-base);
  line-height: 1.5;
  resize: none;
}
.chat__input::placeholder { color: #766C63; opacity: 1; }
.chat__input:focus { outline: none; border-color: var(--wine-700); box-shadow: var(--ring); background: var(--paper); }
.chat__send { flex: none; min-height: 3rem; border-radius: var(--r-pill); }
.chat__send-label { display: none; }
.chat__hint { display: none; }
@media (min-width: 40em) {
  .chat__send-label { display: inline; }
}
@media (max-width: 63.99em) {
  /* მობილურზე ჩატი მთელ ეკრანს იკავებს — footer-ი ამ გვერდზე არ ჩანს */
  .page-chat .site-footer { display: none; }
  .page-chat main { display: flex; flex-direction: column; }
  .chat--page { flex: 1; }
}
@media (min-width: 64em) {
  .chat {
    height: clamp(26rem, calc(100vh - 14rem), 46rem);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
    overflow: hidden;
  }
  .chat__head { padding: 1rem 1.5rem; }
  .chat__list { padding: 1.5rem; }
  .chat__form { padding: 0.9rem 1.5rem; }
  .chat__msg { max-width: 34rem; }
  .chat__hint { display: block; flex: none; align-self: center; font-size: var(--fs-xs); color: var(--ink-3); }
}

/* placeholder (სურათის არარსებობისას): გრადიენტი + ორნამენტი */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    var(--pattern-gold),
    radial-gradient(90% 90% at 80% 10%, #9A3140 0%, rgba(154, 49, 64, 0) 62%),
    linear-gradient(150deg, var(--wine-700) 0%, var(--wine-950) 100%);
  color: var(--gold-300);
}
.ph--gold {
  background:
    var(--pattern-wine),
    radial-gradient(90% 90% at 20% 0%, #FBF3DF 0%, rgba(251, 243, 223, 0) 60%),
    linear-gradient(150deg, var(--gold-100) 0%, #E8D3A6 100%);
  color: var(--wine-700);
}
.ph--ivory {
  background:
    var(--pattern-wine),
    linear-gradient(150deg, var(--ivory-2) 0%, var(--ivory-3) 100%);
  color: var(--gold-700);
}
.ph--ink {
  background:
    var(--pattern-gold),
    linear-gradient(150deg, #3A322C 0%, #14110F 100%);
  color: var(--gold-300);
}
.ph__orn { width: 38%; max-width: 9rem; height: auto; aspect-ratio: 1; opacity: 0.55; }
/* წარწერა placeholder-ზე (მაგ. პროექტის სახელი, როცა სურათი არ არის) */
.ph__label {
  padding: 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.ph__initial {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  line-height: 1;
  opacity: 0.9;
}

/* 25 ── toast · reveal · reduced-motion · print ─────────────────────────── */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  width: min(26rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: var(--sh-lg);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: none; }
.toast::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #6FCF97;
}
.toast--error::before { background: #F28B82; }

/* scroll-reveal — მხოლოდ JS-ით; მის გარეშე კონტენტი ყოველთვის ჩანს */
html.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal--2 { transition-delay: 0.08s; }
html.js .reveal--3 { transition-delay: 0.16s; }
html.js .reveal--4 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
    transition-delay: 0s;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__ornament { animation: none; }
  .hero__slide.is-active .hero__img { animation: none; }
  .hero.is-playing .hero__dot.is-active::after { animation: none; transform: scaleX(1); }
}

@media print {
  .site-header,
  .site-footer,
  .hero__controls,
  .live-banner,
  .toast-region,
  .share,
  .cta { display: none; }
  body { background: #fff; }
  html.js .reveal { opacity: 1; transform: none; }
}
