@font-face{font-family:"Inter";src:url(/fonts/inter-var.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans Armenian";src:url(/fonts/noto-sans-armenian-var.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0530-058F,U+FB13-FB17}
/* ==========================================================================
   Grigor Khanjyan — styles
   Design tokens first: change a colour, a font or a size here and it updates
   everywhere. Desktop sizes scale with the window width (vw); tablet and
   phone use fixed sizes.
   ========================================================================== */

:root {
  --ink: #0f0f0f;
  --muted: #6b6b6b;
  --card: #f2f2f2;
  --line: #dcdcdc;
  --bg: #fff;

  /* Typeface. Change "DM Sans" here if the original site uses a different font. */
  --font: "Inter", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", "Noto Sans", Arial, sans-serif;

  --pad: 5.3vw;          /* left/right page margin */
  --gap: 6px;            /* gap between cards and photos */
  --card-pad: clamp(10px, 1.05vw, 19px);

  --fs-nav: clamp(13px, 1.09vw, 19px);
  --fs-brand: clamp(16px, 1.32vw, 24px);
  --fs-meta: clamp(13px, 1.09vw, 19px);
  --fs-statement: clamp(22px, 2.1vw, 38px);
  --fs-card-title: clamp(14px, 1.2vw, 21px);
  --fs-card-text: clamp(15px, 1.4vw, 25px);
  --fs-page-title: 5.4vw;
  --fs-page-title-sm: 3.6vw;

  --hero-top: 7.1vw;
  --hero-pt: 56.25%;
  --headline-fit: 0.84;
  --space-section: 8vw;
}

@media (max-width: 1199px) {
  :root {
    --pad: 16px;
    --fs-nav: 14px;
    --fs-brand: 17px;
    --fs-meta: 14px;
    --fs-statement: 24px;
    --fs-card-title: 14px;
    --fs-card-text: 15px;
    --fs-page-title: 8.5vw;
    --fs-page-title-sm: 5.6vw;
    --card-pad: 12px;
    --hero-top: 112px;
    --hero-pt: 120%;
    --headline-fit: 0.97;
    --space-section: 72px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 8px;
    --fs-statement: 22px;
    --fs-page-title: 13vw;
    --fs-page-title-sm: 8.5vw;
    --hero-top: 84px;
    --hero-pt: 100%;
    --headline-fit: 1;
    --space-section: 56px;
  }
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-card-text);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 700; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body.menu-open { overflow: hidden; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { top: 8px; }

/* ---------------------------------------------------------------- Header
   Fixed and transparent; "difference" blending keeps the text readable on
   both white pages and dark photographs (same behaviour as the original). */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px var(--pad);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand { white-space: nowrap; font-size: var(--fs-brand); font-weight: 500; letter-spacing: -0.035em; line-height: 1.2; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 30px); }
.nav a, .nav button { white-space: nowrap; font-size: var(--fs-nav); font-weight: 400; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 5px; line-height: 1.4; }
.nav a:hover, .nav button:hover { opacity: 0.6; }
.nav [aria-current="page"] { opacity: 0.55; }
.chev { transition: transform 0.2s ease; }
[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Dropdown panels live outside the blended header so they keep their own colours. */
.menu-layer { position: fixed; inset: 0 0 auto 0; z-index: 45; pointer-events: none; }
.menu-panel {
  position: fixed;
  top: 40px;
  min-width: 190px;
  padding: 12px 14px 14px;
  background: rgba(242, 242, 242, 0.97);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: auto;
}
.menu-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.menu-panel a { display: block; padding: 4px 0; font-size: var(--fs-nav); line-height: 1.45; letter-spacing: -0.01em; white-space: nowrap; }
.menu-panel a:hover { opacity: 0.55; }
.menu-panel a[aria-current="true"] { opacity: 0.45; }

/* Mobile menu */
.menu-toggle { display: none; width: 28px; height: 24px; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: 88px var(--pad) 32px; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; animation: fade-in 0.25s ease both; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list > li > a { display: block; padding: 6px 0; font-size: 34px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.mobile-menu__list [aria-current="page"] { color: var(--muted); }
.mobile-menu__sub { padding: 2px 0 10px 2px; }
.mobile-menu__sub a { display: block; padding: 3px 0; font-size: 18px; color: var(--muted); letter-spacing: -0.02em; }
.mobile-menu__lang { display: flex; gap: 18px; flex-wrap: wrap; font-size: 16px; }
.mobile-menu__lang [aria-current="true"] { color: var(--muted); }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}
/* Longer menu labels (Armenian, Russian) switch to the compact menu earlier. */
@media (max-width: 1300px) {
  html[lang="hy"] .nav { display: none; }
  html[lang="hy"] .menu-toggle { display: flex; }
}
@media (max-width: 900px) {
  html[lang="ru"] .nav { display: none; }
  html[lang="ru"] .menu-toggle { display: flex; }
}

/* ------------------------------------------------------------------ Home */
.meta { font-size: var(--fs-meta); color: var(--muted); letter-spacing: -0.01em; }
.meta--lg { font-size: var(--fs-card-title); }
.statement { font-size: var(--fs-statement); line-height: 1.16; letter-spacing: -0.035em; font-weight: 400; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  padding: var(--hero-top) var(--pad) 0;
}
.hero__text { display: flex; flex-direction: column; justify-content: space-between; padding-right: 3vw; }
.hero__media { position: relative; overflow: hidden; background: var(--card); }
.hero__media::before { content: ""; display: block; padding-top: var(--hero-pt); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

.headline {
  margin: 9vw 0 0;
  padding: 0 var(--pad);
  font-size: 7.6vw;               /* replaced by exact fit via site.js */
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: center;
  --fit: var(--headline-fit);
}
.headline__inner { display: inline-block; white-space: nowrap; }
.headline__b { display: inline; }

@media (max-width: 1199px) {
  .headline { margin-top: 90px; }
  .hero__text { padding-right: 10px; }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__text { padding: 0 0 24px; gap: 84px; justify-content: flex-start; }
  .headline { margin-top: 72px; }
  .headline__inner { text-align: center; }
  .headline__a, .headline__b { display: block; }
  .headline__dash { display: none; }
}

/* Feature cards */
.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); padding: 5.6vw var(--pad) 0; }
.features--list { padding-top: var(--space-section); }
@media (max-width: 1199px) { .features { padding-top: 56px; } .features--list { padding-top: 72px; } }
@media (max-width: 640px) { .features { padding-top: 24px; } .features--list { padding-top: 48px; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.feature__media { position: relative; overflow: hidden; background: var(--card); }
.feature__media::before { content: ""; display: block; padding-top: 66.6667%; }
.feature__media > a { position: absolute; inset: 0; display: block; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__title { transition: color .3s; }
.feature:has(.feature__media a:hover) .feature__title { color: var(--ink); }
.feature__card { background: var(--card); padding: var(--card-pad); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.feature__head { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 14px; align-items: start; }
.feature__title { grid-column: 1; font-size: var(--fs-card-title); color: var(--muted); letter-spacing: -0.015em; }
.feature__subtitle { grid-column: 1; font-size: var(--fs-card-title); letter-spacing: -0.02em; line-height: 1.25; }
.feature__more { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-card-title); letter-spacing: -0.02em; white-space: nowrap; }
.feature__more:hover { opacity: 0.55; }
.feature__text { font-size: var(--fs-card-text); line-height: 1.22; letter-spacing: -0.025em; }
.feature__text p + p { margin-top: 1.3em; }

@media (max-width: 640px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__card { min-height: 330px; }
}

/* --------------------------------------------------------- Inner pages */
.page-title {
  padding: calc(var(--hero-top) - 0.3vw) var(--pad) 0;
  font-size: var(--fs-page-title);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.page-title--sm { font-size: var(--fs-page-title-sm); line-height: 1; letter-spacing: -0.045em; }
.crumb { padding: calc(var(--hero-top) - 1vw) var(--pad) 0; font-size: var(--fs-meta); color: var(--muted); }
.crumb + .page-title { padding-top: 1.6vw; }
@media (max-width: 1199px) { .crumb { padding-top: 92px; } .crumb + .page-title { padding-top: 16px; } }
.crumb a:hover { color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding: var(--space-section) var(--pad) 0; align-items: stretch; }
.split__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-right: 3vw; }
.split__media img { width: 100%; height: auto; }
.prose { font-size: var(--fs-card-text); line-height: 1.28; letter-spacing: -0.02em; max-width: 46em; }
.prose p + p { margin-top: 1.2em; }
@media (max-width: 640px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split__text { padding-right: 0; }
  .split__media { order: -1; }
}

.empty { padding: var(--space-section) var(--pad) 0; font-size: var(--fs-statement); line-height: 1.16; letter-spacing: -0.035em; color: var(--muted); }
.empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.15em; }

.index-list { padding: var(--space-section) var(--pad) 0; }
.index-list li { border-top: 1px solid var(--line); }
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list a, .index-list .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(14px, 1.5vw, 28px) 0; font-size: clamp(24px, 2.6vw, 46px); letter-spacing: -0.04em; line-height: 1.1; }
.index-list a:hover { padding-left: 10px; }
.index-list a { transition: padding 0.25s ease; }
.index-list .chev-r { width: 0.5em; height: 0.5em; flex: none; }
.index-list--articles a, .index-list--articles .row { font-size: clamp(18px, 1.9vw, 34px); justify-content: flex-start; }
.index-list--articles .chev-r { margin-left: auto; }
.article__date { min-width: 6.5em; color: var(--muted); font-size: var(--fs-meta); letter-spacing: -0.01em; }
.article__title small { display: block; margin-top: 4px; font-size: var(--fs-meta); color: var(--muted); letter-spacing: -0.01em; }
.article__summary { padding: 0 0 18px 6.5em; max-width: 46em; font-size: var(--fs-card-text); letter-spacing: -0.02em; }

.contact { padding: var(--space-section) var(--pad) 0; margin: 0; }
.contact > div { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact > div:last-child { border-bottom: 1px solid var(--line); }
.contact dt { color: var(--muted); font-size: var(--fs-meta); }
.contact dd { margin: 0; font-size: clamp(20px, 2.1vw, 38px); letter-spacing: -0.035em; line-height: 1.15; }
.contact a:hover { opacity: 0.55; }

/* ---------------------------------------------------- Biography timeline */
.timeline { padding: var(--space-section) var(--pad) 0; }
.timeline__list { list-style: none; margin: 0; padding: 0; }
.timeline__label { padding-bottom: 14px; font-size: var(--fs-meta); font-weight: 400; color: var(--muted); letter-spacing: -0.01em; }
.timeline__row { display: grid; grid-template-columns: calc(34vw - var(--pad)) minmax(0, 1fr); gap: var(--gap); padding: clamp(14px, 1.4vw, 26px) 0; border-top: 1px solid var(--line); }
.timeline__row:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-size: clamp(20px, 1.9vw, 34px); letter-spacing: -0.04em; line-height: 1.1; }
.timeline__text { font-size: clamp(14px, 1.1vw, 20px); line-height: 1.35; letter-spacing: -0.02em; }
.timeline__text p + p { margin-top: 0.65em; }
@media (max-width: 640px) {
  .timeline__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  }

/* ------------------------------------------------------- Works (gallery) */
.works { --row-h: 22vw; padding: calc(var(--space-section) * 0.7) var(--pad) 0; }
@media (max-width: 1199px) { .works { --row-h: 30vw; } }
@media (max-width: 640px) { .works { --row-h: 48vw; } }

.works__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-bottom: 18px; font-size: var(--fs-nav); letter-spacing: -0.01em; }
.works__bar ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.works__bar button { color: var(--muted); line-height: 1.5; transition: color 0.2s ease; }
.works__bar button:hover { color: var(--ink); }
.works__bar button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }

.works__grid { display: flex; flex-wrap: wrap; gap: var(--gap); transition: opacity 0.2s ease; }
.works__grid.is-switching { opacity: 0; }
/* The empty spacer at the end keeps the last row from stretching. */
.works__grid::after { content: ""; flex: 999999 1 0; }
/* Every picture keeps its true proportions: its share of the row is proportional to its width/height ratio (--ar). */
.work { flex-grow: calc(var(--ar) * 100); flex-shrink: 1; flex-basis: calc(var(--ar) * var(--row-h)); min-width: 0; margin: 0; }
.work[hidden] { display: none; }
.work__link { display: block; cursor: zoom-in; }
.work__img { position: relative; display: block; overflow: hidden; background: var(--card); padding-bottom: calc(100% / var(--ar)); }
.work__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.work__link:hover img { opacity: 0.88; }
.work figcaption { padding: 7px 14px 16px 0; font-size: var(--fs-meta); line-height: 1.3; letter-spacing: -0.01em; }
.work__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.work__sub { display: block; color: var(--muted); }
.work__title--none { color: var(--muted); }

.index-list__count { margin-left: auto; color: var(--muted); font-size: var(--fs-meta); letter-spacing: -0.01em; }

/* --------------------------------------------------------------- Gallery (Photos & Videos) */
.gallery { columns: 3; column-gap: var(--gap); padding: var(--space-section) var(--pad) 0; }
.gallery__item { margin: 0 0 var(--gap); break-inside: avoid; }
.gallery__item img, .gallery__item video { width: 100%; height: auto; display: block; background: var(--card); }
.gallery__item a { display: block; cursor: zoom-in; }
.gallery__item a:hover img { opacity: 0.92; }
.gallery figcaption { padding: 8px 0 18px; font-size: var(--fs-meta); color: var(--muted); letter-spacing: -0.01em; }
.video-frame { aspect-ratio: 16 / 9; background: var(--card); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 1199px) { .gallery { columns: 2; } }
@media (max-width: 640px) { .gallery { columns: 1; } }

/* ---------------------------------------------------------------- Viewer */
.lightbox { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: rgba(15, 15, 15, 0.96); color: #fff; }
.lightbox::backdrop { background: rgba(15, 15, 15, 0.96); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: fade-in 0.2s ease both; }
.lightbox__stage { display: flex; min-height: 0; padding: 52px 24px 6px; touch-action: none; overflow: hidden; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; transition: opacity 0.2s ease; }
.lightbox__stage.is-zoomed img { cursor: grab; }
.lightbox__zoom { min-width: 36px; font-size: 20px; line-height: 1; }
.lightbox__stage img.is-loading { opacity: 0.25; }
.lightbox__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 8px 20px 18px; font-size: 15px; letter-spacing: -0.01em; line-height: 1.35; }
.lightbox__caption { min-width: 0; }
.lightbox__title { display: block; }
.lightbox__meta { display: block; color: rgba(255, 255, 255, 0.6); }
.lightbox__nav { display: flex; flex: none; gap: 4px; }
.lightbox button { padding: 8px 10px; color: #fff; font-size: 15px; letter-spacing: -0.01em; }
.lightbox button:hover { opacity: 0.6; }
.lightbox__close { position: absolute; z-index: 2; top: 8px; right: 10px; text-shadow: 0 0 8px rgba(0, 0, 0, 0.8); }
@media (max-width: 640px) {
  .lightbox__stage { padding: 48px 8px 4px; }
  .lightbox__bar { flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 12px 14px; }
  .lightbox__nav { justify-content: space-between; margin: 0 -10px; }
}

/* ---------------------------------------------------------------- Footer */
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: calc(var(--space-section) * 1.1) var(--pad) 22px; font-size: var(--fs-meta); color: var(--muted); letter-spacing: -0.01em; }

/* ----------------------------------------------------- Page transitions
   The new page slides up over the old one from the bottom edge (like scrolling
   down to the next page) while the old page eases back and fades. Works in
   Chrome, Edge and Safari; other browsers get a simple fade-in instead. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.9s; animation-timing-function: cubic-bezier(0.65, 0.02, 0.2, 1); animation-fill-mode: both; mix-blend-mode: normal; }
::view-transition-old(root) { animation-name: vt-old; z-index: 1; }
::view-transition-new(root) { animation-name: vt-new; z-index: 2; }
@keyframes vt-old { from { transform: none; opacity: 1; } to { transform: translateY(-22%); opacity: 0.35; } }
@keyframes vt-new { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.no-vt main, .no-vt .site-footer { animation: fade-in 0.5s ease both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------------------------------------------------- "Site in development" notice */
.notice { display: none; }
.show-notice .notice {
  display: flex; align-items: flex-start; gap: 14px;
  position: fixed; z-index: 40; left: var(--pad); bottom: 18px;
  max-width: min(360px, calc(100vw - 2 * var(--pad)));
  padding: 14px 16px; border-radius: 6px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  view-transition-name: dev-notice;
}
.notice p { margin: 0; font-size: var(--fs-meta); line-height: 1.35; letter-spacing: -0.01em; }
.notice__close { flex: none; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-meta); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.notice__close:hover { color: var(--ink); }
@media (max-width: 640px) { .show-notice .notice { right: var(--pad); max-width: none; bottom: 12px; } }
::view-transition-group(dev-notice) { animation-duration: 0s; }

/* ---------------------------------------------------- Round "View" badge that follows the mouse */
.cursor {
  position: fixed; z-index: 60; top: 0; left: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; background: var(--ink); color: #fff; pointer-events: none;
  display: grid; place-items: center; text-align: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2;
  opacity: 0; transform: translate3d(-100px, -100px, 0) scale(0.4);
  transition: opacity .25s ease;
  will-change: transform;
}
.cursor.is-on { opacity: 1; }
.cursor span { display: block; transition: transform .25s ease; }
html.has-cursor [data-cursor] { cursor: none; }

/* event pages: photographer credit */
.prose .credits { margin-top: 2.2em; color: var(--muted); font-size: var(--fs-meta); letter-spacing: -0.01em; line-height: 1.3; }

/* ---- contact ("Reach out") ---- */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding: var(--space-section) var(--pad) 0; align-items: start; }
.reach__text { padding-right: 3vw; display: flex; flex-direction: column; gap: 28px; }
.reach__intro { font-size: var(--fs-card-text); line-height: 1.25; letter-spacing: -0.025em; max-width: 30em; }
.reach__mail { font-size: clamp(20px, 2.1vw, 38px); letter-spacing: -0.035em; line-height: 1.15; }
.reach__mail a:hover { opacity: .55; }
.reach__form { background: var(--card); padding: var(--card-pad); display: flex; flex-direction: column; gap: 14px; }
.reach__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-meta); color: var(--muted); }
.field i { font-style: normal; }
.field input, .field textarea { font: inherit; font-size: var(--fs-card-title); color: var(--ink); letter-spacing: -0.01em; background: #fff; border: 1px solid transparent; border-radius: 0; padding: 12px 14px; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .is-invalid, .field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.reach__send { font: inherit; font-size: var(--fs-card-title); letter-spacing: -0.02em; background: var(--ink); color: #fff; border: 0; padding: 14px 18px; cursor: pointer; transition: opacity .2s; }
.reach__send:hover { opacity: .75; }
.reach__send:disabled { opacity: .5; cursor: default; }
.reach__status { min-height: 1.4em; font-size: var(--fs-meta); }
.reach__status.is-error { color: #b3261e; }
.reach__status a { text-decoration: underline; }
@media (max-width: 1199px) { .reach { grid-template-columns: minmax(0, 1fr); gap: 32px; } .reach__text { padding-right: 0; } }

/* event photos: gentle zoom on hover (mouse devices only) */
.feature__media img { transition: transform .7s cubic-bezier(.2,.7,.2,1); will-change: transform; }
@media (hover: hover) and (pointer: fine) { .feature__media a:hover img { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .feature__media img { transition: none; } .feature__media a:hover img { transform: none; } }

/* ---- short biography card (QR landing page) ---- */
.page-popup { background: var(--card); }
.shortbio { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 11vw var(--pad) 7vw; }
.shortbio__card { position: relative; background: #fff; width: 100%; max-width: 760px; padding: clamp(28px, 4.4vw, 68px); box-shadow: 0 24px 70px rgba(0,0,0,.14); display: flex; flex-direction: column; gap: 22px; }
.shortbio__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); transition: opacity .2s; }
.shortbio__close:hover { opacity: .5; }
.shortbio__name { font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; padding-right: 40px; }
.shortbio__text { display: flex; flex-direction: column; gap: 1em; font-size: clamp(18px, 1.55vw, 26px); line-height: 1.3; letter-spacing: -0.02em; }
.shortbio__btn { align-self: flex-start; margin-top: 10px; background: var(--ink); color: #fff; padding: 15px 22px; font-size: var(--fs-card-title); letter-spacing: -0.01em; transition: opacity .2s; }
.shortbio__btn:hover { opacity: .75; }
@media (max-width: 1199px) { .shortbio { padding-top: 100px; align-items: flex-start; } .shortbio__btn { align-self: stretch; text-align: center; } }
.page-popup .notice { display: none !important; }
.shortbio__top { display: flex; justify-content: space-between; align-items: center; margin: -8px -10px 6px 0; }
.shortbio__langs { display: flex; gap: 6px; flex-wrap: wrap; }
.shortbio__langs a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-meta); letter-spacing: -0.01em; color: var(--muted); transition: border-color .2s, color .2s; }
.shortbio__langs a:hover { border-color: var(--ink); color: var(--ink); }
.shortbio__langs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.shortbio__close { position: static; flex: none; }
.shortbio { padding-top: 7vw; }
@media (max-width: 1199px) { .shortbio { padding-top: 28px; } }

/* short biography: dated list */
.shortbio__rows { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.shortbio__rows li { display: grid; grid-template-columns: minmax(4.6em, 9em) minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: clamp(15px, 1.15vw, 19px); line-height: 1.38; letter-spacing: -0.012em; }
.shortbio__year { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .shortbio__rows li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; } }
.shortbio__card { max-width: 820px; }

/* ---- video (click to play; YouTube loads only after the click) ---- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.video__play img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; display: grid; place-items: center; transition: transform .25s, background .25s; }
.video__icon svg { margin-left: 3px; }
.video__play:hover .video__icon, .video__play:focus-visible .video__icon { transform: scale(1.1); background: #000; }
.video__link { margin-top: 12px; font-size: var(--fs-meta); color: var(--muted); }
.video__link a:hover { color: var(--ink); }

/* ---- article page ---- */
.article .meta { margin-bottom: 18px; }
.article__lead { font-size: var(--fs-card-title); line-height: 1.2; letter-spacing: -0.03em; max-width: 18em; }
.article__body { font-size: clamp(16px, 1.25vw, 22px); line-height: 1.48; letter-spacing: -0.01em; }
.article__body p + p { margin-top: 1em; }
.article__body p.article__q { font-weight: 600; margin-top: 1.6em; }
.article__body p.article__sub { font-weight: 600; margin-top: 1.8em; }
.article__dateline { margin-top: 2em !important; color: var(--muted); }
.prose .ext-link { margin-top: 1.6em; }
.prose .ext-link a { text-decoration: underline; text-underline-offset: 0.18em; }
.prose .ext-link a:hover { opacity: .6; }
.prose strong { font-weight: 500; }
.prose .source { margin-top: 1.8em; font-size: var(--fs-meta); color: var(--muted); letter-spacing: -0.01em; }
.prose .source a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }
.prose .source a:hover { opacity: .6; }
.facts { margin-top: 2em; border-top: 1px solid var(--line); font-size: var(--fs-meta); letter-spacing: -0.01em; }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.audio { margin-top: 20px; }
.audio iframe { display: block; width: 100%; border: 0; background: var(--card); }
.bio-more { margin: 56px 0 0; }
.bio-more .shortbio__btn { display: inline-block; }
@media (max-width: 1199px) { .bio-more .shortbio__btn { display: block; } }
.lightbox__where { display: block; color: rgba(255, 255, 255, 0.6); }
.lightbox__where:empty { display: none; }
@media (max-width: 640px) {
  .feature__media { order: -1; }
  .feature__card { min-height: 0; gap: 28px; }
}
@media (max-width: 640px) {
  .features { gap: calc(var(--gap) * 2); }
}

