/* =====================================================================
   TopTeam — "The Programme"  (core: tokens, type, layout, components)
   A resort day runs from sunrise to after midnight; so does the logo's
   gradient. Each section is an hour and takes that hour's colour.
   ===================================================================== */
:root {
  --stage: #000000;
  --floor: #120A1A;
  --floor-2: #1B1026;
  --ink: #F4F0FA;
  --ink-2: #ADA4BC;
  --line: #2A2333;
  --sun: #FF5A1F;
  --flare: #FF2D87;
  --volt: #9B4DFF;
  --volt-t: #B98CFF;
  --ice: #2F86FF;
  --ice-t: #5AA2FF;
  --neon: linear-gradient(90deg, #FF5A1F 0%, #FF2D87 38%, #9B4DFF 68%, #2F86FF 100%);
  --neon-v: linear-gradient(180deg, #FF5A1F 0%, #FF2D87 34%, #9B4DFF 66%, #2F86FF 100%);
  --hue: var(--flare);
  --hue-t: var(--flare);

  --f-disp: "Tektur", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lh-body: 1.6;

  --max: 100vw;   /* full width: the page fills the screen, only the gutters change with its size */
  --gut: 16px;
  --rail-gap: 0px;
  --chamf: 22px;
  --chamf-s: 10px;
  --sec-y: clamp(64px, 9vw, 128px);
}
@media (min-width: 760px) { :root { --gut: clamp(32px, 4.5vw, 112px); --rail-gap: 56px; } }

[dir="rtl"] {
  --f-disp: "Reem Kufi", "Noto Kufi Arabic", system-ui, sans-serif;
  --f-body: "Noto Kufi Arabic", system-ui, sans-serif;
  --lh-body: 1.85;
}

.hour-sun   { --hue: var(--sun);   --hue-t: var(--sun); }
.hour-flare { --hue: var(--flare); --hue-t: var(--flare); }
.hour-volt  { --hue: var(--volt);  --hue-t: var(--volt-t); }
.hour-ice   { --hue: var(--ice);   --hue-t: var(--ice-t); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--hue-t); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--flare); color: #000; }

:focus-visible { outline: 3px solid var(--ice-t); outline-offset: 3px; }
main:focus { outline: none; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-disp);
  font-weight: 800;
  font-variation-settings: "wdth" 100;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
  overflow-wrap: anywhere;   /* long German/Russian words must not push the page wider than a 320px phone */
  hyphens: auto;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 7.5rem); line-height: .95; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 4.5rem); line-height: 1; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.563rem); font-weight: 700; line-height: 1.15; }
