/* ==========================================================
   ZLIJE — editorial content pages
   Dark cinematic heroes, warm "lime plaster" reading surface.
   ========================================================== */
:root {
  --ink: #0b0d17;
  --ink-2: #141829;
  --bone: #f3ede1;
  --plaster: #efe7d7;
  --paper: #f7f2e8;
  --text: #1d1a16;
  --text-dim: #5d5549;
  --line: rgba(29, 26, 22, .14);
  --teal: #1f9d93;
  --teal-ink: #137068;
  --cobalt: #1b2a7e;
  --saffron: #e9a917;
  --oxblood: #7a1b17;
  --green: #145a3a;
  --accent: var(--teal-ink);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --arabic: "Amiri", serif;
  --gutter: clamp(16px, 4vw, 64px);
  --measure: 40rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.05rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
h2 em, h1 em, h3 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1.2em; }
::selection { background: var(--saffron); color: var(--ink); }

.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.eyebrow b { color: var(--saffron); margin-right: .7em; }

/* ---------- Header ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter); color: var(--bone);
  transition: background .5s var(--ease), color .5s, padding .5s var(--ease), box-shadow .5s;
}
.site-nav.is-solid { background: rgba(247, 242, 232, .92); color: var(--text); backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.site-nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 600; letter-spacing: .42em; font-size: .8rem; }
.site-nav__brand svg { width: 22px; height: 22px; fill: none; stroke: var(--saffron); stroke-width: 5; transition: transform 1.2s var(--ease); }
.site-nav__brand:hover svg { transform: rotate(45deg); }
.site-nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.site-nav__links a { text-decoration: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: .3rem 0; opacity: .82; transition: opacity .3s; }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { opacity: 1; }
.site-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--saffron); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.site-nav__links a:hover::after, .site-nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav__toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: .45rem .9rem; font: inherit; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 900px) {
  .site-nav__toggle { display: block; }
  .site-nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
    background: var(--ink); color: var(--bone); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .site-nav__links a { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; text-transform: none; }
  .nav-open .site-nav { color: var(--bone); background: transparent; box-shadow: none; }
  .nav-open .site-nav__links { opacity: 1; visibility: visible; }
}
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--saffron), var(--oxblood)); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; align-items: end; color: var(--bone); background: var(--ink);
  padding: 0 var(--gutter) clamp(48px, 10vh, 110px);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,23,.96) 0%, rgba(11,13,23,.6) 42%, rgba(11,13,23,.2) 100%), linear-gradient(90deg, rgba(11,13,23,.75) 0%, rgba(11,13,23,.35) 45%, rgba(11,13,23,0) 70%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 66rem; }
.hero .eyebrow { color: var(--saffron); }
.hero h1 { font-size: clamp(3.4rem, 10vw, 9.5rem); font-weight: 300; line-height: .92; }
.hero h1 em { color: var(--saffron); }
.hero__ar { font-family: var(--arabic); font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--saffron); margin: .8rem 0 1.4rem; }
.hero__lead { max-width: 40rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(243,237,225,.82); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2rem; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(243,237,225,.55); }

/* ---------- Layout primitives ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 13vh, 150px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--bone); }
.section--dark .eyebrow { color: var(--saffron); }
.section--dark h2 em, .section--dark h3 em { color: var(--saffron); }
.section--plaster { background: var(--plaster); }
.section-head { max-width: 52rem; margin-bottom: clamp(36px, 7vh, 72px); }
.section-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 300; }
.section-head p { margin-top: 1.4rem; font-size: 1.15rem; color: var(--text-dim); max-width: var(--measure); }
.section--dark .section-head p { color: rgba(243,237,225,.7); }

.prose { max-width: var(--measure); }
.prose p { color: #2c2822; }
.section--dark .prose p { color: rgba(243,237,225,.82); }
.prose h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 2.4rem 0 1rem; }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose .term { font-style: italic; color: var(--accent); }
.section--dark .prose .term { color: var(--saffron); }
.lede { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.35; font-weight: 300; color: var(--text); max-width: 46rem; margin-bottom: 2rem; }
.lede::first-letter { float: left; font-size: 4.2em; line-height: .82; padding: .06em .12em 0 0; color: var(--accent); font-weight: 400; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }

/* ---------- Pull quote ---------- */
.quote { margin: clamp(40px, 8vh, 80px) 0; padding: 0; max-width: 52rem; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.18; }
.quote blockquote::before { content: "“"; color: var(--saffron); margin-right: .05em; }
.quote blockquote::after { content: "”"; color: var(--saffron); }
.quote figcaption { margin-top: 1.2rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.section--dark .quote figcaption { color: rgba(243,237,225,.6); }

/* ---------- Pattern panels (generated art) ---------- */
.panel { position: relative; border-radius: 4px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; }
.panel canvas { width: 100%; height: 100%; display: block; }
.panel--arch { border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px; }
.panel--wide { aspect-ratio: 16 / 9; }
.panel figcaption, .figcap { font-size: .78rem; color: var(--text-dim); margin-top: .8rem; letter-spacing: .02em; }
.photo { border-radius: 4px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Timeline (history) ---------- */
.era-block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: clamp(56px, 10vh, 110px) 0; border-top: 1px solid var(--line); }
.era-block:first-of-type { border-top: 0; }
.era-block__date { position: sticky; top: 110px; align-self: start; }
.era-block__date strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--accent); }
.era-block__date span { display: block; margin-top: .6rem; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }
.era-block h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 300; margin-bottom: 1.6rem; }
@media (max-width: 860px) {
  .era-block { grid-template-columns: 1fr; gap: 1rem; }
  .era-block__date { position: static; }
}
.chrono { list-style: none; margin: 2rem 0 0; padding: 0; border-left: 1px solid var(--line); }
.chrono li { position: relative; padding: 0 0 1.4rem 1.6rem; }
.chrono li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; background: var(--saffron); transform: rotate(45deg); }
.chrono b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--accent); }
.chrono span { color: var(--text-dim); font-size: .95rem; }

