.site-bar {
  position: relative; z-index: 20;
  color: #473527; border-bottom: 1px solid #cdb399;
  background: linear-gradient(105deg, #f8eddb 0%, #fffaf2 49%, #f7ebd9);
  font: 400 14px/1.45 Inter, 'Noto Sans Georgian', system-ui, sans-serif;
}
.site-bar [hidden] { display: none; }
.bar-inner {
  max-width: 1580px; margin: auto; padding: 14px clamp(18px, 4vw, 62px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px;
}
.counter-panel { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 5px 18px; }
.elapsed-days, .counter-context {
  font: 600 clamp(21px,1.7vw,28px)/1.23 'Cormorant Garamond','Noto Serif Georgian',Georgia,serif;
}
.elapsed-days {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  align-self: stretch; padding: 6px 17px 6px 2px; color: #7a4e2b; white-space: nowrap; font-variant-numeric: tabular-nums;
  border-right: 1px solid #ceb695;
}
.counter-context { margin: 0; color: #463224; }
.counter-times { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 16px; color: #675344; font-size: 13px; }
.counter-times p { margin: 0; }
.current-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbilisi-now { font-weight: 600; color: #543b29; }
.bar-write, .language-picker summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 14px;
  border-radius: 30px; font-weight: 550; line-height: 1.3; cursor: pointer;
}
.bar-write { color: #61432b; border: 1px solid #c6aa8c; background: #fff9ef; text-decoration: none; white-space: nowrap; }
.bar-write .mail-icon { font: 18px/1 Georgia, serif; }
.bar-write:hover, .language-picker summary:hover { color: #4b3220; background: #f6e6d1; }
.language-picker { position: relative; justify-self: end; }
.language-picker summary { border: 1px solid #c6aa8c; background: transparent; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after {
  content: ""; width: 6px; height: 6px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); margin: -3px 2px 0 3px;
}
.language-picker[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.language-picker nav {
  position: absolute; top: calc(100% + 5px); right: 0; min-width: 165px;
  padding: 5px; border: 1px solid #cdb89e; border-radius: 14px;
  background: #fffaf2; box-shadow: 0 7px 22px #48331b26;
}
.language-picker nav a {
  display: flex; justify-content: space-between; align-items: center; min-height: 44px;
  padding: 7px 12px; color: #483326; border-radius: 8px; text-decoration: none;
}
.language-picker a[aria-current="page"] { font-weight: 700; background: #f2e5d2; }
.language-picker a[aria-current="page"]::after { content: "✓"; }
.language-picker a:hover { background: #f6ead9; }
.language-picker :focus-visible, .embassy-card a:focus-visible {
  outline: 2px solid #815125; outline-offset: 2px;
}
.embassy-card {
  margin-top: 28px;
  text-align: center;
}
.embassy-card .contact-title { font-size: clamp(32px, 4vw, 50px); margin: 0; }
.contact-divider {
  display: flex; align-items: center; gap: 9px;
  width: min(12rem, 55%); margin: 16px auto 21px;
  font: 18px/1 Georgia, serif; color: #9b7252;
}
.contact-divider::before, .contact-divider::after {
  content: ""; height: 1px; background: #cbb496; flex: 1;
}
.embassy-card .contact-text { max-width: 34rem; margin: 0 auto; line-height: 1.65; }
.embassy-phones { display: flex; justify-content: center; margin: 22px auto; }
.embassy-phones a {
  display: inline-grid; justify-items: center; gap: 3px;
  max-width: 100%; padding: 12px clamp(14px, 3vw, 30px);
  border: 1px solid #bda084; border-radius: 14px;
  background: rgba(255, 250, 243, .8); color: #65462f; text-decoration: none;
}
.embassy-phones a:hover { background: #f4e8d8; border-color: #956e4f; }
.embassy-phones span { font-size: 14px; }
.embassy-phones strong { font: 600 clamp(22px, 4.5vw, 29px)/1.3 Georgia, serif; white-space: nowrap; }
.embassy-card address { font-style: normal; line-height: 1.8; color: #665348; }
.embassy-card address a, .embassy-sources a, .footer-map a {
  color: #795436; text-decoration: underline; text-decoration-color: #c1a58c; text-underline-offset: .23em;
}
.embassy-sources { margin-top: 14px; font-size: 14px; }
.footer-map { margin: 0 auto 24px; color: #604936; }
.footer-map span { display: block; margin-bottom: 4px; font-weight: 500; }
.footer-map div { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 18px; }
.footer-map a { display: inline-block; padding: 7px 1px; }
.footer-map a[aria-current="page"] { font-weight: 600; }
html:lang(ka) body { font-family: 'Noto Sans Georgian', system-ui, sans-serif; }
html:lang(ka) :is(.story-title, .contact-title, .quote-text) { font-family: 'Noto Serif Georgian', Georgia, serif; }
html:lang(ka) .section-label { letter-spacing: .06em; }
.ka-collage { max-width: 1100px; margin: 25px auto; text-align: center; }
.ka-collage img { display:block; width:100%; aspect-ratio: 1536/540; object-fit:cover; object-position:top; border-radius: 22px; }
.ka-collage figcaption { margin-top: 10px; font: 400 16px/1.7 'Noto Serif Georgian',Georgia,serif; }
@media (max-width: 800px) {
  .bar-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 5px 8px; padding: 10px 14px 12px; }
  .counter-panel { display: contents; }
  .elapsed-days { justify-self: start; align-self: center; grid-area: 1/1; border: 0; padding: 0; }
  .bar-write { grid-area: 1/2; }
  .language-picker { grid-area: 1/3; }
  .bar-write,.language-picker summary { padding: 7px 10px; min-height: 37px; }
  .counter-context { grid-area: 2/1/3/-1; }
  .counter-times { grid-area: 3/1/4/-1; }
  html:lang(ka) .hero-lettering h1, html:lang(ka) .hero-subtitle, html:lang(ka) .hero-motto {
    font-family: 'Noto Serif Georgian', Georgia, serif;
  }
  html:lang(ka) .hero-subtitle { font-size: clamp(20px, 4.7vw, 32px); line-height: 1.4; }
  .ka-collage { margin-inline: 16px; }
}
@media (max-width: 480px) {
  .embassy-card { overflow-wrap: anywhere; }
  .contact-section { padding-inline: 14px; }
  .contact-card { padding: 42px 20px; }
  .email-box { font-size: 17px; overflow-wrap: anywhere; }
}
@media (max-width: 800px) {
  html:lang(ka) :is(.story-title, .contact-title, .quote-text, .contact-text, .embassy-card, .hero-lettering) { overflow-wrap: anywhere; }
  html:lang(ka) .story-title, html:lang(ka) .contact-title, html:lang(ka) .quote-text {
    overflow-wrap: break-word;
    font-size: 30px;
    font-size: clamp(27px, 6.5vw, 40px);
    line-height: 1.4;
  }
}

.letter-section { scroll-margin-top: 16px; width: 100%; max-width: 820px; margin: 30px auto 0; }
.letter-frame { display: block; border: 0; width: 100%; height: 900px; }
.letter-direct { display: inline-block; padding: 7px 0; font-size: 14px; color: #6b492f; text-underline-offset: 3px; text-decoration: underline; }
@media(max-width:600px) { .letter-frame { height: 1230px; } }

@media(max-width:600px) {
  .counter-times { flex-direction: column; gap: 1px; }
}
@media(max-width:390px) {
  .bar-inner { gap: 4px 6px; }
  .bar-write,.language-picker summary { font-size: 13px; padding: 5px 8px; }

}

@media(max-width:500px) {
  .bar-write { position: relative; min-height: 40px; min-width: 40px; padding: 6px; }
  .bar-write-label { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
}

.painting-memory {
  max-width: 1090px; margin: clamp(30px,6vw,76px) auto;
  padding: 0 clamp(19px,4vw,42px); color: #48382c;
}
.painting-heading { text-align:center; margin:0 auto clamp(20px,3vw,34px); }
.painting-heading p {
  color:#71553f; font:500 14px/1.5 Inter,'Noto Sans Georgian',system-ui,sans-serif;
  margin:0 0 6px; letter-spacing:.035em;
}
.painting-heading h2 {
  font:500 clamp(36px,4.3vw,62px)/1.12 'Cormorant Garamond','Noto Serif Georgian',Georgia,serif;
  text-wrap:balance; overflow-wrap:break-word; margin:0; color:#443126;
}
.painting-layout { display:grid; grid-template-columns:minmax(0,0.82fr) minmax(0,1.18fr); align-items:center; gap:clamp(22px,4.4vw,64px); }
.painting-layout figure, .painting-account p { margin:0; }
.painting-original {
  display:block; padding:clamp(9px,1.2vw,17px); border:1px solid #cdb99c; background:#fffdf7;
  box-shadow:0 12px 32px rgba(87,64,38,.12);
}
.painting-original img { display:block; width:100%; height:auto; }
.painting-layout figcaption { margin:10px 1px 0; text-align:center; font-size:13px; line-height:1.55; color:#685443; }
.painting-layout figcaption a { color:#6d4b30; text-decoration:underline; text-underline-offset:.2em; }
.painting-account { font:400 clamp(16px,1.45vw,19px)/1.7 Inter,'Noto Sans Georgian',system-ui,sans-serif; }
.painting-account p + p { margin-top:1em; }
.painting-account blockquote {
  margin:20px 0; padding:3px 0 4px 17px; border-left:2px solid #bca17a;
  font:italic 500 clamp(24px,2.65vw,37px)/1.28 'Cormorant Garamond','Noto Serif Georgian',Georgia,serif; color:#65492f;
}
@media(max-width:760px) {
  .painting-layout { grid-template-columns:minmax(0,1fr); }
  .painting-layout figure { width:min(100%,360px); margin:auto; }
  .painting-account { max-width:38rem; margin:auto; }
  .painting-account blockquote { margin:16px 0; }
}