h4 { font-size: 1.0625rem; font-weight: 700; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
[dir="rtl"] h1 { line-height: 1.2; }
/* Reem Kufi is a display face: keep it for h1/h2; smaller display text uses the Arabic text face */
[dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .board b, [dir="rtl"] .slot-name, [dir="rtl"] .wk-faq summary, [dir="rtl"] .os-set li, [dir="rtl"] .ab-steps b { font-family: "Noto Kufi Arabic", system-ui, sans-serif; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 38em; }
[dir="rtl"] .lede { line-height: 1.85; }
.muted { color: var(--ink-2); }
.measure { max-width: 66ch; }
p, li { text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
  padding-inline-start: calc(var(--gut) + var(--rail-gap));
}
.sec { padding-block: var(--sec-y); position: relative; }
.sec + .sec { padding-top: 0; }
.sec.gap-top { padding-top: var(--sec-y); }
.grid-2 { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .grid-2.wide-start { grid-template-columns: 1.25fr 1fr; }
  .grid-2.wide-end { grid-template-columns: 1fr 1.25fr; }
  .grid-2.mid { align-items: center; }
}

/* ---------- the neon rail ----------
   one gradient tube in the inline-start gutter for the whole page; section heads hang on it.
   It fills with scroll where scroll-driven animations exist; elsewhere it is simply lit. */
main { display: block; position: relative; }
main::before, main::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: calc(max(0px, (100% - var(--max)) / 2) + var(--gut) + 6px);
  width: 3px;
  pointer-events: none;
  z-index: 1;
  display: none;
}
main::before {
  background: var(--neon-v);
  box-shadow: 0 0 10px rgba(255, 45, 135, .45), 0 0 22px rgba(155, 77, 255, .25);
}
@media (min-width: 760px) { main::before, main::after { display: block; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 760px) {
    /* a black sleeve with a dim line in the middle covers the part of the tube not reached yet */
    main::after {
      inset-inline-start: calc(max(0px, (100% - var(--max)) / 2) + var(--gut) + 6px - 14px);
      width: 31px;
      background: linear-gradient(90deg, #000 0 14px, var(--line) 14px 17px, #000 17px);
      transform-origin: 50% 100%;
      animation: tt-rail linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes tt-rail { from { transform: scaleY(.9); } to { transform: scaleY(0); } }

/* an hour on the programme: node on the rail + time + heading */
.hour-head { position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.hour-time {
  display: inline-block;
  font-family: "Tektur", var(--f-body);
  font-variation-settings: "wdth" 90;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--hue-t);
  margin-bottom: .55rem;
  unicode-bidi: isolate;
}
.hour-head h2, .hour-head h1 { margin-bottom: 0; }
.hour-head .lede { margin-top: 1rem; }
@media (min-width: 760px) {
  .hour-time::before, .hour-head.no-time::before {
    content: "";
    position: absolute;
    inset-inline-start: calc(-1 * var(--rail-gap) + 1.5px);
    top: .45em;
    width: 12px; height: 12px;
    transform: rotate(45deg);
    background: var(--hue);
    box-shadow: 0 0 0 4px #000, 0 0 14px var(--hue);
    z-index: 2;
  }
  .hour-head.no-time::before { inset-inline-start: calc(-1 * var(--rail-gap) + 1.5px); top: .5em; }
}

/* ---------- buttons ---------- */
.btn {
  --c: var(--chamf-s);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
  transition: background-color .15s, color .15s;
}
[dir="rtl"] .btn { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.btn-main { background: var(--flare); color: #000; }
.btn-main:hover { background: #FF5AA2; color: #000; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #000; }
/* the chamfer clip-path would cut an outside ring, so focus is drawn inside the button */
.btn:focus-visible { outline: 3px solid #000; outline-offset: -6px; }
.btn-line:focus-visible { outline-color: var(--ice-t); }
.media a:focus-visible, .media button:focus-visible, .panel a:focus-visible:not(.btn) { outline-offset: -4px; }
@media (max-width: 480px) { .acts .btn { white-space: normal; text-align: center; } }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
/* the main action, larger than its neighbour */
.btn-big { --c: 14px; min-height: 60px; padding: 16px 32px; font-size: 1.125rem; }
@media (min-width: 900px) { .btn-big { min-height: 66px; padding: 18px 42px; font-size: 1.25rem; } }

/* ---------- app store buttons: a neon-gradient frame that glows, store icon + name ----------
   The glow (drop-shadow) sits on the link and the chamfer clip on its inner box, so the light follows the cut corner.
   The frame is the gradient showing 1.5px around an inner face cut by the same chamfer. */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-block; text-decoration: none; color: var(--ink);
  filter: drop-shadow(0 0 5px rgba(255, 45, 135, .5)) drop-shadow(0 0 14px rgba(47, 134, 255, .3));
  animation: store-glow 3.2s ease-in-out infinite;
}
.store-in {
  display: block; padding: 1.5px; background: var(--neon);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.store-face {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 14px;
  background: #0A0610;
  clip-path: polygon(0 0, calc(100% - 11.4px) 0, 100% 11.4px, 100% 100%, 0 100%);
  transition: background .2s;
}
[dir="rtl"] .store-in   { clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }
[dir="rtl"] .store-face { clip-path: polygon(11.4px 0, 100% 0, 100% 100%, 0 100%, 0 11.4px); padding: 8px 14px 8px 22px; }
.store svg { flex: none; }
.store-t { display: grid; line-height: 1.1; }
.store-t small { font-size: .75rem; color: var(--ink-2); }
.store-t b { font-family: "Tektur", var(--f-body); font-variation-settings: "wdth" 92; font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.store:hover, .store:focus-visible {
  animation: none;
  filter: drop-shadow(0 0 9px rgba(255, 45, 135, .9)) drop-shadow(0 0 26px rgba(155, 77, 255, .6));
}
.store:hover .store-face { background: #1A0E24; }
.store:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@keyframes store-glow {
  50% { filter: drop-shadow(0 0 9px rgba(255, 45, 135, .8)) drop-shadow(0 0 24px rgba(47, 134, 255, .5)); }
}
/* the glow only changes light: it keeps breathing under reduced motion too (as the header sign does) */
@media (prefers-reduced-motion: reduce) { .store { animation: store-glow 3.2s ease-in-out infinite !important; } .store:hover, .store:focus-visible { animation: none !important; } }
.stores-foot { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 14px; }
.stores-foot .store-face { min-height: 50px; }
.stores-foot .store-t b { font-size: 1.05rem; }
.link {
  font-weight: 600; color: var(--hue-t);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.link:hover { color: var(--ink); text-decoration-color: var(--hue); }

/* ---------- media frames ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--floor);
  clip-path: polygon(0 0, calc(100% - var(--chamf)) 0, 100% var(--chamf), 100% 100%, 0 100%);
}
[dir="rtl"] .media { clip-path: polygon(var(--chamf) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chamf)); }
.media > img, .media > video, .media > iframe, .media > .slot, .media > .vid {
  width: 100%; height: 100%; object-fit: cover; border: 0;
}
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 9; }
.media.sq   { aspect-ratio: 1 / 1; }
.media.land { aspect-ratio: 3 / 2; }
.media figcaption, .cap {
  font-size: .875rem; color: var(--ink-2); margin-top: 10px;
}
figure { margin: 0; }

/* missing-photo slot: typographic, honest, never pretends to be a photo */
.slot {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  min-height: 220px; height: 100%;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.035) 14px 15px),
    var(--floor);
  box-shadow: inset 0 0 0 1px var(--line);
}
.slot-name {
  font-family: var(--f-disp); font-weight: 700; font-size: 1.25rem; line-height: 1.15;
  color: var(--ink-2);
}
.slot-soon { font-size: .85rem; color: var(--ink-2); }
.show-slots .slot-soon { display: none; }
/* an item that only lacks its small photo drops the empty tile on the public site; the owner sees it with ?slots=1 */
body:not(.show-slots) .slot-optional { display: none !important; }
.slot-key {
  display: none;
  align-self: flex-start;
  font-size: .8125rem; font-weight: 600;
  color: #000; background: var(--hue); padding: 3px 8px;
}
.show-slots .slot-key { display: inline-block; }
.show-slots .slot { box-shadow: inset 0 0 0 2px var(--hue); }

/* click-to-play video. The thumbnail is cropped to the picture inside YouTube's frame:
   sddefault = 4:3 with black bars (a wide clip fills the middle 75% of its height, an upright one the middle 9:16);
   maxresdefault (.vid-hd) = clean 16:9. Container units size the crop to whatever box the tile sits in. */
.vid { display: block; position: relative; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; container-type: size; }
.vid.vid-short { aspect-ratio: 9 / 16; }
.vid img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s; }
.vid-sd:not(.vid-short) img { width: max(100cqw, 100cqh * 16 / 9); height: auto; }
.vid-short img { width: auto; height: max(100cqh, 100cqw * 16 / 9); }
.vid:hover img { opacity: 1; }
.vid-play {
  position: absolute; inset: 0; margin: auto;
  width: clamp(40px, 24cqmin, 76px); aspect-ratio: 1;
  background: var(--flare);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
[dir="rtl"] .vid-play { clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
.vid-play::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 30%; height: 36%; background: #000;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(10%);
}
iframe.vid-on { aspect-ratio: 16 / 9; width: 100%; height: auto; border: 0; }
iframe.vid-on.vid-short { aspect-ratio: 9 / 16; }

/* ---------- programme board ---------- */
.board { list-style: none; border-top: 1px solid var(--line); }
.board li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.board time, .board .t {
  font-family: "Tektur", var(--f-body); font-weight: 600; font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 90;
  color: var(--hue-t); unicode-bidi: isolate; text-align: start;
}
.board b { font-family: var(--f-disp); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.board span { grid-column: 2; color: var(--ink-2); font-size: .975rem; }

/* small facts strip */
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 36px; color: var(--ink-2); font-size: .975rem; }
.facts b { display: block; font-family: "Tektur", var(--f-body); font-weight: 800; font-size: 1.75rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }

/* plain list with neon dashes */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 26px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .72em;
  width: 14px; height: 3px; background: var(--hue);
}
.ticks b { display: block; font-weight: 600; color: var(--ink); }
.ticks span { color: var(--ink-2); }

/* list of names */
/* ---------- partner hotels: an endless loop of logo tiles, two rows drifting in opposite directions ----------
   Light tiles, because real hotel logos are drawn for white paper; the strip fades out at both edges.
   It stops while hovered or focused and with its pause button; reduced motion shows every tile once, still. */
.logo-loop {
  position: relative; display: grid; gap: 14px; margin-top: 24px; overflow: hidden; padding-bottom: 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.loop-row { list-style: none; display: flex; gap: 14px; width: max-content; animation: loop-x 70s linear infinite; }
.loop-rev { animation-direction: reverse; animation-duration: 80s; }
[dir="rtl"] .loop-row { animation-name: loop-x-rtl; }
@keyframes loop-x { to { transform: translateX(-50%); } }
@keyframes loop-x-rtl { to { transform: translateX(50%); } }
.logo-loop:hover .loop-row, .logo-loop:focus-within .loop-row, .logo-loop.is-paused .loop-row { animation-play-state: paused; }
.loop-row li {
  position: relative; flex: none;
  width: 216px; height: 96px; padding: 14px 22px;
  display: grid; place-items: center;
  background: #F4F0FA; color: #120A1A;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
[dir="rtl"] .loop-row li { clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
/* the neon underline lights under the tile you point at */
.loop-row li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.loop-row li:hover::after { transform: scaleX(1); }
.loop-row img { max-width: 100%; max-height: 74px; object-fit: contain; }
.loop-row li:has(img) { padding: 10px 18px; }
.lt-name {
  display: grid; justify-items: center; text-align: center;
  font-family: "Tektur", var(--f-body); font-variation-settings: "wdth" 86; font-weight: 800;
  font-size: 1.15rem; line-height: 1.05; letter-spacing: -.005em;
}
.lt-name small { font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: #6B5F7A; margin-bottom: 3px; }
.loop-pause {
  position: absolute; bottom: 0; inset-inline-end: 6%;
  display: grid; place-items: center; width: 40px; height: 40px;
  color: var(--ink); background: #000; border: 1px solid var(--line); cursor: pointer;
}
.loop-pause:hover { border-color: var(--ink); }
.loop-pause:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.loop-pause .i-play, .loop-pause[aria-pressed="true"] .i-pause { display: none; }
.loop-pause[aria-pressed="true"] .i-play { display: inline; }
@media (max-width: 699px) {
  .loop-row li { width: 168px; height: 78px; padding: 10px 16px; }
  .loop-row img { max-height: 60px; }
  .lt-name { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-loop { display: flex; flex-wrap: wrap; gap: 14px; -webkit-mask-image: none; mask-image: none; padding-bottom: 0; }
  .loop-row { display: contents; }   /* both rows flow as one even grid */
  .loop-row li[aria-hidden="true"], .loop-pause { display: none; }
}

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 8px 14px;
  font-size: .95rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--floor);
}

/* raised panel (the one surface) */
.panel {
  background: var(--floor);
  padding: clamp(24px, 4vw, 56px);
  clip-path: polygon(0 0, calc(100% - var(--chamf)) 0, 100% var(--chamf), 100% 100%, 0 100%);
}
[dir="rtl"] .panel { clip-path: polygon(var(--chamf) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chamf)); }

/* numbered steps — only for real sequences */
.steps { list-style: none; counter-reset: st; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps.row { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.steps > li { counter-increment: st; border-top: 3px solid var(--hue); padding-top: 18px; }
.steps > li::before {
  content: counter(st);
  display: block;
  font-family: "Tektur", var(--f-body); font-weight: 800; font-size: 2.2rem; line-height: 1;
  color: var(--hue-t); margin-bottom: 12px; font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-2); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.top-in {
  max-width: calc(var(--max) + 0px);
  margin-inline: auto;
  padding: 10px var(--gut);
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 52px; height: auto; }
.brand-word { width: 132px; height: auto; }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a:not(.btn) {
  display: block; padding: 10px 12px;
  text-decoration: none; font-weight: 500; font-size: .975rem; color: var(--ink-2); white-space: nowrap;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--flare); }
.nav-book { display: none; }
.top-act { display: flex; align-items: center; gap: 10px; }
.top-book { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.lang { position: relative; }
.lang-btn {
  min-width: 48px; min-height: 42px; padding: 8px 10px;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  font-family: "Tektur", var(--f-body); font-weight: 600; font-size: .9rem;
}
.lang-btn:hover { border-color: var(--ink-2); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  list-style: none; min-width: 170px;
  background: var(--floor); box-shadow: inset 0 0 0 1px var(--line);
  padding: 6px;
}
.lang-menu a { display: block; padding: 10px 12px; text-decoration: none; }
.lang-menu a:hover { background: var(--floor-2); }
.lang-menu a[aria-current="true"] { color: var(--flare); font-weight: 600; }
.burger {
  display: none; align-items: center; gap: 10px;
  min-height: 42px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: .95rem;
}
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
@media (max-width: 1099px) {
  .burger { display: inline-flex; }
  .top-book { display: none; }
  .top-act { margin-inline-start: auto; }
  .nav {
    display: none;
    position: fixed; inset: 73px 0 0 0; z-index: 49;
    background: #000;
    padding: 28px var(--gut) 40px;
    overflow-y: auto;
  }
  .nav-open .nav { display: block; }
  .nav-open body { overflow: hidden; }
  .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { padding: 18px 0; font-family: var(--f-disp); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--flare); }
  .nav-book { display: inline-flex; margin-top: 28px; width: 100%; }
}
@media (max-width: 420px) {
  .brand-word { width: 104px; } .brand-mark { width: 44px; } .top-in { gap: 10px; }
  .burger-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 0; padding-top: clamp(48px, 6vw, 80px); position: relative; }
.foot::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 3px; background: var(--neon); }
.foot-in { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; } }
.foot-brand img { width: 150px; margin-inline-start: -14px; margin-bottom: 8px; }
.foot-brand p { color: var(--ink-2); max-width: 34ch; }
.foot h2 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-k { display: block; font-size: .85rem; color: var(--ink-2); }
.foot-note { color: var(--ink-2); font-size: .95rem; }
.foot address { color: var(--ink-2); }
.socials { list-style: none; display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.socials a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
.foot-base a { color: var(--ink-2); }

/* ---------- forms (shared) ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .975rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: #000;
  color: var(--ink);
  border: 1px solid #7A6F8A;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ice-t); outline-offset: 0; border-color: var(--ice-t); }
.field input[type="file"] { padding: 10px; min-height: 0; }
.field input[type="file"]::file-selector-button {
  margin-inline-end: 12px; padding: 8px 14px; border: 0; background: var(--ink); color: #000; font-weight: 600; cursor: pointer;
}
.field input[type="date"] { color-scheme: dark; }
.field select { color-scheme: dark; }
.field-hint { color: var(--ink-2); font-size: .9rem; }
/* addresses and handles are Latin text: keep them left-to-right inside Arabic pages */
[dir="rtl"] .field input[type="email"], [dir="rtl"] .field input[type="url"], [dir="rtl"] #tt-insta { direction: ltr; text-align: right; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* the header sign (80-motion.css #4) keeps its slow neon breath under reduced motion too: only light changes,
   nothing moves (the owner's request). Its keyframes there sit inside a no-preference query, so they are repeated. */
@media (prefers-reduced-motion: reduce) {
  .brand { position: relative; }
  .brand::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      url(brand/tt-mark-1127-160.webp) left center / auto 100% no-repeat,
      url(brand/tt-word-1127-640.webp) right center / auto 45.5% no-repeat;
    filter: blur(5px) saturate(1.5) brightness(1.6);
    mix-blend-mode: screen;
    animation: tt-sign-calm 4s ease-in-out infinite !important;
  }
  [dir="rtl"] .brand::before { background-position: right center, left center; }
}
@keyframes tt-sign-calm { 0%, 100% { opacity: .25; } 45% { opacity: 1; } }
/* the next-screen arrow (80-motion.css #7): on phones it sits in the bottom corner instead of the middle, and on every
   screen it steps aside while a link or button is underneath it (tt-stage.js adds .over-tap), so it never blocks a tap */
@media (max-width: 699px) {   /* :root raises these above 80-motion.css, which comes later in the stylesheet */
  :root .tt-next { left: auto; right: 16px; margin-left: 0; width: 44px; height: 44px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  :root[dir="rtl"] .tt-next { right: auto; left: 16px; }
}
:root .tt-next.over-tap { opacity: 0; visibility: hidden; }
/* =====================================================================
   home — one resort day. The logo is the page's one bold element and
   its "power on" is the page's one orchestrated motion.
   ===================================================================== */

/* ---------- hero: copy at inline-start, the neon logo at inline-end ---------- */
.page-home .hero { padding-top: clamp(20px, 4vw, 56px); }
.page-home .hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.page-home .hero h1 { font-size: clamp(2.6rem, 5.4vw, 6.75rem); }
.page-home .hero-app-cap { margin: 24px 0 12px; color: var(--ink-2); font-size: .95rem; }
/* phones: logo above the headline, smaller; -4% lines the wordmark up with the text edge */
.page-home .hero-logo { order: -1; width: min(56vw, 210px); margin-inline-start: -4%; }
/* the logo's black is a hair lighter than the page: fade its square edges out (the wordmark sits inside 5%) */
.page-home .hero-logo img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 90%, transparent);
  mask-composite: intersect;
}
@media (min-width: 900px) {
  .page-home .hero-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 0 clamp(16px, 3vw, 48px); }
  .page-home .hero-logo { order: 0; width: auto; margin-inline: 0 calc(-1 * var(--gut)); }
}
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-logo img { animation: h-power .7s linear both; }
}
/* two short flickers, then on: well under three flashes a second (WCAG 2.3.1) */
@keyframes h-power {
  0% { opacity: 0; } 20% { opacity: .85; } 32% { opacity: .15; } 60% { opacity: 1; } 100% { opacity: 1; }
}

/* ---------- hero with the team video behind it (tt-hero.js) ----------
   load: the logo powers on, beats three times with the heartbeat sound, then turns away in 3D;
   the YouTube video (already playing muted and hidden) fades in from its start. Glowing dot waves
   at 20% sit over the video; a scrim keeps the headline readable. */
.page-home .hero.has-bg {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 73px);
  display: flex; flex-direction: column; justify-content: center;
}
.page-home .hero-bg { position: absolute; inset: 0; z-index: -1; background: #000; }
.page-home .hero-vid {
  position: absolute; inset: 0; container-type: size;
  background: #000 center / cover no-repeat;
  opacity: 0; transition: opacity 1.2s ease;
}
.page-home .hero.vid-on .hero-vid { opacity: 1; }
/* cover the box like object-fit, then a little more so YouTube's own title bar and logo fall outside */
.page-home .hero-vid iframe {
  position: absolute; left: 50%; top: 50%; border: 0; pointer-events: none; max-width: none;
  width: max(100cqw, 100cqh * 16 / 9); height: max(100cqh, 100cqw * 9 / 16);
  transform: translate(-50%, -50%) scale(1.18);
  opacity: 0; transition: opacity .8s ease;   /* hidden until it really plays: never YouTube's own play screen */
}
.page-home .hero-vid video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; opacity: 0; transition: opacity .8s ease;
}
.page-home .hero.mv-on .hero-vid iframe, .page-home .hero.mv-on .hero-vid video { opacity: 1; }
.page-home .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, #000 0, transparent 26%),
    linear-gradient(90deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.62) 42%, rgba(0,0,0,.18) 78%, rgba(0,0,0,.3) 100%);
}
[dir="rtl"] .page-home .hero-scrim {
  background:
    linear-gradient(0deg, #000 0, transparent 26%),
    linear-gradient(270deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.62) 42%, rgba(0,0,0,.18) 78%, rgba(0,0,0,.3) 100%);
}
@media (max-width: 899px) {   /* phones: the copy runs the full width, so the scrim does too */
  .page-home .hero-scrim, [dir="rtl"] .page-home .hero-scrim { background: linear-gradient(0deg, #000 0, rgba(0,0,0,.55) 30%, rgba(0,0,0,.55) 100%); }
}
.page-home .hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .2; pointer-events: none; }
.page-home .hero.has-bg .hero-copy { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.page-home .hero.has-bg .hero-logo { perspective: 1400px; }
/* the logo file has a black square behind it: screen-blend it so over the video only the neon shows */
.page-home .hero.has-bg .hero-logo img { mix-blend-mode: screen; }
.page-home .hero.gone .hero-logo { visibility: hidden; }
/* phones: the logo sits above the headline, so its space closes as it turns away (tt-hero.js glides the copy up).
   What stays above the headline is the row of the sound + pause buttons, 16px + 44px + 12px, less the hero's own
   top padding. It goes inside .hero-in: on the hero it would push .hero-in down (a layout shift). */
@media (max-width: 899px) {
  .page-home .hero.shut .hero-in { position: relative; padding-top: calc(72px - clamp(20px, 4vw, 56px)); }
  .page-home .hero.shut .hero-logo { position: absolute; }
  .page-home .hero.shut .hero-copy { position: relative; z-index: 1; }   /* in front of the leaving logo */
}

/* the heartbeat: lub at 21% and dub at 48% of the 1.13 s sound */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero.beat .hero-logo img { animation: h-beat 1.13s linear both; }
  .page-home .hero.out .hero-logo img { animation: h-away 1s cubic-bezier(.55, 0, .35, 1) both; }
}
@keyframes h-beat {
  0%, 14% { transform: scale(1);    filter: brightness(1); }
  21%     { transform: scale(1.1);  filter: brightness(1.45) saturate(1.2); }
  34%     { transform: scale(.99);  filter: brightness(1); }
  42%     { transform: scale(1); }
  48%     { transform: scale(1.06); filter: brightness(1.25); }
  62%, 100% { transform: scale(1);  filter: brightness(1); }
}
/* the logo turns away into the screen and dissolves */
@keyframes h-away {
  0%   { transform: rotateY(0) translateZ(0) scale(1); opacity: 1; filter: blur(0); }
  35%  { opacity: 1; }
  100% { transform: rotateY(-78deg) translateZ(260px) scale(1.35); opacity: 0; filter: blur(10px) brightness(1.6); }
}
[dir="rtl"] .page-home .hero.out .hero-logo img { animation-name: h-away-rtl; }
@keyframes h-away-rtl {
  0%   { transform: rotateY(0) translateZ(0) scale(1); opacity: 1; filter: blur(0); }
  35%  { opacity: 1; }
  100% { transform: rotateY(78deg) translateZ(260px) scale(1.35); opacity: 0; filter: blur(10px) brightness(1.6); }
}
/* reduced motion: nothing moves or turns; the logo brightens on each beat and fades out.
   (!important: 00-core.css stops every animation under reduced motion; these three change only light and opacity) */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero.beat .hero-logo img { animation: h-glow 1.13s linear both !important; }
  .page-home .hero.out .hero-logo img { animation: h-fade .8s ease both !important; }
  .page-home .hero.wait .hero-logo img { animation: h-idle 2.2s ease-in-out infinite !important; }
}
@keyframes h-glow {
  0%, 14% { filter: brightness(1); }  21% { filter: brightness(1.6) saturate(1.3); }  34% { filter: brightness(1); }
  48% { filter: brightness(1.35); }  62%, 100% { filter: brightness(1); }
}
@keyframes h-fade { to { opacity: 0; filter: blur(6px); } }

/* sound was held back by the browser: the logo waits, glowing slowly, under a "Start with sound" button */
.page-home .hero-logo { position: relative; }
.page-home .hero-start {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 24px 12px 18px; white-space: nowrap;
  font: 700 1rem/1 var(--f-body); color: #000; background: var(--flare); border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  box-shadow: 0 0 0 1px var(--flare);
}
[dir="rtl"] .page-home .hero-start { clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }
.page-home .hero-start[hidden] { display: none; }   /* inline-flex above beats the hidden attribute */
.page-home .hero-start:hover { background: #fff; }
.page-home .hero-start:focus-visible { outline: 3px solid #000; outline-offset: -6px; }
.page-home .hero.wait .hero-logo img { animation: h-idle 2.2s ease-in-out infinite; }
@keyframes h-idle { 50% { filter: brightness(1.3) saturate(1.15); } }

/* sound + pause: bottom corner of the hero */
.page-home .hero-ctl {
  position: absolute; z-index: 3;
  bottom: clamp(16px, 3vw, 32px); inset-inline-end: var(--gut);
  display: flex; gap: 8px;
}
/* phones: the hero is taller than the screen, so the buttons sit at its top corner, in view from the start */
@media (max-width: 899px) {
  .page-home .hero-ctl { top: 16px; bottom: auto; }
  /* icons only, so they fit beside the logo; the words stay for screen readers */
  .page-home .hero-ctl button { width: 44px; padding: 0; justify-content: center; }
  .page-home .hero-ctl button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.page-home .hero-ctl button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px 8px 12px;
  font: 600 .875rem/1 var(--f-body); color: var(--ink);
  background: rgba(0, 0, 0, .6); border: 1px solid rgba(244, 240, 250, .4);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
[dir="rtl"] .page-home .hero-ctl button { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.page-home .hero-ctl button:hover { border-color: var(--ink); background: rgba(0, 0, 0, .8); }
.page-home .hero-ctl button:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.page-home .hero-snd[aria-pressed="true"] { background: var(--flare); border-color: var(--flare); color: #000; }
.page-home .hero-snd[aria-pressed="true"]:hover { background: var(--flare); }
.page-home .hero-snd .i-on, .page-home .hero-snd[aria-pressed="true"] .i-off { display: none; }
.page-home .hero-snd[aria-pressed="true"] .i-on { display: inline; }
.page-home .hero-pause .i-play, .page-home .hero.is-paused .hero-pause .i-pause { display: none; }
.page-home .hero.is-paused .hero-pause .i-play { display: inline; }
/* the browser held the sound back: the button asks for a tap, three soft pulses */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero.snd-ask .hero-snd { animation: h-ask 1.2s ease-in-out 3; }
}
@keyframes h-ask { 50% { background: rgba(255, 45, 135, .55); border-color: var(--flare); } }

/* ---------- what we offer hotels: a list on phones, two rows of four on wide screens ----------
   each service carries a line in its hour colour, so the eight read as one sweep of the logo gradient */
.page-home .day h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.page-home .day .offers { list-style: none; margin-top: 28px; display: grid; gap: 0; }
.page-home .day .offers a {
  display: block; height: 100%; padding: 16px 0 16px; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--line);
}
.page-home .day .offers b {
  display: block; font-family: var(--f-disp); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--ink);
  padding-inline-start: 14px; border-inline-start: 3px solid var(--hue);
}
[dir="rtl"] .page-home .day .offers b { font-family: var(--f-body); }   /* small Arabic headings read better in the body face */
.page-home .day .offers span { display: block; margin-top: 6px; padding-inline-start: 17px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.page-home .day .offers a:hover b { text-decoration: underline; text-decoration-color: var(--hue); text-decoration-thickness: 2px; text-underline-offset: .25em; }
@media (min-width: 700px) { .page-home .day .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } }
@media (min-width: 1100px) {
  .page-home .day .offers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
  .page-home .day .offers a { border-top: 3px solid var(--hue); padding-top: 16px; }
  .page-home .day .offers b, .page-home .day .offers span { padding-inline-start: 0; border-inline-start: 0; }
}

/* ---------- shared bits of the hour sections ---------- */
.page-home .more { margin-top: 24px; }
.page-home .sec .tags { margin-top: 16px; }
.page-home .sec h3 { margin-top: clamp(28px, 3vw, 40px); }

/* sport: two portrait photos, the second set lower */
.page-home .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.page-home .pair > :last-child { margin-top: clamp(32px, 7vw, 112px); }

/* dance: one large photo, the copy and a smaller photo beside it */
.page-home .dance { display: grid; gap: clamp(20px, 3vw, 40px); }
.page-home .dance-side .media { width: 64%; margin-inline-start: auto; margin-top: 28px; }
@media (min-width: 900px) {
  .page-home .dance { grid-template-columns: 1fr 1fr; align-items: end; }
  .page-home .dance-side .media { width: 74%; margin-inline-start: 0; margin-top: clamp(28px, 4vw, 56px); }
}

/* evening show: large and small square photos, bottom-aligned */
.page-home .show-media { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; align-items: end; }

/* DJ: wide party photo with a portrait beside it, copy next to the DJ booth slot */
.page-home .dj { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "main main" "side booth"; }
.page-home .dj-copy { grid-area: copy; padding-bottom: 12px; }
.page-home .dj-main { grid-area: main; }
.page-home .dj-side { grid-area: side; }
.page-home .dj-booth { grid-area: booth; }
@media (min-width: 900px) {
  .page-home .dj { grid-template-columns: 2fr 1fr; gap: 16px; grid-template-areas: "main side" "copy booth"; }
  /* the portrait takes the wide photo's height: absolute content adds no height of its own */
  .page-home .dj-side { aspect-ratio: auto; }
  .page-home .dj-side > * { position: absolute; inset: 0; }
  .page-home .dj-booth { aspect-ratio: 3 / 2; }
  .page-home .dj-copy { padding-top: 12px; }
}

/* ---------- for hotels ---------- */
.page-home .hotels .lede { margin-bottom: clamp(28px, 3vw, 40px); }
.page-home .hotels .tags li { background: var(--stage); }
@media (min-width: 900px) { .page-home .ticks.two { grid-template-columns: 1fr 1fr; gap: 22px 48px; } }

/* ---------- join the team: video row (16:9 + two 9:16 shorts of equal height) ---------- */
.page-home #join .ticks { margin-top: 28px; }
.page-home #join .vids-h { margin-top: clamp(48px, 6vw, 80px); }
.page-home .vids { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.page-home .vids > :first-child { grid-column: 1 / -1; }
.page-home .vids .vid { display: block; } /* a button is inline-block: no baseline gap under the frame */
@media (min-width: 900px) {
  .page-home .vids { grid-template-columns: 3.16fr 1fr 1fr; gap: 16px; }
  .page-home .vids > :first-child { grid-column: auto; }
}

/* long button labels (ru/de) must wrap on phones instead of running off the screen */
@media (max-width: 480px) { .page-home .acts .btn { white-space: normal; text-align: center; } }
/* ---------- services.php (hotels) ---------- */
.page-services .sv-hero h1 { max-width: 15ch; }
.page-services .sv-hero-pic { margin-top: clamp(36px, 5vw, 64px); }
.page-services .sv-hero .facts { margin-top: 24px; }

/* what we deliver: editorial rows, small photo at the end of each */
@media (min-width: 900px) { .page-services .sv-intro { position: sticky; top: 112px; } }
.page-services .sv-list { list-style: none; border-top: 1px solid var(--line); }
.page-services .sv-list > li {
  display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 20px;
  align-items: start; padding-block: 22px; border-bottom: 1px solid var(--line);
}
.page-services .sv-list h3 { margin-bottom: .3em; }
.page-services .sv-list p { color: var(--ink-2); }
.page-services .sv-thumb { --chamf: 12px; aspect-ratio: 1 / 1; }
.page-services .sv-thumb .slot { min-height: 0; padding: 10px; gap: 4px; }
.page-services .sv-thumb .slot-name { font-size: .8rem; line-height: 1.3; }
.page-services .sv-thumb .slot-key { font-size: .7rem; padding: 2px 5px; }
@media (min-width: 600px) {
  .page-services .sv-list > li { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; }
  .page-services .sv-thumb { aspect-ratio: 3 / 2; }
}

/* season steps: 3 + 2 on mid screens, one row of 5 on wide */
.page-services .sv-steps { --n: 3; }
@media (min-width: 1180px) { .page-services .sv-steps { --n: 5; } }

/* why: two columns of ticks, then the fitness formats strip */
@media (min-width: 760px) { .page-services .sv-why { grid-template-columns: 1fr 1fr; gap: 28px 56px; } }
.page-services .sv-fx {
  display: grid; gap: 16px 56px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 3px solid var(--hue);
}
@media (min-width: 900px) { .page-services .sv-fx { grid-template-columns: 1fr 1.4fr; } }
.page-services .sv-fx h3 { margin-bottom: .3em; }

/* who your guests meet */
.page-services .sv-roles { list-style: none; display: grid; gap: 22px 40px; }
@media (min-width: 600px) { .page-services .sv-roles { grid-template-columns: 1fr 1fr; } }
.page-services .sv-roles h3 { font-size: 1.15rem; color: var(--hue-t); margin-bottom: .25em; }
.page-services .sv-roles p { color: var(--ink-2); }
.page-services .sv-perf { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

/* proposal */
.page-services .sv-prop .grid-2 > div > h3 { margin-bottom: .8em; }
.page-services .sv-mail { margin-top: 22px; overflow-wrap: anywhere; }
.page-services .sv-mail a { display: inline-block; }
body:not(.show-slots).page-services .sv-list > li:has(> .slot-optional) { grid-template-columns: minmax(0, 1fr); }
/* ---------- Shows & events (our-services.php) ----------
   From day to night, in the logo's colours: sport, themed days, shows, themed nights (the loud part),
   live music. No clock times (owner rule, see DESIGN.md). */

/* empty per-item photo slots: shown only in slot mode (preview / ?slots=1) */
.page-ourservices .os-more { display: none; }
.page-ourservices.show-slots .os-more { display: block; }
.page-ourservices .media > .slot { min-height: 0; }

/* hero: copy, photo, then the page index */
.page-ourservices .os-hero {
  display: grid;
  gap: 36px clamp(32px, 5vw, 72px);
  grid-template-areas: "copy" "pic" "toc";
}
.page-ourservices .os-hero-copy { grid-area: copy; }
.page-ourservices .os-hero-pic { grid-area: pic; }
.page-ourservices .os-toc { grid-area: toc; }
@media (min-width: 900px) {
  .page-ourservices .os-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "copy pic" "toc pic";
  }
  .page-ourservices .os-toc { align-self: end; }
}
.page-ourservices .os-toc li { grid-template-columns: 1fr; }
.page-ourservices .os-toc a { text-decoration: none; }
.page-ourservices .os-toc a:hover { color: var(--hue-t); }

/* sport: dense two-column list beside the photo */
.page-ourservices .os-fit { list-style: none; display: grid; gap: 0 32px; }
@media (min-width: 600px) { .page-ourservices .os-fit { grid-template-columns: 1fr 1fr; } }
.page-ourservices .os-fit li { padding-block: 14px 18px; border-top: 1px solid var(--line); }
.page-ourservices .os-fit h3 { font-size: 1.15rem; margin-bottom: .3em; }
.page-ourservices .os-fit p { color: var(--ink-2); font-size: .975rem; line-height: 1.5; }

/* themed days: board rows, the colour shifts from sun to flare row by row */
@media (min-width: 900px) { .page-ourservices .os-stick { position: sticky; top: 112px; } }
.page-ourservices .os-days { list-style: none; border-top: 1px solid var(--line); }
.page-ourservices .os-days > li {
  display: grid;
  gap: 16px 32px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .page-ourservices .os-days > li { grid-template-columns: minmax(0, 1fr) 13rem; } }
body:not(.show-slots).page-ourservices .os-days > li:has(> .os-more) { grid-template-columns: minmax(0, 1fr); }
.page-ourservices .os-days h3 { margin-bottom: .35em; }
/* a diamond in the row's colour, like the nodes on the rail (the page index uses it too) */
.page-ourservices .os-days h3, .page-ourservices .os-toc b { position: relative; padding-inline-start: 26px; }
.page-ourservices .os-days h3::before, .page-ourservices .os-toc b::before {
  content: ""; position: absolute; inset-inline-start: 1px; top: .4em;
  width: 10px; height: 10px; transform: rotate(45deg); background: var(--hue);
}
.page-ourservices .os-days p { color: var(--ink-2); padding-inline-start: 26px; }

/* shows: photo strip, then every show by name */
.page-ourservices .os-strip {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(28px, 4vw, 44px);
}
@media (min-width: 700px) { .page-ourservices .os-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }   /* 8 tiles: two full rows at every width */

/* themed nights: the line-up poster, violet running into blue */
.page-ourservices .os-night .hour-head h2 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-variation-settings: "wdth" 75;
  line-height: .9;
}
.page-ourservices .os-lineup { list-style: none; margin-top: clamp(36px, 5vw, 64px); }
.page-ourservices .os-lineup::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--volt), var(--ice));
}
.page-ourservices .os-lineup > li {
  display: grid;
  gap: 14px 48px;
  padding-block: clamp(24px, 3.2vw, 40px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .page-ourservices .os-lineup > li { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
}
.page-ourservices .os-lineup h3 {
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  line-height: .92;
  color: var(--hue-t);
  overflow-wrap: break-word;
  hyphens: auto;
}
.page-ourservices .os-lineup p { color: var(--ink-2); max-width: 46ch; }
.page-ourservices .os-lineup .media { margin-top: 18px; max-width: 20rem; }
[dir="rtl"] .page-ourservices .os-lineup::before { background: linear-gradient(270deg, var(--volt), var(--ice)); }
[dir="rtl"] .page-ourservices .os-night .hour-head h2,
[dir="rtl"] .page-ourservices .os-lineup h3 { line-height: 1.3; }
[dir="rtl"] .page-ourservices .os-night .hour-head .lede { margin-top: clamp(1.5rem, 4vw, 3.5rem); }   /* clears the mark under the heading's lam */

/* live music: a set list */
.page-ourservices .os-set { list-style: none; border-bottom: 1px solid var(--line); }
.page-ourservices .os-set li {
  padding-block: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}

/* contact */
.page-ourservices .os-reach { list-style: none; display: grid; gap: 20px; }
.page-ourservices .os-reach span { display: block; font-size: .9rem; color: var(--ink-2); }
.page-ourservices .os-reach a {
  font-family: var(--f-disp); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.5rem);
  text-decoration: none; overflow-wrap: anywhere;
}
.page-ourservices .os-reach a:hover { color: var(--hue-t); }
/* ---------- about.php ---------- */

/* hero: headline and lede on one side, the whole team large beside them (the page's one bold moment) */
@media (min-width: 900px) {
  .page-about .ab-hero-in { align-items: stretch; }
  .page-about .ab-hero-text { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
  .page-about .ab-hero h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); }
}
.page-about .ab-jump { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }

/* who we are */
.page-about .ab-office { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
.page-about .ab-office h3 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--ink); }
.page-about .ab-office p { margin-top: 4px; }
.page-about .ab-office a { color: var(--ink); }

/* what we handle: an editorial list, title then description, hairlines between */
.page-about .ab-list { list-style: none; border-top: 1px solid var(--line); }
.page-about .ab-list li { display: grid; gap: 6px 40px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.page-about .ab-list h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.953rem); }
.page-about .ab-list p { margin: 0; color: var(--ink-2); max-width: 52ch; }
@media (min-width: 760px) {
  .page-about .ab-list li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; }
}
.page-about .ab-plans { margin-top: clamp(40px, 5vw, 64px); }
.page-about .ab-plans > div { border-top: 3px solid var(--hue); padding-top: 20px; }
.page-about .ab-plans .ticks { margin-top: 18px; }
.page-about .ab-more { margin-top: 32px; }

/* how we train: two photos, the second one set lower */
.page-about .ab-staff { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-about .ab-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.page-about .ab-pair > :last-child { margin-top: 18%; }
.page-about .ab-steps-h { margin-top: clamp(48px, 6vw, 80px); }
.page-about .ab-steps b { display: block; font-family: var(--f-disp); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
@media (max-width: 899px) {
  .page-about .ab-steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

/* the crew: three photos in a strip */
.page-about .ab-crew { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; align-items: start; }
.page-about .ab-crew > li:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .page-about .ab-crew { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .page-about .ab-crew > li:first-child { grid-column: auto; }
  .page-about .ab-crew > li:nth-child(2) { margin-top: 64px; }
}

/* staff app */
.page-about .ab-app { display: grid; gap: 8px 48px; }
.page-about .ab-app .acts { list-style: none; }
@media (min-width: 900px) {
  .page-about .ab-app { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .page-about .ab-app .acts { margin-top: 0; }
}

/* closing: one column per audience */
.page-about .ab-end > div { border-top: 1px solid var(--line); padding-top: 24px; }
.page-about .ab-end .acts { margin-top: 20px; }
/* =====================================================================
   gallery.php — one editorial photo mosaic (the loud part), then a quiet
   video row, the social links and the closing panel.
   ===================================================================== */
.page-gallery .gl-top .hour-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* ---- photo mosaic ----
   phones/tablets: pairs of 4:5 tiles, slot 1 and the landscape slot 8 full width.
   desktop: 12 square columns; each slot spans a fixed shape (width x height in cells),
   so a big portrait, a 2x2 block, two halves, a wide band and a row of three. */
.page-gallery .gl-photos { container-type: inline-size; }
.page-gallery .gl-grid {
  --g: 8px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--g);
}
.page-gallery .gl-grid .media { display: block; aspect-ratio: 4 / 5; }
.page-gallery .gl-s1, .page-gallery .gl-s8 { grid-column: 1 / -1; }
.page-gallery .gl-s8 > .media { aspect-ratio: 3 / 2; }
/* the frame's chamfer (clip-path) would cut an outside focus ring: draw it inside */
.page-gallery .gl-grid a.media:focus-visible,
.page-gallery .gl-vids .vid:focus-visible { outline-offset: -5px; }

@media (min-width: 900px) {
  .page-gallery .gl-grid {
    --g: 12px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 64px;                                  /* no container units: close enough */
    grid-auto-rows: calc((100cqi - 11 * var(--g)) / 12);   /* square cells */
  }
  .page-gallery .gl-grid .media { aspect-ratio: auto; height: 100%; }
  .page-gallery .gl-s1 { grid-column: span 6; grid-row: span 8; }
  .page-gallery .gl-s2, .page-gallery .gl-s3,
  .page-gallery .gl-s4, .page-gallery .gl-s5 { grid-column: span 3; grid-row: span 4; }
  .page-gallery .gl-s6, .page-gallery .gl-s7 { grid-column: span 6; grid-row: span 7; }
  .page-gallery .gl-s8 { grid-column: span 8; grid-row: span 5; }
  .page-gallery .gl-s9, .page-gallery .gl-s10,
  .page-gallery .gl-s11, .page-gallery .gl-s12 { grid-column: span 4; grid-row: span 5; }
}
.page-gallery .gl-hint { margin-top: 16px; font-size: .9375rem; }

/* ---- jump links under the title: one line that never wraps on phones (it swipes sideways), so a late font
   cannot change its height and push the photos down ---- */
.page-gallery .gl-jump ul { list-style: none; display: flex; gap: 4px 24px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; }
.page-gallery .gl-jump ul::-webkit-scrollbar { display: none; }
.page-gallery .gl-jump .link { display: inline-block; padding-block: 8px; white-space: nowrap; }   /* on the link: text-wrap on li resets it */
.page-gallery .gl-jump .link:focus-visible { outline-offset: -2px; }
@media (min-width: 900px) { .page-gallery .gl-jump ul { flex-wrap: wrap; overflow: visible; } }

/* ---- photos by theme ----
   phones: pairs of squares; with an odd number the first one is a wide photo, so no place stays empty.
   wider: full rows, each picture in its own shape; gallery.php works out the rows (--n, --s) and shapes (--r). */
.page-gallery .gl-flow { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.page-gallery .gl-flow .media { display: block; aspect-ratio: 1; }
.page-gallery .gl-flow > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.page-gallery .gl-flow > li:first-child:nth-last-child(odd) > .media { aspect-ratio: 3 / 2; }
.page-gallery .gl-flow a.media:focus-visible,
.page-gallery .gl-films .vid:focus-visible { outline-offset: -5px; }
@media (min-width: 700px) {
  .page-gallery .gl-flow { display: flex; flex-wrap: wrap; gap: 12px; }
  .page-gallery .gl-flow > li { flex: 0 0 calc((100% - (var(--n) - 1) * 12px) * var(--s) - .1px); }   /* .1px: rounding can never wrap a full row */
  .page-gallery .gl-flow > li > .media,
  .page-gallery .gl-flow > li:first-child:nth-last-child(odd) > .media { aspect-ratio: var(--r); }
}

/* ---- videos: one landscape film + two vertical shorts; on desktop the column
   widths (19:6:6) give all three the same height ---- */
.page-gallery .gl-vids {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
  align-items: start;
}
.page-gallery .gl-vids > li:first-child { grid-column: 1 / -1; }
.page-gallery .gl-vids .vid { display: block; }   /* an inline button leaves a line-gap strip under the frame */
@media (min-width: 900px) {
  .page-gallery .gl-vids { grid-template-columns: 19fr 6fr 6fr; gap: 16px; }
  .page-gallery .gl-vids > li:first-child { grid-column: auto; }
}

/* more films: three wide ones a row, then a row of upright clips */
.page-gallery .gl-films {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
  align-items: start;
  margin-top: 24px;
}
.page-gallery .gl-films .vid { display: block; }
.page-gallery .gl-films:not(.gl-shorts) > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.page-gallery .gl-shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .page-gallery .gl-films { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; margin-top: 32px; }
  .page-gallery .gl-films:not(.gl-shorts) > li:first-child:nth-last-child(odd) { grid-column: auto; }
  .page-gallery .gl-shorts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---- follow us: two big handles on hairlines ---- */
.page-gallery .gl-social { list-style: none; border-top: 1px solid var(--line); }
.page-gallery .gl-social li { border-bottom: 1px solid var(--line); }
.page-gallery .gl-social a {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 24px;
  padding-block: 22px;
  text-decoration: none;
}
.page-gallery .gl-net { font-weight: 600; color: var(--hue-t); }
.page-gallery .gl-handle {
  font-family: "Tektur", var(--f-body);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.page-gallery .gl-social a:hover .gl-handle {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em;
  text-decoration-color: var(--hue);
}

.page-gallery .gl-stories {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px 12px;
  margin-top: clamp(28px, 4vw, 48px);
}
.page-gallery .gl-stories a { display: block; text-decoration: none; color: var(--ink-2); font-size: .9375rem; }
.page-gallery .gl-stories img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--floor); margin-bottom: 8px; }

/* ---- closing panel ---- */
.page-gallery .gl-cta h2 { max-width: 20ch; }
/* ---------- work.php: join the team / application ---------- */

/* hero: the page's one loud moment is the headline */
.page-work .wk-h1b { display: block; }
.page-work .wk-hero-pic { max-width: 520px; }
@media (min-width: 900px) { .page-work .wk-hero-pic { max-width: none; } }

.page-work .acts { align-items: center; }

/* application: single-column form on the raised panel, steps + perks beside it */
.page-work .wk-form { display: grid; gap: 24px; }
.page-work .wk-req { margin-inline-start: .35em; font-weight: 400; font-size: .8125rem; color: var(--ink-2); }
.page-work #tt-captcha { max-width: 10rem; }
.page-work .wk-send .btn { width: 100%; }
.page-work .wk-send .field-hint { margin-top: 12px; }
.page-work .tt-size-err { display: block; color: #FF8A80; }
.page-work .wk-hp { position: absolute; inset-inline-start: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page-work .wk-msg { margin-bottom: 28px; padding: 14px 16px; background: #000; border-inline-start: 3px solid var(--hue); font-weight: 500; }
.page-work .wk-msg-err { border-inline-start-color: #FF8A80; color: #FF8A80; }

.page-work .wk-side h3 { margin-bottom: 24px; }
.page-work .wk-side h4 { margin-bottom: .35em; }
.page-work .wk-side .wk-perks-h { margin-top: clamp(48px, 5vw, 64px); }
@media (min-width: 900px) { .page-work .wk-side { padding-top: 8px; } }

/* roles: a roster, photo beside each role from 640px */
.page-work .wk-roles { list-style: none; display: grid; gap: 40px 48px; }
.page-work .wk-roles > li { display: grid; gap: 16px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.page-work .wk-roles h3 { margin-bottom: .4em; }
.page-work .wk-roles p { color: var(--ink-2); }
.page-work .wk-role-pic { aspect-ratio: 3 / 2; }
.page-work .wk-role-pic > img { object-position: 50% 35%; }
@media (min-width: 640px) {
  .page-work .wk-roles > li { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .page-work .wk-role-pic { aspect-ratio: 4 / 5; }
}
@media (min-width: 1000px) {
  .page-work .wk-roles { grid-template-columns: 1fr 1fr; }
  .page-work .wk-roles > li { grid-template-columns: 200px minmax(0, 1fr); }
}

/* questions: native disclosure, hairlines only */
.page-work .wk-faq { border-top: 1px solid var(--line); }
.page-work .wk-faq details { border-bottom: 1px solid var(--line); }
.page-work .wk-faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  min-height: 44px; padding-block: 20px;
  cursor: pointer; list-style: none;
  font-family: var(--f-disp); font-weight: 700; font-size: 1.15rem; line-height: 1.3;
}
.page-work .wk-faq summary::-webkit-details-marker { display: none; }
.page-work .wk-faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: .3em;
  background:
    linear-gradient(var(--hue), var(--hue)) center / 14px 3px no-repeat,
    linear-gradient(var(--hue), var(--hue)) center / 3px 14px no-repeat;
}
.page-work .wk-faq details[open] > summary::after { background-size: 14px 3px, 0 0; }
.page-work .wk-faq summary:hover { color: var(--hue-t); }
.page-work .wk-faq details p { max-width: 60ch; padding-bottom: 22px; color: var(--ink-2); }
.page-work .wk-ask { margin-top: 36px; font-weight: 600; }
.page-work .wk-ask + .acts { margin-top: 16px; }
/* privacy policy */
.page-privacy .legal h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 2.2em 0 .6em; }
.page-privacy .legal h2:first-child { margin-top: 0; }
.page-privacy .legal p, .page-privacy .legal li { color: var(--ink); }
.page-privacy .legal ul { padding-inline-start: 1.3em; display: grid; gap: .6em; margin-bottom: 1em; }
.page-privacy .legal li::marker { color: var(--hue-t); }
.page-privacy .legal a { color: var(--ice-t); }
.page-privacy .legal-meta { margin-top: 1rem; font-size: .95rem; }
/* =====================================================================
   motion — five moves, all taken from the programme board and the neon logo:
   1. THE CURRENT   when an hour reaches the reading line, a pulse of light runs down the neon rail
                    into its node and the node sparks once (phones: the pulse runs down the screen edge)
   2. THE BOARD     programme times roll from 00:00 to their hour like a departures board; on the
                    home board the seven times land one after another, 10:00 to 23:00 (tt-motion.js)
   3. HOUR LIGHT    a photo's chamfered corner lights in its hour colour and the light runs along the
                    frame: on hover/focus with a mouse, with the scroll on touch screens
   4. THE SIGN      the header logo glows like a neon tube, one slow breath every 4 s, without end
   5. LOADING       content arrives as it comes into view: text rises line by line from behind its own
                    mask, rows/buttons/photos rise in turn, photos settle from a slight zoom; on load the
                    header items drop in and the first screen builds up the same way (tt-motion.js)
                    Reduced motion: the same order, but each piece only fades in (no sliding, no masks, no zoom)
   Everything here starts from the finished page and returns to it: without JS or without scroll-driven
   animations the page is simply the static design, and with reduced motion nothing moves (content only
   fades in). No flashing (the spark is one pulse per hour), no layout shift (all of it is absolute pseudo-elements, transforms and
   same-width tabular digits), no scroll-jacking.
   ===================================================================== */

/* the rolling face is a span inside <time>: keep the time's own colour and size (.board span is the grey note style) */
time > .tt-flap, .hour-time > .tt-flap { color: inherit; font-size: inherit; }
/* the rolling face shows the same time as the hidden real one: copying the text gives it once */
.tt-flap { -webkit-user-select: none; user-select: none; }

@media (prefers-reduced-motion: no-preference) {

  /* ---------- 1. the current (tt-motion.js adds .tt-on to an .hour-head once it arrives) ---------- */
  /* a 160px packet of light falls and runs into the hour's node (node centre = 14px down the head) */
  .hour-head.tt-on::after {
    content: "";
    position: absolute; z-index: 2; pointer-events: none;
    inset-inline-start: calc(-1 * var(--gut) + 5px);   /* phones have no rail: it runs down the screen edge */
    top: -146px; width: 3px; height: 160px;
    background: linear-gradient(180deg, transparent, var(--hue) 45%, #fff 92%, var(--hue));
    box-shadow: 0 0 12px 1px var(--hue);
    transform-origin: 50% 100%;
    animation: tt-current .8s cubic-bezier(.55, 0, 1, .45) both;
  }
  @media (min-width: 760px) {
    .hour-head.tt-on::after { inset-inline-start: calc(-1 * var(--rail-gap) + 6px); }   /* on the rail */
    .hour-head.tt-on .hour-time::before, .hour-head.no-time.tt-on::before {
      animation: tt-spark .9s .62s ease-out both;
    }
  }
  @keyframes tt-current {
    0%   { transform: translateY(-38vh); opacity: 0; }
    25%  { opacity: 1; }
    80%  { transform: translateY(0) scaleY(1); opacity: 1; }
    100% { transform: translateY(0) scaleY(0); opacity: 0; }
  }
  /* the node takes the charge: white core, then one diamond ring opens out and fades */
  @keyframes tt-spark {
    0%   { transform: rotate(45deg) scale(1);    background: var(--hue); outline: 2px solid var(--hue); outline-offset: 2px; }
    15%  { transform: rotate(45deg) scale(1.45); background: #fff; box-shadow: 0 0 0 4px #000, 0 0 26px 3px var(--hue); }
    100% { transform: rotate(45deg) scale(1);    background: var(--hue); outline: 2px solid transparent; outline-offset: 22px; }
  }

  /* ---------- 2. the board (tt-motion.js swaps each time for a rolling face + a hidden real one) ---------- */
  .tt-wait { opacity: .3; }
  .tt-roll {
    color: var(--ink);
    /* a split-flap seam across the digits while they roll */
    background: linear-gradient(180deg, currentColor 0 47%, transparent 47% 54%, currentColor 54%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ---------- 3. hour light on photos ---------- */
  .media::before, .media::after {
    content: "";
    position: absolute; z-index: 1; pointer-events: none;
  }
  /* the chamfer edge itself */
  .media::before {
    top: 0; right: 0; width: var(--chamf); height: var(--chamf);
    background: linear-gradient(to top right, transparent calc(50% - 4px), var(--hue) calc(50% - 4px) calc(50% - 1px), transparent calc(50% - 1px));
    filter: drop-shadow(0 0 5px var(--hue));
    opacity: 0;
  }
  [dir="rtl"] .media::before {
    right: auto; left: 0;
    background: linear-gradient(to top left, transparent calc(50% - 4px), var(--hue) calc(50% - 4px) calc(50% - 1px), transparent calc(50% - 1px));
  }
  /* the two edges that meet the chamfer: the top edge and the inline-end edge, grown out of the corner */
  .media::after {
    inset: 0;
    --e0: right top; --e1: left top;      /* top edge: anchored at the corner, then at the far end */
    --s0: right top; --s1: right bottom;  /* side edge */
    background:
      linear-gradient(var(--hue), var(--hue)) var(--e0) / 0 3px no-repeat,
      linear-gradient(var(--hue), var(--hue)) var(--s0) / 3px 0 no-repeat;
    filter: drop-shadow(0 0 6px var(--hue));
  }
  [dir="rtl"] .media::after { --e0: left top; --e1: right top; --s0: left top; --s1: left bottom; }

  @media (hover: hover) {
    .media::before { transition: opacity .12s; }
    .media::after { transition: background-size .55s .06s cubic-bezier(.2, .7, .2, 1); }
    .media:hover::before, .media:focus-within::before { opacity: 1; }
    .media:hover::after, .media:focus-within::after { background-size: 100% 3px, 3px 100%; }
  }
  /* touch screens: the light runs round the frame as the photo crosses the screen */
  @supports (animation-timeline: view()) {
    .media { view-timeline: --tt-tile block; }   /* named here: .media clips (overflow), so view() on its children would be inert */
    /* the photo settles from a slight zoom while its frame comes into view */
    .media > img { animation: tt-settle linear both; animation-timeline: --tt-tile; animation-range: entry 0% entry 100%; }
    @media (hover: none) {
      .media::before { animation: tt-corner linear both; animation-timeline: --tt-tile; animation-range: cover 5% cover 95%; }
      .media::after  { animation: tt-edges  linear both; animation-timeline: --tt-tile; animation-range: cover 5% cover 95%; }
    }
  }
  /* ---------- 4. the sign: the header logo glows like a neon tube, one slow breath every 4 s ----------
     The logo files are opaque (black background), so a drop-shadow would light a rectangle. Instead a
     blurred, brightened copy of the same two images is screen-blended over them: black stays black and
     only the neon strokes bloom, each in its own colour. Mark = full height of .brand (inline-start),
     wordmark = 45.5% of that height (inline-end); the blur hides a pixel either way. */
  .brand { position: relative; }
  .brand::before {
    content: "";
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      url(brand/tt-mark-1127-160.webp) left center / auto 100% no-repeat,
      url(brand/tt-word-1127-640.webp) right center / auto 45.5% no-repeat;
    filter: blur(5px) saturate(1.5) brightness(1.6);
    mix-blend-mode: screen;
    animation: tt-sign 4s ease-in-out infinite;
  }
  [dir="rtl"] .brand::before { background-position: right center, left center; }
  @keyframes tt-sign {
    0%, 100% { opacity: .25; }
    45%      { opacity: 1; }
  }

  /* ---------- 5. content loading (tt-motion.js sets these classes; without JS nothing is ever hidden) ----------
     A word rises from behind its own line: translate and clip move together, so the clip's bottom edge stays
     on the line while the word slides up through it. Rows, buttons, photos and anything that could not be
     split rise and fade in. Header items drop in from above. Delays come from the script (--d). */
  /* hidden states apply at once; only the way back is animated */
  .tt-w { display: inline-block; translate: 0 115%; clip-path: inset(-.6em -.6em 115% -.6em); }
  .tt-w.tt-go {
    translate: 0 0; clip-path: inset(-.6em -.6em -.35em -.6em);
    transition: translate .85s var(--d, 0s) cubic-bezier(.2, .75, .25, 1), clip-path .85s var(--d, 0s) cubic-bezier(.2, .75, .25, 1);
  }
  .tt-up { opacity: 0; translate: 0 32px; }
  .top .tt-up { translate: 0 -14px; }
  .tt-up.tt-go {
    opacity: 1; translate: 0 0;
    transition: opacity .7s var(--d, 0s) ease-out, translate .9s var(--d, 0s) cubic-bezier(.2, .75, .25, 1);
  }
  @keyframes tt-settle { from { scale: 1.16; } to { scale: 1; } }

  @keyframes tt-corner { 0% { opacity: 0; } 12%, 80% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes tt-edges {
    0%       { background-size: 0 3px, 3px 0;       background-position: var(--e0), var(--s0); }
    40%      { background-size: 100% 3px, 3px 100%; background-position: var(--e0), var(--s0); }
    55%      { background-size: 100% 3px, 3px 100%; background-position: var(--e1), var(--s1); }
    100%     { background-size: 0 3px, 3px 0;       background-position: var(--e1), var(--s1); }
  }
}

/* ---------- 5. content loading, reduced motion: a plain fade, nothing moves ----------
   tt-motion.js sets only .tt-up / .tt-go here (no line splitting). 00-core.css stops every transition under
   reduced motion with !important, so this one fade needs !important as well. */
@media (prefers-reduced-motion: reduce) {
  .tt-up { opacity: 0; }
  .tt-up.tt-go { opacity: 1; transition: opacity .6s var(--d, 0s) ease-out !important; }
}

/* ---------- 6. media popup (tt-motion.js): a photo or video opens large in a <dialog>; photos page with ‹ › ----------
   Works in every motion setting (with reduced motion it fades instead of turning in 3D). The frame is
   the site's chamfered media frame in the hour colour of the tile it came from (--hue, set by the script). */
:where(.media:not(a) > img[role="button"]) { cursor: pointer; }   /* the hour hand of 86-cursor.css wins where it applies */
.tt-lb-from { opacity: 0; }                                     /* its picture is out in the popup */
.tt-lb {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 72px 16px 24px; border: 0;
  background: none; color: var(--ink);
  overflow: hidden;
  perspective: 1400px;
}
.tt-lb[open] { display: grid; place-content: center; justify-items: center; gap: 14px; }
.tt-lb::backdrop { background: rgba(0, 0, 0, 0); transition: background-color .45s ease; }
.tt-lb.on::backdrop { background: rgba(0, 0, 0, .9); }
.tt-lb-frame {
  --r: 1.5;
  position: relative;
  width: min(calc(100vw - 32px), 1400px, var(--max, 1400px), calc((100vh - 150px) * var(--r)));
  width: min(calc(100vw - 32px), 1400px, var(--max, 1400px), calc((100dvh - 150px) * var(--r)));   /* phones: never under the address bar */
  aspect-ratio: var(--r);
  background: #000;
  clip-path: polygon(0 0, calc(100% - var(--chamf)) 0, 100% var(--chamf), 100% 100%, 0 100%);
  transform-origin: 50% 50%;
}
[dir="rtl"] .tt-lb-frame { clip-path: polygon(var(--chamf) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chamf)); }
.tt-lb-frame > img, .tt-lb-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.tt-lb-frame > .tt-lb-still { object-fit: cover; }
.tt-lb-frame > iframe { opacity: 0; transition: opacity .4s ease .1s; }
.tt-lb-frame > iframe.on { opacity: 1; }
/* the neon edge: a 2px line of the hour colour all round, and the chamfer itself */
.tt-lb-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--hue), inset 0 0 28px -10px var(--hue);
  background: linear-gradient(to top right, transparent calc(50% - 3px), var(--hue) calc(50% - 3px) 50%, transparent 50%) right top / var(--chamf) var(--chamf) no-repeat;
}
[dir="rtl"] .tt-lb-frame::after { background: linear-gradient(to top left, transparent calc(50% - 3px), var(--hue) calc(50% - 3px) 50%, transparent 50%) left top / var(--chamf) var(--chamf) no-repeat; }
.tt-lb { touch-action: pinch-zoom; }   /* one-finger drags reach the script (sideways = next / previous, down = close); two-finger zoom stays */
.tt-lb-cap { margin: 0; max-width: 60ch; color: var(--ink-2); font-size: .95rem; text-align: center; }
/* "3 / 12": a programme time, in the hour's text colour */
.tt-lb-n {
  font-family: "Tektur", var(--f-body); font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--hue-t); margin-inline-end: .9em; direction: ltr; unicode-bidi: isolate;
}
.tt-lb-n:empty { display: none; }
/* previous / next: chamfered squares at the screen edges with the hour line; next sits on the left in Arabic */
.tt-lb-nav {
  position: fixed; top: 50%; z-index: 2; translate: 0 -50%;
  width: 52px; height: 52px; padding: 0; border: 0; cursor: pointer;
  color: var(--ink); background: rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 2px var(--hue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
[dir="rtl"] .tt-lb-nav { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.tt-lb-prev { inset-inline-start: 14px; }
.tt-lb-next { inset-inline-end: 14px; }
.tt-lb-nav:hover { background: var(--hue); color: #000; }
.tt-lb-nav:focus-visible { outline: 3px solid var(--ink); outline-offset: -8px; }
/* the chevron: › for the button on the right, ‹ for the one on the left */
.tt-lb-nav::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -7px 0 0 -10px;
  border-top: 3px solid currentColor; border-right: 3px solid currentColor; rotate: 45deg;
}
.tt-lb-prev::before, [dir="rtl"] .tt-lb-next::before { rotate: -135deg; margin-left: -4px; }
[dir="rtl"] .tt-lb-prev::before { rotate: 45deg; margin-left: -10px; }
@media (max-width: 600px) { .tt-lb-nav { width: 44px; height: 44px; } .tt-lb-prev { inset-inline-start: 6px; } .tt-lb-next { inset-inline-end: 6px; } }
/* close: a chamfered square in the hour colour, top inline-end, 48px for a thumb */
.tt-lb-x {
  position: fixed; top: 14px; inset-inline-end: 14px; z-index: 2;
  width: 48px; height: 48px; padding: 0; border: 0; cursor: pointer;
  background: var(--hue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
[dir="rtl"] .tt-lb-x { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.tt-lb-x::before, .tt-lb-x::after { content: ""; position: absolute; left: 13px; right: 13px; top: 23px; height: 2.5px; background: #000; rotate: 45deg; }
.tt-lb-x::after { rotate: -45deg; }
.tt-lb-x:focus-visible { outline: 3px solid #000; outline-offset: -7px; }

/* ---------- 7. next screen (tt-motion.js): a bouncing, glowing button pinned to the bottom of the screen ----------
   Chamfered like the site's buttons, a neon edge, a chevron. Shown on the first screen only: it fades out after a
   quarter-screen of scrolling (and is then out of the Tab order), and hides while the phone menu is open. */
.tt-next {
  position: fixed; z-index: 45; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); margin-left: -24px;
  width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink);
  filter: drop-shadow(0 0 6px rgba(255, 45, 135, .55)) drop-shadow(0 0 0 rgba(155, 77, 255, 0));   /* outside the chamfer clip */
  transition: opacity .3s, visibility .3s;
}
.tt-next.gone { opacity: 0; visibility: hidden; animation-play-state: paused; }
.nav-open .tt-next { display: none; }
.tt-next > span {
  position: absolute; inset: 0; background: #000; box-shadow: inset 0 0 0 2px var(--flare);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
[dir="rtl"] .tt-next > span { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.tt-next > span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -10px 0 0 -6px;
  border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; rotate: 45deg;
}
.tt-next:hover { color: #000; }
.tt-next:hover > span { background: var(--flare); }
.tt-next:focus-visible { outline: 3px solid var(--ice-t); outline-offset: 4px; }
.tt-next-to:focus { outline: none; }   /* the section it scrolled to takes focus quietly */
@media (prefers-reduced-motion: no-preference) {
  .tt-next { animation: tt-bob 1.6s ease-in-out infinite; }
}
@keyframes tt-bob {
  0%, 100% { translate: 0 0;    filter: drop-shadow(0 0 5px rgba(255, 45, 135, .45)) drop-shadow(0 0 0 rgba(155, 77, 255, 0)); }
  50%      { translate: 0 10px; filter: drop-shadow(0 0 14px rgba(255, 45, 135, .9)) drop-shadow(0 0 26px rgba(155, 77, 255, .55)); }
}

/* ---------- 8. neon trail (tt-motion.js; a real mouse; softer with reduced motion): a canvas over everything that takes no clicks ---------- */
.tt-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }   /* no blend mode: it stays visible over white buttons, and the page is black anyway */

/* ---------- 9. buttons: an animated hover (a real hover pointer, full motion) ----------
   A beam of light sweeps once across the button, from the reading start to its end, behind the label (the
   button is isolated, so the beam sits between its fill and its text). .btn-main: a white beam over the
   lighter pink. .btn-line: its fill wipes in from the reading start instead of snapping on, the label turns
   black as it fills, and the beam is the hour colour. A slight press when clicked. Touch screens and
   reduced motion keep the instant colour change of 00-core.css; keyboard focus keeps its outline. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn { position: relative; isolation: isolate; --beam: rgba(255, 255, 255, .75); }
  .btn-line { --beam: color-mix(in srgb, var(--hue) 55%, transparent); }
  .btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 32%, var(--beam) 50%, transparent 68%);
    translate: -105% 0;
  }
  [dir="rtl"] .btn::after { background: linear-gradient(-105deg, transparent 32%, var(--beam) 50%, transparent 68%); translate: 105% 0; }
  .btn:hover::after { translate: 105% 0; transition: translate .65s cubic-bezier(.3, .6, .3, 1); }
  [dir="rtl"] .btn:hover::after { translate: -105% 0; }
  .btn-line {
    background: linear-gradient(var(--ink), var(--ink)) left center / 0 100% no-repeat;
    transition: background-size .4s cubic-bezier(.45, .05, .25, 1), color .12s .16s;   /* the label turns as the fill passes its middle */
  }
  [dir="rtl"] .btn-line { background-position: right center; }
  .btn-line:hover { background: linear-gradient(var(--ink), var(--ink)) left center / 100% 100% no-repeat; color: #000; }
  [dir="rtl"] .btn-line:hover { background-position: right center; }
  .btn:active { scale: .97; }
}
/* =====================================================================
   Arabic fonts without layout shift. Until Reem Kufi / Noto Kufi Arabic arrive (display=swap), Arabic
   text is drawn in a local font scaled to the same width, so lines break where they will break with the
   real fonts and little moves when they swap in. Width ratios were measured on the site's own Arabic copy
   in Chrome. Each device matches one stand-in, and a font a device lacks is skipped:
   Mac/iPhone = Geeza Pro, Mac/Windows = Tahoma, Android = Noto Naskh (it already matches Reem Kufi at 99%).
   Arabic pages only; Latin pages never load these.
   ===================================================================== */
@font-face { font-family: "TT Reem G"; src: local("Geeza Pro Bold"), local("GeezaPro-Bold"); font-weight: 100 900; size-adjust: 90.5%; }
@font-face { font-family: "TT Reem T"; src: local("Tahoma Bold"), local("Tahoma-Bold"); font-weight: 100 900; size-adjust: 77.9%; }
@font-face { font-family: "TT Kufi T"; src: local("Tahoma"); font-weight: 100 549; size-adjust: 99.8%; }
@font-face { font-family: "TT Kufi T"; src: local("Tahoma Bold"), local("Tahoma-Bold"); font-weight: 550 900; size-adjust: 93.9%; }
@font-face { font-family: "TT Kufi G"; src: local("Geeza Pro Regular"), local("GeezaPro"); font-weight: 100 549; size-adjust: 114.5%; }
@font-face { font-family: "TT Kufi G"; src: local("Geeza Pro Bold"), local("GeezaPro-Bold"); font-weight: 550 900; size-adjust: 108%; }
@font-face { font-family: "TT Kufi N"; src: local("Noto Naskh Arabic UI"), local("Noto Naskh Arabic"), local("NotoNaskhArabicUI-Regular"), local("NotoNaskhArabic-Regular"); font-weight: 100 549; size-adjust: 112.9%; }
@font-face { font-family: "TT Kufi N"; src: local("Noto Naskh Arabic UI Bold"), local("Noto Naskh Arabic Bold"), local("NotoNaskhArabicUI-Bold"), local("NotoNaskhArabic-Bold"); font-weight: 550 900; size-adjust: 117.1%; }

/* the display stack keeps the body stand-ins out: on Android the system Naskh is the right size for headings */
[dir="rtl"] {
  --f-disp: "Reem Kufi", "TT Reem G", "TT Reem T", "Noto Kufi Arabic", system-ui, sans-serif;
  --f-body: "Noto Kufi Arabic", "TT Kufi T", "TT Kufi G", "TT Kufi N", system-ui, sans-serif;
}
/* 00-core.css names Noto Kufi directly here; the same list, through the body stack */
[dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .board b, [dir="rtl"] .slot-name, [dir="rtl"] .wk-faq summary, [dir="rtl"] .os-set li, [dir="rtl"] .ab-steps b { font-family: var(--f-body); }
/* =====================================================================
   cursors — the site's own pieces instead of the system set (mouse/trackpad only):
   arrow   the logo gradient, tip to tail (hotspot: the tip)
   pointer a pointing hand in the hour colour of the section, angular, with the arrow's highlight (hotspot: fingertip)
   text    a slim bevelled I-beam on reading text and text fields (hotspot: centre)
   Touch screens, Windows high-contrast (forced colours) and browsers without SVG cursors keep the system set:
   every rule ends in the matching system keyword.
   ===================================================================== */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='4' y1='4' x2='15' y2='28' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FF5A1F'/%3E%3Cstop offset='.38' stop-color='%23FF2D87'/%3E%3Cstop offset='.68' stop-color='%239B4DFF'/%3E%3Cstop offset='1' stop-color='%232F86FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 4V24.6L9.3 19.5 12.7 27.4 15.2 27.4 16.4 25.9 13.1 18.1H20.4Z' fill='url%28%23g%29' stroke='%23000' stroke-width='2.4' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M5.6 8.2V20.6' stroke='%23fff' stroke-opacity='.75' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 4 4, default; }
  :is(p, li, dd, dt, h1, h2, h3, h4, address, figcaption, blockquote, td, th, .lede) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M11.5 5H20.5L19 6.6H17V25.4H19L20.5 27H11.5L13 25.4H15V6.6H13Z' fill='%23F4F0FA' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E") 16 16, text; }
  :is(input:not([type="checkbox"], [type="radio"], [type="file"], [type="submit"], [type="button"], [type="range"], [type="color"]), textarea) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M11.5 5H20.5L19 6.6H17V25.4H19L20.5 27H11.5L13 25.4H15V6.6H13Z' fill='%23F4F0FA' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E") 16 16, text; }
  /* clickable: the hand takes the hour of its section (header/footer: the flare of the main button) */
  :is(a[href], button:not(:disabled), summary, select, [role="button"], input:is([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="file"]):not(:disabled)) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10.4 4.6 11.8 3H13.2L14.6 4.6V12.6L15.5 11.9H17.3L18.3 12.9 19.1 12.6H20.9L21.9 13.6 22.7 13.6H24.3L25.4 14.7V22.8L23.2 27.4H11.2L4.3 20.5V18.6L5.6 17.3H7.1L10.4 20.6Z' fill='%23FF2D87' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M14.6 12.6V17M18.3 12.9V17.4M21.9 13.6V17.6' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12.5 5.6V11.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 12 3, pointer; }
  .hour-sun :is(a[href], button:not(:disabled), summary, select, [role="button"], input:is([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="file"]):not(:disabled)) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10.4 4.6 11.8 3H13.2L14.6 4.6V12.6L15.5 11.9H17.3L18.3 12.9 19.1 12.6H20.9L21.9 13.6 22.7 13.6H24.3L25.4 14.7V22.8L23.2 27.4H11.2L4.3 20.5V18.6L5.6 17.3H7.1L10.4 20.6Z' fill='%23FF5A1F' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M14.6 12.6V17M18.3 12.9V17.4M21.9 13.6V17.6' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12.5 5.6V11.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 12 3, pointer; }
  .hour-flare :is(a[href], button:not(:disabled), summary, select, [role="button"], input:is([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="file"]):not(:disabled)) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10.4 4.6 11.8 3H13.2L14.6 4.6V12.6L15.5 11.9H17.3L18.3 12.9 19.1 12.6H20.9L21.9 13.6 22.7 13.6H24.3L25.4 14.7V22.8L23.2 27.4H11.2L4.3 20.5V18.6L5.6 17.3H7.1L10.4 20.6Z' fill='%23FF2D87' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M14.6 12.6V17M18.3 12.9V17.4M21.9 13.6V17.6' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12.5 5.6V11.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 12 3, pointer; }
  .hour-volt :is(a[href], button:not(:disabled), summary, select, [role="button"], input:is([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="file"]):not(:disabled)) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10.4 4.6 11.8 3H13.2L14.6 4.6V12.6L15.5 11.9H17.3L18.3 12.9 19.1 12.6H20.9L21.9 13.6 22.7 13.6H24.3L25.4 14.7V22.8L23.2 27.4H11.2L4.3 20.5V18.6L5.6 17.3H7.1L10.4 20.6Z' fill='%239B4DFF' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M14.6 12.6V17M18.3 12.9V17.4M21.9 13.6V17.6' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12.5 5.6V11.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 12 3, pointer; }
  .hour-ice :is(a[href], button:not(:disabled), summary, select, [role="button"], input:is([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="file"]):not(:disabled)) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10.4 4.6 11.8 3H13.2L14.6 4.6V12.6L15.5 11.9H17.3L18.3 12.9 19.1 12.6H20.9L21.9 13.6 22.7 13.6H24.3L25.4 14.7V22.8L23.2 27.4H11.2L4.3 20.5V18.6L5.6 17.3H7.1L10.4 20.6Z' fill='%232F86FF' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M14.6 12.6V17M18.3 12.9V17.4M21.9 13.6V17.6' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12.5 5.6V11.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 12 3, pointer; }
  input[type="file"]::file-selector-button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10.4 4.6 11.8 3H13.2L14.6 4.6V12.6L15.5 11.9H17.3L18.3 12.9 19.1 12.6H20.9L21.9 13.6 22.7 13.6H24.3L25.4 14.7V22.8L23.2 27.4H11.2L4.3 20.5V18.6L5.6 17.3H7.1L10.4 20.6Z' fill='%23FF2D87' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M14.6 12.6V17M18.3 12.9V17.4M21.9 13.6V17.6' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M12.5 5.6V11.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 12 3, pointer; }
  :disabled { cursor: not-allowed; }
}
