/* Shahi Farmaan: a royal decree on one long parchment scroll, hung between two green pillars under a cusped arch.
   Wine, antique gold, parchment and deep green. Aref Ruqaa for display, IM Fell English for the proclamation, Martel for Hindi. */

:root {
  --wine: #6b1e2e; --wine-d: #4a1420; --night: #2b0b13;
  --gold: #c9a24a; --gold-d: #7d5e1c; --gold-l: #ecd08a;
  --parch: #f3e6c8; --parch-l: #fbf3dc; --parch-d: #dcc493;
  --green: #22403a; --ink: #371a12;
  --colw: min(100vw, 480px); --pillar: 6.5%; --top: calc(var(--colw) * .47);
  --f-d: "Aref Ruqaa", "Cormorant Garamond", Georgia, serif;
  --f-t: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --f-sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --f-hi: "Martel", "Noto Serif Devanagari", serif;
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-opacity='.12'%3E%3Cpath d='M24 0l8 16 16 8-16 8-8 16-8-16L0 24l16-8z'/%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3Ccircle cx='0' cy='0' r='5'/%3E%3Ccircle cx='48' cy='0' r='5'/%3E%3Ccircle cx='0' cy='48' r='5'/%3E%3Ccircle cx='48' cy='48' r='5'/%3E%3C/g%3E%3C/svg%3E");
  --fx-music-bg: #4a1420; --fx-music-ring: #c9a24a; --fx-music-ink: #ecd08a; --fx-bg: #f3e6c8;
}

