/* Abhla Bharat (આભલા ભરત): Kutchi mirror-work. Black cotton, chain stitch in madder red, magenta, saffron and
   parrot green, tiny mirrors everywhere; khadi-cream pages between strips of mirrored zigzag border.
   Opening: drag a light over the dark panel; mirrors catch it; then everything flares and the name is stitched in
   the medallion. Then: quilt of nights -> woven artist labels -> pass tags -> rules + ground -> sponsors -> close. */

:root {
  --black: #141012;
  --black-2: #1e171a;
  --red: #c0262d;
  --magenta: #c2185b;
  --saffron: #f28c28;
  --green: #2f9a48;
  --indigo: #263a8a;
  --haldi: #f6c84a;
  --khadi: #f6ecd9;
  --khadi-2: #ecdcc0;
  --ink: #241a14;
  --ink-2: #5a4636;
  --mirror: radial-gradient(circle at 34% 30%, #ffffff 0 9%, #e6ecf0 18%, #9aa5ae 46%, #4a535b 78%, #2a3036 100%);

  --f-display: "Kumar One", "Rasa", Georgia, serif;
  --f-outline: "Kumar One Outline", "Kumar One", serif;
  --f-body: "Rasa", "Noto Serif Gujarati", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --fx-music-bg: #141012;
  --fx-music-ring: #f28c28;
  --fx-music-ink: #f6ecd9;
  --fx-bg: #f6ecd9;
}

html { scroll-behavior: smooth; }
html.shut, html.shut body { overflow: hidden; }
body { background: var(--black); color: var(--ink); font: 400 19px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[lang="gu"] { font-family: "Rasa", "Noto Serif Gujarati", serif; }
:focus-visible { outline: 2.5px dashed var(--saffron); outline-offset: 3px; }

/* a mirror, as used everywhere: silver disc in a ring of chain stitch */
.mirror, .patch__mirror, .ptag__mirrors i, .close__mirrors i, .og__mirrors i, .rules__m {
  border-radius: 50%; background: var(--mirror);
  box-shadow: 0 0 0 2px #f6ecd9, 0 0 0 3.5px rgba(192, 38, 45, .9);
}

/* =================================================================== buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  border-radius: 6px; text-decoration: none; font: 400 16px/1.1 var(--f-display); letter-spacing: .02em;
  transition: transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 0 0 2px var(--black), 0 0 0 4px rgba(246, 236, 217, .55), 0 10px 22px -10px rgba(192, 38, 45, .8); outline: 1.5px dashed rgba(255, 255, 255, .6); outline-offset: -6px; }
.btn--line { border: 2px dashed currentColor; }

/* =================================================================== GATE */
.gate { position: relative; background: var(--black); }
.panel {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center;
  overflow: hidden; isolation: isolate; padding: calc(68px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
}
html.shut .panel { height: 100svh; }
.cloth { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.mirrors { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mirror {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; opacity: .2; filter: saturate(0) brightness(.55);
  transition: opacity .25s, filter .25s;
}
.mirror--s { width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 0 1.6px #f6ecd9, 0 0 0 3px rgba(242, 140, 40, .9); }
.mirror.lit { opacity: 1; filter: none; animation: glint 1.2s var(--ease) both, shimmer 3.4s ease-in-out 1.2s infinite; animation-delay: 0s, calc(var(--d, 0) * 1s + 1.2s); }
.mirror::after {                       /* the star a mirror throws when the light catches it */
  content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, .95) 50%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255, 255, 255, .95) 50%, transparent 53%),
    radial-gradient(circle, rgba(255, 244, 214, .9) 0 8%, transparent 32%);
}
.mirror.lit::after { animation: star .9s ease-out; }
.gate.flare .mirror::after { animation: star 1s ease-out both; animation-delay: var(--w, 0s); }
@keyframes glint { 0% { filter: brightness(2.2) saturate(0); transform: scale(1.4); } 100% { filter: none; transform: scale(1); } }
@keyframes shimmer { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.3); } }
@keyframes star { 0% { opacity: 0; transform: scale(.3) rotate(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3) rotate(45deg); } }

.veil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; transition: opacity 1.2s ease; }
.gate[data-phase="open"] .veil, .gate[data-phase="flaring"] .veil { opacity: 0; }
.lamp {
  position: absolute; z-index: 4; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 160, .5) 0, rgba(255, 190, 90, .22) 30%, transparent 66%);
  mix-blend-mode: screen; pointer-events: none; opacity: 0; transform: translate(var(--mx, 50vw), var(--my, 50vh)); transition: opacity .3s;
}
.gate.lighting .lamp { opacity: 1; }
.gate[data-phase="open"] .lamp { display: none; }