.monuments { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.monument { padding: 1.6rem 1.5rem 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.monument small { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.monument h4 { font-size: 1.55rem; margin-bottom: .5rem; }
.monument p { font-size: .92rem; color: var(--text-dim); margin: 0; }

/* ---------- Steps (craft) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 10vh, 110px) 0; border-top: 1px solid rgba(243,237,225,.12); }
.step:nth-child(even) .step__art { order: 2; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--saffron); }
.step h3 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 300; margin: .4rem 0 1.4rem; }
.step__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip { display: inline-flex; align-items: baseline; gap: .5rem; padding: .45rem .9rem; border: 1px solid rgba(243,237,225,.22); border-radius: 999px; font-size: .78rem; color: rgba(243,237,225,.85); }
.chip b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1rem; color: var(--saffron); }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__art { order: 0; }
}

.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.role { border: 1px solid var(--line); padding: 1.6rem; border-radius: 4px; background: var(--paper); }
.role .ar { font-family: var(--arabic); font-size: 1.6rem; color: var(--accent); line-height: 1.2; }
.role h4 { font-size: 1.6rem; margin: .3rem 0 .6rem; }
.role p { font-size: .93rem; color: var(--text-dim); margin: 0; }

.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 3rem; margin: 0; }
.glossary div { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--serif); font-size: 1.45rem; font-style: italic; color: var(--accent); }
.glossary dt span { font-family: var(--arabic); font-style: normal; font-size: 1.1rem; color: var(--text-dim); margin-left: .5rem; }
.glossary dd { margin: .2rem 0 0; font-size: .93rem; color: var(--text-dim); }

/* ---------- Places (daily life) ---------- */
.place { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 10vh, 120px) 0; }
.place:nth-child(even) .place__art { order: 2; }
.place__n { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--saffron); }
.place h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 300; margin: .3rem 0 1.4rem; }
.place .prose p { font-size: 1.04rem; }
@media (max-width: 860px) {
  .place { grid-template-columns: 1fr; }
  .place:nth-child(even) .place__art { order: 0; }
}

/* ---------- Visit ---------- */
.city { padding: clamp(56px, 10vh, 110px) 0; border-top: 1px solid var(--line); }
.city__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.city__head h2 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; }
.city__head .ar { font-family: var(--arabic); font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--accent); }
.city__intro { max-width: 46rem; color: var(--text-dim); font-size: 1.1rem; }
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.site { border: 1px solid var(--line); border-radius: 4px; padding: 1.6rem 1.6rem 1.8rem; background: var(--paper); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.site:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(29,26,22,.4); }
.site small { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.site h3 { font-size: 1.7rem; margin: .5rem 0 .7rem; }
.site p { font-size: .93rem; color: var(--text-dim); margin: 0 0 .8rem; }
.site .look { font-size: .86rem; color: var(--text); border-top: 1px dashed var(--line); padding-top: .8rem; margin: 0; }
.site .look b { color: var(--accent); font-weight: 600; }

/* ---------- Rosette builder (patterns) ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.builder__stage { position: relative; aspect-ratio: 1; background: #e6dfd0; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.builder__stage canvas { width: 100%; height: 100%; display: block; }
.builder__controls { display: grid; gap: 1.8rem; }
.builder__group label, .builder__group .label { display: block; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(243,237,225,.6); margin-bottom: .8rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg button {
  background: transparent; color: var(--bone); border: 1px solid rgba(243,237,225,.25); border-radius: 999px;
  padding: .55rem 1.1rem; font: inherit; font-size: .85rem; cursor: pointer; transition: background .4s var(--ease), color .4s, border-color .4s;
}
.seg button:hover { border-color: var(--saffron); }
.seg button[aria-pressed="true"] { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.builder input[type="range"] { width: 100%; accent-color: var(--saffron); }
.builder__readout { font-family: var(--serif); font-size: 1.4rem; color: var(--bone); }
.builder__readout b { color: var(--saffron); font-weight: 400; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; } }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 2rem; }
.swatch { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.swatch i { display: block; height: 96px; }
.swatch div { padding: .9rem 1rem 1rem; }
.swatch b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.swatch span { font-size: .82rem; color: var(--text-dim); line-height: 1.5; display: block; }

.star-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.star-card { text-align: center; }
.star-card canvas { width: 100%; aspect-ratio: 1; display: block; border-radius: 50%; background: #e6dfd0; }
.star-card h4 { font-size: 1.5rem; margin-top: 1rem; }
.star-card p { font-size: .9rem; color: var(--text-dim); margin: .3rem 0 0; }

/* ---------- Next page + sources + footer ---------- */
.next { display: block; text-decoration: none; background: var(--ink); color: var(--bone); padding: clamp(72px, 14vh, 150px) var(--gutter); position: relative; overflow: hidden; }
.next canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.next:hover canvas { opacity: .55; transform: scale(1.04); }
.next__inner { position: relative; max-width: 1240px; margin: 0 auto; }
.next small { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--saffron); }
.next h2 { font-size: clamp(3rem, 9vw, 8rem); font-weight: 300; margin-top: .6rem; }
.next h2 em { color: var(--saffron); }
.next__arrow { display: inline-block; transition: transform .6s var(--ease); }
.next:hover .next__arrow { transform: translateX(16px); }