html { background: var(--night); scroll-behavior: smooth; }
html.shut, html.shut body { overflow: hidden; }
body.farman {
  font: 400 18px/1.55 var(--f-t); color: var(--ink);
  background: var(--jaali), radial-gradient(ellipse at 50% 0, #4a1420, var(--night) 70%) fixed;
  -webkit-font-smoothing: antialiased;
}
.defs { position: absolute; }
h1, h2, h3, ul, blockquote, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* the column: two green pillars with gilt edges, the night of the arch between them */
.col {
  position: relative; width: var(--colw); margin: 0 auto;
  background:
    linear-gradient(90deg, var(--green) 0, var(--green) calc(var(--pillar) - 4px), #8a6a25 calc(var(--pillar) - 4px), var(--gold) calc(var(--pillar) - 1.5px), transparent calc(var(--pillar) - 1px),
      transparent calc(100% - var(--pillar) + 1px), var(--gold) calc(100% - var(--pillar) + 1.5px), #8a6a25 calc(100% - var(--pillar) + 4px), var(--green) calc(100% - var(--pillar) + 4px)),
    var(--jaali), #3d111c;
  box-shadow: 0 0 80px rgba(0, 0, 0, .55);
}

/* ---------- parchment ---------- */
.paper {
  position: relative; color: var(--ink);
  background-color: var(--parch);
  background-image:
    linear-gradient(90deg, rgba(122, 78, 22, .3), rgba(122, 78, 22, 0) 8%, rgba(122, 78, 22, 0) 92%, rgba(122, 78, 22, .3)),
    radial-gradient(ellipse 60% 22% at 18% 12%, rgba(166, 116, 44, .16), transparent 70%),
    radial-gradient(ellipse 50% 18% at 84% 58%, rgba(150, 100, 36, .14), transparent 70%),
    radial-gradient(ellipse 40% 14% at 30% 88%, rgba(150, 100, 36, .12), transparent 70%),
    repeating-linear-gradient(91deg, rgba(120, 80, 30, .04) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(1deg, rgba(120, 80, 30, .035) 0 1px, transparent 1px 3px);
  background-size: 100% 100%, 100% 760px, 100% 900px, 100% 680px, auto, auto;
}
.paper::before, .paper::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 7px; width: 9px; pointer-events: none;
  border-left: 1px solid rgba(125, 94, 28, .55); border-right: 1px solid rgba(125, 94, 28, .3);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='26'%3E%3Cpath d='M4.5 0C8 6 1 13 4.5 26' fill='none' stroke='%237d5e1c' stroke-opacity='.6'/%3E%3Cpath d='M5 9c2-1 3-3 3-5c-2 1-3 3-3 5zM4 20c-2-1-3-3-3-5c2 1 3 3 3 5z' fill='%236b1e2e' fill-opacity='.55'/%3E%3C/svg%3E") 0 0 / 9px 26px repeat-y;
}
.paper::after { left: auto; right: 7px; transform: scaleX(-1); }

/* ---------- rods: a wooden bar with gilt finials, the scroll rolled round it ---------- */
.rod { position: relative; display: block; height: 26px; z-index: 3; }
.rod__bar {
  position: absolute; left: 0; right: 0; top: 50%; height: 12px; translate: 0 -50%; border-radius: 3px;
  background: linear-gradient(180deg, #3d2413, #8a5a30 30%, #b98350 45%, #6e4322 75%, #2e1a0c);
}
.rod__bar::before, .rod__bar::after {
  content: ""; position: absolute; top: 50%; left: -3px; width: 13px; height: 20px; translate: 0 -50%; border-radius: 45% 30% 30% 45% / 50%;
  background: linear-gradient(180deg, #7d5e1c, #ecd08a 35%, #fff3c4 48%, #c9a24a 65%, #6e5216);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .45);
}
.rod__bar::after { left: auto; right: -3px; transform: scaleX(-1); }
.rod__roll {
  position: absolute; left: 13px; right: 13px; top: 50%; height: 22px; translate: 0 -50%; border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(110, 70, 20, .5), transparent 3%, transparent 97%, rgba(110, 70, 20, .5)),
    linear-gradient(180deg, #a98852, #e9d7ab 22%, #fdf5dc 42%, #e6d2a3 62%, #b8975c 86%, #8c6c3a);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
}
.rod--end { height: 46px; margin: -8px calc(var(--pillar) - 6px) 0; }
.rod--end .rod__roll { height: 38px; }
.rod--end .rod__bar { height: 14px; }

/* ---------- the gate ---------- */
.gate { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--top); }
.gate__arch { position: absolute; top: 0; left: 0; width: 100%; height: calc(var(--colw) * .65); pointer-events: none; }
.arch { display: block; width: 100%; height: 100%; }
.gate__crest {
  position: absolute; top: calc(var(--colw) * .235); left: 0; right: 0; text-align: center;
  font: 800 calc(var(--colw) * .082)/1.5 var(--f-hi); color: var(--gold-l); text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.gate__await {
  position: absolute; z-index: 1; top: calc(var(--top) + 136px); left: 9%; right: 9%; text-align: center; color: var(--parch);
  cursor: pointer; transition: opacity .4s;
}
html:not(.shut) .gate__await { display: none; }
.gate:not([data-phase="idle"]) .gate__await { opacity: 0; }
.await__title { font: 700 clamp(30px, calc(var(--colw) * .096), 44px)/1.15 var(--f-d); white-space: nowrap; color: var(--gold-l); letter-spacing: .01em; }
.await__to { margin-top: 12px; font: italic 20px/1.3 var(--f-t); color: var(--parch-l); overflow-wrap: anywhere; }
.await__line { margin-top: 10px; font: italic 18px/1.4 var(--f-t); color: #e6d3b0; }
.await__hint { margin-top: 26px; display: grid; justify-items: center; gap: 0; font: 400 16px/1.3 var(--f-sc); letter-spacing: .16em; color: var(--gold-l); }
.await__hint i { width: 14px; height: 14px; margin-top: -5px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); rotate: 45deg; animation: fmDown 1.8s ease-in-out infinite; }
.await__hint i:nth-child(2) { animation-delay: .18s; }
.await__hint i:nth-child(3) { animation-delay: .36s; }
.await__hint span { margin-top: 16px; }
@keyframes fmDown { 0%, 100% { opacity: .2; translate: 0 -3px; } 50% { opacity: 1; translate: 0 3px; } }

.roll { --p: 1; position: relative; z-index: 2; margin: 0 calc(var(--pillar) + 6px); }
html.shut .roll { --p: 0; }
.rod--top { margin: 0 -12px; }
.roll__body { position: relative; }
.roll__paper { clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0); }
html:not(.shut) .roll__paper { clip-path: none; }
.roll__in {
  min-height: calc(100vh - var(--top) - 26px); min-height: calc(100svh - var(--top) - 26px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px 28px 22px;
}
.rod--low {
  position: absolute; left: -12px; right: -12px; top: calc(var(--p) * 100%); width: auto; height: 64px; translate: 0 -14px;
  padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); transition: opacity .7s ease .2s, translate .9s ease;
}
.rod--low.held { cursor: grabbing; }
.rod--low .rod__bar { height: 14px; }
.rod--low .rod__roll { height: calc(54px - var(--p) * 26px); border-radius: 8px; }
.rod--low .rod__roll::after {   /* the loose edge of the sheet */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; border-radius: inherit;
  border-bottom: 1px solid rgba(110, 70, 20, .35);
}
.rod--low:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 2px; }
html.shut .gate[data-phase="idle"] .rod--low { animation: fmNudge 2.6s ease-in-out infinite; }
@keyframes fmNudge { 0%, 60%, 100% { translate: 0 -14px; } 75% { translate: 0 -6px; } 88% { translate: 0 -12px; } }
.rod--low.held, .gate[data-phase="idle"] .rod--low.held { animation: none; }
.gate.inked .rod--low, html:not(.shut) .rod--low { opacity: 0; translate: 0 30px; pointer-events: none; }
html:not(.shut) .rod--low { visibility: hidden; }

.gate__skip {
  position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); translate: -50% 0;
  min-width: 96px; min-height: 44px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gold); background: rgba(43, 11, 19, .82); color: var(--gold-l);
  font: 400 16px/1 var(--f-sc); letter-spacing: .14em;
}
html:not(.shut) .gate__skip, .gate:not([data-phase="idle"]) .gate__skip { display: none; }

