/* Lela Vashakidze — rebuilt from the Squarespace site.
   Desktop sizes are in vw, measured from the live site at 1440px wide (1vw = 14.4px). */
:root {
  --cream: #FFFCF9;
  --green: #194027;
  --yellow: #EFF483;
  --orange: #ED6B2D;
  --black: #000;
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: 5.972vw;        /* 86px side margin */
  --gap: 11px;
  --row: 1.896vw;        /* 27.3px grid row */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--green); font-family: var(--sans); font-size: 1.286vw; line-height: 1.27; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; font-weight: inherit; }
button { font: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--cream); padding: 8px 12px; }

/* ---------- type ---------- */
.disp { font-family: var(--serif); font-weight: 500; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.lela { font-size: 12vw; color: var(--black); }
.vash { font-size: 6.3vw; color: var(--black); }
.big { color: var(--green); }
.about-h { font-size: 15.6vw; }
.gal-h { font-size: 17.4vw; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 2.85vw; line-height: 1.13; letter-spacing: -0.03em; color: var(--green); }
h2.quote { font-style: italic; color: var(--black); }
.lg { font-size: 1.624vw; line-height: 1.27; }
.sm { font-size: 1.063vw; }
.label { font-family: var(--mono); font-size: 0.8vw; letter-spacing: 0.02em; text-transform: uppercase; }
.col-text p { font-size: 1.063vw; line-height: 1.32; }
.b p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { height: 6.735vw; min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); position: relative; z-index: 20; }
.logo { font-family: var(--serif); font-weight: 500; font-size: 1.344vw; letter-spacing: -0.03em; color: var(--black); text-decoration: none; }
.nav { display: flex; gap: 1.3em; font-size: 1.286vw; }
.nav a { text-decoration: none; text-transform: uppercase; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: currentColor; }
.hdr-btn { justify-self: end; font-size: 1.286vw; border-width: 2px; padding: 0.52em 1.04em; }
.burger, .mobile-menu { display: none; }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--black); border-radius: 300px; color: var(--black); background: transparent; text-decoration: none; text-transform: uppercase; font-weight: 500; letter-spacing: 0.01em; transition: background .2s, color .2s; }
.pill:hover { background: var(--black); color: var(--cream); }
.pill.light { border-color: var(--cream); color: var(--cream); }
.pill.light:hover { background: var(--cream); color: var(--green); }
.btn-cell .pill { width: 100%; height: 100%; font-size: 0.943vw; }
.btn-md { width: 21.46vw; height: 4.55vw; font-size: 1.063vw; }

/* ---------- 24-column grid (matches Squarespace Fluid Engine) ---------- */
.grid { display: grid; grid-template-columns: calc(var(--pad) - var(--gap)) repeat(24, minmax(0, 1fr)) calc(var(--pad) - var(--gap)); grid-template-rows: repeat(var(--rows), var(--row)); gap: var(--gap); }
.b { grid-column: var(--gc); grid-row: var(--gr); min-width: 0; position: relative; }
.center { text-align: center; }
.vcenter { display: flex; align-items: center; justify-content: center; }
.hero .b:nth-child(1), .hero .b:nth-child(2) { display: flex; justify-content: center; align-items: center; }
.rule { display: flex; align-items: center; }
.rule::before { content: ""; width: 100%; height: 1px; background: var(--green); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.shaped .shape, .media.shaped img, .media > .shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.media .lb { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.media .lb:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.quote-sec { margin-top: var(--gap); }

/* ---------- marquee ---------- */
.marquee-sec { background: var(--yellow); padding: 3.4vw 0 6.3vw; display: flex; flex-direction: column; align-items: center; gap: 3.4vw; overflow: hidden; }
.marquee { display: flex; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.track { display: flex; flex-shrink: 0; animation: scroll 40s linear infinite; }
.track span { font-family: var(--serif); font-weight: 500; font-size: 11.378vw; line-height: 1.4; letter-spacing: -0.03em; white-space: nowrap; padding-right: 0.45em; }
@keyframes scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--cream); padding: 6.7vw var(--pad) 3vw; }
.rule-c { height: 1px; background: var(--cream); }
.ft-grid { display: flex; justify-content: space-between; gap: 40px; padding: 2.6vw 0 2.6vw; }
.ft-left { width: 40vw; display: flex; flex-direction: column; gap: 1.6vw; }
.news { display: flex; flex-wrap: wrap; gap: 1vw; align-items: center; margin-top: .8vw; }
.news input { width: 19.7vw; height: 4.58vw; padding: 0 2.2vw; border: 1px solid rgba(0,0,0,.12); background: #fff; color: #000; font: inherit; border-radius: 0; }
.news .pill { height: 4.58vw; padding: 0 2.2vw; font-size: 1.063vw; }
.news-msg { width: 100%; font-size: 1.063vw; min-height: 1.3em; }
.social { display: flex; gap: 10px; }
.social a { width: 22px; height: 22px; display: block; }
.social svg { width: 100%; height: 100%; }
.copy { padding-top: 2.6vw; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(255,252,249,.97); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 86vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--green); font-size: 44px; line-height: 1; padding: 12px 16px; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- mobile ---------- */
@media (max-width: 800px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .site-header { grid-template-columns: 1fr auto; height: 64px; }
  .logo { font-size: 20px; }
  .nav, .hdr-btn { display: none; }
  .burger { display: flex; flex-direction: column; gap: 7px; background: none; border: 0; padding: 8px; justify-self: end; }
  .burger span { width: 26px; height: 1.5px; background: var(--green); transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 64px 0 0; z-index: 19; background: var(--cream); flex-direction: column; align-items: center; justify-content: center; gap: 28px; font-size: 28px; }
  .mobile-menu:not([hidden]) { display: flex; }
  .mobile-menu a:not(.pill) { text-decoration: none; text-transform: uppercase; }
  .mobile-menu .pill { font-size: 16px; padding: 12px 24px; border-width: 2px; }

  .grid { display: flex; flex-direction: column; gap: 0; padding: 0 var(--pad); }
  .only-desk { display: none; }
  .b { margin-bottom: 18px; }
  .hero .media, .quote-sec .media.shaped { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }
  .hero { padding-bottom: 12px; }
  .hero .media { order: 3; }
  .hero .b:last-child { order: 4; margin-top: 8px; }
  .media { aspect-ratio: var(--ar); }
  .media.shaped, .hero .media { aspect-ratio: 4 / 5; }
  .rule { height: 1px; margin: 14px 0 18px; }
  .lela { font-size: 30vw; }
  .vash { font-size: 14vw; }
  .about-h { font-size: 19vw; }
  .gal-h { font-size: 22vw; }
  h2 { font-size: 26px; }
  .lg { font-size: 19px; }
  .sm, .col-text p { font-size: 14px; }
  .label { font-size: 12px; }
  .btn-cell { height: 54px; }
  .btn-cell .pill { font-size: 13px; }
  .quote-sec { padding-bottom: 24px; }
  .quote-sec h2.quote { padding-top: 24px; }
  .marquee-sec { padding: 40px 0 56px; gap: 28px; }
  .track span { font-size: 22vw; }
  .btn-md { width: 220px; height: 54px; font-size: 14px; }
  .site-footer { padding: 48px var(--pad) 28px; }
  .ft-grid { flex-direction: column-reverse; padding: 24px 0; }
  .ft-left { width: 100%; gap: 14px; }
  .news input { width: 100%; height: 56px; padding: 0 20px; }
  .news .pill { height: 52px; padding: 0 24px; font-size: 14px; }
  .news-msg, .copy { font-size: 14px; }
  .copy { padding-top: 20px; }
}