.sources { padding: 56px 0 72px; background: var(--plaster); }
.sources h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.sources ol { margin: 0; padding-left: 1.2rem; columns: 2 320px; column-gap: 3rem; font-size: .86rem; color: var(--text-dim); }
.sources li { margin-bottom: .5rem; break-inside: avoid; }
.sources a { color: var(--accent); }
.sources p { font-size: .86rem; color: var(--text-dim); max-width: 52rem; }

.footer { background: var(--ink); color: rgba(243,237,225,.6); padding: 36px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--saffron); }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer .ar { font-family: var(--arabic); font-size: 1.4rem; letter-spacing: 0; color: var(--saffron); text-transform: none; }
.footer .footer__langs { flex-basis: 100%; justify-content: center; gap: 1.2rem; padding-top: .6rem; border-top: 1px solid rgba(243,237,225,.1); text-transform: none; letter-spacing: .06em; }
.footer .footer__langs [aria-current] { color: var(--saffron); }
.footer .footer__date { opacity: .7; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Gilded type over the mosaic heroes ---------- */
.hero h1, .next h2 {
  background: linear-gradient(176deg, #fff6da 0%, #f7d98a 34%, #e6ad45 62%, #f9dc92 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 1.5px rgba(5,5,10,.95)) drop-shadow(0 0 16px rgba(5,5,10,.75)) drop-shadow(0 0 34px rgba(240,179,35,.3));
}
.hero h1 em, .next h2 em { background: linear-gradient(176deg, #ffe7a6 0%, #f2b43a 55%, #d88a1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { color: #f8ead0; text-shadow: 0 1px 2px rgba(5,5,10,.9), 0 0 18px rgba(5,5,10,.8); }
.hero .eyebrow, .hero__meta, .next small { text-shadow: 0 1px 2px rgba(5,5,10,.9), 0 0 14px rgba(5,5,10,.8); }
.hero__meta { color: rgba(248,234,208,.8); }

/* ---------- Photographs (Wikimedia Commons, credited under each image) ---------- */
.photo { margin: 2.4rem 0 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; background: rgba(243,237,225,.06); }
.photo--tall img { max-height: min(78vh, 760px); object-fit: cover; object-position: 50% 30%; }
.photo--wide { margin-top: clamp(40px, 7vh, 72px); }
.photo--wide img { aspect-ratio: 16 / 8; object-fit: cover; }
.photo figcaption { font-size: .84rem; line-height: 1.5; color: var(--text-dim); margin-top: .8rem; max-width: 60ch; }
.credit { margin: .35rem 0 0; font-size: .66rem; letter-spacing: .05em; color: var(--text-dim); opacity: .75; }
.credit a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.credit a:hover { color: var(--saffron, #f0b323); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 2.4rem; }
.photo-pair .photo { margin: 0; }
.photo-pair .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }
.photo--panel { margin: 0; }
.panel--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.section--dark .photo figcaption { color: rgba(243,237,225,.72); }
.section--dark .credit { color: rgba(243,237,225,.55); opacity: 1; }
/* UNESCO World Heritage badge on the city headings */
.whs { display: inline-flex; align-items: center; gap: .55em; align-self: center; margin-right: auto; padding: .45em .95em; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.whs::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); flex: none; }
html[lang="ar"] .whs, html[lang="zh"] .whs { letter-spacing: 0; font-size: .8rem; }
html[dir="rtl"] .whs { margin-right: 0; margin-left: auto; }
.contact-mail { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 300; line-height: 1.1; margin: .4rem 0 1.4rem; overflow-wrap: anywhere; }
.contact-mail a { color: var(--accent); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.contact-mail a:hover { background-size: 100% 1px; }
.site .look a { color: var(--accent); text-decoration: none; font-weight: 500; }
