/* Golden Lilies page (licnosti.html): a dark memorial with a drawn lily and a roll of names (gold, restrained).
   The people of Sanski Most are in the corridor (hodnik.html). */
.lic-page main { background: #0c0f0e; }
.lic-page { --gold: #d4af5a; --gold-l: #f1dc9e; --gold-d: #8f6a22; }

.zlj {
  position: relative; overflow: hidden; padding: clamp(72px, 13svh, 150px) var(--gutter);
  background:
    radial-gradient(ellipse 50% 40% at 18% 20%, rgba(212, 175, 90, .16), rgba(212, 175, 90, 0) 70%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(212, 175, 90, .07), rgba(212, 175, 90, 0) 70%),
    #0c0f0e;
  border-top: 1px solid rgba(212, 175, 90, .28);
}
/* fine grain, so the dark does not look flat */
.zlj::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.zlj-grid { position: relative; display: grid; gap: clamp(40px, 7svh, 72px); max-width: 78rem; margin: 0 auto; }
.zlj-side { text-align: center; }
.zlj-lily { display: block; width: clamp(120px, 34vw, 210px); height: auto; margin: 0 auto 1.6rem; overflow: visible; }
.zlj-halo { opacity: 0; transition: opacity 1.6s ease 1.4s; }
.zlj-shape path { fill: url(#zlj-gold); fill-opacity: 0; stroke: var(--gold-l); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.zlj-rib { fill: none; stroke: rgba(143, 106, 34, .9); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.zlj-lily.is-drawn .zlj-shape path { stroke-dashoffset: 0; fill-opacity: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.6, .1, .2, 1), fill-opacity 1.4s ease 1.7s; }
.zlj-lily.is-drawn .zlj-shape path:nth-child(n+2) { transition-delay: .25s, 1.9s; }
.zlj-lily.is-drawn .zlj-shape path:nth-child(n+4) { transition-delay: .5s, 2.1s; }
.zlj-lily.is-drawn .zlj-rib { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease 2.4s; }
.zlj-lily.is-drawn .zlj-halo { opacity: 1; animation: zlj-breathe 6s ease-in-out 3s infinite; }
@keyframes zlj-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.zlj-eyebrow { color: var(--gold); }
.zlj h1 {
  font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.01em; font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  background: linear-gradient(180deg, var(--gold-l) 10%, var(--gold) 60%, #a98034); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.zlj-lead { margin: 1.3rem auto 0; max-width: 32rem; font-size: 1.04rem; color: var(--fg-soft); }
.zlj-sub { margin-top: .6rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-l); }
.zlj-foot { margin-top: 1.8rem; font-size: .82rem; line-height: 1.6; color: var(--fg-muted); }
.zlj-foot a { color: var(--gold-l); text-underline-offset: 3px; }
.zlj-people {
  display: inline-flex; align-items: center; min-height: 46px; margin-top: 1.4rem; padding: 0 1.3rem; border: 1px solid rgba(212, 175, 90, .55); border-radius: 999px;
  color: var(--gold-l); text-decoration: none; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s ease, background .2s ease;
}
.zlj-people:hover { border-color: var(--gold); background: rgba(212, 175, 90, .1); }
/* the section is the whole page: room for the menu above, at least one screen tall */
.zlj-page { min-height: 100svh; padding-top: clamp(112px, 17svh, 170px); border-top: 0; }

.zlj-roll { list-style: none; border-top: 1px solid rgba(212, 175, 90, .3); }
.zr { position: relative; border-bottom: 1px solid rgba(212, 175, 90, .3); }
.zr summary {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px clamp(16px, 3vw, 36px);
  padding: clamp(18px, 3svh, 28px) clamp(4px, 1vw, 14px); cursor: pointer; list-style: none; overflow: hidden;
}
.zr summary::-webkit-details-marker { display: none; }
/* a sheen that crosses the row on hover */
.zr summary::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
  background: linear-gradient(100deg, rgba(212, 175, 90, 0) 20%, rgba(212, 175, 90, .12) 50%, rgba(212, 175, 90, 0) 80%);
  transition: transform .9s ease;
}
.zr-year { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--gold); font-variant-numeric: lining-nums; min-width: 3.2ch; }
.zr-mid { display: flex; flex-direction: column; min-width: 0; }
.zr-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.02; color: var(--fg); transition: color .3s ease; }
.zr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: .45rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.zr-post { padding: .2rem .6rem; border: 1px solid rgba(212, 175, 90, .6); border-radius: 999px; font-size: .62rem; letter-spacing: .18em; color: var(--gold-l); }
.zr-icon { position: relative; width: 40px; height: 40px; border: 1px solid rgba(212, 175, 90, .45); border-radius: 50%; transition: transform .35s ease, background .3s ease; }
.zr-icon::before, .zr-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--gold-l); transform: translate(-50%, -50%); }
.zr-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .3s ease; }
.zr details[open] .zr-icon { transform: rotate(180deg); background: rgba(212, 175, 90, .12); }
.zr details[open] .zr-icon::after { opacity: 0; }
.zr-more { padding: 0 clamp(4px, 1vw, 14px) clamp(20px, 3svh, 28px); padding-left: calc(3.2ch * 1.6 + clamp(16px, 3vw, 36px)); animation: zr-open .45s ease both; }
@keyframes zr-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.zr-more dl { display: grid; gap: 10px 32px; }
.zr-more dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.zr-more dd { margin-top: .2rem; color: var(--fg-soft); }
.zr-note { margin-top: 14px; max-width: 34rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--fg); }

@media (min-width: 640px) { .zr-more dl { grid-template-columns: repeat(2, minmax(0, max-content)); } }
@media (min-width: 1000px) {
  .zlj-grid { grid-template-columns: minmax(300px, 5fr) 7fr; align-items: start; gap: clamp(48px, 6vw, 110px); }
  .zlj-side { position: sticky; top: 110px; text-align: left; }
  .zlj-lily { margin: 0 0 1.8rem; }
  .zlj-lead { margin-left: 0; }
}
@media (max-width: 520px) {
  .zr summary { grid-template-columns: 1fr auto; }
  .zr-year { grid-column: 1 / -1; font-size: 1.15rem; }
  .zr-mid { grid-column: 1; }
  .zr-icon { grid-column: 2; grid-row: 2; }
  .zr-more { padding-left: 4px; }
}

/* hover effects only where there is a real pointer, so a tap on a phone does not leave a row lit */
@media (hover: hover) {
  .zr summary:hover::before { transform: translateX(100%); }
  .zr summary:hover .zr-name, .zr details[open] .zr-name { color: var(--gold-l); }
}

/* ---------- reveal (only with JS; without it everything is visible) */
.js-rv .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease calc(var(--i, 0) * 80ms), transform .8s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 80ms); }
.js-rv .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .zlj-lily * { transition: none !important; animation: none !important; }
  .zr summary::before { transition: none; }
  .zr-more { animation: none; }
  .js-rv .rv { opacity: 1; transform: none; transition: none; }
}
