/* Portfolio — look B "Bold studio".
   Sections: tokens · fonts · base · type · buttons · nav & menu · footer */

/* ---------- tokens ---------- */
:root {
  --bg: #0B0B0B;
  --bg-2: #151515;
  --fg: #F3F0EA;
  --muted: #8E8A84;
  --line: #242424;
  --acc: #D4FF3A;
  --acc-ink: #0B0B0B;
  --font: "Archivo", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

/* ---------- fonts (self-hosted, SIL Open Font License; see tools/fetch_fonts.sh) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Georgian";
  src: url("../assets/fonts/noto-sans-georgian.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62.5% 100%;
  font-display: swap;
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.menu-open { overflow: hidden; }

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-booting { opacity: 0; } /* hidden for the moment before the first render */

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
#app:focus { outline: none; }
::selection { background: var(--acc); color: var(--acc-ink); }

/* Unfinished content: ⟦TODO: …⟧ renders as a highlighted <mark>. */
.draft-note { grid-column: 1 / -1; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.todo {
  background: rgba(212, 255, 58, .14);
  color: inherit;
  outline: 1px dashed var(--acc);
  outline-offset: 1px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.img-missing {
  display: block;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #151515 0 10px, #1b1b1b 10px 20px);
}

.noscript { max-width: 40ch; margin: 120px auto; padding: 0 20px; color: var(--fg); }

/* Plain summary in index.html, seen only without JavaScript (the site replaces it as it loads) */
.static { max-width: 62ch; margin: 0 auto; padding: 96px 20px 0; }
.static h1 { font-size: 40px; line-height: 1.1; }
.static h2 { margin-top: 36px; font-size: 22px; }
.static p, .static ul { margin-top: 12px; }
.static ul { padding-left: 1.2em; list-style: disc; }
.static li + li { margin-top: 6px; }
.static a { text-decoration: underline; white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: -.005em;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
:lang(ka) .eyebrow { letter-spacing: .04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1.5px #3a3a3a;
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }

/* ---------- nav & menu ---------- */
.nav { position: sticky; top: 0; z-index: 50; }
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 11, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav.is-compact::before { opacity: 1; }

.nav__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad);
}

.nav__brand {
  font-size: 19px;
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__links { display: flex; gap: 30px; }
.nav__link { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__link:hover { color: var(--fg); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cv { padding: 8px 4px; font-size: 15px; font-weight: 600; }
.nav__cv:hover { color: var(--acc); }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid #333; border-radius: 999px; }
.lang {
  min-width: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.lang:hover { color: var(--fg); }
.lang[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.nav__toggle {
  display: none;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px #3a3a3a;
  font-size: 14px;
  font-weight: 700;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  overflow-y: auto;
  background: var(--bg);
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__link {
  font-size: clamp(44px, 14vw, 72px);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1.02;
  text-transform: uppercase;
}
.menu__cv { font-size: 18px; font-weight: 700; }
.menu__email { color: var(--acc); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.menu__lang { align-self: flex-start; }

@media (max-width: 1023px) {
  .nav__links, .nav__cv, .nav__lang, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--pad);
  color: var(--muted);
  font-size: 14px;
}
.footer__top:hover { color: var(--fg); }

/* ---------- shared section scaffolding ---------- */
.work, .services, .more, .about {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) var(--pad) 0;
}
.section-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head__num {
  flex: none;
  margin-top: .45em;
  padding: 3px 8px;
  border: 1px solid rgba(212, 255, 58, .45);
  border-radius: 999px;
  color: var(--acc);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
}
.section-head__title { font-size: clamp(46px, 7.4vw, 112px); }
:lang(ka) .section-head__title { font-size: clamp(34px, 5.8vw, 88px); line-height: .95; }
.acc { color: var(--acc); }
.is-outline { color: transparent; -webkit-text-stroke: max(1.5px, .011em) var(--fg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: var(--max);
  min-height: min(calc(100svh - var(--nav-h)), 920px);
  margin: 0 auto;
  padding: 6px var(--pad) 36px;
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  background: rgba(212, 255, 58, .1);
  color: var(--acc);
  font-size: 13px;
  font-weight: 700;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(212, 255, 58, .2); }
/* The headline and the image fan share the middle row; the fan sits at its bottom, a fixed gap above
   the line, however many lines the intro below it takes. */
.hero__title, .hero__fan { grid-area: 2 / 1; }
.hero__title {
  position: relative;
  z-index: 2;
  align-self: start;
  margin-top: clamp(16px, 2.4vw, 30px);
  font-size: clamp(54px, 13.4vw, 196px);
}
:lang(ka) .hero__title { font-size: clamp(40px, 10.6vw, 156px); line-height: .9; }
.hero__title .line { display: block; }
.hero__title .word { display: inline-block; }

.hero__fan {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: min(36vw, 480px);
  margin-bottom: 36px;
  aspect-ratio: 1.1;
}
.fan__img {
  position: absolute;
  width: 54%;
  border-radius: 8px;
  box-shadow: 0 34px 60px -18px rgba(0, 0, 0, .85);
}
.fan__img--1 { left: 0; top: 16%; transform: rotate(-10deg); }
.fan__img--2 { left: 23%; top: 0; z-index: 2; transform: rotate(2deg); }
.fan__img--3 { left: 46%; top: 22%; transform: rotate(10deg); }
.badge {
  position: absolute;
  z-index: 3;
  left: -18%;
  bottom: -2%;
  display: grid;
  place-items: center;
  width: clamp(96px, 9vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acc);
  color: var(--acc-ink);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge__ring text { fill: currentColor; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge__arrow { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; }

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__intro { max-width: 44ch; color: #CFCBC4; font-size: clamp(17px, 1.35vw, 19px); }
.hero__down { color: var(--acc); font-weight: 700; white-space: nowrap; }

@media (max-width: 1023px) {
  .hero__fan { width: min(40vw, 380px); }
}
@media (max-width: 699px) {
  .hero { min-height: 0; padding-bottom: 28px; }
  .hero__title, .hero__fan { grid-area: auto; }
  .hero__fan {
    width: min(100%, 420px);
    margin: 30px auto 18px;
    aspect-ratio: 1.5;
  }
  .fan__img { width: 46%; }
  .fan__img--2 { left: 27%; }
  .fan__img--3 { left: 54%; }
  .badge { left: auto; right: -4px; bottom: -12px; }
  .hero__foot { flex-direction: column; align-items: flex-start; margin-top: 18px; }
}

/* ---------- client marquee ---------- */
.marquee { overflow: hidden; padding: 20px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; }
.marquee__group, .marquee__set { display: flex; flex-shrink: 0; align-items: center; }
html:not(.motion-ok) .marquee__track { width: auto; }
html:not(.motion-ok) .marquee [aria-hidden="true"]:not(.marquee__star) { display: none; }
html:not(.motion-ok) .marquee__group,
html:not(.motion-ok) .marquee__set { flex-shrink: 1; flex-wrap: wrap; justify-content: center; row-gap: 4px; padding: 0 var(--pad); }
html:not(.motion-ok) .marquee__item { font-size: clamp(32px, 5.2vw, 72px); white-space: normal; text-align: center; }
.marquee__item {
  padding: 0 .08em;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item.is-outline { -webkit-text-stroke-color: #6d6d6d; }
.marquee__star { margin: 0 .55em; color: var(--acc); font-size: clamp(22px, 2.6vw, 38px); }

/* ---------- numbers ---------- */
.numbers { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--pad) 0; }
.numbers__inner { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 12px; padding: 8px 24px 32px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__value { font-size: clamp(54px, 7vw, 112px); font-weight: 800; font-stretch: 62%; line-height: .86; }
.stat:first-child .stat__value { color: var(--acc); }
.stat__label { max-width: 26ch; color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) {
  .numbers__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { padding-top: 24px; border-top: 1px solid var(--line); }
}

/* ---------- selected work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.work-card {
  position: relative;
  grid-column: span 2;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  isolation: isolate;
}
.work-card:nth-child(-n + 2) { grid-column: span 3; }
.work-card__media { aspect-ratio: 1 / 1; }
.work-card__media img, .work-card__media .img-missing { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__cap {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: clamp(56px, 6vw, 96px) clamp(18px, 2vw, 28px) clamp(18px, 2vw, 28px);
  background: linear-gradient(to top, rgba(8, 8, 8, .97), rgba(8, 8, 8, .86) 48%, rgba(8, 8, 8, 0));
}
.work-card__meta { display: flex; gap: 10px; color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.work-card__num::after { content: " /"; }
.work-card__title { font-size: clamp(30px, 3.1vw, 50px); font-weight: 800; font-stretch: 68%; line-height: .92; text-transform: uppercase; }
.work-card:nth-child(-n + 2) .work-card__title { font-size: clamp(34px, 4.2vw, 64px); }
.work-card__line { max-width: 46ch; color: #C9C4BC; font-size: 15px; line-height: 1.45; }
.tag--concept {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 1023px) {
  .work__grid { grid-template-columns: 1fr 1fr; }
  .work-card, .work-card:nth-child(-n + 2) { grid-column: span 1; }
  .work-card:last-child { grid-column: 1 / -1; }
  .work-card:last-child .work-card__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) {
  .work__grid { grid-template-columns: 1fr; }
  .work-card:last-child { grid-column: auto; }
  .work-card__media, .work-card:last-child .work-card__media { aspect-ratio: 1 / 1; }
}

/* ---------- services ---------- */
.services__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service { display: grid; align-content: start; gap: 12px; padding: 28px 24px 8px 0; }
.service + .service { padding-left: 24px; border-left: 1px solid var(--line); }
.service__num { color: var(--acc); font-size: 14px; font-weight: 700; }
.service__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; font-stretch: 72%; line-height: 1; text-transform: uppercase; }
.service__text { color: var(--muted); }
@media (max-width: 1023px) {
  .services__list { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .service:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .services__list { grid-template-columns: 1fr; }
  .service + .service { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- more work ---------- */
.more-grid { columns: 3; column-gap: 20px; }
.more-item { margin-bottom: 26px; break-inside: avoid; }
.more-item img, .more-item video { width: 100%; border-radius: 8px; background: var(--bg-2); }
.more-item img[data-lightbox] { cursor: zoom-in; }
.more-item figcaption { display: grid; gap: 2px; padding: 12px 2px 0; font-size: 15px; font-weight: 600; }
.more-item__tag { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1023px) { .more-grid { columns: 2; } }
@media (max-width: 599px) { .more-grid { columns: 1; } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about__photo img, .monogram { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.monogram {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 20%, #1f1f1f, #111);
}
.monogram span { color: var(--acc); font-size: clamp(88px, 12vw, 180px); font-weight: 800; font-stretch: 62%; }
.about__bio { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.38; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.about__langs li { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; }
.about__langs span { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 7px 13px; border: 1px solid #333; border-radius: 999px; font-size: 14px; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; }
}
@media (max-width: 499px) { .about__facts { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 160px) var(--pad) clamp(56px, 8vw, 104px); }
.contact__title { margin-top: 18px; font-size: clamp(66px, 16vw, 240px); }
:lang(ka) .contact__title { font-size: clamp(40px, 10vw, 156px); line-height: .92; }
.contact__intro { max-width: 46ch; margin-top: 22px; color: #CFCBC4; font-size: clamp(17px, 1.5vw, 20px); }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 38px; }
.contact__email {
  border-bottom: 2px solid transparent;
  color: var(--acc);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: border-color .2s;
}
.contact__email:hover { border-bottom-color: var(--acc); }
.copy { padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #3a3a3a; font-size: 14px; font-weight: 700; }
.copy:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- case study ---------- */
.case { max-width: var(--max); margin: 0 auto; padding: 4px var(--pad) 0; }
.case__cover {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.case__crumb { grid-column: 1 / -1; justify-self: start; margin-top: 8px; color: var(--muted); font-size: 15px; font-weight: 600; transition: color .2s; }
.case__crumb:hover { color: var(--fg); }
.case__eyebrow { color: var(--acc); }
.case__title { margin-top: 14px; font-size: clamp(60px, 11vw, 176px); }
:lang(ka) .case__title { font-size: clamp(44px, 8.4vw, 136px); line-height: .92; }
.case .tag--concept { position: static; display: inline-block; margin-top: 18px; }
.case__summary { max-width: 46ch; margin-top: 22px; color: #CFCBC4; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.case__cover-media img { width: 100%; border-radius: var(--radius); cursor: zoom-in; }
.case__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.case__meta > div { padding: 18px 20px 20px 0; }
.case__meta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.case__meta dd { margin-top: 8px; font-weight: 600; }
.case__meta .chips { margin-top: 0; }

.case__overview {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(48px, 7vw, 96px) 0 0;
}
.case__goal p { margin-top: 14px; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; }
.case__did ul { display: grid; gap: 14px; margin-top: 14px; }
.case__did li { position: relative; padding-left: 28px; color: #DAD6CF; }
.case__did li::before { content: "✶"; position: absolute; left: 0; color: var(--acc); }
.case__results { grid-column: 1 / -1; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 14px; border-top: 1px solid var(--line); }
.result { display: grid; gap: 10px; padding: 22px 20px 4px 0; }
.result + .result { padding-left: 20px; border-left: 1px solid var(--line); }
.result__value { color: var(--acc); font-size: clamp(52px, 6.4vw, 96px); font-weight: 800; font-stretch: 62%; line-height: .86; }
.result span { color: var(--muted); }

.block { padding-top: clamp(56px, 8vw, 112px); }
.block__title {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: .95;
  text-transform: uppercase;
}
:lang(ka) .block__title { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.05; }
.block__caption { max-width: 72ch; margin-top: 14px; color: var(--muted); }
.block img, .block video { border-radius: 8px; }
.block img[data-lightbox] { cursor: zoom-in; }
.block--image .block__figure { max-width: 880px; }
.block--image.is-wide .block__figure { max-width: none; }
.block--image.is-wide img { width: 100%; }

.grid { display: flex; gap: clamp(12px, 1.4vw, 20px); align-items: flex-start; }
.grid figure { min-width: 0; }
.grid img { width: 100%; }

.strip { position: relative; }
.strip__scroller { overflow-x: auto; border-radius: 8px; scroll-snap-type: x proximity; }
.strip__img { width: 100%; max-width: none; }

.post { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.post__caption { padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.post__text { margin-top: 12px; font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.post__translation { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.post__translation p { margin-top: 8px; color: #CFCBC4; }
.post__visual img { width: 100%; }

.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.phone__frame {
  padding: 9px;
  border-radius: 34px;
  background: #1c1c1c;
  box-shadow: 0 0 0 1px #2e2e2e, 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.phone__screen { overflow: hidden; border-radius: 26px; }
.phone__screen img { width: 100%; border-radius: 0; }
.phone__label { margin-top: 14px; color: var(--acc); font-size: 22px; font-weight: 800; font-stretch: 70%; text-align: center; text-transform: uppercase; }

.case__pager {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(72px, 10vw, 140px);
  padding: 28px 0 clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.case__back { color: var(--muted); font-weight: 600; white-space: nowrap; transition: color .2s; }
.case__back:hover { color: var(--fg); }
.case__next { display: grid; gap: 8px; text-align: right; }
.case__next-title { font-size: clamp(40px, 7vw, 104px); transition: color .25s; }
:lang(ka) .case__next-title { font-size: clamp(30px, 5.4vw, 80px); }
.case__next:hover .case__next-title { color: var(--acc); }

@media (max-width: 900px) {
  .case__cover, .case__overview, .post { grid-template-columns: 1fr; }
  .case__meta { grid-template-columns: 1fr 1fr; }
  .case__meta > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .case__meta > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__img { width: auto; height: min(260px, var(--h, 260px)); }
  .strip::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44px;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(to right, rgba(11, 11, 11, 0), var(--bg));
    pointer-events: none;
  }
}
@media (max-width: 700px) {
  .grid { flex-direction: column; }
  .grid figure { flex: none !important; width: 100%; }
  .case__pager { flex-direction: column; align-items: flex-start; }
  .case__next { text-align: left; }
}

/* ---------- lightbox ---------- */
html.has-lightbox { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(8, 8, 8, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: lightbox-in .25s var(--ease);
  touch-action: pan-y pinch-zoom; /* horizontal swipes go to the viewer */
}
.lightbox__img {
  width: auto;
  height: auto;
  max-width: min(92vw, 1600px);
  max-height: min(86svh, 1200px);
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px #000;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(243, 240, 234, .1);
  color: var(--fg);
  font-size: 20px;
  transition: background .2s, color .2s;
}
.lightbox button:hover { background: var(--acc); color: var(--acc-ink); }
.lightbox button[hidden] { display: none; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--acc);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
[data-lightbox]:focus-visible { outline-offset: 4px; }
@keyframes lightbox-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } }

/* ---------- motion (only under html.motion-ok, set by motion.js) ---------- */
.motion-ok [data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion-ok [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
.motion-ok .work-card:nth-child(2), .motion-ok .service:nth-child(2) { transition-delay: .08s; }
.motion-ok .work-card:nth-child(3), .motion-ok .service:nth-child(3) { transition-delay: .16s; }
.motion-ok .work-card:nth-child(4), .motion-ok .service:nth-child(4) { transition-delay: .24s; }
.motion-ok .work-card:nth-child(5) { transition-delay: .32s; }

.motion-ok .hero__title .word,
.motion-ok .hero__foot {
  opacity: 0;
  transform: translateY(.35em);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.motion-ok .hero__title .word { transition-delay: calc(var(--d, 0) * 60ms + 80ms); }
.motion-ok .hero__foot { transform: translateY(16px); transition-delay: .55s; }
.motion-ok .hero.is-in .hero__title .word,
.motion-ok .hero.is-in .hero__foot { opacity: 1; transform: none; }
.motion-ok .hero__fan .fan__img { opacity: 0; translate: 0 48px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.motion-ok .hero__fan .fan__img--1 { transition-delay: .35s; }
.motion-ok .hero__fan .fan__img--2 { transition-delay: .45s; }
.motion-ok .hero__fan .fan__img--3 { transition-delay: .55s; }
.motion-ok .hero.is-in .fan__img { opacity: 1; translate: none; }
.motion-ok .badge { scale: .6; opacity: 0; transition: scale .8s var(--ease) .7s, opacity .6s .7s; }
.motion-ok .hero.is-in .badge { scale: 1; opacity: 1; }
.motion-ok .badge__ring { animation: spin 16s linear infinite; }

.motion-ok .marquee__track { animation: marquee 30s linear infinite; }
.motion-ok .marquee:hover .marquee__track { animation-play-state: paused; }

.motion-ok .case { animation: case-in .35s var(--ease) both; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--acc-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.cursor.is-view { opacity: 1; }
.more-video { cursor: default; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes case-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- 404 page ---------- */
.notfound { max-width: var(--max); margin: 0 auto; padding: min(18vh, 160px) var(--pad); }
.notfound__title { margin: 16px 0 18px; font-size: clamp(56px, 11vw, 160px); }
.notfound__ka { margin-bottom: 28px; color: var(--muted); }