/* ---- One artwork / photo on its own page (the page that gets shared) ---- */
.item { display: grid; gap: 20px; justify-items: center; padding: 0 var(--pad) 24px; }
.item__media { margin: 0; display: flex; justify-content: center; width: 100%; }
.item__media img { width: auto; max-width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.item__info { width: 100%; max-width: 760px; display: grid; gap: 4px; justify-items: center; text-align: center; }
.item__title { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.item__meta { margin: 0; color: var(--muted, #6b6b6b); font-size: 15px; letter-spacing: -0.01em; }
.item__share { margin-top: 14px; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 15px; letter-spacing: -0.01em; cursor: pointer; }
.item__share:hover { opacity: 0.6; }
.item__share:disabled { opacity: 0.6; cursor: default; }
.lightbox__share { margin-right: 6px; }
.lightbox button[hidden] { display: none; }
.works--photos .work__title { white-space: normal; }

@media (max-width: 640px) { html[lang="hy"] .page-title--long { font-size: 8vw; } }

/* ---- Videos ---- */
.videos { padding: calc(var(--space-section) * 0.7) var(--pad) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px calc(var(--gap) * 3); }
.videos__item { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; display: block; }
.video__play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s ease; }
.video__play:hover img { opacity: 0.85; }
.video__btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.video__btn::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #111; }
.videos__item figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0 0; font-size: var(--fs-meta); letter-spacing: -0.01em; line-height: 1.3; }
.videos__share { flex: none; margin-left: auto; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; }
.videos__share:hover { color: inherit; }
.item--video .item__media { max-width: min(100%, 1100px); }
.item--video .video { width: 100%; }
@media (max-width: 640px) {
  .videos { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.article__note { margin: 18px 0 0; color: var(--muted); font-size: var(--fs-meta); line-height: 1.4; max-width: 34ch; }
.scanbox { margin-top: 22px; display: grid; gap: 12px; justify-items: start; width: 240px; max-width: 100%; }
.scanbox__thumb { display: block; width: 100%; cursor: zoom-in; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(0, 0, 0, 0.12); background: #fff; }
.scanbox__thumb img { width: 100%; height: auto; display: block; }
.scanbox__thumb:hover { opacity: 0.9; }
.scanbox__pdf { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-meta); letter-spacing: -0.01em; line-height: 1.25; }
.scanbox__pdf small { display: block; color: var(--muted); font-size: inherit; }
.scanbox__pdf:hover { opacity: 0.6; }
.pdf-ic { flex: none; }
@media (max-width: 1000px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.videos .video__btn { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.videos .video__btn::after { left: 21px; top: 16px; border-width: 10px 0 10px 16px; }
.lightbox__stage--video { align-items: center; justify-content: center; touch-action: auto; }
.vplayer { width: min(100%, calc((100dvh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.vplayer iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .videos { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Archive landing page */
.archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px calc(var(--gap) * 3); padding: calc(var(--space-section) * 0.7) var(--pad) 0; }
.archive__card { display: block; }
.archive__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.archive__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.archive__scan { object-position: top; }
.archive__card:hover .archive__pic img, .archive__card:focus-visible .archive__pic img { transform: scale(1.03); }
.archive__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; font-size: var(--fs-card-title); line-height: 1.1; letter-spacing: -0.02em; }
.archive__label small { font-size: 0.62em; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
@media (max-width: 1000px) { .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .archive { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .archive__pic img { transition: none; } }

/* Videos: section filter bar (same look as the Works filters) */
.videos__bar { padding: calc(var(--space-section) * 0.7) var(--pad) 0; margin-bottom: 0; justify-content: flex-start; }
.videos__bar + .videos { padding-top: 26px; }
.videos__item[hidden] { display: none; }
