/* Shabakeh v3 — Arab-futurism, read from the credits up.
   Colour fields (Majorelle, saffron, Damascene rose) on kohl, a paper reading surface,
   wide Latin display type against retro Arabic print, one orchestrated hero (the helix). */
:root {
  --kohl: #08061A;
  --kohl-2: #120F2B;
  --majorelle: #2F2BFF;
  --saffron: #FFB400;
  --rose: #D63C14; /* ember (token name kept) */
  --ember-hi: #FF5A1F;
  --paper: #F6F3EE;
  --paper-2: #ECE6DC;
  --white: #FFFFFF;
  --ink-soft: #4B4766;
  --mist: #B9B5D6;
  --sunset: linear-gradient(100deg, #D63C14 0%, #FF5A1F 40%, #FFB400 100%);
  --chrome: linear-gradient(100deg, #FF5A1F 0%, #FFB400 32%, #FFFFFF 55%, #8C9BFF 75%, #2F2BFF 100%);
  --star: polygon(50% 0%, 61% 25%, 85% 15%, 75% 39%, 100% 50%, 75% 61%, 85% 85%, 61% 75%, 50% 100%, 39% 75%, 15% 85%, 25% 61%, 0% 50%, 25% 39%, 15% 15%, 39% 25%);

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --arabic: "Lalezar", "Reem Kufi", "Geeza Pro", sans-serif;
  --arabic-ui: "Reem Kufi", "Geeza Pro", sans-serif;
  --body: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --head-h: 64px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; } }
body { margin: 0; background: var(--kohl); color: var(--white); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .07; z-index: 100; mix-blend-mode: overlay; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.wrap { padding-inline: var(--gutter); max-width: 1360px; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--kohl); padding: 8px 12px; z-index: 200; font-family: var(--display); font-size: 13px; }
.skip:focus { left: 8px; }
.ar { font-family: var(--arabic); font-weight: 400; direction: rtl; unicode-bidi: isolate; }

/* ---------------- header ---------------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(8, 6, 26, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--head-h); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { flex-shrink: 0; }
.mark img { height: 44px; width: auto; max-width: none; display: block; flex-shrink: 0; }
.mark span { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .04em; }
nav.main { display: flex; gap: 4px; }
nav.main a { font-family: var(--display); font-size: 13px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 99px; transition: background .2s, color .2s; white-space: nowrap; }
nav.main a:hover { background: rgba(255,255,255,.12); }
nav.main a[aria-current="page"] { background: var(--white); color: var(--kohl); }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--sunset); }
@media (max-width: 620px) { .mark span { display: none; } nav.main { gap: 0; } nav.main a { font-size: 11.5px; padding: 7px 9px; } }

/* ---------------- shared ---------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 14px; text-decoration: none; padding: 15px 22px; border-radius: 99px; background: var(--white); color: var(--kohl); transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--saffron); }
.sticker { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 99px; background: var(--white); color: var(--kohl); transform: rotate(-4deg); box-shadow: 3px 3px 0 var(--kohl); white-space: nowrap; }
.sticker.rose { background: var(--rose); color: var(--white); }
.sticker.sun { background: var(--saffron); color: var(--kohl); }
.sticker.blue { background: var(--majorelle); color: var(--white); }
.sticker.dark { background: var(--kohl); color: var(--white); box-shadow: 3px 3px 0 var(--white); }
.sticker.tilt { transform: rotate(3deg); }
.sec { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.sec-title { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 6vw, 84px); line-height: .95; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.sec-title .ar { display: block; font-size: .72em; line-height: 1.35; letter-spacing: 0; margin-top: .08em; }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border: 1.5px solid currentColor; border-radius: 99px; white-space: nowrap; }
.chip.v { color: #1F8A44; } .chip.r { color: var(--majorelle); } .chip.u { color: #D23B2A; }

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: calc(100svh - var(--head-h)); overflow: hidden; display: grid; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero .ar-giant { position: absolute; z-index: 0; right: -3vw; top: 46%; transform: translateY(-50%); font-family: var(--arabic); font-size: clamp(220px, 44vw, 720px); line-height: 1; margin: 0; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; animation: fade-ar 1.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fade-ar { from { opacity: 0; transform: translateY(-40%) scale(.96); } }
.hero .in { container-type: inline-size; width: 100%; position: relative; z-index: 2; display: grid; align-content: end; gap: 22px; padding-block: 40px clamp(28px, 5vw, 56px); pointer-events: none; }
.hero .in > * { pointer-events: auto; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: min(12.4vw, 168px); font-size: clamp(36px, 13.6cqi, 224px); white-space: nowrap; line-height: .82; letter-spacing: -.05em; color: var(--white); animation: rise 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }
.hero .tagline { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; animation: rise 1s .45s cubic-bezier(.2,.8,.2,1) both; }
.hero .tagline p { margin: 0; max-width: 32ch; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; }
.hero .tagline .ar { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.5; color: var(--saffron); max-width: none; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.badge { position: absolute; z-index: 3; right: clamp(16px, 5vw, 72px); top: clamp(20px, 5vw, 64px); width: clamp(118px, 12vw, 164px); aspect-ratio: 1; display: grid; place-items: center; text-decoration: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; overflow: visible; }
.badge svg text { font-family: var(--display); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; fill: var(--white); }
.badge .core { width: 50%; aspect-ratio: 1; background: var(--saffron); clip-path: var(--star); display: grid; place-items: center; transition: transform .4s; }
.badge .core span { font-family: var(--display); font-weight: 900; font-size: 11px; color: var(--kohl); text-align: center; line-height: 1.05; }
.badge:hover .core { transform: rotate(45deg) scale(1.1); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero .badge { z-index: 3; }

/* ---------------- marquee ---------------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--saffron); color: var(--kohl); border-block: 3px solid var(--kohl); }
.marquee.rose { background: var(--rose); color: var(--white); }
.marquee.blue { background: var(--majorelle); color: var(--white); }
.marquee .track { display: inline-flex; animation: slide 40s linear infinite; }
.marquee.rev .track { animation-direction: reverse; }
.marquee .item { display: inline-flex; align-items: center; gap: .5em; padding-inline: .5em; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.6vw, 52px); line-height: 1.45; letter-spacing: -.02em; }
.marquee .item .ar { font-size: 1.1em; letter-spacing: 0; }
.marquee .star { width: .62em; height: .62em; background: currentColor; clip-path: var(--star); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------- feature posters (home) ---------------- */
.poster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); text-decoration: none; position: relative; overflow: hidden; min-height: min(90vh, 880px); }
.poster.sun { background: var(--saffron); color: var(--kohl); }
.poster.blue { background: var(--majorelle); color: var(--white); }
.poster.blue .txt { order: 2; }
.poster .txt { padding: clamp(28px, 5vw, 72px); display: grid; align-content: space-between; gap: 32px; position: relative; z-index: 1; }
.poster .num { font-family: var(--display); font-weight: 900; font-size: clamp(60px, 9vw, 140px); line-height: .8; letter-spacing: -.06em; display: flex; flex-wrap: wrap; gap: .2em .3em; align-items: baseline; }
.poster .num .ar { font-size: .62em; letter-spacing: 0; }
.poster h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 70px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.poster .ar-t { font-size: clamp(26px, 2.8vw, 42px); line-height: 1.45; margin: 12px 0 0; }
.poster p.dek { margin: 16px 0 0; font-size: clamp(17px, 1.4vw, 20px); max-width: 40ch; }
.poster .foot { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.poster .meta { font-family: var(--display); font-size: 13px; font-weight: 500; }
.poster figure { margin: 0; position: relative; overflow: hidden; min-height: 100%; }
.poster figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); transition: filter .6s, transform .8s; }
.poster figure::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; transition: opacity .6s; }
.poster.sun figure::after { background: linear-gradient(160deg, #D63C14, #FFB400); }
.poster.blue figure::after { background: linear-gradient(160deg, #2F2BFF, #0B0A2E); }
.poster:hover figure img { filter: none; transform: scale(1.03); }
.poster:hover figure::after { opacity: 0; }
.poster .sticker { position: absolute; top: 24px; z-index: 2; }
.poster.sun .sticker { right: 24px; }
.poster.blue .sticker { left: 24px; }
.poster .go { font-family: var(--display); font-weight: 700; font-size: 15px; padding: 14px 22px; border-radius: 99px; background: var(--kohl); color: var(--white); transition: transform .2s; }
.poster.blue .go { background: var(--white); color: var(--kohl); }
.poster:hover .go { transform: rotate(-2deg) scale(1.05); }

/* ---------------- catalogue ---------------- */
.cat-list { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 2px solid var(--white); }
.cat-list a { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 2px solid rgba(255,255,255,.18); text-decoration: none; position: relative; transition: padding .3s, color .3s; }
.cat-list .n { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.05em; }
.cat-list .n .ar { display: block; font-size: .52em; color: var(--mist); letter-spacing: 0; line-height: 1.3; }
.cat-list .t { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.cat-list .t small { display: block; margin-top: 8px; font-family: var(--body); font-weight: 400; font-size: 17px; letter-spacing: 0; color: var(--mist); }
.cat-list .d { font-family: var(--display); font-size: 12.5px; color: var(--mist); text-align: right; }
.cat-list a:hover { padding-left: 18px; color: var(--saffron); }
.cat-list a:hover .n .ar { color: var(--saffron); }
.cat-list .peek { position: absolute; right: 16%; top: 50%; width: 240px; aspect-ratio: 4/3; object-fit: cover; transform: translateY(-50%) rotate(5deg) scale(.8); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s; box-shadow: 8px 8px 0 var(--rose); z-index: 2; }
.cat-list a:hover .peek { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
@media (max-width: 760px) { .cat-list a { grid-template-columns: 96px minmax(0, 1fr); gap: 6px 16px; } .cat-list .d { grid-column: 2; text-align: left; } .cat-list .peek { display: none; } }

/* ---------------- rotation ---------------- */
.rotation { background: var(--rose); color: var(--white); overflow: hidden; }
.rot-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; }
.rot-head p { margin: 0; max-width: 34ch; font-size: 18px; }
.rot-list { list-style: none; margin: clamp(32px, 4vw, 56px) auto 0; max-width: 1360px; padding: 0 var(--gutter) 28px; display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--kohl) transparent; }
.rot-item { flex: 0 0 clamp(220px, 23vw, 290px); scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.rot-item .sleeve { position: relative; margin-bottom: 12px; margin-right: 12%; }
.rot-item .sleeve img { width: 100%; aspect-ratio: 1; object-fit: cover; position: relative; z-index: 1; box-shadow: 6px 6px 0 var(--kohl); transition: transform .4s; }
.rot-item .sleeve::after { content: ""; position: absolute; top: 3%; right: 3%; width: 94%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--saffron) 0 13%, var(--kohl) 14% 16%, #242040 17% 20%, #15122c 21% 40%, #242040 41% 42%, #15122c 43% 100%); transform: translateX(10%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.rot-item:hover .sleeve::after { transform: translateX(28%) rotate(120deg); }
.rot-n { font-family: var(--display); font-weight: 800; font-size: 14px; }
.rot-item h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; letter-spacing: -.015em; overflow-wrap: anywhere; }
.rot-artist { margin: 0; font-size: 18px; }
.rot-item h3 .ar-sub { display: block; margin-top: 4px; font-family: var(--arabic-ui); font-weight: 700; font-size: .9em; letter-spacing: 0; direction: rtl; text-align: left; }
.rot-where { margin: 0; font-family: var(--display); font-size: 11.5px; line-height: 1.55; }
.rot-links { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rot-links a { font-family: var(--display); font-size: 11.5px; font-weight: 600; text-decoration: none; padding: 5px 10px; border-radius: 99px; background: var(--kohl); color: var(--white); }
.rot-links a:hover { background: var(--saffron); color: var(--kohl); }
.rot-note { margin: 4px 0 0; font-size: 15px; }

/* ---------------- about teaser ---------------- */
.whois { background: var(--majorelle); color: var(--white); overflow: hidden; }
.whois .wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.star-frame { position: relative; aspect-ratio: 1; margin: 6%; }
.star-frame::before { content: ""; position: absolute; inset: -9%; background: var(--saffron); clip-path: var(--star); animation: spin 60s linear infinite; }
.star-frame img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); filter: grayscale(1) contrast(1.1); }
.whois h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 66px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.whois p { font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; margin: 22px 0 28px; }
.whois .ar { display: block; font-size: clamp(26px, 3vw, 42px); color: var(--saffron); margin: 0 0 14px; }

/* ---------------- schedule ---------------- */
.slots { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 14px; }
.slot { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 28px; border-radius: 24px; background: var(--kohl-2); }
.slot .when { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--saffron); }
.slot h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.025em; }
.slot p { margin: 4px 0 0; color: var(--mist); }
.slot .code { font-family: var(--display); font-size: 12px; color: var(--mist); }
.slot:first-child { background: var(--saffron); color: var(--kohl); }
.slot:first-child .when, .slot:first-child p, .slot:first-child .code { color: var(--kohl); }
@media (max-width: 700px) { .slot { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------------- footer ---------------- */
footer.site { background: var(--kohl); overflow: hidden; border-top: 3px solid var(--white); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-block: 48px 0; }
footer.site p { margin: 0; max-width: 38ch; color: var(--mist); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; max-width: 620px; }
footer.site .links a { font-family: var(--display); font-size: 13px; font-weight: 600; text-decoration: none; padding: 9px 15px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.3); }
footer.site .links a:hover { background: var(--white); color: var(--kohl); }
footer.site .giant { font-family: var(--arabic); font-size: clamp(170px, 36vw, 560px); line-height: 1.1; margin: 0 0 -.34em; text-align: center; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
footer.site .legal { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--display); font-size: 12px; color: var(--mist); padding-block: 14px 22px; background: var(--kohl); }

/* ---------------- article ---------------- */
.a-head { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 90px) clamp(36px, 5vw, 64px); }
.a-head.sun { background: var(--saffron); color: var(--kohl); }
.a-head.blue { background: var(--majorelle); color: var(--white); }
.a-head.rose { background: var(--rose); color: var(--white); }
.a-head .wrap { display: grid; gap: 22px; position: relative; z-index: 1; }
.a-head .stickers { display: flex; flex-wrap: wrap; gap: 12px; }
.a-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 7.2vw, 118px); line-height: .9; letter-spacing: -.05em; max-width: 14ch; text-wrap: balance; }
.a-head .ar-t { font-size: clamp(30px, 4vw, 60px); line-height: 1.4; margin: 0; }
.a-head .standfirst { margin: 0; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; max-width: 46ch; }
.a-head .byline { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--display); font-size: 13px; font-weight: 500; align-items: center; }
.a-head .byline a { text-underline-offset: 4px; }
.a-head .bg-star { position: absolute; right: -10vw; bottom: -16vw; width: 54vw; max-width: 780px; aspect-ratio: 1; opacity: .14; background: currentColor; clip-path: var(--star); animation: spin 90s linear infinite; }
.switch { display: inline-flex; padding: 5px; border-radius: 99px; background: rgba(8,6,26,.12); width: max-content; max-width: 100%; }
.a-head.blue .switch, .a-head.rose .switch { background: rgba(255,255,255,.16); }
.switch a, .switch span { font-family: var(--display); font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 99px; text-decoration: none; }
.switch span { background: var(--kohl); color: var(--white); }
.a-head.blue .switch span { background: var(--white); color: var(--kohl); }
.switch a:hover { text-decoration: underline; }

