/* Ana Joveva, version 3: the pictures are the page. One deliberately dark world; the photographs carry the colour. */
:root { --ground: #0b0b0b; --seam: #0b0b0b; --panel: #121212; --line: #242424; --ink: #f4f3ef; --ink-2: #a3a19b; --ink-3: #6e6c67; --star: #e0bd5c; --hd-bg: rgba(11, 11, 11, 0.94); --sans: "Raleway", "Segoe UI", "Helvetica Neue", Arial, sans-serif; color-scheme: dark; }
/* light mode: the visitor's system setting, or the switch in the header */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --ground: #f4f3ef; --seam: #f4f3ef; --panel: #e6e4de; --line: #d9d7d1; --ink: #141414; --ink-2: #5a5853; --ink-3: #8a8882; --star: #9a7b25; --hd-bg: rgba(244, 243, 239, 0.94); color-scheme: light; }
}
:root[data-theme="light"] { --ground: #f4f3ef; --seam: #f4f3ef; --panel: #e6e4de; --line: #d9d7d1; --ink: #141414; --ink-2: #5a5853; --ink-3: #8a8882; --star: #9a7b25; --hd-bg: rgba(244, 243, 239, 0.94); color-scheme: light; }
/* what sits on top of a photograph keeps its own colours in both themes */
:root { --on-photo: #f4f3ef; --on-photo-2: rgba(244, 243, 239, 0.75); --on-photo-star: #e0bd5c; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2 { font-weight: 200; margin: 0; letter-spacing: 0.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 40px; }
.label { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ==== header: floats over the pictures, solid once the page scrolls ==== */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; padding: 0 16px; min-height: 60px; background: linear-gradient(rgba(11, 11, 11, 0.7), rgba(11, 11, 11, 0)); transition: background 0.3s; }
.hd.is-solid, .hd.is-open { background: var(--hd-bg); backdrop-filter: blur(8px); }
body:not(.is-home) .hd { background: var(--hd-bg); }
body.is-home .hd:not(.is-solid):not(.is-open) .hd__name, body.is-home .hd:not(.is-solid):not(.is-open) .hd__nav a, body.is-home .hd:not(.is-solid):not(.is-open) .hd__theme { color: var(--on-photo); }
body.is-home .hd:not(.is-solid):not(.is-open) .hd__menu span { background: var(--on-photo); }
.hd__name { font-weight: 500; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; margin-right: auto; }
.hd__theme { width: 40px; height: 40px; border: 0; background: none; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.hd__theme:hover { color: var(--ink); }
.hd__theme svg { width: 18px; height: 18px; }
.hd__menu { width: 44px; height: 44px; border: 0; background: none; display: grid; gap: 6px; place-content: center; cursor: pointer; }
.hd__menu span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform 0.2s; }
.hd__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.hd__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.hd__nav { display: none; width: 100%; flex-direction: column; padding: 4px 0 16px; }
.hd.is-open .hd__nav { display: flex; }
.hd__nav a { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hd__nav a[aria-current="page"], .hd__nav a:hover { color: var(--ink); }
.hd__lang { color: var(--ink) !important; }
@media (min-width: 760px) {
  .hd { padding: 0 28px; gap: 30px; }
  .hd__menu { display: none; }
  .hd__nav { display: flex; flex-direction: row; width: auto; gap: 26px; padding: 0; align-items: center; }
  .hd__nav a { font-size: 11.5px; padding: 6px 0; border-bottom: 1px solid transparent; }
  .hd__nav a[aria-current="page"] { border-bottom-color: var(--ink); }
  .hd__lang { border: 1px solid var(--line) !important; padding: 5px 10px !important; }
}

/* ==== hero: the full window, five pictures crossfading ==== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: hidden; background: #000; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero__img.is-on { opacity: 1; }
.hero__text { position: absolute; left: 16px; bottom: 28px; right: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); color: var(--on-photo); }
.hero__text h1 { font-size: clamp(34px, 7vw, 84px); font-weight: 200; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__text p { margin: 6px 0 0; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-photo-2); font-weight: 500; }
.hero__cap { position: absolute; right: 16px; top: 72px; margin: 0; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-photo-2); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.hero__down { position: absolute; right: 16px; bottom: 30px; text-decoration: none; font-size: 22px; opacity: 0.7; color: var(--on-photo); }
@media (min-width: 760px) { .hero__text { left: 28px; bottom: 36px; } .hero__cap { right: 28px; top: 76px; } .hero__down { right: 28px; } }

/* ==== mosaics: edge to edge, hairline seams ==== */
.mosaic-sec { padding: 0; }
.mosaic-sec--top { padding-top: 60px; }
.mosaic-sec .label { padding: 18px 16px 10px; }
.m { display: flex; flex-wrap: wrap; gap: 3px; align-items: flex-start; background: var(--seam); }
.m__item { position: relative; display: block; flex: 0 0 auto; overflow: hidden; background: var(--panel); }
.m__item img { width: 100%; height: auto; transition: transform 0.6s ease, opacity 0.4s; }
.m.is-laid .m__item img { width: var(--w); height: var(--h); object-fit: cover; }
.m__cap { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--on-photo); background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity 0.25s; }
.m__cap i { font-style: normal; color: var(--on-photo-star); }
.m__cap b { display: block; font-weight: 500; color: var(--on-photo-star); letter-spacing: 0.14em; margin-bottom: 2px; }
.m__cap--on { opacity: 1; text-transform: none; letter-spacing: 0.04em; font-size: 13px; padding-top: 56px; background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 30%, rgba(0, 0, 0, 0)); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
@media (hover: hover) { .m__item:hover .m__cap, .m__item:focus-visible .m__cap { opacity: 1; } .m__item:hover img { transform: scale(1.03); } }
.m__item.is-hidden { display: none; }
.bar { padding: 22px 16px 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.bar__lede { margin: 0; max-width: 70ch; color: var(--ink-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chips button { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; background: transparent; color: var(--ink-2); border: 1px solid var(--line); padding: 8px 12px; cursor: pointer; }
.chips button[aria-pressed="true"] { color: var(--ground); background: var(--ink); border-color: var(--ink); }
.chips button:hover { color: var(--ink); border-color: var(--ink-2); }
@media (min-width: 760px) { .mosaic-sec .label { padding: 24px 28px 12px; } .bar { padding: 30px 28px 16px; } }

/* ==== text bands ==== */
.band { padding: 56px 16px 40px; max-width: 900px; margin: 0 auto; text-align: center; }
.band--left { text-align: left; max-width: 1100px; }
.band--top { padding-top: 96px; }
.band__text { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.5; font-weight: 200; margin: 0 auto 36px; max-width: 34em; }
.band__text--left { margin: 14px 0 28px; }
.band__links { margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.band__links a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.band__links a:hover { border-bottom-color: var(--ink); }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
.stats div { text-align: center; }
.band--left .stats { grid-template-columns: repeat(3, 1fr); }
.band--left .stats div { text-align: left; }
.stats dd { margin: 0; font-weight: 200; font-size: clamp(30px, 5vw, 50px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-top: 8px; }
@media (min-width: 700px) { .stats, .band--left .stats { grid-template-columns: repeat(5, 1fr); } }
.note { max-width: 66ch; color: var(--ink-2); font-size: 15px; margin: 24px 0 0; }

/* ==== about: portrait on one side, words on the other ==== */
.split { display: grid; padding-top: 60px; }
.split__fig { margin: 0; }
.split__fig img { width: 100%; max-height: 80vh; object-fit: cover; object-position: center 20%; }
.split__text { padding: 32px 16px 48px; }
.split__text h1 { margin: 8px 0 22px; }
.bio { max-width: 60ch; }
.bio p { margin: 0 0 1em; }
.earlier { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.earlier summary { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; cursor: pointer; color: var(--ink-2); }
.earlier p { margin-top: 1em; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); max-width: 60ch; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding-top: 4px; }
.facts dd { margin: 0; font-size: 15px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(320px, 45%) 1fr; min-height: 100vh; padding-top: 0; } .split__fig { position: sticky; top: 0; height: 100vh; } .split__fig img { height: 100%; max-height: none; } .split__text { padding: 110px 48px 64px; } }

/* ==== record table (cards on phones) ==== */
.tbl { margin-top: 16px; border-top: 1px solid var(--line); }
.rec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rec th { text-align: left; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.rec td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rec .n { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.rec td:first-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.rec .s { font-weight: 500; }
.rec .w { color: var(--ink-2); font-size: 14px; }
.rec tr.aw .n { color: var(--star); font-weight: 500; }
@media (max-width: 700px) {
  .rec thead { display: none; }
  .rec tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .rec td { display: block; border: 0; padding: 2px 0; }
  .rec td::before { content: attr(data-l) ": "; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
  .rec td.s::before, .rec td:first-child::before { content: none; }
  .rec td:first-child { float: right; }
  .rec .n { text-align: left; }
}

/* ==== jury ==== */
.jury { margin: 0; border-top: 1px solid var(--line); }
.jury div { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.jury dt { font-weight: 200; font-size: 26px; line-height: 1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.jury dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 6px; }
.jury dd span { font-size: 15.5px; }
.jury dd small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-left: 4px; }

/* ==== footer ==== */
.ft { border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 16px 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; color: var(--ink-2); font-size: 14px; }
.ft p { margin: 0; }
.ft__name { letter-spacing: 0.06em; color: var(--ink); }
.ft__links a { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; margin-right: 18px; font-weight: 500; color: var(--ink-2); }
.ft__links a:hover { color: var(--ink); }
@media (min-width: 760px) { .ft { padding-inline: 28px; } }

/* ==== lightbox ==== */
.lb { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.985); display: grid; padding: 8px; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; height: calc(100vh - 16px); height: calc(100dvh - 16px); min-width: 0; }
.lb__fig img { max-height: 100%; max-width: 100%; width: auto; height: auto; margin: 0 auto; object-fit: contain; align-self: center; }
.lb__cap { font-size: 13.5px; padding: 0 8px 52px; max-width: 900px; margin: 0 auto; width: 100%; color: #a3a19b; }
.lb__cap h3 { font-weight: 300; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 4px; color: var(--on-photo); }
.lb__cap h3 small { font-size: 11px; letter-spacing: 0.12em; color: var(--on-photo-star); margin-left: 10px; }
.lb__cap p { margin: 0; }
.lb__cap p.aw { color: var(--on-photo-star); }
.lb__cap p.aw::before { content: "★ "; }
.lb__close, .lb__nav { position: absolute; background: none; border: 0; color: var(--on-photo); font-size: 38px; line-height: 1; cursor: pointer; opacity: 0.8; width: 48px; height: 48px; display: grid; place-items: center; font-family: serif; }
.lb__close { top: 6px; right: 6px; }
.lb__nav { bottom: 6px; }
.lb__nav--prev { left: 6px; }
.lb__nav--next { right: 6px; }
.lb__close:hover, .lb__nav:hover { opacity: 1; }
@media (min-width: 900px) { .lb { padding: 16px 64px; } .lb__nav { top: 50%; bottom: auto; transform: translateY(-50%); } .lb__nav--prev { left: 10px; } .lb__nav--next { right: 10px; } .lb__cap { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; padding-bottom: 8px; } .lb__cap h3 { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero__img, .m__item img, .m__cap, .hd { transition: none; } }