/* the medallion: concentric stitched rings round the name */
.medal {
  position: relative; z-index: 1; flex: 1; display: grid; place-items: center; width: 100%; min-height: 0;
}
.medal__in {
  position: relative; width: min(88vw, 560px); padding: 34px 22px 30px; text-align: center; color: var(--khadi);
  background: radial-gradient(ellipse at 50% 40%, #2a1d22, #141012 72%);
  border-radius: 38% / 20%;
  box-shadow: 0 0 0 3px var(--black), 0 0 0 6px var(--red), 0 0 0 9px var(--black), 0 0 0 11px var(--saffron), 0 0 0 14px var(--black), 0 0 0 16px var(--green), 0 20px 60px rgba(0, 0, 0, .6);
  outline: 2px dashed rgba(246, 236, 217, .7); outline-offset: -10px;
}
.medal__org { max-width: 80%; margin: 0 auto; font: 400 12px/1.4 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--haldi); }
.medal__gu { margin-top: 10px; font: 700 clamp(26px, min(8vw, 5svh), 40px)/1.1 var(--f-body); color: var(--saffron); }
.medal__name { position: relative; margin: 4px 0 0; font: 400 clamp(40px, min(13.5vw, 8.4svh), 96px)/1 var(--f-display); text-wrap: balance; }
.medal__fill { color: #fff1e0; text-shadow: 0 3px 0 var(--red), 0 6px 0 rgba(0, 0, 0, .5); }
.medal__stitch { position: absolute; inset: 0; font-family: var(--f-outline); color: var(--saffron); transform: translate(-2px, -2px); pointer-events: none; opacity: .9; }
.medal__edition { margin-top: 10px; font: 400 13px var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--haldi); }
.medal__when { margin-top: 12px; font: 400 clamp(20px, 5.6vw, 28px)/1.2 var(--f-display); color: #fff; }
.medal__venue { margin-top: 4px; font-size: 17px; color: #e8d6bf; }

.gate__hint {
  position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 72px 0;
  text-align: center; color: var(--khadi); pointer-events: none; transition: opacity .6s;
}
.gate__to { font-size: 15px; color: #e8d6bf; }
.gate__gu { font: 700 24px/1 var(--f-body); color: var(--saffron); }
.gate__line { font: 400 17px/1.3 var(--f-display); }
.gate__meter { width: 160px; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(246, 236, 217, .18); overflow: hidden; }
.gate__meter i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--saffron), var(--haldi)); transition: width .3s; }
.hero {
  position: relative; z-index: 5; display: none; text-align: center; margin-top: 22px; padding: 16px 16px 18px; max-width: 520px;
  background: rgba(20, 16, 18, .92); box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--saffron); outline: 1.5px dashed rgba(246, 236, 217, .5); outline-offset: -7px;
}
.hero__tag { font-size: 19px; color: #f1e2cc; font-style: italic; }
.hero__cta { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero .btn--line { color: var(--khadi); }

.gate__tap { position: absolute; inset: 0; z-index: 6; border: 0; background: transparent; cursor: none; touch-action: none; -webkit-tap-highlight-color: transparent; }
.gate__tap:focus-visible { outline: 3px dashed var(--saffron); outline-offset: -8px; }
.gate__skip {
  position: absolute; top: calc(62px + env(safe-area-inset-top)); right: 12px; z-index: 7; min-height: 44px; padding: 8px 18px; cursor: pointer;
  border-radius: 6px; border: 1.5px dashed rgba(246, 236, 217, .5); background: rgba(20, 16, 18, .7); color: var(--khadi); font: 400 14px var(--f-display);
}
.gate[data-phase="open"] .gate__hint, .gate[data-phase="flaring"] .gate__hint { opacity: 0; }
.gate[data-phase="open"] .gate__hint { display: none; }
.gate[data-phase="open"] .hero { display: block; animation: rise .9s var(--ease) both; }
.gate[data-phase="open"] :is(.gate__tap, .gate__skip) { display: none; }
.gate[data-phase="open"] .mirror { opacity: 1; filter: none; }
.gate.flare .medal__in { animation: pop 1.1s var(--ease); }
.gate.instant * { transition: none !important; animation-duration: 0s !important; }
@keyframes pop { 0% { transform: scale(.94); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes rise { from { opacity: 0; translate: 0 16px; } }

/* =================================================================== the mirrored zigzag border */
.border {
  display: block; height: 28px; position: relative; z-index: 1;
  background:
    radial-gradient(circle at 14px 9px, #fff 0 1.5px, #c7d0d6 2.5px, #6b757d 4.5px, transparent 5px) 0 0 / 28px 28px repeat-x,
    linear-gradient(135deg, var(--red) 25%, transparent 25%) -14px 0 / 28px 28px repeat-x,
    linear-gradient(225deg, var(--red) 25%, transparent 25%) -14px 0 / 28px 28px repeat-x,
    linear-gradient(315deg, var(--saffron) 25%, transparent 25%) 0 0 / 28px 28px repeat-x,
    linear-gradient(45deg, var(--saffron) 25%, transparent 25%) 0 0 / 28px 28px repeat-x,
    var(--black);
  border-top: 3px solid var(--green); border-bottom: 3px solid var(--magenta);
}

/* =================================================================== sections */
.sec { position: relative; padding: 80px 16px; max-width: 760px; margin: 0 auto; }
.sec--nights, .sec--passes, .sec--info { max-width: none; background: var(--khadi); }
.sec--nights > *, .sec--passes > *, .sec--info > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.kicker { display: flex; align-items: baseline; gap: 10px; font: 400 13px/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.kicker [lang="gu"] { font: 700 22px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--magenta); }
.kicker--c { justify-content: center; }
.sec__title { margin-top: 10px; margin-bottom: 0; font: 400 clamp(32px, 9vw, 54px)/1.08 var(--f-display); color: var(--black); text-wrap: balance; }
.sec__lead { margin-top: 12px; color: var(--ink-2); }

/* --- the quilt --- */
.sec--nights > .quilt { max-width: 540px; }
.quilt {
  margin-top: 26px; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0;
  border: 4px solid var(--black); box-shadow: 0 0 0 3px var(--khadi), 0 0 0 6px var(--red), 0 20px 40px -24px rgba(0, 0, 0, .6);
}
.patch {
  position: relative; aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  background: var(--c); color: var(--ci);
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center;
  box-shadow: inset 0 0 0 2px rgba(20, 16, 18, .9);
  transition: filter .3s, transform .3s var(--ease);
}
.patch::before {                        /* chain-stitch border inside each patch */
  content: ""; position: absolute; inset: 7px; border: 2px dashed color-mix(in srgb, var(--ci) 70%, transparent); pointer-events: none;
}
.patch::after {                         /* tiny stitched triangles in the corners */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(135deg, var(--black) 0 10px, transparent 10px), linear-gradient(225deg, var(--black) 0 10px, transparent 10px),
    linear-gradient(45deg, var(--black) 0 10px, transparent 10px), linear-gradient(315deg, var(--black) 0 10px, transparent 10px);
}
.patch__no { padding-top: 12px; font: 700 clamp(18px, 5vw, 26px)/1 var(--f-body); }
.patch__mirror { width: clamp(20px, 7vw, 32px); height: clamp(20px, 7vw, 32px); transition: transform .4s var(--ease), filter .4s; }
.patch__date { font: 400 clamp(13px, 3.8vw, 18px)/1 var(--f-display); }
.patch__wd { padding-bottom: 12px; font-size: 13px; line-height: 1.2; }
.patch[aria-selected="true"] { z-index: 1; transform: scale(1.06); box-shadow: inset 0 0 0 2px var(--black), 0 10px 24px rgba(0, 0, 0, .45); }
.patch[aria-selected="true"] .patch__mirror { transform: scale(1.25); filter: brightness(1.25); animation: shimmer 1.6s ease-in-out infinite; }
.patch:focus-visible { outline: 3px dashed var(--black); outline-offset: -12px; }

.night {
  margin-top: 18px; padding: 20px 18px; background: #fffaf0; border-left: 10px solid var(--c);
  box-shadow: 0 0 0 1.5px rgba(36, 26, 20, .15), 0 14px 30px -20px rgba(0, 0, 0, .45);
  animation: rise .5s var(--ease);
}
.night__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.night__name { margin: 0; font: 400 clamp(22px, 6vw, 30px)/1.15 var(--f-display); color: var(--black); }
.night__col { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-2); }
.night__col i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fffaf0, 0 0 0 3px rgba(0, 0, 0, .25); }
.night__when { margin-top: 8px; font-weight: 600; }
.night__devi { margin-top: 4px; color: var(--magenta); font-style: italic; }
.night__devi span { font-style: normal; font-weight: 600; }
.night__where { margin-top: 4px; color: var(--ink-2); }
.night__note { margin-top: 6px; font-weight: 700; color: var(--red); }
.night__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 2px dashed rgba(36, 26, 20, .35); border-radius: 4px;
  text-decoration: none; font-size: 16px; font-weight: 600; color: var(--ink);
}
.tag--book { background: var(--red); border: 2px solid var(--red); color: #fff; }

.count-wrap { margin-top: 34px; padding-top: 22px; border-top: 2px dashed rgba(36, 26, 20, .25); text-align: center; }
.count__label { font: 400 13px var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.count { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.count span { display: flex; flex-direction: column; align-items: center; font-size: 14px; color: var(--ink-2); }
.count b { font: 400 clamp(30px, 9vw, 46px)/1.1 var(--f-display); color: var(--black); }
.count__done { margin-top: 10px; font: 400 22px var(--f-display); color: var(--red); text-align: center; }

/* --- artists: woven labels on the black cloth --- */
.sec--artists { color: var(--khadi); }
.sec--artists .sec__title { color: var(--khadi); }
.sec--artists .kicker { color: var(--haldi); }
.sec--artists .kicker [lang="gu"] { color: var(--saffron); }
.labels { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.label {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 16px 30px; color: var(--ink);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 2px, transparent 2px 4px), var(--khadi);
  border-left: 12px solid var(--c); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .8);
  rotate: calc((var(--i) - 1) * .6deg);
}
.label::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; border-left: 2px dashed color-mix(in srgb, var(--c) 70%, #000); }
.label__name { font: 400 clamp(22px, 6.2vw, 30px)/1.15 var(--f-display); color: var(--black); }
.label__role { font-size: 16px; font-weight: 600; color: var(--c); filter: brightness(.8); letter-spacing: .04em; }

/* --- passes: hang tags --- */
.tags { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ptag {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 34px 14px 16px; text-align: left; cursor: pointer;
  border: 0; color: #fff; background: var(--c);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .15);
  transition: transform .35s var(--ease), filter .3s;
}
.ptag::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(255, 255, 255, .6); clip-path: inherit; pointer-events: none; }
.ptag__hole { position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--khadi); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.ptag__name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.ptag__price { font: 400 clamp(26px, 7.4vw, 34px)/1.15 var(--f-display); }
.ptag__note { font-size: 15px; line-height: 1.3; opacity: .92; }
.ptag__mirrors { display: flex; gap: 10px; margin-top: 12px; }
.ptag__mirrors i { width: 12px; height: 12px; box-shadow: 0 0 0 1.5px #fff; }
.ptag[aria-checked="true"] { transform: translateY(-6px) rotate(-1.5deg); filter: saturate(1.15); }
.ptag[aria-checked="true"] .ptag__mirrors i { animation: glint .9s var(--ease) both; }
.ptag[aria-checked="true"] .ptag__mirrors i:nth-child(2) { animation-delay: .1s; }
.ptag[aria-checked="true"] .ptag__mirrors i:nth-child(3) { animation-delay: .2s; }
.ptag[aria-checked="true"]::after { content: "✓"; position: absolute; top: 8px; right: 22px; font: 400 18px var(--f-display); }
.tags:has([aria-checked="true"]) .ptag[aria-checked="false"] { filter: saturate(.55) brightness(.92); }
.book {
  margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 18px; text-decoration: none; text-align: center;
  background: var(--black); color: var(--khadi); box-shadow: 0 0 0 3px var(--khadi), 0 0 0 6px var(--red);
  outline: 1.5px dashed rgba(246, 236, 217, .6); outline-offset: -8px;
}
.book__label { font: 400 24px/1.2 var(--f-display); color: #fff; }
.book__pick { font-weight: 700; font-size: 18px; color: var(--haldi); }
.book__via { font-size: 15px; color: #cdb9a0; }
.book.bump { animation: pop .5s var(--ease); }

/* --- rules + ground --- */
.rules { list-style: none; margin-top: 24px; margin-bottom: 0; padding: 0; display: grid; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fffaf0; box-shadow: 0 0 0 1.5px rgba(36, 26, 20, .12); }
.rules__m { flex: none; width: 14px; height: 14px; margin-top: 6px; }
.ground { margin-top: 44px; padding: 26px 20px; text-align: center; color: var(--khadi); background: var(--black); box-shadow: 0 0 0 3px var(--khadi), 0 0 0 6px var(--green); outline: 1.5px dashed rgba(246, 236, 217, .55); outline-offset: -9px; }
.ground .kicker { justify-content: center; color: var(--haldi); }
.ground .kicker [lang="gu"] { color: var(--saffron); }
.ground__name { margin-top: 8px; font: 400 clamp(28px, 8vw, 42px)/1.1 var(--f-display); color: #fff; }
.ground__addr { margin-top: 4px; color: #e8d6bf; }
.ground__time { margin: 10px 0 18px; font-weight: 700; color: var(--haldi); }

/* --- sponsors --- */
.sec--sponsors { text-align: center; color: var(--khadi); padding-top: 64px; padding-bottom: 64px; }
.sec--sponsors .kicker { color: var(--haldi); }
.sec--sponsors .kicker [lang="gu"] { color: var(--saffron); }
.patches { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.patches li { padding: 10px 16px; background: var(--c); color: #fff; font-weight: 700; font-size: 17px; outline: 1.5px dashed rgba(255, 255, 255, .7); outline-offset: -5px; }

.gallery { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* --- close: the cloth again, mirrors winking --- */
.sec--close { max-width: none; padding: 0; overflow: hidden; }
.close__panel { position: absolute; inset: 0; }
.close__panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(20, 16, 18, .9) 30%, rgba(20, 16, 18, .55) 80%); }
.close__mirrors i { position: absolute; z-index: 1; width: 14px; height: 14px; animation: shimmer 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
.close__in { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; padding: 96px 16px 110px; text-align: center; color: var(--khadi); }
.close__gu { font: 700 clamp(28px, 8vw, 40px)/1.2 var(--f-body); color: var(--saffron); }
.sec--close .sec__title { color: #fff; }
.close__line { margin: 14px auto 0; max-width: 28em; color: #e8d6bf; }
.close__cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.close__tag { margin-top: 24px; font: 400 22px var(--f-display); color: var(--haldi); }

/* --- dock --- */
.dock {
  position: fixed; left: 12px; right: 76px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; max-width: 520px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 6px 6px 6px 16px;
  background: var(--black); color: var(--khadi); box-shadow: 0 0 0 2px var(--saffron), 0 14px 30px -10px rgba(0, 0, 0, .7);
  translate: 0 160%; transition: translate .5s var(--ease);
}
.dock.show { translate: 0 0; }
.dock__txt { display: flex; flex-direction: column; font-size: 14px; line-height: 1.25; color: #cdb9a0; min-width: 0; }
.dock__txt b { font: 400 15px/1.3 var(--f-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__btn { flex: none; display: grid; place-items: center; min-height: 44px; padding: 0 20px; background: var(--red); color: #fff; text-decoration: none; font: 400 15px var(--f-display); }
@media (min-width: 700px) { .dock { left: 50%; right: auto; width: 460px; translate: -50% 160%; } .dock.show { translate: -50% 0; } }

/* --- footer --- */
.foot { padding: 0 16px calc(96px + env(safe-area-inset-bottom)); text-align: center; color: #cdb9a0; font-size: 16px; background: var(--black); }
.foot .border { margin: 0 -16px 36px; }
.foot__name { font: 400 28px var(--f-display); color: var(--khadi); }
.foot__by { margin-top: 4px; }
.foot__cal { margin-top: 14px; }
.foot__music, .foot__credit { margin-top: 10px; font-size: 14px; }
.up { display: inline-block; margin-top: 18px; padding: 10px; color: var(--saffron); }

.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
@media (min-width: 900px) { .sec { padding-top: 110px; padding-bottom: 110px; } .tags { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
@media (max-height: 700px) {
  html.shut .medal__in { padding: 22px 16px 20px; }
  html.shut .medal__venue { display: none; }
}

/* =================================================================== OG CARD (1200x630) */
.ogcard { background: var(--black); color: var(--khadi); font-family: var(--f-body); align-items: center; justify-content: center; }
.ogcard .cloth { position: absolute; inset: 0; }
.og__mirrors i { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; filter: brightness(calc(1 + var(--d) * .2)); }
.og__medal {
  position: relative; z-index: 2; width: 900px; padding: 40px 50px 44px; text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #2a1d22, #141012 72%); border-radius: 46% / 32%;
  box-shadow: 0 0 0 4px var(--black), 0 0 0 9px var(--red), 0 0 0 13px var(--black), 0 0 0 17px var(--saffron), 0 0 0 21px var(--black), 0 0 0 25px var(--green), 0 30px 80px rgba(0, 0, 0, .7);
  outline: 3px dashed rgba(246, 236, 217, .7); outline-offset: -16px;
}
.og__gu { font: 700 46px/1.1 var(--f-body); color: var(--saffron); }
.og__name { font: 400 104px/1 var(--f-display); color: #fff1e0; text-shadow: 0 5px 0 var(--red); }
.og__date { margin-top: 14px; font: 400 40px var(--f-display); color: #fff; }
.og__venue { margin-top: 6px; font-size: 28px; color: #e8d6bf; }
.og__price { display: inline-block; margin-top: 16px; padding: 6px 22px; background: var(--red); color: #fff; font: 400 26px var(--f-display); }