.a-hero { margin: 0; background: var(--kohl); }
.a-hero img { width: 100%; max-height: 86vh; aspect-ratio: 3/2; object-fit: cover; }
figcaption { font-family: var(--display); font-size: 12px; line-height: 1.5; padding: 12px var(--gutter); color: var(--mist); }

.chips { position: sticky; top: var(--head-h); z-index: 40; background: rgba(246,243,238,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(8,6,26,.1); }
.chips ol { list-style: none; margin: 0 auto; max-width: 1360px; padding: 10px var(--gutter); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; counter-reset: c; }
.chips ol::-webkit-scrollbar { display: none; }
.chips li { counter-increment: c; flex: none; }
.chips a { display: inline-flex; gap: 8px; font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--kohl); text-decoration: none; padding: 8px 14px; border-radius: 99px; background: var(--white); border: 1.5px solid rgba(8,6,26,.14); transition: background .2s, color .2s; white-space: nowrap; }
.chips a::before { content: counter(c, decimal-leading-zero); opacity: .5; }
.chips a.on, .chips a:hover { background: var(--kohl); color: var(--white); border-color: var(--kohl); }

.read { background: var(--paper); color: var(--kohl); }
.prose { max-width: 700px; margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gutter); box-sizing: content-box; font-size: 20px; line-height: 1.7; counter-reset: sec; }
.prose > p { margin: 0 0 1.15em; }
.prose a { color: inherit; text-decoration-color: var(--accent, var(--rose)); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose h2 { margin: 2.4em 0 .9em; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.035em; display: grid; gap: 12px; counter-increment: sec; text-wrap: balance; }
.prose h2::before { content: counter(sec, decimal-leading-zero); font-size: 14px; letter-spacing: 0; width: max-content; padding: 5px 12px; border-radius: 99px; color: var(--white); background: var(--accent, var(--rose)); }
.prose > h2:first-child { margin-top: 0; }
.prose figure { margin: 2.2em calc(50% - min(48vw, 620px)) 2.4em; }
.prose figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.prose figure figcaption { color: var(--ink-soft); padding-inline: 0; }
@media (max-width: 1300px) { .prose figure { margin-inline: calc(-1 * var(--gutter)); } .prose figure figcaption { padding-inline: var(--gutter); } }
.sun-accent { --accent: #E07A00; }
.blue-accent { --accent: var(--majorelle); }
.rose-accent { --accent: var(--rose); }

.pq { margin: 2em 0 2.2em; padding: 0; }
.pq p { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.035em; color: var(--accent, var(--rose)); text-wrap: balance; }
.pq p::before { content: "«\00a0"; font-family: var(--arabic); }
.pq p::after { content: "\00a0»"; font-family: var(--arabic); }
.pq cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--display); font-size: 13px; font-weight: 600; }