/* what is written at the head of the scroll */
.sc {
  font: 400 16px/1.3 var(--f-sc); letter-spacing: .15em; color: var(--wine);
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
}
.sc { text-wrap: balance; }
.sc::before, .sc::after { content: ""; flex: none; width: 6px; height: 6px; rotate: 45deg; background: var(--gold-d); }
.sc--plain { display: block; text-wrap: balance; }
.sc--plain::before, .sc--plain::after { content: none; }
.roll__to { margin-bottom: 10px; font: italic 19px/1.3 var(--f-t); color: var(--wine-d); overflow-wrap: anywhere; }
.lead { font: italic 18px/1.45 var(--f-t); color: #4d2a1c; text-wrap: balance; }
.tughra { display: block; width: 146px; height: auto; margin: 8px auto 4px; overflow: visible; }
.tughra__ink { stroke: var(--wine); }
.tughra__ink path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s ease var(--d, 0s); }
.tughra__gold { fill: var(--gold-d); }
.tughra text { font: 700 46px var(--f-d); fill: var(--wine-d); transition: opacity .8s ease 1s; }
.tughra .tughra__b { font-size: 40px; }
.tughra__gold { transition: opacity .8s ease .9s; }
html.shut .gate[data-phase="idle"]:not(.drawing) .tughra__ink path { stroke-dashoffset: 1; transition-duration: .4s; transition-delay: 0s; }
html.shut .gate[data-phase="idle"]:not(.drawing) .tughra text, html.shut .gate[data-phase="idle"]:not(.drawing) .tughra__gold { opacity: 0; transition-delay: 0s; transition-duration: .3s; }
html.js .tughra--end:not(.in) .tughra__ink path { stroke-dashoffset: 1; }

.names { width: 100%; margin: 6px 0 0; display: grid; justify-items: center; font: 700 clamp(40px, calc(var(--colw) * .13), 58px)/1.12 var(--f-d); color: var(--wine); overflow-wrap: anywhere; }
.names--long { font-size: clamp(32px, calc(var(--colw) * .1), 46px); }
.names .ink { padding: 0 .04em; }
.names .ink--amp { margin: .12em 0 -.5em; font: italic 400 .56em/1 var(--f-t); color: var(--gold-d); }
.names__hi { margin: 2px 0 6px; font: 600 21px/1.6 var(--f-hi); color: var(--wine-d); }
.ink { display: inline-block; clip-path: inset(-20% -6% -20% -6%); transition: clip-path 1.1s cubic-bezier(.5, 0, .3, 1), filter 1.3s ease; }
.names .ink:nth-child(2) { transition-delay: .55s; }
.names .ink:nth-child(3) { transition-delay: .8s; }
.names__hi.ink { transition-delay: 1.3s; }
html.shut .gate:not(.inked) .ink { clip-path: inset(-20% 106% -20% -6%); filter: blur(1.5px); }
.rule { display: block; width: 180px; height: 13px; margin: 14px auto 12px; fill: var(--gold-d); stroke: var(--gold-d); }
.gate__date { font: 700 20px/1.3 var(--f-d); color: var(--wine-d); }
.gate__place { margin-top: 2px; font: 400 17px/1.4 var(--f-t); }
.gate__on {
  margin-top: 20px; min-height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font: 400 15px/1.2 var(--f-sc); letter-spacing: .14em; color: var(--wine); text-decoration: none; transition: opacity .8s ease;
}
.gate__on i { width: 10px; height: 10px; border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); rotate: 45deg; animation: fmDown 2s ease-in-out infinite; }
html.shut .gate__on { opacity: 0; }

