/* Multilingual photo edition: opacity-only fades, with reduced-motion support. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #536c48; outline-offset: 5px; }
button:disabled { cursor: default; }
.header { min-height: 128px; }
.language-controls { display: flex; gap: 5px; align-items: center; }
.language-controls button { background: transparent; border: 0; border-radius: 3px; padding: 12px 14px; min-height: 44px; font-size: 10px; letter-spacing: .06em; }
.language-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.language-controls .auto-button { font-size: 9px; }
.language-controls .auto-button[aria-pressed="true"] { color: var(--ink); background: #dfe5d7; }
.control-divider { height: 13px; width: 1px; background: var(--rule); margin: 0 7px; }
.main { grid-template-columns: .88fr 1.12fr; gap: clamp(30px, 5vw, 90px); padding: clamp(42px, 6vh, 85px) 0; }
.intro { padding: 0; min-width: 0; }
.eyebrow { margin-bottom: 24px; }
.headline-space { min-height: 290px; display: flex; align-items: center; }
h1 { font-size: clamp(90px, 8.5vw, 148px); line-height: .91; letter-spacing: -.065em; width: 100%; }
h1 > span, h1 > em { display: block; }
h1 > em { margin-top: 9px; }
:lang(ru) h1 { font-size: clamp(80px, 8.3vw, 134px); }
:lang(ka) h1 { font-family: 'Sylfaen', 'Noto Serif Georgian', Georgia, serif; font-size: clamp(75px, 7.7vw, 123px); letter-spacing: -.045em; }
.description { margin-top: 25px; min-height: 58px; font-size: 14px; }
.intro-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 57px; max-width: 355px; }
.signature { margin: 0; font-size: 15px; }
.language-counter { display: flex; align-items: center; gap: 12px; font-size: 9px; font-variant-numeric: tabular-nums; color: var(--muted); }
.counter-line { width: 39px; height: 1px; background: var(--rule); }
.drawing-frame { aspect-ratio: 1.12; max-height: 650px; background: #dfe4d7; border: 0; isolation: isolate; }
.drawing-frame::before { content: none; }
.drawing-frame::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, #0003, transparent 28%, transparent 65%, #0009); }
.stage-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(#89947c20 1px, transparent 1px),linear-gradient(90deg,#89947c20 1px,transparent 1px); background-size: 46px 46px; }
.stage-coordinate { position: absolute; z-index: 4; font-size: 9px; letter-spacing: .14em; color: #fff; }
.coordinate-top { left: 26px; top: 25px; }
.coordinate-side { right: 20px; top: 73px; writing-mode: vertical-rl; }
.scene { position: absolute; inset: 0; overflow: hidden; background: #faf9f5; opacity: 0; transition: opacity .4s ease-in-out; }
.scene.is-active { opacity: 1; }
.scene-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; animation: none; transform: none; }
.scene--site .scene-image { object-position: 44% 50%; }
.scene--compact .scene-image { object-position: 50% 62%; }
.stage-cross { position: absolute; width: 13px; height: 13px; z-index: 4; }
.stage-cross::before, .stage-cross::after { position: absolute; content: ''; background: #69765d; }
.stage-cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.stage-cross::after { left: 0; top: 6px; height: 1px; width: 13px; }
.cross-a { left: 23px; top: 52px; }
.cross-b { right: 24px; bottom: 72px; }
.stage-bottom { position: absolute; z-index: 5; left: 25px; right: 20px; bottom: 19px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-label { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #fff; }
#project-number { font-family: Georgia, serif; font-size: 29px; color: #fff; }
#project-label { max-width: 220px; line-height: 1.5; }
.motion-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; background: #f3f1ebed; border: 1px solid #66745a30; border-radius: 30px; padding: 0 13px; min-height: 40px; font-size: 9px; white-space: nowrap; color: var(--ink); }
.motion-toggle:hover:not(:disabled) { background: var(--paper); }
.motion-icon { font-size: 12px; }
figcaption { align-items: center; margin-top: 12px; min-height: 44px; font-size: 10px; }
.slide-controls { display: flex; gap: 5px; flex: 0 0 auto; }
.slide-controls button { background: none; border: 0; width: 33px; height: 44px; display: grid; place-items: center; padding: 0; }
.slide-controls button span { width: 25px; height: 2px; background: #c8cebf; transition: background .3s; }
.slide-controls button[aria-pressed="true"] span { background: var(--ink); }
.is-paused .scene-image { animation-play-state: paused; }
.is-paused .scene { transition: none; }
.reduced-motion .scene-image { animation: none; transform: none; }
.reduced-motion .scene { transition: none; }
@media (min-width: 1700px) { .drawing-frame { aspect-ratio: 1.12; } }
@media (max-width: 1100px) and (min-width: 801px) {
  .main { gap: 30px; }
  .headline-space { min-height: 235px; }
  h1 { font-size: 98px; }
  :lang(ru) h1 { font-size: 85px; }
  :lang(ka) h1 { font-size: 78px; }
  .stage-bottom { left: 16px; right: 12px; }
  .project-label { gap: 8px; }
}
@media (max-width: 800px) {
  .header { min-height: 101px; gap: 12px; }
  .brand { gap: 7px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 22px; }
  .brand-name span { font-size: 7px; letter-spacing: .17em; margin-top: 7px; }
  .language-controls { gap: 1px; }
  .language-controls button { font-size: 9px; padding: 9px 8px; }
  .language-controls button[data-language="ka"] { letter-spacing: 0; font-size: 10px; }
  .control-divider { margin: 0 3px; }
  .language-controls .auto-button { font-size: 8px; padding: 9px 6px; }
  .main { grid-template-columns: 1fr; padding-top: 37px; gap: 30px; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .headline-space { min-height: 208px; }
  h1 { font-size: clamp(94px, 17vw, 125px); }
  :lang(ru) h1 { font-size: clamp(85px, 16vw, 119px); }
  :lang(ka) h1 { font-size: clamp(76px, 15vw, 108px); }
  .description { margin-top: 21px; min-height: 78px; font-size: 13px; }
  .intro-bottom { margin-top: 25px; max-width: none; }
  .signature { font-size: 13px; }
  .drawing-frame { aspect-ratio: 1.08; max-height: 550px; }
  .coordinate-top { font-size: 7px; left: 18px; top: 18px; }
  .coordinate-side { font-size: 7px; right: 13px; top: 50px; }
  .cross-a { left: 15px; top: 37px; }
  .cross-b { right: 16px; bottom: 65px; }
  .stage-bottom { left: 17px; right: 13px; bottom: 12px; }
  #project-number { font-size: 23px; }
  #project-label { max-width: 140px; font-size: 9px; }
  .project-label { gap: 7px; }
  .motion-toggle { padding: 0 10px; font-size: 8px; min-height: 36px; }
  figcaption { font-size: 9px; }
  .footer { font-size: 8px; }
}
@media (max-width: 380px) {
  .page { padding: 0 17px; }
  .header { flex-wrap: wrap; padding: 19px 0 12px; gap: 12px; }
  .language-controls { width: 100%; justify-content: space-between; }
  .language-controls button { padding: 8px 13px; }
  .control-divider { display: none; }
  h1 { font-size: 91px; }
  :lang(ru) h1 { font-size: 82px; }
  :lang(ka) h1 { font-size: 75px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-image { animation: none; transform: none; }
  .scene, .slide-controls button span { transition: none; }
}
