/* Jukebox (ar-JO, RTL) — 1950s chrome jukebox, cherry + pistachio. Hand-written. */
:root {
  --pista: #E3F1D6;
  --pista-deep: #CFE6BD;
  --vanilla: #FFF7E2;
  --chrome: #D5DADF;
  --chrome-hi: #F4F6F8;
  --chrome-lo: #9BA3AB;
  --bake: #2A1416;
  --bake-2: #3D2023;
  --cherry: #B0102A;
  --cherry-dk: #7E0A1D;
  --neon: #7FCB86;
  --gold: #C99A2E;
  --display: 'Rakkas', 'Cairo', system-ui, sans-serif;
  --body: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --wrap: 1180px;
  --chrome-grad: linear-gradient(180deg, var(--chrome-hi) 0%, var(--chrome) 45%, #B9C0C7 55%, var(--chrome-hi) 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.85; color: var(--bake);
  background: var(--pista) radial-gradient(1200px 600px at 15% -10%, var(--vanilla), transparent 70%) no-repeat;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cherry); text-underline-offset: 3px; }
a:hover { color: var(--cherry-dk); }
:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.4; margin: 0 0 .5em; }
h3 { font-weight: 700; line-height: 1.5; margin: 0 0 .4em; font-size: 1.12rem; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--bake); color: var(--vanilla); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 10px; color: var(--vanilla); }
.eyebrow, .kicker { font-weight: 700; font-size: .92rem; color: var(--cherry); margin: 0 0 .6em; }