/* ---------- the long scroll ---------- */
.body { margin: 0 calc(var(--pillar) + 6px); padding: 0 28px 44px; z-index: 2; }
.sec { padding: 40px 0 26px; text-align: center; }
.sec__title { margin: 8px 0 18px; font: 700 35px/1.08 var(--f-d); color: var(--wine-d); text-wrap: balance; }
.sec__title em { font: italic 400 .86em/1 var(--f-t); color: var(--gold-d); }

.proc__text { text-wrap: pretty; }
.drop { font: 700 1.9em/.8 var(--f-d); color: var(--wine); margin-right: 1px; }
.proc__name { margin-top: 18px; font: 700 32px/1.1 var(--f-d); color: var(--wine); overflow-wrap: anywhere; }
.proc__kin { margin-top: 4px; font: italic 17px/1.4 var(--f-t); color: #5a3524; }
.proc__kin b { display: block; font: 400 18px/1.35 var(--f-t); color: var(--ink); }
.proc__join { margin-top: 20px; font: italic 18px/1.3 var(--f-t); color: var(--gold-d); display: flex; align-items: center; gap: 12px; }
.proc__join::before, .proc__join::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-d)); }
.proc__join::after { transform: scaleX(-1); }
.proc__text--end { margin-top: 22px; }