.routes { display: grid; gap: 16px; margin: 1.6em 0 2em; }
.route { border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; position: relative; }
.route:nth-child(1) { background: var(--saffron); color: var(--kohl); }
.route:nth-child(2) { background: var(--majorelle); color: var(--white); }
.route:nth-child(3) { background: var(--rose); color: var(--white); }
.route.watch { background: var(--kohl); color: var(--white); }
.route h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 66px); line-height: .9; letter-spacing: -.05em; padding-right: 150px; }
.route .sticker { position: absolute; top: 22px; right: 20px; }
.route.watch h3 { font-size: clamp(28px, 3.4vw, 44px); }
.route p { margin: 0; font-size: 17.5px; line-height: 1.6; }
@media (max-width: 560px) { .route h3 { padding-right: 0; padding-top: 34px; } .route .sticker { right: auto; left: 22px; top: 18px; } }

ol.actions { list-style: none; counter-reset: act; margin: 1.4em 0 2em; padding: 0; display: grid; gap: 12px; }
ol.actions li { counter-increment: act; border-radius: 24px; background: var(--white); padding: 22px 24px 22px 92px; position: relative; font-size: 17.5px; line-height: 1.55; border: 2px solid var(--kohl); }
ol.actions li::before { content: counter(act); position: absolute; left: 22px; top: 20px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent, var(--majorelle)); clip-path: var(--star); color: var(--white); font-family: var(--display); font-weight: 900; font-size: 18px; }
ol.actions li b { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; margin-bottom: 6px; letter-spacing: -.015em; }