/* ---------- top bar ---------- */
.topbar { background: var(--chrome-grad); border-bottom: 4px solid var(--cherry); box-shadow: 0 3px 0 var(--neon); position: relative; z-index: 20; }
.topbar-in { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bake); margin-inline-end: auto; }
.brand-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; }
.brand-name em { font-style: normal; color: var(--cherry); }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.menu a { display: block; padding: 11px 13px; border-radius: 999px; color: var(--bake); text-decoration: none; font-weight: 700; font-size: .92rem; }
.menu a:hover { background: var(--vanilla); color: var(--cherry); }
.menu a[aria-current="page"] { background: var(--cherry); color: #fff; }
.menu-btn { display: none; align-items: center; gap: 8px; font: 700 .95rem var(--body); color: var(--bake); background: var(--vanilla); border: 2px solid var(--bake); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-ico::before { top: -6px; } .menu-ico::after { top: 6px; }
@media (max-width: 860px) {
  .js .menu-btn { display: inline-flex; }
  .js .menu { display: none; width: 100%; }
  .js .menu.open { display: block; }
  .js .menu ul { flex-direction: column; padding: 6px 0 4px; }
  .no-js .menu { width: 100%; }
}

main { display: block; }

/* ---------- hero: the jukebox ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 36px 16px 20px; display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 5fr 6fr; padding-top: 48px; } }
.hero h1 { font-size: clamp(1.9rem, 4.3vw, 3rem); color: var(--bake); line-height: 1.35; }
.h1-key { display: block; font-size: 1.18em; color: var(--cherry); line-height: 1.3; margin-bottom: .1em; }
.h1-rest { display: block; font-family: var(--body); font-weight: 700; font-size: .58em; line-height: 1.5; }
.lead { font-size: 1.12rem; max-width: 38em; }
.keypad { display: none; margin-top: 18px; background: var(--chrome-grad); border: 3px solid var(--bake); border-radius: 22px; padding: 14px 16px; max-width: 440px; box-shadow: 0 6px 0 var(--bake); }
.js .keypad { display: block; }
.js .kp-fallback { display: none; }
.kp-title { font-weight: 700; font-size: .92rem; margin: 0 0 8px; }
.kp-keys { display: grid; gap: 8px; }
.kp-col { display: flex; gap: 8px; }
.kp-col:last-child .kp-key { font-family: var(--body); font-weight: 700; }
.kp-key { flex: 1; min-height: 46px; font: 400 1.35rem var(--display); color: var(--bake); background: radial-gradient(circle at 35% 30%, #fff, var(--vanilla) 45%, #E6D9B6); border: 2px solid var(--bake); border-radius: 50% / 40%; cursor: pointer; box-shadow: 0 3px 0 var(--bake); transition: transform .08s; }
.kp-key:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--bake); }
.kp-key[aria-pressed="true"] { background: var(--cherry); color: #fff; }
.kp-screen { margin: 10px 0 0; background: var(--bake); color: var(--neon); border-radius: 10px; padding: 6px 12px; font-size: .9rem; font-weight: 700; }
.kp-fallback { display: inline-block; margin-top: 12px; font-weight: 700; }

.cabinet { position: relative; }
.cab-arch { position: relative; border-radius: 48% 48% 22px 22px / 34% 34% 22px 22px; padding: 10px; background: linear-gradient(90deg, var(--cherry), var(--neon), var(--chrome-hi), var(--neon), var(--cherry)); box-shadow: 0 0 0 4px var(--bake), 0 0 40px rgba(127, 203, 134, .55), 0 18px 0 -6px var(--bake); overflow: hidden; }
.hero-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 47% 47% 14px 14px / 33% 33% 14px 14px; background: var(--vanilla); }
.reel-blur { position: absolute; left: 40%; top: 26%; width: 27%; height: 30%; border-radius: 8px; opacity: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 247, 226, .9) 0 14px, rgba(176, 16, 42, .55) 14px 22px, rgba(201, 154, 46, .7) 22px 30px, rgba(255, 247, 226, .9) 30px 44px); background-size: 100% 88px; }
.cabinet.spinning .reel-blur { animation: reel .9s linear 1; }
@keyframes reel { 0% { opacity: .95; background-position: 0 0; } 80% { opacity: .9; } 100% { opacity: 0; background-position: 0 528px; } }
.now { display: flex; align-items: center; gap: 10px; margin: 18px auto 0; width: fit-content; max-width: 100%; background: var(--bake); color: var(--vanilla); border-radius: 999px; padding-block: 8px; padding-inline: 8px 18px; font-weight: 700; font-size: .95rem; }
.now-disc { width: 30px; height: 30px; flex: none; border-radius: 50%; background: radial-gradient(circle, var(--bake) 0 3px, var(--cherry) 3px 9px, #111 9px), #111; box-shadow: inset 0 0 0 1px #555; }
.now.on .now-disc { animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- plates (highlights) ---------- */
.plates { max-width: var(--wrap); margin: 18px auto 0; padding: 0 16px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plate { position: relative; background: var(--chrome-grad); border: 2px solid var(--bake); border-radius: 14px; padding: 16px 18px 12px; }
.plate::before, .plate::after { content: ""; position: absolute; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--chrome-lo)); border: 1px solid var(--bake); }
.plate::before { left: 8px; } .plate::after { right: 8px; }
.pl-l { font-size: .92rem; font-weight: 700; margin: 0 0 2px; }
.pl-v { font-family: var(--display); font-size: 1.7rem; color: var(--cherry); margin: 0 0 4px; line-height: 1.35; }
.pl-n { font-size: .92rem; margin: 0; }

/* ---------- short answer ---------- */
.short { max-width: 900px; margin: 36px auto 0; padding: 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.short-label { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, var(--pista) 0 5px, var(--cherry) 5px 30px, var(--vanilla) 30px 32px, var(--cherry) 32px 40px, #141010 40px), #141010; box-shadow: 0 0 0 3px var(--bake); }
.short h2 { font-size: 1.5rem; margin-bottom: .25em; color: var(--cherry); }
.short p { margin: 0; font-size: 1.08rem; }
@media (max-width: 520px) { .short { grid-template-columns: 1fr; } .short-label { width: 64px; height: 64px; } }

/* ---------- selector (title strips) ---------- */
.selector { max-width: var(--wrap); margin: 40px auto 0; padding: 0 16px; scroll-margin-top: 12px; }
.sel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; background: var(--cherry); color: #fff; border-radius: 22px 22px 0 0; padding: 12px 20px; border: 3px solid var(--bake); border-bottom: 0; }
.sel-title { font-family: var(--display); font-size: 1.7rem; margin: 0; line-height: 1.4; }
.sel-hint { margin: 0; font-size: .95rem; }
.sel-grid { background: var(--chrome-grad); border: 3px solid var(--bake); border-radius: 0 0 22px 22px; padding: 14px; display: grid; gap: 12px; }
.sel-row { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sel-row { grid-template-columns: 130px 1fr; align-items: stretch; } }
.sel-face { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; }
.sel-face span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bake); color: var(--vanilla); font-family: var(--display); font-size: 1.1rem; }
.sel-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .sel-row ul { grid-template-columns: 1fr; } .strip { min-height: 46px; } }
@media (min-width: 760px) { .sel-row ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip { position: relative; display: flex; align-items: center; gap: 8px; height: 100%; min-height: 56px; padding: 8px 10px; background: #fff; color: var(--bake); text-decoration: none; border-radius: 4px; font-size: .95rem; line-height: 1.45; font-weight: 700;
  border-top: 5px solid var(--cherry); border-bottom: 5px solid var(--cherry); box-shadow: 0 2px 0 rgba(42, 20, 22, .25); transition: transform .12s, background .12s; }
.sel-mint .strip { border-color: #3E8A47; }
.sel-chrome .strip { border-color: var(--bake); }
.sel-vanilla .strip { border-color: var(--gold); }
.strip:hover { transform: translateY(-2px); background: var(--vanilla); color: var(--bake); }
.strip-code { flex: none; display: grid; place-items: center; min-width: 36px; height: 28px; border-radius: 999px; background: var(--bake); color: var(--vanilla); font-size: .9rem; }
.strip.is-on { background: var(--bake); color: var(--vanilla); }
.strip.is-on .strip-code { background: var(--neon); color: var(--bake); }

/* ---------- démo ou réel switch ---------- */
.switch { position: relative; max-width: var(--wrap); margin: 56px auto 0; padding: 0 16px; }
.switch-bg { position: absolute; inset: 0 16px; border-radius: 28px; overflow: hidden; border: 3px solid var(--bake); }
.switch-img { width: 100%; height: 100%; object-fit: cover; }
.switch-panel { position: relative; margin: 0 auto; max-width: 920px; padding: 120px 0 28px; }
@media (min-width: 900px) { .switch-panel { padding: 200px 0 40px; } }
.switch-panel > * { position: relative; }
.switch-panel h2, .switch-panel .eyebrow, .switch-lead, .toggle-row { background: var(--vanilla); margin-inline: 14px; }
.switch-panel .eyebrow { display: inline-block; padding: 6px 12px; border-radius: 10px 10px 0 0; margin-bottom: 0; }
.switch-panel h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); padding: 10px 18px 0; margin-bottom: 0; border-start-end-radius: 16px; }
.switch-lead { padding: 8px 18px 14px; margin-bottom: 0; }
.toggle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 4px 18px 18px; border-radius: 0 0 16px 16px; }
.tg-lbl { font-weight: 700; font-size: 1rem; }
.tg-state { margin: 0; margin-inline-start: auto; font-size: .88rem; font-weight: 700; color: var(--cherry); }
.no-js .toggle, .no-js .tg-lbl, .no-js .tg-state { display: none; }
.toggle { position: relative; width: 96px; height: 48px; border-radius: 999px; border: 3px solid var(--bake); cursor: pointer; background: linear-gradient(180deg, var(--neon), #5FB168); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .25), 0 3px 0 var(--bake); transition: background .2s; }
.toggle .knob { position: absolute; top: 3px; inset-inline-start: 3px; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--chrome) 50%, var(--chrome-lo)); border: 2px solid var(--bake); transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.toggle[aria-checked="true"] { background: linear-gradient(180deg, #D0243F, var(--cherry)); }
.toggle[aria-checked="true"] .knob { transform: translateX(-48px); }
.cmp { margin: 14px 14px 0; border: 3px solid var(--bake); border-radius: 18px; overflow: hidden; background: #fff; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid #E4E0D4; transition: background .25s, opacity .25s; }
.cmp thead th { font-size: 1rem; }
.cmp thead .c-demo { background: var(--neon); }
.cmp thead .c-real { background: var(--cherry); color: #fff; }
.cmp thead .c-asp { background: var(--chrome); }
.cmp tbody th { width: 24%; font-weight: 700; background: var(--chrome-hi); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.js .switch[data-mode="demo"] td.c-demo { background: #EDF8EE; }
.js .switch[data-mode="real"] td.c-real { background: #FBE9EC; }
.js .switch[data-mode="demo"] td.c-real, .js .switch[data-mode="real"] td.c-demo { background: repeating-linear-gradient(135deg, #F7F7F4 0 8px, #EEEEEA 8px 16px); color: #5A4446; }
.js .switch[data-mode="demo"] thead .c-real, .js .switch[data-mode="real"] thead .c-demo { background: var(--chrome); color: var(--bake); }
@media (max-width: 640px) {
  .js .switch[data-mode="demo"] .c-real, .js .switch[data-mode="real"] .c-demo { display: none; }
  .cmp th, .cmp td { padding: 10px; font-size: .95rem; }
}

/* ---------- bubble tube divider ---------- */
.tubes { max-width: var(--wrap); margin: 48px auto 0; padding: 0 16px; }
.tubes-img { width: 100%; height: 130px; object-fit: cover; border-radius: 999px; border: 3px solid var(--bake); }

/* ---------- faces ---------- */
.face { max-width: var(--wrap); margin: 48px auto 0; padding: 0 16px; scroll-margin-top: 12px; }
.face-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.face-head h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); margin: 0; }
.face-disc { flex: none; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: repeating-radial-gradient(circle, #1B1213 0 2px, #2A2223 2px 4px); box-shadow: 0 0 0 3px var(--bake), 0 6px 0 rgba(42, 20, 22, .2); }
.face-disc span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cherry); color: #fff; font-family: var(--display); font-size: 1.4rem; line-height: 1; }
.face-mint .face-disc span { background: var(--neon); color: var(--bake); }
.face-chrome .face-disc span { background: var(--chrome); color: var(--bake); }
.face-vanilla .face-disc span { background: var(--gold); color: var(--bake); }
.tracks { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tracks { grid-template-columns: 1fr 1fr; } }
.track { position: relative; background: var(--vanilla); border: 2px solid var(--bake); border-radius: var(--r); padding: 16px 18px 12px; scroll-margin-top: 16px; transition: box-shadow .2s, transform .2s; }
.track:focus { outline: none; }
.track-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.track-head h3 { margin: 0; }
.t45 { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #1B1213 0 1.5px, #352B2C 1.5px 3px); }
.t45 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cherry); color: #fff; font-size: .8rem; font-weight: 700; }
.face-mint .t45 span { background: var(--neon); color: var(--bake); }
.face-chrome .t45 span { background: var(--chrome); color: var(--bake); }
.face-vanilla .t45 span { background: var(--gold); color: var(--bake); }
.track p { margin-bottom: .6em; }
.back-sel { font-size: .85rem; font-weight: 700; }
.track.is-playing { box-shadow: 0 0 0 4px var(--neon), 0 0 30px rgba(127, 203, 134, .7); background: #fff; }
.track.is-playing .t45 { animation: spin 1.8s linear infinite; }

/* ---------- content blocks ---------- */
.list { padding-inline-start: 1.2em; margin: 0 0 1.2em; }
.list li { margin-bottom: .45em; }
.list li::marker { color: var(--cherry); }
.steps { list-style: none; counter-reset: s; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding-block: 14px 6px; padding-inline: 64px 16px; background: var(--vanilla); border: 2px solid var(--bake); border-radius: 14px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cherry); color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.05rem; }
.tip { margin: 18px 0; background: var(--bake); color: var(--vanilla); border-radius: 16px; padding: 16px 18px; box-shadow: 0 0 0 3px var(--neon); }
.tip-t { font-weight: 700; color: var(--neon); margin-bottom: .3em; font-size: 1rem; }
.tip p:last-child { margin: 0; }
.example { margin: 18px 0; background: #fff; border: 2px dashed var(--cherry); border-radius: 16px; padding: 16px 18px; }
.ex-t { font-weight: 700; color: var(--cherry); margin-bottom: .3em; }
.example p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 2px solid var(--bake); border-radius: 14px; background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; }
.table-wrap caption { text-align: start; padding: 12px 14px; font-weight: 700; background: var(--chrome); }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: start; vertical-align: top; border-top: 1px solid #E4E0D4; font-size: .97rem; }
.table-wrap thead th { background: var(--cherry); color: #fff; }
.table-wrap tbody th { background: var(--vanilla); }

/* ---------- promo: 45 rpm half out of a chrome sleeve ---------- */
.promo { margin: 26px 0 8px; display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; background: var(--cherry); color: #fff; border: 3px solid var(--bake); border-radius: 26px; padding: 22px; box-shadow: 0 8px 0 var(--bake); overflow: hidden; }
@media (min-width: 720px) { .promo { grid-template-columns: 300px 1fr; padding: 26px 30px; } }
.promo-art { position: relative; height: 210px; width: 290px; max-width: 100%; margin: 0 auto; }
.promo-sleeve { position: absolute; inset-inline-start: 0; top: 20px; width: 160px; height: 170px; border-radius: 10px; background: linear-gradient(135deg, var(--chrome-hi), var(--chrome) 40%, #A9B1B8 60%, var(--chrome-hi)); border: 3px solid var(--bake); z-index: 2; }
.sleeve-hole { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; border: 2px solid rgba(42, 20, 22, .45); background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .7), transparent 60%); }
.promo-disc { position: absolute; inset-inline-start: 100px; top: 10px; width: 190px; height: 190px; border-radius: 50%; z-index: 1; background: repeating-radial-gradient(circle, #121010 0 2px, #2B2425 2px 3.5px); box-shadow: 0 0 0 3px var(--bake); transition: transform .6s; }
.promo-disc svg { width: 100%; height: 100%; }
.promo-disc .lbl { fill: #C41733; }
.promo-disc .lbl-ring { fill: none; stroke: #FFF7E2; stroke-width: 1.5; }
.promo-disc .hole { fill: var(--cherry); }
.arc-txt { fill: #FFF7E2; font: 700 12px var(--body); }
.promo:hover .promo-disc { transform: translateX(-14px) rotate(-40deg); }
.promo-kicker { font-weight: 700; font-size: .92rem; margin: 0 0 .3em; color: var(--vanilla); }
.promo h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.4; margin: 0 0 .4em; }
.promo p { color: #fff; }
.promo-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--chrome-grad); color: var(--bake); text-decoration: none; font-weight: 700; border: 3px solid var(--bake); border-radius: 999px; padding-block: 10px; padding-inline: 10px 20px; box-shadow: 0 4px 0 var(--bake); }
.promo-btn:hover { color: var(--bake); transform: translateY(-1px); }
.promo-btn:focus-visible { outline-color: #fff; }
.btn-cap { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--vanilla) 40%, #E0CFA3); border: 2px solid var(--bake); }
.promo-fine { font-size: .85rem; margin: 12px 0 0; opacity: 1; }

/* ---------- cadre ---------- */
.cadre { max-width: var(--wrap); margin: 56px auto 0; padding: 0 16px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cadre { grid-template-columns: 2fr 3fr; } }
.cadre-img { width: 100%; border-radius: 26px 26px 120px 26px; border: 3px solid var(--bake); }
.cadre h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* ---------- quiz (dark bakelite) ---------- */
.quiz { margin: 64px 0 0; padding: 48px 16px; background: var(--bake); color: var(--vanilla); display: grid; gap: 28px; }
@media (min-width: 900px) { .quiz { grid-template-columns: 280px minmax(0, 760px); justify-content: center; } }
.quiz :focus-visible { outline-color: var(--neon); }
.quiz .eyebrow { color: var(--neon); }
.quiz h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: #fff; }
.quiz a { color: var(--neon); }
.host-img { width: 220px; border-radius: 50%; border: 4px solid var(--neon); box-shadow: 0 0 40px rgba(127, 203, 134, .45); margin: 0 auto; }
@media (min-width: 900px) { .host-img { width: 100%; position: sticky; top: 20px; } }
.quiz-form { display: grid; gap: 14px; margin-top: 10px; }
.q { border: 2px solid #5A3A3D; border-radius: 16px; padding: 12px 14px 14px; margin: 0; background: var(--bake-2); }
.q legend { font-weight: 700; padding: 0 6px; }
.q-n { color: var(--neon); margin-inline-end: 4px; }
.q label { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; margin-inline-end: 8px; padding: 8px 14px; border-radius: 999px; border: 2px solid #6B4A4D; cursor: pointer; }
.q label:has(input:checked) { background: var(--neon); color: var(--bake); border-color: var(--neon); }
.q input { accent-color: var(--cherry); width: 18px; height: 18px; margin: 0; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.no-js .quiz-actions { display: none; }
.btn-play { font: 700 1rem var(--body); background: var(--cherry); color: #fff; border: 3px solid #fff; border-radius: 999px; padding: 12px 22px; cursor: pointer; box-shadow: 0 4px 0 #000; }
.btn-play:hover { background: #C4183A; }
.quiz-msg { margin: 0; color: var(--neon); font-weight: 700; }
.outcomes { margin-top: 22px; display: grid; gap: 14px; }
.outcomes:focus { outline: none; }
.js .outcomes-note, .js .outcome { display: none; }
.js .outcome.is-result { display: block; }
.outcome { background: var(--vanilla); color: var(--bake); border-radius: 18px; padding: 26px 20px 6px; background: linear-gradient(var(--cherry) 0 10px, var(--vanilla) 10px); }
.outcome a { color: var(--cherry); font-weight: 700; }
.out-prep { background: linear-gradient(var(--gold) 0 10px, var(--vanilla) 10px); }
.out-limits-k { background: linear-gradient(var(--neon) 0 10px, var(--vanilla) 10px); }
.out-limits { font-weight: 700; }
.out-tag { font-size: .92rem; font-weight: 700; margin: 0 0 .2em; color: var(--cherry); }
.outcome h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.4; }
.out-limits { border-top: 2px dashed var(--chrome-lo); padding-top: 10px; }

/* ---------- requests (faq) ---------- */
.requests { max-width: 900px; margin: 56px auto 0; padding: 0 16px; }
.requests h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.req-list { display: grid; gap: 10px; }
.req { background: #fff; border: 2px solid var(--bake); border-radius: 4px; box-shadow: inset 0 6px 0 var(--cherry), 0 2px 0 rgba(42, 20, 22, .25); }
.req summary { cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 16px 16px 12px; font-weight: 700; list-style: none; }
.req summary::-webkit-details-marker { display: none; }
.req summary::after { content: "+"; margin-inline-start: auto; font-size: 1.4rem; line-height: 1; color: var(--cherry); }
.req[open] summary::after { content: "–"; }
.req-n { flex: none; display: grid; place-items: center; min-width: 38px; height: 28px; border-radius: 999px; background: var(--bake); color: var(--vanilla); font-size: .8rem; }
.req p { padding: 0 16px 14px; margin: 0; }

/* ---------- sleeves (guides row) ---------- */
.sleeves { max-width: var(--wrap); margin: 64px auto 56px; padding: 0 16px; }
.sleeves-head { display: grid; gap: 18px; align-items: center; margin-bottom: 22px; }
@media (min-width: 900px) { .sleeves-head { grid-template-columns: 1fr 1fr; } }
.sleeves-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.sleeves-img { border-radius: 22px; border: 3px solid var(--bake); }
.sleeve-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.sleeve a { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 100%; padding: 70px 20px 20px; margin-top: 50px; border: 3px solid var(--bake); border-radius: 10px; text-decoration: none; color: var(--bake); box-shadow: -6px 6px 0 var(--bake); transition: transform .15s; }
.sleeve a:hover { transform: translate(2px, -2px); color: var(--bake); }
.sleeve-cherry a { background: var(--cherry); color: #fff; }
.sleeve-cherry a:hover { color: #fff; }
.sleeve-mint a { background: var(--neon); }
.sleeve-chrome a { background: var(--chrome-grad); }
.sl-disc { position: absolute; top: -50px; left: 50%; margin-left: -50px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, var(--pista) 0 4px, var(--vanilla) 4px 22px, transparent 22px), repeating-radial-gradient(circle, #121010 0 2px, #2B2425 2px 3.5px); box-shadow: 0 0 0 3px var(--bake); transition: transform .4s; }
.sleeve a:hover .sl-disc { transform: translateY(-8px) rotate(60deg); }
.sl-n { font-size: .92rem; font-weight: 700; }
.sl-t { font-family: var(--display); font-size: 1.4rem; line-height: 1.45; }
.sl-d { font-size: .95rem; }
.sl-go { margin-top: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- guide pages ---------- */
.g-hero { max-width: var(--wrap); margin: 28px auto 0; padding: 0 16px; display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 900px) { .g-hero { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.g-sleeve { border: 3px solid var(--bake); border-radius: 12px 12px 0 0; padding: 30px 24px; }
@media (min-width: 900px) { .g-sleeve { border-radius: 0; border-start-start-radius: 12px; border-end-start-radius: 12px; padding: 40px 36px; } }
.g-cherry .g-sleeve { background: var(--cherry); color: #fff; }
.g-mint .g-sleeve { background: var(--neon); }
.g-chrome .g-sleeve { background: var(--chrome-grad); }
.g-face { font-weight: 700; font-size: .95rem; margin: 0 0 .7em; }
.g-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.g-intro { font-size: 1.08rem; margin: 0; }
.g-art { position: relative; border: 3px solid var(--bake); border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden; min-height: 220px; background: var(--vanilla); }
@media (min-width: 900px) { .g-art { border-top: 3px solid var(--bake); border-inline-start: 0; border-radius: 0; border-start-end-radius: 12px; border-end-end-radius: 12px; } }
.g-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pos-left { object-position: 18% 50%; } .pos-center { object-position: 50% 50%; } .pos-right { object-position: 84% 50%; }
.g-disc { position: absolute; inset-inline-start: 16px; bottom: 16px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #121010 0 2px, #2B2425 2px 3.5px); box-shadow: 0 0 0 3px var(--bake); }
.g-disc span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cherry); color: #fff; font-weight: 700; font-size: .85rem; }
.g-wrap { max-width: var(--wrap); margin: 36px auto 64px; padding: 0 16px; display: grid; gap: 28px; }
@media (min-width: 960px) { .g-wrap { grid-template-columns: 250px minmax(0, 1fr); } }
.liner { align-self: start; background: var(--chrome-grad); border: 2px solid var(--bake); border-radius: 16px; padding: 16px; }
@media (min-width: 960px) { .liner { position: sticky; top: 16px; } }
.liner-t { font-weight: 700; font-size: .95rem; margin-bottom: .6em; }
.liner ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.liner a { display: flex; gap: 10px; align-items: flex-start; padding: 6px 8px; border-radius: 8px; color: var(--bake); text-decoration: none; font-size: .95rem; line-height: 1.5; }
.liner a:hover { background: #fff; color: var(--cherry); }
.liner a span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bake); color: var(--vanilla); font-size: .75rem; font-weight: 700; }
.g-body { max-width: 760px; }
.g-answer { background: #fff; border: 3px solid var(--bake); border-radius: 18px; padding: 18px 20px 4px; margin-bottom: 30px; box-shadow: -6px 6px 0 var(--neon); }
.ga-t { font-weight: 700; color: var(--cherry); font-size: .95rem; margin-bottom: .4em; }
.g-sec { margin-bottom: 36px; scroll-margin-top: 16px; }
.g-sec h2 { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(1.4rem, 2.8vw, 1.85rem); }
.g-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-top: 2px; border-radius: 50%; font-family: var(--body); font-weight: 700; font-size: 1rem; color: #fff; background: radial-gradient(circle, var(--cherry) 0 13px, #1B1213 13px); }
.g-next { border-top: 3px dotted var(--bake); padding-top: 18px; }
.gn-t { font-weight: 700; font-size: .95rem; }
.g-next ul { margin: 0; padding-inline-start: 1.2em; }
.g-next li { margin-bottom: .4em; }

/* ---------- simple pages ---------- */
.p-hero { max-width: var(--wrap); margin: 30px auto 0; padding: 0 16px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .p-hero:has(.p-art) { grid-template-columns: 3fr 2fr; } }
.p-hero-in { background: var(--vanilla); border: 3px solid var(--bake); border-radius: 26px 26px 4px 26px; padding: 28px 24px; }
.p-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.p-intro { font-size: 1.1rem; margin: 0; }
.p-img { border-radius: 50%; border: 4px solid var(--bake); box-shadow: 0 0 0 8px var(--neon); max-width: 360px; width: 100%; margin: 0 auto; }
.p-responsible .p-hero-in { background: var(--bake); color: var(--vanilla); }
.p-responsible .eyebrow { color: var(--neon); }
.p-body { max-width: 780px; margin: 36px auto 64px; padding: 0 16px; }
.p-sec { margin-bottom: 30px; }
.p-sec h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--cherry); }

/* ---------- 404 ---------- */
.nf { max-width: 900px; margin: 60px auto; padding: 0 16px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 720px) { .nf { grid-template-columns: 220px 1fr; } }
.nf-disc { width: 200px; height: 200px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: repeating-radial-gradient(circle, #121010 0 2px, #2B2425 2px 3.5px); box-shadow: 0 0 0 4px var(--bake); position: relative; }
.nf-disc::after { content: ""; position: absolute; right: 20px; top: 46%; width: 70px; height: 4px; background: var(--chrome); transform: rotate(24deg); border-radius: 2px; }
.nf-disc span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--cherry); color: #fff; font-family: var(--body); font-weight: 700; font-size: 1.4rem; }
.nf h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nf-links { padding-inline-start: 1.2em; }

/* ---------- footer: jukebox base ---------- */
.base { background: var(--bake); color: var(--vanilla); margin-top: 0; }
.base a { color: var(--neon); }
.base :focus-visible { outline-color: var(--neon); }
.grille { height: 26px; background: repeating-linear-gradient(45deg, transparent 0 7px, #6B5153 7px 9px), repeating-linear-gradient(-45deg, transparent 0 7px, #6B5153 7px 9px), var(--bake-2); border-top: 6px solid var(--chrome); border-bottom: 4px solid var(--cherry); }
.base-in { max-width: var(--wrap); margin: 0 auto; padding: 30px 16px 36px; display: grid; gap: 22px; }
@media (min-width: 900px) { .base-in { grid-template-columns: 1fr 2fr 1fr; } }
.base-name { font-family: var(--display); font-size: 1.6rem; margin: 0 0 .3em; color: #fff; }
.base-legal p { font-size: .93rem; }
.badge18 { display: inline-grid; place-items: center; min-width: 42px; height: 28px; border-radius: 999px; background: var(--cherry); color: #fff; margin-inline-end: 6px; font-size: .85rem; }
.base-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }

.is-home main { padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- RTL / Arabic details ---------- */
bdi[dir="ltr"] { unicode-bidi: isolate; }
.base-legal bdi { white-space: nowrap; }
.switch-img { transform: scaleX(-1); }