.word { margin-top: 28px; padding: 18px 14px; border-top: 1px solid rgba(125, 94, 28, .6); border-bottom: 1px solid rgba(125, 94, 28, .6); font: italic 19px/1.5 var(--f-t); color: var(--wine-d); }
.court { margin-top: 34px; }
.court__list { margin-top: 12px; display: grid; gap: 12px; }
.court__list b { display: block; font: 700 22px/1.2 var(--f-d); color: var(--wine-d); }
.court__list span { display: block; margin-top: 2px; font: italic 16px/1.3 var(--f-t); color: #5a3524; }

/* the seal */
.mohar { margin-top: 30px; min-height: 150px; }
.seal { display: inline-grid; justify-items: center; gap: 2px; padding: 4px 10px; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seal svg { width: 104px; height: 104px; overflow: visible; }
.seal__wax { fill: rgba(143, 36, 55, .06); stroke: var(--wine); stroke-width: 1.2; stroke-dasharray: 3 4; transition: fill .2s; }
.seal__ring { fill: none; stroke: transparent; stroke-width: 1.4; }
.seal__mono { font: 700 30px var(--f-d); fill: var(--wine); opacity: .3; }
.seal__amp { font: italic 400 16px var(--f-t); }
.seal__ask { font: 400 15px/1.3 var(--f-sc); letter-spacing: .14em; color: var(--wine); }
.seal.pressed { cursor: default; }
.seal.pressed svg { animation: fmStamp .5s cubic-bezier(.2, 1.4, .4, 1); filter: drop-shadow(0 3px 3px rgba(60, 10, 20, .45)); rotate: -8deg; }
.seal.pressed .seal__wax { fill: #8f2437; stroke: #5a1220; stroke-dasharray: none; }
.seal.pressed .seal__ring { stroke: #5a1220; }
.seal.pressed .seal__ring--in { stroke: #c4566a; stroke-width: .8; }
.seal.pressed .seal__mono { fill: #f3c9b0; opacity: .95; }
.seal.pressed .seal__ask { display: none; }
.seal__done { margin-top: 4px; font: italic 18px/1.3 var(--f-t); color: var(--wine); }
@keyframes fmStamp { from { scale: 1.6; opacity: .2; } 60% { scale: .94; opacity: 1; } to { scale: 1; } }

.flora { margin: 0 auto; width: min(100%, 290px); }
.flora svg { display: block; width: 100%; height: auto; }
.flora--b { width: min(78%, 230px); }

/* the appointed day: a niche */
.day {
  width: 208px; margin: 18px auto 22px; padding: 40px 14px 22px; border-radius: 104px 104px 6px 6px;
  background: var(--jaali), linear-gradient(180deg, var(--wine), var(--wine-d)); color: var(--parch-l);
  border: 1.5px solid var(--gold); box-shadow: 0 0 0 5px var(--parch), 0 0 0 6px rgba(125, 94, 28, .7), 0 10px 22px -8px rgba(60, 20, 10, .5);
}
.day__wk { font: 400 17px/1.2 var(--f-sc); letter-spacing: .16em; color: var(--gold-l); }
.day__num { font: 700 88px/.95 var(--f-d); color: var(--gold-l); margin-top: 4px; }
.day__mon { font: 700 24px/1.2 var(--f-d); }
.day__time { margin-top: 4px; font: italic 17px/1.3 var(--f-t); color: #ecd9b8; }
.count { margin-top: 12px; display: flex; gap: 6px; justify-content: center; }
.count span { flex: 1 1 0; min-width: 0; max-width: 78px; padding: 8px 0 7px; border: 1px solid rgba(125, 94, 28, .75); background: rgba(255, 250, 232, .55); font: 400 14px/1.2 var(--f-sc); letter-spacing: .08em; color: var(--wine-d); }
.count b { font: 700 28px/1.1 var(--f-d); color: var(--wine); }
.count__done { margin-top: 12px; font: italic 19px/1.4 var(--f-t); color: var(--wine); }

/* the decrees */
.decree {
  position: relative; margin-top: 38px; padding: 28px 14px 20px;
  border: 1px solid rgba(125, 94, 28, .8); outline: 1px solid rgba(125, 94, 28, .4); outline-offset: 4px;
  background: rgba(255, 250, 232, .5);
}
.decree__no { position: absolute; top: -12px; left: 0; right: 0; text-align: center; }
.decree__no span { display: inline-block; padding: 2px 12px; background: var(--wine); color: var(--gold-l); font: 400 15px/1.3 var(--f-sc); letter-spacing: .14em; white-space: nowrap; }
.decree__hi { font: 600 19px/1.6 var(--f-hi); color: var(--gold-d); }
.decree__name { font: 700 35px/1.08 var(--f-d); color: var(--wine); overflow-wrap: anywhere; text-wrap: balance; }
.decree__lead { margin-top: 10px; font: italic 17px/1.4 var(--f-t); color: #5a3524; }
.decree__when { margin-top: 4px; font: 700 21px/1.25 var(--f-d); color: var(--wine-d); text-wrap: balance; }
.decree__time { font: 400 19px/1.4 var(--f-d); color: var(--wine-d); }
.decree__where { margin-top: 8px; font: 400 18px/1.4 var(--f-t); }
.decree__where b { font: 700 21px/1.2 var(--f-d); color: var(--wine-d); }
.decree__sched { margin: 12px auto 0; max-width: 220px; display: grid; gap: 4px; }
.decree__sched li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted rgba(125, 94, 28, .7); font: 400 17px/1.5 var(--f-t); }
.decree__sched b { font: 400 16px/1.6 var(--f-sc); letter-spacing: .06em; white-space: nowrap; }
.decree__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(125, 94, 28, .45); font: italic 17px/1.5 var(--f-t); text-wrap: pretty; }
.decree__dress { margin-top: 10px; font: 400 17px/1.4 var(--f-t); }
.decree__dress span { font: 400 15px/1 var(--f-sc); letter-spacing: .14em; color: var(--wine); }
.links { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lnk {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 13px;
  border: 1px solid var(--wine); background: rgba(255, 250, 232, .65); color: var(--wine-d); text-decoration: none;
  font: 400 15px/1.1 var(--f-sc); letter-spacing: .08em; white-space: nowrap; transition: background .2s, color .2s;
}
.lnk--solid { background: var(--wine); color: var(--parch-l); border-color: var(--wine-d); box-shadow: inset 0 0 0 2px var(--wine), inset 0 0 0 3px rgba(236, 208, 138, .7); }
.lnk--big { min-height: 54px; padding: 0 28px; font-size: 18px; }
@media (hover: hover) { .lnk:hover { background: var(--wine-d); color: var(--gold-l); } }

/* the darbar */
.baradari { margin: 14px -6px 10px; }
.baradari svg { display: block; width: 100%; height: auto; }
.darbar__name { font: 700 34px/1.1 var(--f-d); color: var(--wine); overflow-wrap: anywhere; text-wrap: balance; }
.darbar__addr { margin: 4px 0 12px; font: 400 19px/1.4 var(--f-t); }

.gallery { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { padding: 4px; background: var(--parch-l); border: 1px solid rgba(125, 94, 28, .8); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.sec--reply { padding-bottom: 10px; }
.sec--sign { padding-top: 14px; }
.envoys { margin: 12px 0 22px; display: grid; gap: 14px; }
.envoys b { display: block; font: 700 22px/1.2 var(--f-d); color: var(--wine-d); }
.envoys span { display: block; font: 400 18px/1.4 var(--f-d); letter-spacing: .04em; }
.envoys__go { display: flex !important; justify-content: center; gap: 8px; margin-top: 4px; }
.envoys__go a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font: 400 15px/1 var(--f-sc); letter-spacing: .1em; color: var(--wine); }
.tag { font: 700 25px/1.2 var(--f-d); color: var(--wine); overflow-wrap: anywhere; }
.tughra--end { width: 132px; margin-top: 18px; }
.sign { margin-top: 6px; font: italic 17px/1.5 var(--f-t); color: #5a3524; }
.sign b { display: block; font: 700 22px/1.3 var(--f-d); font-style: normal; color: var(--wine-d); }

.foot { padding: 34px 12% calc(96px + env(safe-area-inset-bottom)); text-align: center; color: #e6d3b0; font: 400 16px/1.5 var(--f-t); }
.foot__names { font: 700 30px/1.15 var(--f-d); color: var(--gold-l); }
.foot__date { margin: 4px 0 16px; font-style: italic; }
.foot__music, .foot__credit { font-size: 15px; color: #cdb893; }
.foot a { color: var(--gold-l); }
.foot__up { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font: 400 15px/1 var(--f-sc); letter-spacing: .12em; }

@media (min-width: 700px) {
  .col { margin-top: 0; }
  .sec__title { font-size: 40px; }
}

/* ---------- link-preview card: the scroll laid across, a rod above and below ---------- */
html.og .ogcard { flex-direction: column; background: var(--jaali), radial-gradient(ellipse at 50% 40%, #6b1e2e, #2b0b13 90%); padding: 26px 0; }
.og__rod { flex: none; height: 58px; margin: 0 44px; z-index: 2; }
.og__rod .rod__bar { height: 20px; }
.og__rod .rod__bar::before, .og__rod .rod__bar::after { width: 22px; height: 34px; }
.og__rod .rod__roll { left: 26px; right: 26px; height: 48px; border-radius: 9px; }
.og__paper { flex: 1; margin: -12px 84px; padding: 0 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.og__paper::before, .og__paper::after { left: 14px; width: 12px; background-size: 12px 34px; }
.og__paper::after { left: auto; right: 14px; }
.og__sc { font: 400 27px/1.2 var(--f-sc); letter-spacing: .2em; color: var(--wine); }
.og__tughra { width: 190px; margin: 8px auto 0; }
.og__names { font: 700 124px/1.02 var(--f-d); color: var(--wine); white-space: nowrap; }
.og__names em { font: italic 400 .6em/1 var(--f-t); color: var(--gold-d); }
.og__names--stack { line-height: 1.08; }
.og__names--stack span { display: block; }
.og__date { margin-top: 8px; font: 700 44px/1.2 var(--f-d); color: var(--wine-d); }
.og__venue { margin-top: 2px; font: italic 30px/1.3 var(--f-t); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* core.css gives every property a .01ms transition here; script.js measures [data-fit] right after resizing it */
  [data-fit] { transition-property: none !important; }
}