.endmatter { max-width: 700px; margin-inline: auto; padding: 0 var(--gutter) clamp(48px, 6vw, 88px); box-sizing: content-box; }
.endmatter h2 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 0 0 12px; }
.note { border-top: 3px solid var(--kohl); padding-top: 24px; }
.note p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.liner { margin: 28px 0 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.liner div { border-radius: 20px; background: var(--kohl); color: var(--white); padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.liner .k { font-family: var(--display); font-size: 11.5px; font-weight: 600; color: var(--saffron); }
.liner p { margin: 0; font-size: 15.5px; line-height: 1.45; }
.sources ol { list-style: none; padding: 0; margin: 0; counter-reset: src; }
.sources li { counter-increment: src; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-block: 9px; border-bottom: 1px solid rgba(8,6,26,.12); font-size: 15px; line-height: 1.5; }
.sources li::before { content: counter(src, decimal-leading-zero); font-family: var(--display); font-size: 11px; font-weight: 600; color: var(--ink-soft); padding-top: 3px; }
.sources a { text-decoration-color: rgba(8,6,26,.3); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sources a:hover { text-decoration-color: var(--rose); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; }
.share .k { font-family: var(--display); font-weight: 700; font-size: 14px; margin-right: 6px; }
.share a, .share button { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--kohl); background: var(--white); border: 1.5px solid var(--kohl); padding: 8px 14px; border-radius: 99px; cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--kohl); color: var(--white); }

.next-part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-decoration: none; overflow: hidden; }
.next-part.sun { background: var(--saffron); color: var(--kohl); }
.next-part.blue { background: var(--majorelle); color: var(--white); }
.next-part .txt { padding: clamp(28px, 5vw, 72px); display: grid; gap: 16px; align-content: center; }
.next-part h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.4vw, 68px); line-height: .95; letter-spacing: -.045em; }
.next-part .ar { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.4; }
.next-part .k { font-family: var(--display); font-weight: 700; font-size: 15px; }
.next-part img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .8s; }
.next-part:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .next-part { grid-template-columns: minmax(0, 1fr); } .liner { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- File 001 (archive) ---------------- */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 2.4em; }
.door { border-radius: 26px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; background: var(--white); color: var(--kohl); border: 2px solid var(--kohl); }
.door:nth-child(2) { background: var(--kohl); color: var(--white); }
.door h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 13px; }
.door .who { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.04em; }
.door .who .label { font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: .7; }
.door ol { list-style: none; margin: 0; padding: 0; }
.door li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding-block: 9px; border-top: 1px solid rgba(128,128,160,.3); font-size: 16px; line-height: 1.4; }
.door li .yr { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--rose); padding-top: 2px; }
.wide { max-width: 1100px; margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 0; box-sizing: content-box; }
.f001 .prose { padding-top: 24px; }
.f001 .prose h3 { margin: 2.2em 0 .8em; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -.035em; }
.f001 .prose blockquote { margin: 1.8em 0; padding: 0; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: var(--rose); }
.f001 .prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--kohl); letter-spacing: 0; }
sup a { font-family: var(--display); font-size: 11px; font-weight: 700; text-decoration: none; color: var(--rose); padding: 0 2px; }
.credit { font-family: var(--mono); font-size: 13px; background: var(--kohl); color: var(--saffron); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.ledger { margin: 0 0 1.6em; border-radius: 26px; background: var(--kohl); color: var(--white); padding: 8px 22px 14px; }
.ledger .who-h { font-family: var(--display); font-weight: 800; font-size: 15px; padding: 16px 0 6px; color: var(--saffron); }
.ledger .row { display: grid; grid-template-columns: 50px 1fr auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); align-items: baseline; font-size: 17px; }
.ledger .yr { font-family: var(--display); font-weight: 700; font-size: 13px; }
.ledger .d { font-family: var(--display); font-size: 11px; color: var(--mist); }
.ledger .credit { background: var(--saffron); color: var(--kohl); }
.rails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 2em; }
.rail-box { border-radius: 24px; padding: 20px; display: grid; gap: 8px; align-content: start; background: var(--paper-2); }
.rail-box:nth-child(3) { background: var(--rose); color: var(--white); }
.rail-box p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.rail-box p.label { font-family: var(--display); font-weight: 800; font-size: 14px; }
.rail-box .k { font-family: var(--display); font-size: 11px; opacity: .75; }
.src001 li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; }
.src001 li:target { background: rgba(255,180,0,.3); }
@media (max-width: 760px) { .doors, .rails { grid-template-columns: minmax(0, 1fr); } .ledger .row { grid-template-columns: 50px 1fr; } .ledger .row .credit { grid-column: 2; justify-self: start; } .src001 li { grid-template-columns: 30px minmax(0, 1fr); } .src001 li .chip { grid-column: 2; justify-self: start; } }

