/* =========================================================
   ARAM MIZURI ARCHITECTURE — landmark.css
   A landmark's own page (/kurdistan-heritage/{slug}), on top of project.css
   and heritage.css: the opening in one of five styles, then the sections the
   page is composed of — text, photographs, galleries, figures, facts, a
   timeline, a quotation, an annotated photograph, before/after, the map, the
   UNESCO panel, related landmarks, sources — the lightbox, and the way to the
   next landmark. One language of design, many arrangements: every landmark's
   page is composed differently in the admin.
   ========================================================= */

:root {
    --read: 740px;                              /* a comfortable line of text */
    --lm-gap: clamp(56px, 9vh, 120px);          /* between sections */
}

/* Cross-document view transitions between the map and a landmark, where the
   browser supports them: a soft crossfade instead of a hard cut. */
@view-transition { navigation: auto; }

/* ---- Shared ------------------------------------------------------- */
.lm { padding: 0; }
.lm-body { display: block; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.lm-sec { margin-top: var(--lm-gap); }
.lm-text + .lm-text, .lm-text + .lm-quote, .lm-quote + .lm-text { margin-top: clamp(36px, 6vh, 64px); }

.lm-h2 { max-width: 24ch; margin-bottom: 22px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 200; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
[dir="rtl"] .lm-h2 { letter-spacing: 0; font-weight: 400; line-height: 1.5; }
.lm-sec__head { max-width: var(--read); margin-bottom: 28px; }
.lm-sec__lead { font-size: 16.5px; font-weight: 300; line-height: 1.8; color: var(--muted); }

.lm-prose { max-width: var(--read); font-size: 17px; font-weight: 300; line-height: 1.9; color: rgba(229,226,220,.88); }
[dir="rtl"] .lm-prose { font-size: 18px; line-height: 2.1; }
.lm-prose p + p, .lm-prose p + ul, .lm-prose ul + p, .lm-prose blockquote + p, .lm-prose p + blockquote, .lm-prose h3 { margin-top: 20px; }
.lm-prose h3 { margin-bottom: 8px; font-size: 20px; font-weight: 400; color: #fff; }
.lm-prose ul { padding-inline-start: 22px; }
.lm-prose li + li { margin-top: 8px; }
.lm-prose li::marker { color: var(--gold); }
.lm-prose strong { font-weight: 500; color: #fff; }
.lm-prose em { font-style: italic; color: #fff; }
.lm-prose a { color: #fff; text-decoration: underline; text-decoration-color: rgba(245,197,24,.55); text-underline-offset: 3px; }
.lm-prose a:hover { color: var(--gold); }
.lm-prose blockquote { padding-inline-start: 22px; border-inline-start: 2px solid var(--gold); font-size: 1.08em; color: #fff; }

.lm-credit { font-size: 11.5px; letter-spacing: .02em; color: var(--faint); }
.lm-credit a { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.lm-credit a:hover { color: var(--gold); }
.lm-fig__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
[dir="rtl"] .lm-fig__cap { font-size: 14.5px; }
.lm-fig__text { max-width: 70ch; }
.lm-zoom { display: block; cursor: zoom-in; }
.lm-zoom img { transition: opacity .3s; }
.lm-zoom:hover img { opacity: .92; }

.lm-go { display: inline-flex; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lm-go:hover { color: #fff; }
[dir="rtl"] .lm-go { letter-spacing: 0; font-size: 13px; }

/* sections drift in as they arrive — only once the script is running, so a
   page without it is simply visible */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.lm-preview { position: fixed; bottom: 16px; left: 50%; z-index: 30; transform: translateX(-50%); padding: 8px 16px; border-radius: 100px; background: var(--gold); color: #0a0a0a; font-size: 12px; letter-spacing: .06em; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

/* ---- The opening ------------------------------------------------- */
.lm-hero { position: relative; }
.lm-hero__inner { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; padding: clamp(110px, 15vh, 150px) var(--gutter) 0; }
.lm-back { display: inline-flex; gap: 8px; margin-bottom: 28px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lm-back:hover { color: var(--gold); }
[dir="rtl"] .lm-back { letter-spacing: 0; font-size: 13px; }
.lm-title { max-width: 18ch; font-size: clamp(40px, 6vw, 96px); font-weight: 200; line-height: 1; letter-spacing: -.035em; color: #fff; }
[dir="rtl"] .lm-title { letter-spacing: 0; line-height: 1.3; font-weight: 400; }
.lm-intro { max-width: 60ch; margin-top: 26px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.82); }
[dir="rtl"] .lm-intro { line-height: 1.95; }
.lm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; list-style: none; margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.lm-meta li { padding-inline-end: 20px; margin-inline-end: 20px; border-inline-end: 1px solid var(--line); line-height: 1.3; }
.lm-meta li:last-child { padding-inline-end: 0; margin-inline-end: 0; border: 0; }
.lm-meta__unesco { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.lm-meta__unesco svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lm-hero__fig { position: relative; margin: 0; }
.lm-hero__fig img { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.lm-hero__fig .lm-fig__cap { margin-top: 10px; }

/* cinematic: the photograph is the screen, the words rest at its foot */
.lm-hero--cinematic { min-height: 100svh; display: grid; align-items: end; }
.lm-hero--cinematic .lm-hero__inner { width: 100%; padding-bottom: clamp(56px, 10vh, 110px); }
.lm-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.lm-hero__bg img { width: 100%; height: 115%; object-fit: cover; display: block; will-change: transform; }
.lm-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #090909 0%, rgba(9,9,9,.82) 22%, rgba(9,9,9,.25) 55%, rgba(9,9,9,.45) 100%); }
.lm-hero--cinematic .lm-title { text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.lm-hero--cinematic .lm-intro { color: rgba(255,255,255,.9); }
.lm-hero__credit { position: absolute; z-index: 1; bottom: 14px; inset-inline-end: var(--gutter); margin: 0; }
.lm-hero__scroll { position: absolute; z-index: 1; bottom: 16px; inset-inline-start: var(--gutter); display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.lm-hero__scroll i { display: block; width: 36px; height: 1px; background: var(--gold); animation: lm-scroll 2.2s ease-in-out infinite; transform-origin: left; }
[dir="rtl"] .lm-hero__scroll { letter-spacing: 0; font-size: 12px; }
[dir="rtl"] .lm-hero__scroll i { transform-origin: right; }
@keyframes lm-scroll { 0%, 100% { transform: scaleX(.3); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

/* split: words on one side, a tall photograph on the other */
.lm-hero--split .lm-hero__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.lm-hero--split .lm-hero__text { padding-bottom: clamp(24px, 4vh, 48px); }
.lm-hero--split .lm-hero__fig .lm-zoom, .lm-hero--split .lm-hero__fig img { height: min(78vh, 820px); }
.lm-hero--split .lm-hero__fig img { border-radius: 8px; }
.lm-hero--split .lm-title { font-size: clamp(38px, 4.8vw, 76px); }

/* editorial: the words, then the photograph across the page */
.lm-hero--editorial .lm-hero__fig { margin-top: clamp(32px, 6vh, 56px); aspect-ratio: 21 / 9; }
.lm-hero--editorial .lm-hero__fig .lm-zoom, .lm-hero--editorial .lm-hero__fig img { height: 100%; }
.lm-hero--editorial .lm-hero__fig img { border-radius: 8px; }

/* frame: a photograph set in wide margins, like a plate in a book */
.lm-hero--frame .lm-hero__text { max-width: 760px; margin: 0 auto; text-align: center; }
.lm-hero--frame .lm-title, .lm-hero--frame .lm-intro { margin-inline: auto; }
.lm-hero--frame .lm-meta { justify-content: center; }
.lm-hero--frame .lm-hero__fig { max-width: 1000px; margin: clamp(40px, 7vh, 72px) auto 0; aspect-ratio: 3 / 2; }
.lm-hero--frame .lm-hero__fig .lm-zoom, .lm-hero--frame .lm-hero__fig img { height: 100%; }
.lm-hero--frame .lm-hero__fig img { border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lm-hero--frame .lm-hero__fig .lm-fig__cap { justify-content: center; }

/* dark: no photograph up here — the name, and the period set very large */
.lm-hero--dark .lm-hero__inner { padding-bottom: clamp(24px, 4vh, 40px); }
.lm-hero__big { margin-top: 28px; font-size: clamp(52px, 10vw, 180px); font-weight: 200; line-height: .95; letter-spacing: -.04em; color: var(--gold); opacity: .95; }
[dir="rtl"] .lm-hero__big { letter-spacing: 0; line-height: 1.15; font-weight: 300; }

/* ---- Text ----------------------------------------------------------- */
.lm-text--lead .lm-prose p:first-child { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.65; color: #fff; }
.lm-text--lead .lm-prose p:first-child::first-letter { float: inline-start; margin: 8px 12px 0 0; font-size: 4.4em; line-height: .78; font-weight: 200; color: var(--gold); }
[dir="rtl"] .lm-text--lead .lm-prose p:first-child::first-letter { margin: 8px 0 0 12px; font-size: 3.2em; line-height: 1; }
.lm-text--aside { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.lm-text--aside .lm-h2 { position: sticky; top: 100px; margin: 0; font-size: clamp(22px, 2vw, 30px); }
.lm-text--columns .lm-prose { max-width: none; column-count: 2; column-gap: 48px; }
.lm-text--columns .lm-prose p { break-inside: avoid; }
.lm-text--wide .lm-prose { max-width: none; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.65; color: rgba(255,255,255,.92); }

/* ---- Statement ------------------------------------------------------ */
.lm-statement--center { text-align: center; }
.lm-statement__kicker { margin-bottom: 18px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .lm-statement__kicker { letter-spacing: 0; font-size: 13.5px; }
.lm-statement__big { max-width: 14ch; font-size: clamp(44px, 9vw, 150px); font-weight: 200; line-height: .98; letter-spacing: -.04em; color: #fff; }
.lm-statement--center .lm-statement__big, .lm-statement--center .lm-statement__text { margin-inline: auto; }
[dir="rtl"] .lm-statement__big { letter-spacing: 0; line-height: 1.2; font-weight: 300; }
.lm-statement__text { max-width: 54ch; margin-top: 20px; font-size: 17px; font-weight: 300; line-height: 1.75; color: var(--muted); }

/* ---- One photograph ------------------------------------------------- */
.lm-fig__media img { display: block; width: 100%; height: auto; border-radius: 6px; background: #111; }
.lm-fig--full { width: 100vw; margin-inline-start: calc(50% - 50vw); }
.lm-fig--full .lm-fig__media img { border-radius: 0; }
.lm-fig--full .lm-fig__cap { padding: 0 var(--gutter); }
.lm-fig--column { max-width: var(--read); }
.lm-fig--offset-start, .lm-fig--offset-end { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: end; }
.lm-fig--offset-end .lm-fig__media { order: 2; }
.lm-fig--offset-start .lm-fig__cap, .lm-fig--offset-end .lm-fig__cap { flex-direction: column; margin: 0; padding-bottom: 6px; font-size: 15px; color: rgba(255,255,255,.8); }

/* ---- Gallery -------------------------------------------------------- */
/* Each figure is the photograph, then its caption, in the flow: the photo
   never stretches to the height of its grid row, so a caption always sits
   under its own photo and pushes the next row down. Where a layout crops
   to one shape, the shape is on the link (.lm-zoom) and the photograph
   fills it — the <img>'s own aspect-ratio (inline) is left alone. */
.lm-gal__grid { display: grid; gap: 28px 14px; align-items: start; }
.lm-gal__item { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.lm-gal__item .lm-zoom { position: relative; overflow: hidden; border-radius: 6px; background: #111; }
.lm-gal__item img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 6px; background: #111; }
.lm-gal__cap { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lm-gal--grid .lm-gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-gal--grid .lm-zoom, .lm-gal--collage .lm-zoom { aspect-ratio: 4 / 3; }
.lm-gal--grid .lm-zoom img, .lm-gal--collage .lm-zoom img { position: absolute; inset: 0; height: 100%; }
.lm-gal--collage .lm-gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
/* the first photograph spans two columns and two rows and fills them */
.lm-gal--collage .lm-gal__item:first-child { grid-column: span 2; grid-row: span 2; align-self: stretch; }
.lm-gal--collage .lm-gal__item:first-child .lm-zoom { flex: 1; aspect-ratio: auto; min-height: 280px; }
.lm-gal--pairs .lm-gal__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-auto-flow: dense; gap: 32px 18px; }
.lm-gal--pairs .lm-gal__item:nth-child(4n+3) { grid-column: 2; }
.lm-gal--pairs .lm-gal__item:nth-child(4n+4) { grid-column: 1; }
/* a row of two: the wide column cropped 3:2, the narrow one 15:14, so both
   photographs end at the same line (7/5 × 3/2 = 15/14) */
.lm-gal--pairs .lm-zoom { aspect-ratio: 3 / 2; }
.lm-gal--pairs .lm-gal__item:nth-child(4n+2) .lm-zoom, .lm-gal--pairs .lm-gal__item:nth-child(4n+3) .lm-zoom { aspect-ratio: 15 / 14; }
.lm-gal--pairs .lm-zoom img { position: absolute; inset: 0; height: 100%; }
/* sideways: every photograph the same height, as wide as its proportions,
   and the caption wraps to the photograph's width instead of widening it */
.lm-gal--strip .lm-gal__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: thin; scrollbar-color: rgba(245,197,24,.4) transparent; }
.lm-gal--strip .lm-gal__item { flex: none; scroll-snap-align: start; }
.lm-gal--strip .lm-gal__item img { width: auto; height: clamp(280px, 52vh, 520px); max-width: 86vw; }
.lm-gal--strip .lm-gal__cap { width: 0; min-width: 100%; }
.lm-gal--stack .lm-gal__grid { grid-template-columns: 1fr; gap: 40px; }

/* ---- Figures -------------------------------------------------------- */
.lm-stats__list { display: grid; gap: 28px; margin: 0; }
.lm-stat { display: flex; flex-direction: column; min-width: 0; }
.lm-stat dt { order: 2; }
.lm-stat dd { order: 1; margin: 0; }
.lm-stat__value { font-size: clamp(40px, 4.6vw, 72px); font-weight: 200; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
[dir="rtl"] .lm-stat__value { letter-spacing: 0; }
.lm-stat__unit { margin-inline-start: 8px; font-size: 15px; font-weight: 300; color: var(--muted); }
.lm-stat__label { margin-top: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); line-height: 1.5; }
[dir="rtl"] .lm-stat__label { letter-spacing: 0; font-size: 13px; }
.lm-stat__note { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.lm-stats--row .lm-stats__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.lm-stats--row .lm-stat { padding-top: 18px; border-top: 1px solid var(--line); }
.lm-stats--band .lm-stats__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding: clamp(28px, 4vw, 52px); border-radius: 12px; background: var(--gold); color: #0a0a0a; }
.lm-stats--band .lm-stat__value { color: #0a0a0a; }
.lm-stats--band .lm-stat__unit { color: rgba(0,0,0,.6); }
.lm-stats--band .lm-stat__label { color: rgba(0,0,0,.65); }
.lm-stats--band .lm-stat__note { color: rgba(0,0,0,.5); }
.lm-stats--list .lm-stats__list { grid-template-columns: 1fr; gap: 0; max-width: 900px; }
.lm-stats--list .lm-stat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 28px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.lm-stats--list .lm-stat:last-child { border-bottom: 1px solid var(--line); }
.lm-stats--list .lm-stat__label { margin: 0; }
.lm-stats--list .lm-stat__value { font-size: clamp(30px, 3.2vw, 48px); }

/* ---- Facts ---------------------------------------------------------- */
.lm-facts__list { list-style: none; display: grid; gap: 16px; }
.lm-fact { position: relative; min-width: 0; }
.lm-fact__n { font-size: 12px; letter-spacing: .16em; color: var(--gold); }
.lm-fact__label { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .lm-fact__label { letter-spacing: 0; font-size: 13px; }
.lm-fact__text { margin-top: 10px; font-size: 15.5px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,.84); }
[dir="rtl"] .lm-fact__text { font-size: 16.5px; line-height: 1.95; }
.lm-facts--cards .lm-facts__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.lm-facts--cards .lm-fact { padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.lm-facts--list .lm-facts__list { grid-template-columns: 1fr; gap: 0; max-width: 900px; }
.lm-facts--list .lm-fact { display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.lm-facts--list .lm-fact:last-child { border-bottom: 1px solid var(--line); }
.lm-facts--list .lm-fact__label, .lm-facts--list .lm-fact__text { grid-column: 2; margin-top: 0; }
.lm-facts--list .lm-fact__label { margin-bottom: 6px; }
.lm-facts--list .lm-fact__n { padding-top: 4px; }
.lm-facts--callout .lm-h2 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.lm-facts--callout .lm-fact { max-width: 30ch; padding-inline-start: 28px; border-inline-start: 2px solid var(--gold); }
.lm-facts--callout .lm-fact__n { display: none; }
.lm-facts--callout .lm-fact__text { margin-top: 0; font-size: clamp(22px, 2.3vw, 34px); font-weight: 200; line-height: 1.4; color: #fff; }
.lm-facts--callout .lm-fact + .lm-fact { margin-top: 32px; }
.lm-facts--world .lm-facts__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.lm-facts--world .lm-fact { padding-top: 16px; border-top: 1px solid var(--line); }
.lm-facts--world .lm-fact__n { display: none; }
.lm-facts--world .lm-fact__label { margin-top: 0; }
.lm-facts--world .lm-fact__text { font-size: 15px; }

/* ---- Timeline ------------------------------------------------------- */
.lm-tl__list { list-style: none; position: relative; }
.lm-tl__date { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
[dir="rtl"] .lm-tl__date { letter-spacing: 0; font-size: 13px; }
.lm-tl__title { font-size: 20px; font-weight: 300; line-height: 1.35; color: #fff; }
.lm-tl__text { max-width: 58ch; margin-top: 8px; font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--muted); }
.lm-tl__dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,197,24,.18); }
.lm-tl--vertical .lm-tl__list { padding-inline-start: 190px; }
.lm-tl--vertical .lm-tl__list::before { content: ''; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 160px; width: 1px; background: var(--line); }
.lm-tl--vertical .lm-tl__ev { position: relative; padding-bottom: 36px; }
.lm-tl--vertical .lm-tl__ev:last-child { padding-bottom: 0; }
.lm-tl--vertical .lm-tl__dot { top: 8px; inset-inline-start: -34px; }
.lm-tl--vertical .lm-tl__date { position: absolute; top: 4px; inset-inline-start: -190px; width: 140px; text-align: end; }
.lm-tl--horizontal .lm-tl__list { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 28px var(--gutter) 12px; scrollbar-width: thin; scrollbar-color: rgba(245,197,24,.4) transparent; }
.lm-tl--horizontal .lm-tl__list::before { content: ''; position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: var(--line); }
.lm-tl--horizontal .lm-tl__ev { position: relative; flex: 0 0 min(78vw, 300px); padding: 26px 28px 0 0; scroll-snap-align: start; }
[dir="rtl"] .lm-tl--horizontal .lm-tl__ev { padding: 26px 0 0 28px; }
.lm-tl--horizontal .lm-tl__dot { top: -4px; inset-inline-start: 0; }
.lm-tl--horizontal .lm-tl__title { font-size: 18px; margin-top: 4px; }
.lm-tl--compact .lm-tl__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.lm-tl--compact .lm-tl__ev { padding-top: 14px; border-top: 1px solid var(--line); }
.lm-tl--compact .lm-tl__dot { display: none; }
.lm-tl--compact .lm-tl__title { font-size: 16px; margin-top: 6px; }

/* ---- Quotation ------------------------------------------------------ */
.lm-quote { max-width: 60ch; margin-inline: auto; text-align: center; }
.lm-quote::before { content: ''; display: block; width: 1px; height: 48px; margin: 0 auto 26px; background: var(--gold); }
.lm-quote__text p { font-size: clamp(22px, 2.4vw, 34px); font-weight: 200; line-height: 1.45; color: #fff; }
[dir="rtl"] .lm-quote__text p { font-weight: 300; line-height: 1.75; }
.lm-quote__src { margin-top: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .lm-quote__src { letter-spacing: 0; font-size: 13.5px; }

/* ---- Annotated photograph ------------------------------------------- */
.lm-anno__wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.lm-anno__stage { position: relative; }
.lm-anno__stage img { display: block; width: 100%; height: auto; border-radius: 6px; background: #111; }
.lm-anno__pt {
    position: absolute; z-index: 1; width: 30px; height: 30px; border-radius: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; background: var(--gold); color: #0a0a0a; font: 600 12px/1 var(--font); cursor: pointer;
    box-shadow: 0 0 0 4px rgba(245,197,24,.25), 0 6px 14px rgba(0,0,0,.5); transition: box-shadow .25s, transform .25s;
}
.lm-anno__pt::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(245,197,24,.6); animation: lm-ring 2.6s ease-out infinite; }
@keyframes lm-ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.lm-anno__pt:hover, .lm-anno__pt.is-on { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 0 7px rgba(245,197,24,.3), 0 8px 18px rgba(0,0,0,.55); }
.lm-anno__pt.is-on::before { animation: none; opacity: 0; }
.lm-anno__list { list-style: none; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; }
.lm-anno__item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color .25s, background-color .25s; }
.lm-anno__item:hover { border-color: rgba(245,197,24,.3); }
.lm-anno__item.is-on { border-color: rgba(245,197,24,.55); background: rgba(245,197,24,.06); }
.lm-anno__n { padding-top: 3px; font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.lm-anno__body strong { display: block; font-size: 15px; font-weight: 400; color: #fff; }
.lm-anno__body span { display: block; margin-top: 4px; font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--muted); }
.lm-anno .lm-fig__cap { margin-top: 16px; }

/* ---- Before / after ------------------------------------------------- */
.lm-cmp__stage { position: relative; overflow: hidden; border-radius: 8px; background: #111; direction: ltr; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.lm-cmp__after img, .lm-cmp__before img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lm-cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.lm-cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.5); }
.lm-cmp__handle::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%);
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 22px no-repeat;
    box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.lm-cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.lm-cmp__label { position: absolute; top: 14px; padding: 5px 11px; border-radius: 100px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(10,10,10,.72); border: 1px solid var(--line); pointer-events: none; }
.lm-cmp__label--before { left: 14px; }
.lm-cmp__label--after { right: 14px; }

/* ---- Where it is ---------------------------------------------------- */
.lm-mapsec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lm-mapsec__words { margin-bottom: 26px; font-size: 16.5px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.82); }
.lm-mapsec .hr-map--single { height: clamp(320px, 52vh, 560px); }
/* the place and period beside the map (not the facts section, .lm-facts--*) */
.lm-mapsec__facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; margin-bottom: 24px; position: static; }
.lm-mapsec__facts dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .lm-mapsec__facts dt { letter-spacing: 0; font-size: 12.5px; }
.lm-mapsec__facts dd { margin-top: 6px; font-size: 15px; line-height: 1.6; font-weight: 300; color: #fff; }

/* ---- UNESCO --------------------------------------------------------- */
.lm-unesco {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px);
    padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(245,197,24,.3); border-radius: 12px;
    background: linear-gradient(135deg, rgba(245,197,24,.08), rgba(245,197,24,.015));
}
.lm-unesco__badge { display: flex; flex-direction: column; gap: 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
[dir="rtl"] .lm-unesco__badge { letter-spacing: 0; font-size: 13px; }
.lm-unesco__badge svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lm-unesco .lm-h2 { margin-bottom: 10px; font-size: clamp(22px, 2.2vw, 32px); }
.lm-unesco__official { margin: -2px 0 10px; font-size: 13px; line-height: 1.5; color: var(--faint); }
.lm-unesco__official span { color: var(--muted); unicode-bidi: isolate; }
.lm-unesco__meta { margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.lm-unesco .lm-go { margin-top: 20px; }

/* ---- Related -------------------------------------------------------- */
.lm-rel__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.lm-rel__card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.025); transition: border-color .3s, transform .3s, background-color .3s; }
.lm-rel__card:hover { border-color: rgba(245,197,24,.45); background: rgba(255,255,255,.045); transform: translateY(-2px); }
.lm-rel__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.lm-rel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-rel__meta { margin: 14px 16px 0; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .lm-rel__meta { letter-spacing: 0; font-size: 12.5px; }
.lm-rel__name { margin: 8px 16px 0; font-size: 20px; font-weight: 300; line-height: 1.3; color: #fff; }
[dir="rtl"] .lm-rel__name { font-weight: 400; line-height: 1.55; }
.lm-rel__where { margin: 6px 16px 18px; font-size: 13px; color: var(--muted); }

/* ---- Sources -------------------------------------------------------- */
.lm-src { max-width: var(--read); }
.lm-src .lm-h2 { font-size: 20px; margin-bottom: 14px; }
.lm-src__list { padding-inline-start: 20px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.lm-src__list li + li { margin-top: 6px; }
.lm-src__list li::marker { color: var(--faint); }
.lm-src__list a { color: rgba(255,255,255,.85); text-decoration: underline; text-decoration-color: rgba(245,197,24,.5); text-underline-offset: 3px; }
.lm-src__list a:hover { color: var(--gold); }
.lm-src__note { margin-inline-start: 8px; font-size: 12.5px; color: var(--faint); }

/* ---- Signature, and on to the next landmark ------------------------- */
.lm-by { max-width: var(--wide); margin: var(--lm-gap) auto 0; padding: 0 var(--gutter); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
[dir="rtl"] .lm-by { letter-spacing: 0; font-size: 13.5px; }
.lm-nav { display: flex; justify-content: space-between; gap: 16px; width: min(100% - 2 * var(--gutter), var(--wide) - 2 * var(--gutter)); margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.lm-nav__link { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; gap: 4px 16px; align-items: center; max-width: 46%; }
.lm-nav__link--next { grid-template-columns: 1fr 72px; text-align: end; margin-inline-start: auto; }
.lm-nav__img { position: relative; grid-row: 1 / span 2; width: 72px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #111; }
.lm-nav__link--next .lm-nav__img { grid-column: 2; }
.lm-nav__link--next .lm-nav__dir, .lm-nav__link--next .lm-nav__name { grid-column: 1; }
.lm-nav__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-nav__dir { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .lm-nav__dir { letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .lm-back .pp-arrow, [dir="rtl"] .lm-nav .pp-arrow { display: inline-block; transform: scaleX(-1); }
.lm-nav__name { font-size: clamp(17px, 1.7vw, 23px); font-weight: 300; line-height: 1.3; color: #fff; transition: color .25s; }
.lm-nav__link:hover .lm-nav__name { color: var(--gold); }

/* ---- Lightbox ------------------------------------------------------- */
.lm-lb { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(6,6,6,.97); color: #fff; }
.lm-lb::backdrop { background: rgba(0,0,0,.6); }
.lm-lb[open] { display: grid; place-items: center; }
.lm-lb__fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; width: 100%; height: 100%; margin: 0; padding: 64px var(--gutter) 22px; }
.lm-lb__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 4px; }
.lm-lb__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; text-align: center; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.8); }
.lm-lb__credit, .lm-lb__n { font-size: 12px; color: var(--faint); }
.lm-lb__n { letter-spacing: .12em; }
.lm-lb__close, .lm-lb__arrow { position: fixed; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(20,20,20,.7); color: #fff; cursor: pointer; transition: border-color .25s, background-color .25s; }
.lm-lb__close:hover, .lm-lb__arrow:hover { border-color: var(--gold); background: rgba(30,30,30,.9); }
.lm-lb__close { top: 16px; inset-inline-end: 16px; font-size: 26px; line-height: 1; }
.lm-lb__arrow { top: 50%; transform: translateY(-50%); font-size: 20px; }
.lm-lb__arrow--prev { inset-inline-start: 16px; }
.lm-lb__arrow--next { inset-inline-end: 16px; }
.lm-lb__arrow[hidden] { display: none; }
[dir="rtl"] .lm-lb .pp-arrow { display: inline-block; transform: scaleX(-1); }
body.lm-lb-open { overflow: hidden; }

/* ---- Smaller screens ------------------------------------------------ */
@media (max-width: 1000px) {
    .lm-text--aside { grid-template-columns: minmax(0, 1fr); }
    .lm-text--aside .lm-h2 { position: static; margin-bottom: 18px; }
    .lm-anno__wrap { grid-template-columns: minmax(0, 1fr); }
    .lm-anno__list { position: static; }
    .lm-mapsec { grid-template-columns: minmax(0, 1fr); }
    .lm-unesco { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .lm-unesco__badge { flex-direction: row; align-items: center; }
    .lm-unesco__badge svg { width: 36px; height: 36px; }
}
@media (max-width: 820px) {
    .lm-hero--split .lm-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .lm-hero--split .lm-hero__fig .lm-zoom, .lm-hero--split .lm-hero__fig img { height: auto; aspect-ratio: 4 / 5; max-height: 70vh; }
    .lm-hero--editorial .lm-hero__fig, .lm-hero--frame .lm-hero__fig { aspect-ratio: 4 / 3; }
    .lm-hero--cinematic { min-height: 92svh; }
    .lm-hero__bg::after { background: linear-gradient(to top, #090909 0%, rgba(9,9,9,.88) 30%, rgba(9,9,9,.35) 60%, rgba(9,9,9,.5) 100%); }
    .lm-text--columns .lm-prose { column-count: 1; }
    .lm-fig--offset-start, .lm-fig--offset-end { grid-template-columns: minmax(0, 1fr); }
    .lm-fig--offset-end .lm-fig__media { order: 0; }
    .lm-gal--grid .lm-gal__grid, .lm-gal--collage .lm-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lm-gal--collage .lm-gal__item:first-child { grid-column: span 2; grid-row: span 1; }
    .lm-gal--collage .lm-gal__item:first-child .lm-zoom { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
    .lm-gal--pairs .lm-gal__grid { grid-template-columns: minmax(0, 1fr); }
    .lm-gal--pairs .lm-gal__item:nth-child(4n+3), .lm-gal--pairs .lm-gal__item:nth-child(4n+4) { grid-column: auto; }
    .lm-gal--pairs .lm-gal__item:nth-child(n) .lm-zoom { aspect-ratio: auto; }
    .lm-gal--pairs .lm-gal__item:nth-child(n) .lm-zoom img { position: static; height: auto; }
    .lm-stats--list .lm-stat { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .lm-tl--vertical .lm-tl__list { padding-inline-start: 28px; }
    .lm-tl--vertical .lm-tl__list::before { inset-inline-start: 4px; }
    .lm-tl--vertical .lm-tl__dot { inset-inline-start: -28px; top: 6px; }
    .lm-tl--vertical .lm-tl__date { position: static; width: auto; text-align: start; display: block; margin-bottom: 4px; }
    .lm-nav { flex-direction: column; }
    .lm-nav__link, .lm-nav__link--next { max-width: none; }
    .lm-lb__fig { padding: 72px 12px 16px; }
    .lm-lb__arrow { top: auto; bottom: 14px; transform: none; }
    .lm-hero__scroll { display: none; }
}
@media (max-width: 560px) {
    .lm-gal--grid .lm-gal__grid { grid-template-columns: minmax(0, 1fr); }
    .lm-gal--grid .lm-zoom { aspect-ratio: 3 / 2; }
    .lm-statement__big { font-size: clamp(40px, 13vw, 72px); }
    .lm-hero__big { font-size: clamp(44px, 15vw, 90px); }
}
