body[data-page=home] { --gx:50%; --gy:42%; min-height:100svh; background:
  radial-gradient(60rem 44rem at var(--gx) var(--gy), rgb(var(--accent-rgb) / .30), transparent 70%),
  radial-gradient(90rem 60rem at 50% 115%, rgb(var(--accent-rgb) / .10), transparent 70%),
  #0b0e12; background-attachment:fixed; }
body[data-page=home]::before { content:""; position:fixed; inset:0; pointer-events:none; opacity:.14; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body[data-page=home] .masthead { position:absolute; inset-inline:0; top:0; z-index:5; }
body[data-page=home] footer { position:absolute; inset-inline:0; bottom:0; border:0; background:none; z-index:5; opacity:.7; }
body[data-page=home] main.home { min-height:100svh; display:grid; place-items:center; padding:0; }
.annot { width:100%; display:grid; place-items:center; }
.annot h1.name { margin:0; font-weight:400; font-family:inherit; line-height:1; }
.stage { display:block; position:relative; width:min(100vw,177.78svh); aspect-ratio:16/9; }
.stage svg { direction:ltr; position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.word { fill:#f3f0ea; font-family:"Instrument Serif",serif; }
:root[lang=ar] .word { font-family:"Aref Ruqaa",serif; font-weight:700; }
.guide { stroke:rgb(var(--accent-rgb) / .38); stroke-width:1; stroke-dasharray:2 7; }
.leader { stroke:rgb(var(--accent-rgb) / .8); stroke-width:1.4; fill:none; stroke-dasharray:1; stroke-dashoffset:0; transition:stroke .2s; }
.ring { fill:none; stroke:rgb(var(--accent-rgb)); stroke-width:1.6; opacity:0; transition:opacity .2s; }
.pt { cursor:pointer; outline:none; }
.hit { fill:transparent; }
.ttl { font-family:"Instrument Serif",serif; font-style:italic; font-size:46px; letter-spacing:.02em; word-spacing:.2em; fill:#f3f0ea; }
:root[lang=ar] .ttl { font-family:"Aref Ruqaa",serif; font-style:normal; font-weight:700; font-size:56px; letter-spacing:0; word-spacing:.1em; }
.num { font:500 17px ui-monospace,monospace; fill:rgb(var(--accent-rgb)); letter-spacing:.12em; }
.bl { font:400 22px system-ui,sans-serif; fill:#aab6c2; opacity:0; transition:opacity .2s; }
.pt:hover .bl,.pt:focus .bl,.pt:focus-visible .bl,.pt:focus-within .bl { opacity:1; }
.pt:hover .ring,.pt:focus-visible .ring { opacity:1; }
.pt:hover .leader,.pt:focus-visible .leader { stroke:#fff; stroke-width:2; }
.pt:focus-visible .ttl { text-decoration:underline; text-underline-offset:8px; }
.pt:hover .ttl { fill:rgb(var(--accent-rgb)); }
@media (prefers-reduced-motion:no-preference) {
  .leader { animation:draw 1.1s .25s cubic-bezier(.2,.7,.2,1) backwards; }
  .ttl,.num { animation:rise .8s .6s ease backwards; }
  .word { animation:rise .9s ease backwards; }
  body[data-page=home] { transition:background-position .2s; }
}
@keyframes draw { from { stroke-dashoffset:1; } }
@keyframes rise { from { opacity:0; } }
.stack,.list { display:none; }
@media (max-width:820px), (max-aspect-ratio:5/4) {
  .stage { display:none; }
  .annot { align-content:center; gap:2.2rem; padding:6rem 1.25rem 4.5rem; justify-items:stretch; }
  .stack { display:flex; flex-direction:column; font-family:"Instrument Serif",serif; font-size:min(26vw,9rem); line-height:.9; letter-spacing:-.02em; color:#f3f0ea; padding-inline-start:1rem; border-inline-start:1px dotted rgb(var(--accent-rgb) / .6); }
  :root[lang=ar] .stack { font-family:"Aref Ruqaa",serif; font-weight:700; font-size:min(24vw,8rem); line-height:1.2; }
  .list { display:block; list-style:none; margin:0; padding:0; }
  .list li { border-top:1px solid rgb(var(--accent-rgb) / .25); }
  .list a { display:grid; grid-template-columns:2.4rem 1fr; column-gap:.5rem; padding:.85rem 0; color:inherit; text-decoration:none; min-height:48px; }
  .list b { font:500 .8rem ui-monospace,monospace; color:rgb(var(--accent-rgb)); grid-row:span 2; padding-top:.5rem; }
  .list .lt { font-family:"Instrument Serif",serif; font-style:italic; font-size:1.7rem; line-height:1.1; }
  :root[lang=ar] .list .lt { font-family:"Aref Ruqaa",serif; font-style:normal; font-weight:700; }
  .list .lb { font-size:.9rem; color:#aab6c2; }
}
@media (max-width:820px), (max-aspect-ratio:5/4) {
  body[data-page=home] footer { position:static; padding:1rem 1.25rem 1.5rem; }
  body[data-page=home] main.home { min-height:0; }
}