/* ---------------- About ---------------- */
.ab-hero { background: var(--majorelle); color: var(--white); overflow: hidden; }
.ab-hero .wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 7vw, 110px); }
.ab-hero h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(50px, 8.4vw, 136px); line-height: .85; letter-spacing: -.055em; }
.ab-hero .ar { display: block; font-size: clamp(34px, 4.4vw, 66px); color: var(--saffron); margin: 10px 0 18px; line-height: 1.3; }
.ab-hero .lede { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; max-width: 34ch; margin: 0; }
.ab-hero .tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ab-body .pq p { color: var(--majorelle); }
.contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact a { font-family: var(--display); font-size: 14px; font-weight: 700; text-decoration: none; padding: 13px 20px; border-radius: 99px; background: var(--kohl); color: var(--white); }
.contact a:hover { background: var(--rose); }
.record { background: var(--saffron); color: var(--kohl); }
.timeline { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; border-top: 3px solid var(--kohl); }
.timeline li { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 2px solid rgba(8,6,26,.18); align-items: baseline; }
.timeline .yr { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.04em; white-space: nowrap; }
.timeline .what { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.15; letter-spacing: -.015em; }
.timeline .sub { font-size: 17px; line-height: 1.4; }
.timeline li.now { background: var(--kohl); color: var(--white); border-radius: 22px; padding-inline: 22px; border: 0; margin-block: 10px; }
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.skills div { background: var(--kohl); color: var(--white); border-radius: 24px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.skills h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--saffron); }
.skills p { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 860px) { .ab-hero .wrap, .whois .wrap { grid-template-columns: minmax(0, 1fr); } .star-frame { max-width: 320px; } .timeline li { grid-template-columns: minmax(0, 1fr); } .skills { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- Ethos ---------------- */
.eth-hero { overflow: hidden; }
.eth-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 100px); }
.eth-hero h1 { margin: 0 0 26px; font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6.2vw, 100px); line-height: .9; letter-spacing: -.05em; text-wrap: balance; }
.eth-hero h1 .ar { display: block; font-size: .62em; line-height: 1.4; letter-spacing: 0; color: var(--saffron); margin-top: .15em; }
.eth-hero p.big { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; margin: 0 0 .8em; max-width: 40ch; }
.globe-box { position: relative; min-width: 0; }
.globe-box canvas { display: block; width: 100%; aspect-ratio: 1; height: auto; }
.globe-cap { margin: 0; font-family: var(--display); font-size: 12px; color: var(--mist); text-align: center; }
.globe-cap span { color: var(--saffron); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.pillar { border-radius: 30px; padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 380px; }
.pillar:nth-child(1) { background: var(--rose); }
.pillar:nth-child(2) { background: var(--saffron); color: var(--kohl); }
.pillar:nth-child(3) { background: var(--majorelle); }
.pillar .ar { font-family: var(--arabic); font-size: clamp(64px, 7vw, 104px); line-height: 1.15; text-align: left; }
.pillar h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: -.03em; }
.pillar p { margin: 0; font-size: 17.5px; }
.pillar .state { font-family: var(--display); font-size: 12.5px; font-weight: 600; margin-top: auto; }
.method { background: var(--paper); color: var(--kohl); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 52px); }
.method-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.method-grid li { border-radius: 22px; background: var(--white); border: 2px solid var(--kohl); padding: 18px 20px; display: grid; gap: 4px; }
.method-grid li .label { font-family: var(--display); font-weight: 800; font-size: 17px; }
.method-grid li p { margin: 0; font-size: 16.5px; }
.legend { display: grid; gap: 14px; }
.legend div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: baseline; font-size: 16px; }
.legend h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.watch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.watch-col { border-radius: 24px; background: var(--kohl-2); padding: 20px 18px 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.watch-col .label { margin: 0; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--saffron); }
.watch-col .label b { font-weight: 800; }
.watch-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.watch-col li { font-size: 17px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.watch-col li span { font-family: var(--arabic-ui); color: var(--rose); font-size: 15px; direction: rtl; }
@media (max-width: 1000px) { .watch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .eth-hero .wrap, .method-grid { grid-template-columns: minmax(0, 1fr); } .pillars { grid-template-columns: minmax(0, 1fr); } .pillar { min-height: 0; } .globe-box { max-width: 460px; margin-inline: auto; width: 100%; } }
@media (max-width: 640px) { .watch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .legend div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------------- responsive: home ---------------- */
@media (max-width: 860px) {
  .poster, .poster.blue { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .poster.blue .txt { order: 0; }
  .poster figure { aspect-ratio: 4/3; order: -1; min-height: 0; }
  .hero .ar-giant { top: 34%; right: -12vw; font-size: 80vw; }
}
@media (max-width: 640px) { body { font-size: 17px; } .prose { font-size: 18.5px; } ol.actions li { padding-left: 84px; } }
/* header logo sizing (new logo) */
@media (max-width: 620px) { .mark img { height: 30px; } }
@media (max-width: 400px) { .mark img { height: 24px; } nav.main a { padding: 6px 5px; font-size: 11px; } }

/* ---- v9: listen player (click-to-load official embeds) ---- */
.listen { margin: 0 0 2.4em; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--kohl); color: var(--white); border-radius: 26px; padding: 18px; box-shadow: 6px 6px 0 var(--accent, var(--saffron)); }
.listen > img { width: 148px; height: 148px; border-radius: 16px; object-fit: cover; }
.listen .k { font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron); }
.listen h3 { margin: 6px 0 6px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.05; letter-spacing: -.03em; }
.listen p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.78); }
.listen .acts { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.listen .btn { padding: 11px 18px; font-size: 13px; border: 0; cursor: pointer; }
.listen .acts a { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--white); text-underline-offset: 4px; }
.listen small { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.listen.on { display: block; padding: 10px; }
.listen.on iframe { display: block; width: 100%; border: 0; border-radius: 16px; }
@media (max-width: 560px) { .listen { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; } .listen > img { width: 88px; height: 88px; border-radius: 12px; } }

/* ---- v9: roster cards ---- */
.prose h3.crew { margin: 2em 0 .7em; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
ul.roster { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 12px; }
ul.roster li { background: var(--white); border-radius: 22px; padding: 18px 22px; border: 2px solid var(--kohl); font-size: 17.5px; line-height: 1.55; }
ul.roster li b.n { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
ul.roster li .meta { display: block; margin: 4px 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
ul.roster li .sw { display: block; margin-top: 8px; font-family: var(--display); font-size: 13px; font-weight: 600; }
ul.roster li.anchor { background: var(--kohl); color: var(--white); }
ul.roster li.anchor .meta { color: var(--saffron); }
.prose dl.gloss { margin: 1em 0 2em; display: grid; gap: 12px; }
.prose dl.gloss div { border-left: 4px solid var(--accent, var(--saffron)); padding: 4px 0 4px 18px; }
.prose dl.gloss dt { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.prose dl.gloss dd { margin: 4px 0 0; }

/* ---- v15: Gulf takeover (NAHHAM) + comparison table ---- */
.a-head.gulf { background: #0B3D2E; color: var(--paper); }
.a-head.gulf .bg-star { opacity: .1; background: #E8D9B5; }
.gulf-accent { --accent: #0F7A55; }
.sticker.pearl { background: #F1E6CF; color: var(--kohl); }
.series { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.series b { font-family: var(--arabic-ui); font-size: 15px; letter-spacing: 0; margin-inline: 6px; }
.tbl { margin: 1.4em 0 2em; overflow-x: auto; border: 2px solid var(--kohl); border-radius: 22px; background: var(--white); }
table.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
table.compare th, table.compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(8,6,26,.1); }
table.compare thead th { font-family: var(--display); font-weight: 800; font-size: 14px; background: var(--kohl); color: var(--white); }
table.compare tbody th { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; width: 18%; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
.listen.track { grid-template-columns: 1fr; }
.poster.gulf { background: #0B3D2E; color: var(--paper); }
.poster.gulf .txt { order: 2; }
.poster.gulf figure::after { background: linear-gradient(160deg, #0F7A55, #08061A); }
.poster.gulf .sticker { left: 24px; }
.poster.gulf .go { background: #F1E6CF; color: var(--kohl); }

/* ---- v16: alive layer ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* credit flip cards */
.cc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 1.6em 0 .8em; }
.cc-head .k, .tl-head .k, .kickgrid .k { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--rose)); }
.cc-head button, .kg-ctrl button { font-family: var(--display); font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 99px; border: 2px solid var(--kohl); background: var(--white); color: var(--kohl); cursor: pointer; }
.cc-head button:hover, .kg-ctrl button:hover, .kg-ctrl button[aria-pressed="true"] { background: var(--kohl); color: var(--white); }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0 0 1.6em; }
.cc { position: relative; min-height: 196px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; text-align: left; font: inherit; color: inherit; }
.cc .f, .cc .b { position: absolute; inset: 0; border-radius: 20px; border: 2px solid var(--kohl); padding: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s cubic-bezier(.2,.7,.2,1); display: grid; align-content: space-between; gap: 8px; }
.cc .f { background: var(--white); }
.cc .b { background: var(--kohl); color: var(--white); transform: rotateY(180deg); font-size: 13.5px; line-height: 1.4; align-content: start; }
.cc.flip .f { transform: rotateY(-180deg); } .cc.flip .b { transform: rotateY(0); }
.cc .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.cc .t { font-family: var(--arabic-ui); font-size: 26px; line-height: 1.25; font-weight: 700; }
.cc .a { font-family: var(--display); font-size: 13px; font-weight: 600; }
.cc .hint { font-family: var(--display); font-size: 11px; color: var(--accent, var(--rose)); }
.cc .b dt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); margin-top: 6px; }
.cc .b dd { margin: 0; }
.cc .b dd.none { color: #F1E6CF; font-style: italic; }
.cc.hoby .f { background: #0B3D2E; color: var(--paper); } .cc.hoby .f .tag { color: #BFD9CC; } .cc.hoby .f .hint { color: #F1E6CF; }
.cc:focus-visible { outline: 3px solid var(--accent, var(--rose)); outline-offset: 4px; border-radius: 22px; }
@media (prefers-reduced-motion: reduce) { .cc .f, .cc .b { transition: none; } }
/* timeline */
.tl-head { margin: 1.8em 0 .6em; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tl-head small { font-family: var(--display); font-size: 11.5px; color: var(--ink-soft); }
.timeline { list-style: none; margin: 0 calc(50% - min(48vw, 620px)) 2em; padding: 6px max(var(--gutter), calc(50vw - 350px)) 18px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (max-width: 1300px) { .timeline { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } }
.timeline li { flex: 0 0 min(76vw, 280px); scroll-snap-align: start; background: var(--white); border: 2px solid var(--kohl); border-radius: 22px; padding: 18px 18px 20px; font-size: 16px; line-height: 1.5; position: relative; }
.timeline li .y { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; color: var(--accent, var(--rose)); }
.timeline li b { display: block; font-family: var(--display); font-size: 15px; letter-spacing: -.01em; margin-bottom: 4px; }
.timeline li.now { background: #0B3D2E; color: var(--paper); } .timeline li.now .y { color: #F1E6CF; }
/* kick grid */
.kickgrid { margin: 2em 0; background: var(--kohl); color: var(--white); border-radius: 26px; padding: 22px; box-shadow: 6px 6px 0 var(--accent, var(--saffron)); }
.kickgrid h3 { margin: 6px 0 4px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.kg-ctrl { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.kg-ctrl [data-kg-play] { background: var(--saffron); border-color: var(--saffron); color: var(--kohl); }
.kg-grid { display: grid; grid-template-columns: 44px repeat(16, minmax(0, 1fr)); gap: 4px; align-items: center; }
.kg-lab { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.kg-cell { aspect-ratio: 1; min-height: 14px; border-radius: 5px; border: 0; background: rgba(255,255,255,.12); cursor: pointer; padding: 0; transition: background .1s, transform .1s; }
.kg-cell.beat { background: rgba(255,255,255,.2); }
.kg-cell.on { background: var(--saffron); }
.kg-cell.now { outline: 2px solid var(--white); transform: scale(1.12); }
.kg-note { font-size: 15px; line-height: 1.5; margin: 12px 0 0; color: var(--paper); }
.kickgrid small { display: block; margin-top: 8px; font-size: 12px; color: var(--mist); }
/* image beside text, and muted loops */
.side { display: grid; gap: 14px; margin: 2em 0; }
.side img, .side video { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 22px; background: var(--kohl); }
.side figcaption { padding: 0; color: var(--ink-soft); }
@media (min-width: 1180px) { .prose .side { float: right; width: 400px; margin: .3em calc(50% - min(48vw, 620px)) 1.2em 32px; } .prose .side.l { float: left; margin: .3em 32px 1.2em calc(50% - min(48vw, 620px)); } .prose h2 { clear: both; } }
.moment { margin: 2em 0; }
.prose .timeline li { display: block; }
.prose .timeline li::before, .prose .timeline li::marker { content: none; }
.kickgrid .kg-ctrl button { background: rgba(255,255,255,.1); color: var(--white); border-color: transparent; }
.kickgrid .kg-ctrl button[aria-pressed="true"], .kickgrid .kg-ctrl button:hover { background: var(--white); color: var(--kohl); }
.kickgrid .kg-ctrl [data-kg-play], .kickgrid .kg-ctrl [data-kg-play][aria-pressed] { background: var(--saffron); color: var(--kohl); border-color: var(--saffron); }
/* ---- v17: moments, loops, embeds ---- */
.listen.moment { grid-template-columns: 1fr; }
.listen.on iframe[src*="youtube"] { height: auto; aspect-ratio: 16 / 9; }
.listen.on iframe[src*="tiktok"] { max-width: 340px; height: 740px; margin: 0 auto; background: var(--white); }
.loops { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 2em auto; max-width: 560px; }
.loops video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: var(--kohl); }
.loops figcaption { grid-column: 1 / -1; padding: 0; color: var(--ink-soft); }
.prose figure.loops { margin: 2em auto; }
/* ---- v18: square-Kufic footer mark (replaces the gradient wordmark) ---- */
footer.site .giant { display: none; }
.kufic { position: relative; padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(18px, 3vw, 32px); background: var(--kohl); }
.kufic-mark { display: block; width: min(100%, 1040px); height: auto; margin: 0 auto; }
.kufic-mark rect { fill: var(--paper); }
.kufic-mark rect.d { fill: var(--rose); }
.kufic.reveal { opacity: 1; transform: none; }
.kufic.reveal:not(.in) .kufic-mark rect { opacity: 0; transform: translateY(-14px); }
.kufic.in .kufic-mark rect { animation: kq .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 12ms); }
@keyframes kq { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.kufic-cap { margin: 30px auto 0; text-align: center; font-family: var(--display); font-size: 12px; letter-spacing: .08em; color: var(--mist); }
.kufic-cap span { font-family: var(--arabic-ui); font-size: 15px; letter-spacing: 0; color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .kufic .kufic-mark rect { opacity: 1 !important; transform: none !important; animation: none !important; } }

.fret, .a-head::after, .kufic::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect width='28' height='14' fill='%2308061A'/%3E%3Crect x='0' y='0' width='7' height='7' fill='%23F6F3EE'/%3E%3Crect x='14' y='7' width='7' height='7' fill='%23F6F3EE'/%3E%3Crect x='21' y='0' width='7' height='7' fill='%23D63C14'/%3E%3C/svg%3E") repeat-x; background-size: 28px 14px; }
.a-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 2; }
.kufic::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; }
.kufic-mark { shape-rendering: crispEdges; }
footer.site .kufic-cap { max-width: none; width: 100%; }
