/* =================================================================
   عبد الرحمن أفندي — قهوة الأفندي الديجيتال
   Design tokens locked to SPEC.md
   ================================================================= */

:root {
  /* Palette */
  --wood-dark: #231409;
  --coffee:    #4A2E1C;
  --cream:     #F3EAD7;
  --cream-deep:#EADDC3;
  --brass:     #C79A3B;
  --brass-glow:#E8C97A;

  /* Derived */
  --coffee-shadow: rgba(74, 46, 28, 0.18);
  --coffee-shadow-strong: rgba(35, 20, 9, 0.32);
  --line: rgba(199, 154, 59, 0.45);

  /* Type */
  --f-display: 'Aref Ruqaa', serif;
  --f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-quote: 'Amiri', serif;

  /* Rhythm */
  --maxw: 1160px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--coffee);
  line-height: 1.85;
  overflow-x: clip;   /* clip مش hidden — عشان ماtكسرش position:sticky */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brass); text-decoration: none; }
em { font-style: normal; }

/* site-wide travelling smoke — fixed, drifts slowly; rides along as you scroll */
.site-mist { position: fixed; inset: -12%; pointer-events: none; z-index: 3; mix-blend-mode: screen; }
.site-mist--a {
  background:
    radial-gradient(38% 26% at 24% 32%, rgba(243,234,215,.07), transparent 70%),
    radial-gradient(30% 22% at 74% 64%, rgba(243,234,215,.05), transparent 70%);
  filter: blur(42px);
  animation: siteMistA 53s ease-in-out infinite alternate;
}
.site-mist--b {
  background:
    radial-gradient(32% 24% at 62% 22%, rgba(243,234,215,.06), transparent 70%),
    radial-gradient(26% 20% at 30% 78%, rgba(243,234,215,.045), transparent 70%);
  filter: blur(56px);
  animation: siteMistB 79s ease-in-out infinite alternate;
}
@keyframes siteMistA { from { transform: translate(-3%, -2%); } to { transform: translate(3%, 2%); } }
@keyframes siteMistB { from { transform: translate(2.5%, 2%); } to { transform: translate(-2.5%, -2%); } }

/* film grain — one fixed site-wide layer (above sections z:2, below nav 100 / cursor / loader) */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* =================================================================
   Loader
   ================================================================= */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background: var(--wood-dark);
  display: grid; place-content: center; justify-items: center; gap: 1.1rem;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__fill { animation: cupFill 1.8s ease forwards; }
@keyframes cupFill { from { transform: translateY(0); } to { transform: translateY(-46px); } }
.loader__text { font-family: var(--f-display); color: var(--brass-glow); font-size: 1.15rem; letter-spacing: .02em; }

/* =================================================================
   Custom cursor (desktop only)
   ================================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brass);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, opacity .3s ease;
  box-shadow: 0 0 0 1px rgba(232,201,122,.35);
  opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 42px; height: 42px; background: rgba(199,154,59,.25); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =================================================================
   Nav
   ================================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1rem var(--pad);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav__brand { justify-self: start; }
.nav__links { justify-self: center; }
.nav__cta--desk { justify-self: end; }
.nav__cta--panel { display: none; }  /* يظهر جوّه منيو الموبايل فقط */
.nav.is-scrolled {
  background: rgba(243, 234, 215, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .65rem;
}
/* section-aware: over dark surfaces (hero/marquee/idea/footer) the scrolled bar
   turns into dark glass instead of an opaque cream slab cutting the photo */
.nav.is-scrolled.is-over-dark {
  background: rgba(20, 10, 3, 0.55);
  box-shadow: 0 1px 0 rgba(232, 201, 122, 0.14);
}
.nav.is-scrolled.is-over-dark .nav__brand-ar { color: var(--brass-glow); text-shadow: 0 0 12px rgba(0,0,0,.4); }
.nav.is-scrolled.is-over-dark .nav__links a { color: var(--cream-deep); }
.nav.is-scrolled.is-over-dark .nav__cta { color: var(--cream); }
/* default: nav sits over the dark hero → light text */
.nav__brand-ar { font-family: var(--f-display); font-size: 1.4rem; color: var(--brass-glow); transition: color .4s ease; text-shadow: 0 0 12px rgba(0,0,0,.4); }
.nav.is-scrolled .nav__brand-ar { color: var(--coffee); text-shadow: none; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.nav__link, .nav__top { position: relative; }
.nav__link::after, .nav__top::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.nav__link:hover::after, .nav__top:hover::after { transform: scaleX(1); }
.nav__cta {
  border: 1px solid var(--brass); border-radius: 40px;
  padding: .4rem 1.1rem; color: var(--cream);
  transition: background .3s ease, color .3s ease;
}
.nav.is-scrolled .nav__cta { color: var(--coffee); }
.nav__cta:hover { background: var(--brass); color: var(--wood-dark); }

/* ---- dropdown items (desktop) ---- */
.nav__item { position: relative; }
.nav__top {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--f-body); font-size: .95rem; font-weight: 500;
  color: var(--cream-deep); transition: color .4s ease;
}
.nav.is-scrolled .nav__top,
.nav.is-scrolled .nav__link { color: var(--coffee); }
.nav.is-scrolled.is-over-dark .nav__top,
.nav.is-scrolled.is-over-dark .nav__link { color: var(--cream-deep); }
.nav__link { color: var(--cream-deep); font-size: .95rem; font-weight: 500; position: relative; transition: color .4s ease; }
.nav__caret { transition: transform .3s ease; opacity: .8; }
.nav__item:hover .nav__caret,
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute; inset-inline-start: 50%; top: calc(100% + .7rem);
  transform: translateX(50%) translateY(6px);
  min-width: 250px; padding: .5rem;
  background: rgba(28, 16, 7, .97); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 50px -18px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
  z-index: 60;
}
/* RTL: the caret sits right, menu opens aligned to the item */
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu,
.nav__item.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translateX(50%) translateY(0);
}
.nav__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .6rem .8rem; border-radius: 9px;
  color: var(--cream-deep); font-size: .9rem; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav__menu a:hover { background: rgba(199,154,59,.14); color: var(--brass-glow); }
.nav__badge {
  font-size: .68rem; font-weight: 600; padding: .12rem .5rem; border-radius: 20px;
  background: rgba(199,154,59,.16); color: var(--brass-glow); border: 1px solid rgba(199,154,59,.35);
  white-space: nowrap;
}
.nav__badge--pay { background: rgba(158,43,78,.22); color: #E8A9BC; border-color: rgba(158,43,78,.5); }
.nav__badge--soon { background: rgba(255,255,255,.06); color: var(--cream-deep); border-color: rgba(255,255,255,.14); }

/* ---- hamburger + mobile full-screen ---- */
.nav__burger { display: none; }
.nav__scrim { display: none; }

@media (max-width: 860px) {
  .nav { display: flex; justify-content: space-between; }
  .nav__cta--desk { display: none; }
  .nav__cta--panel { display: block; }
  .nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer;
    background: none; z-index: 210;
  }
  .nav__burger span {
    display: block; height: 2px; width: 24px; margin-inline-start: auto;
    background: var(--brass-glow); border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease, background .3s ease;
  }
  .nav.is-scrolled .nav__burger span { background: var(--coffee); }
  .nav.is-open .nav__burger span { background: var(--brass-glow); }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__links {
    position: fixed; top: 0; inset-inline: 0; z-index: 200;
    height: 100vh; height: 100dvh; max-width: none;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 5.5rem 1.4rem 2rem; overflow-y: auto;
    background:
      linear-gradient(rgba(20,10,3,.94), rgba(35,20,9,.985)),
      url('/assets/beat-1-steam.jpg?v=2') center / cover no-repeat, var(--wood-dark);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
    visibility: hidden;
  }
  .nav.is-open .nav__links { transform: translateX(0); visibility: visible; }

  .nav__item { border-bottom: 1px solid rgba(199,154,59,.18); }
  .nav__top {
    width: 100%; justify-content: space-between; padding: 1.05rem .3rem;
    font-family: var(--f-display); font-size: 1.25rem; color: var(--cream) !important;
  }
  .nav__menu {
    position: static; inset: auto; transform: none !important;
    min-width: 0; width: 100%; padding: 0 0 .5rem;
    background: none; backdrop-filter: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; height: 0; overflow: hidden;
    transition: height .3s ease;
  }
  .nav__item:not(.is-open) .nav__menu { display: none; }
  .nav__item.is-open .nav__menu { display: block; height: auto; }
  .nav__menu a { font-size: 1.02rem; padding: .7rem .6rem; color: var(--cream-deep); }

  .nav__link {
    display: block; padding: 1.05rem .3rem;
    border-bottom: 1px solid rgba(199,154,59,.18);
    font-family: var(--f-display); font-size: 1.25rem; color: var(--cream) !important;
  }
  .nav__cta {
    margin-top: 1.6rem; text-align: center; font-size: 1.05rem;
    padding: .9rem 1.1rem; color: var(--wood-dark) !important; background: var(--brass);
  }
  .nav.is-open .nav__scrim { display: block; }
  .nav__brand-ar { font-size: 1.2rem; }
  body.nav-locked { overflow: hidden; }
}

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.7rem; border-radius: 44px; cursor: pointer;
  border: 1px solid var(--brass); background: transparent; color: var(--brass);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn--solid { background: var(--brass); color: var(--wood-dark); border-color: var(--brass); }
.btn--solid:hover { box-shadow: 0 10px 30px -8px rgba(199,154,59,.6); }
.btn--ghost { color: var(--coffee); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }

/* keyboard focus — consistent across every interactive element */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brass-glow); outline-offset: 3px; border-radius: 6px;
}

/* =================================================================
   Shared section heads
   ================================================================= */
section { position: relative; padding-block: clamp(4.5rem, 11vw, 9rem); }
.section__head { text-align: center; max-width: 640px; margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 2; }
.section__kicker {
  font-family: var(--f-quote); font-style: italic; font-size: 1.05rem;
  color: var(--coffee); letter-spacing: .04em; /* brass fails AA on cream — reserve brass text for dark bgs */
}
.section__kicker--light { color: var(--brass-glow); }
.section__title { font-family: var(--f-display); font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--coffee); line-height: 1.15; margin-top: .3rem; text-shadow: 0 2px 20px rgba(74,46,28,.15); }
.section__title::after {
  content: ''; display: block; width: 72px; height: 1px; margin: 1rem auto 0;
  background: linear-gradient(to right, transparent, var(--brass), transparent);
}
.section__title--light { color: var(--cream); text-shadow: 0 0 24px rgba(232,201,122,.18); }
.section__lead { margin-top: .9rem; color: var(--coffee); opacity: .85; }
.section__title--light + .section__lead, .idea .section__lead { color: var(--cream-deep); opacity: .9; }

/* =================================================================
   THE JOURNEY — sequential full-screen scenes (no pinning, touch-friendly)
   ================================================================= */
.journey {
  background:
    radial-gradient(120% 90% at 50% -10%, #2e1c0e 0%, var(--wood-dark) 55%, #1a0f06 100%);
  color: var(--cream);
}
.scene {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(4.5rem, 10vh, 7rem) var(--pad);
}
.scene__grid {
  width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
/* alternate sides for rhythm (RTL: first column starts on the right) */
.scene--flip .scene__grid > .scene__media { order: 2; }
.scene--flip .scene__grid > .scene__copy { order: 1; }

.scene__media { display: flex; justify-content: center; }

/* full-bleed cinematic backgrounds — nothing cropped, nothing masked */
.scene--beat { padding: 0; overflow: hidden; }
.beat__bg { position: absolute; inset: 0; z-index: 0; }
.beat__bg img, .beat__bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* soft edge blend into neighbouring scenes */
.scene--beat::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(24,13,5,.95), transparent 26%, transparent 74%, rgba(24,13,5,.95));
}
.beat__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding: clamp(4.5rem, 10vh, 7rem) var(--pad);
  display: flex; align-items: center; min-height: 100svh;
}
/* copy sits on the empty side of the photo (cup is on the right → copy inline-end) */
.scene--beat .scene__copy { margin-inline-end: 0; margin-inline-start: auto; }
/* mirrored beat: photo flipped, copy on the other side */
.scene--flip .beat__bg img, .scene--flip .beat__bg video { transform: scaleX(-1); }
.scene--flip .scene__copy { margin-inline-start: 0; margin-inline-end: auto; }
/* flip the media only — copy stays on the default (empty) side */
.scene--flip-media .beat__bg img, .scene--flip-media .beat__bg video { transform: scaleX(-1); }

.scene__copy { text-align: start; max-width: 34rem; }
.scene__stage {
  display: inline-block; font-family: var(--f-quote); font-style: italic;
  color: var(--brass-glow); font-size: 1.1rem; letter-spacing: .03em;
  padding: .3rem 1rem; border: 1px solid rgba(199,154,59,.4); border-radius: 999px;
  background: rgba(20,10,3,.45); margin-bottom: 1.1rem;
}
.scene__title {
  font-family: var(--f-display); color: var(--cream);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.25;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.scene__text { margin-top: 1.1rem; color: var(--cream-deep); opacity: .94; font-size: clamp(1.05rem, 2.3vw, 1.2rem); line-height: 2; max-width: 32rem; }
.scene__copy .btn { margin-top: 1.6rem; }

/* =================================================================
   Scene 1 — «اللافتة بتسخّن» : the neon sign warms up
   Z-map: z0 video · z1 grade scrim + .hero-dim · z2 reflection ·
   z3 bloom · z4 mist-back · z5 the neon h1 · z6 mist-front · z7 copy
   ================================================================= */
.scene--hero .beat__bg video, .scene--hero .beat__bg img {
  filter: brightness(.82) saturate(.92); /* set once, never animated — the neon must be the brightest thing */
}
/* guaranteed-contrast grade, independent of what the image delivers */
.scene--hero::before {
  background:
    linear-gradient(to top, rgba(16,8,3,.94) 0, rgba(16,8,3,.55) 20%, transparent 44%),
    linear-gradient(to bottom, rgba(16,8,3,.6) 0, transparent 26%),
    radial-gradient(120% 90% at 50% 45%, transparent 42%, rgba(16,8,3,.5) 100%);
}
/* room response: dark veil that lifts when the sign locks on */
.hero-dim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(10,5,3,.2); opacity: 1;
  transition: opacity 1.2s ease;
}
.is-lit .hero-dim { opacity: 0; }
/* warm spill onto the room at lock-on */
.neon-spill {
  position: absolute; inset: -10%; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 50% at 50% 74%, rgba(232,201,122,.12), transparent 70%);
  mix-blend-mode: screen; opacity: 0;
  transition: opacity 1.2s ease .2s;
}
.is-lit .neon-spill { opacity: 1; }
/* wall bloom behind the sign */
.neon-bloom {
  position: absolute; z-index: 3; pointer-events: none;
  inset-inline: 12%; bottom: 12%; top: auto; width: 76%; height: 42%;
  background: radial-gradient(55% 48% at 50% 45%, rgba(232,201,122,.16), rgba(199,154,59,.07) 45%, transparent 72%);
  mix-blend-mode: screen; opacity: 0;
  transition: opacity 1.1s ease;
  animation: bloomBreath 9s ease-in-out 3s infinite;
}
.is-lit .neon-bloom { opacity: 1; }
@keyframes bloomBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* ---- THE NEON SIGN ---- */
.neon {
  position: relative; z-index: 5; pointer-events: none;
  margin: .2em auto .15em;
  width: 100%;
  display: flex; flex-direction: row; justify-content: center; align-items: baseline; gap: .45em;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  line-height: 1.3;
}
.neon__line {
  position: relative; display: block; white-space: nowrap;
  /* the UNLIT glass tube — dead glass catching ambient light */
  color: rgba(246,227,166,.14);
  -webkit-text-stroke: .5px rgba(232,201,122,.28);
}
.neon__line--big { font-size: 1.18em; }
/* the LIT tube — only its OPACITY ever animates */
.neon__line::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  -webkit-text-stroke: 0;
  color: #FFF6DF;
  text-shadow:
    0 0 2px  #FFF3D0,
    0 0 7px  #F6E3A6,
    0 0 20px rgba(232,201,122,.85),
    0 0 42px rgba(232,201,122,.5),
    0 0 95px rgba(199,154,59,.38),
    0 0 170px rgba(199,154,59,.22);
  opacity: 0;
  will-change: opacity;
}
/* ignition — two different circuits, snap flicker (steps), never fade */
.js .neon.ignite .neon__line:first-child::after {
  animation: neonIgnite 1.7s steps(1, end) both,
             neonHum 7.3s ease-in-out 1.8s infinite;
}
.js .neon.ignite .neon__line--big::after {
  animation: neonCatch .9s steps(1, end) .45s both,
             neonHum 7.3s ease-in-out 2.1s infinite;
}
/* repeat visits / no-JS: steady on, gentle fade */
.neon--warm .neon__line::after, html:not(.js) .neon__line::after {
  opacity: 1; transition: opacity .4s ease;
  animation: neonHum 7.3s ease-in-out 1s infinite;
}
@keyframes neonIgnite {
  0%, 5% { opacity: 0; } 6% { opacity: .5; } 7% { opacity: .06; }
  10% { opacity: .7; } 12% { opacity: .04; } 15% { opacity: .88; }
  17% { opacity: .18; } 20%, 26% { opacity: 0; } 28% { opacity: .92; }
  30% { opacity: .4; } 34% { opacity: 1; } 36% { opacity: .65; }
  40%, 100% { opacity: 1; }
}
@keyframes neonCatch {
  0%, 20% { opacity: 0; } 21% { opacity: .8; } 25% { opacity: .1; }
  34% { opacity: .9; } 40% { opacity: .2; } 48% { opacity: 1; }
  55% { opacity: .5; } 62%, 100% { opacity: 1; }
}
@keyframes neonHum { 0%, 100% { opacity: 1; } 50% { opacity: .958; } }

/* counter reflection — same circuits, in sync, smeared on the wood */
.neon-reflection {
  display: none;
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline-start: 7vw; top: 63vh;
  width: min(58vw, 780px);
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.2rem, 7.6vw, 6rem); line-height: 1.3;
  transform: scaleY(-1) skewX(6deg);
  filter: blur(5px) brightness(.8);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
  mask-image: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
  opacity: .2;
}
.neon-reflection .neon__line { color: transparent; -webkit-text-stroke: 0; }
.js .neon-reflection.ignite .neon__line:first-child::after {
  animation: neonIgnite 1.7s steps(1, end) both;
}
.js .neon-reflection.ignite .neon__line--big::after {
  animation: neonCatch .9s steps(1, end) .45s both;
}

/* mist plates — blur baked static, only transform drifts */
.hero-mist {
  position: absolute; inset: -6%; pointer-events: none; mix-blend-mode: screen;
}
.hero-mist--back {
  z-index: 4;
  background: radial-gradient(60% 45% at 30% 70%, rgba(243,234,215,.10), transparent 70%);
  filter: blur(38px); opacity: .5;
  animation: mistDrift 71s ease-in-out infinite alternate;
}
.hero-mist--front {
  z-index: 6;
  background: radial-gradient(50% 40% at 65% 55%, rgba(243,234,215,.09), transparent 70%);
  filter: blur(50px); opacity: .28;
  animation: mistDrift 47s ease-in-out infinite alternate-reverse;
}
@keyframes mistDrift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }

/* hero copy — whispered, lower-left, diagonal from the blazing sign */
.scene--hero .beat__inner { align-items: flex-end; justify-content: center; }
.scene--hero .hero-copy {
  margin-inline: auto;
  max-width: 46rem; padding-bottom: 3.5vh; text-align: center;
}
.hero__tagline {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--cream-deep);
  line-height: 1.3; text-shadow: 0 3px 22px rgba(0,0,0,.7);
}
.hero__tagline em { color: var(--brass-glow); }
/* nav handoff — the name never doubles on screen */
.nav--in-hero .nav__brand-ar { opacity: 0; pointer-events: none; }
.hero__title { font-family: var(--f-display); color: var(--cream); font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.12; text-shadow: 0 4px 30px rgba(0,0,0,.7); }
.hero__title em { color: var(--brass-glow); }
.hero__sub { margin-top: 1rem; color: var(--cream-deep); font-size: clamp(1rem, 2.4vw, 1.2rem); opacity: .9; }
.scene--sign .btn { margin-top: 1.8rem; }
.scene--sign .btn svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(4px);} }
/* ghost button on dark journey needs light text */
.journey .btn--ghost { color: var(--cream-deep); border-color: rgba(199,154,59,.5); }
.journey .btn--ghost:hover { color: var(--brass-glow); border-color: var(--brass); }

/* stack scenes on small screens — media above copy, centered */
@media (max-width: 820px) {
  .scene__grid { grid-template-columns: 1fr; gap: 1.6rem; text-align: center; }
  .scene__copy { text-align: center; margin-inline: auto; }
  .sign__video { margin-inline: auto; }
  .scene--sign { min-height: 100svh; }
  /* neon hero on phones: sign centers high, reflection shortens */
  .scene--hero .beat__bg img, .scene--hero .beat__bg video { object-position: center center; }
  .neon { width: 100%; font-size: clamp(1.9rem, 9.5vw, 3rem); flex-wrap: wrap; row-gap: .1em; }
  .neon-reflection { display: none; }
  .neon-bloom { inset-inline-start: -15%; width: 130%; }
  .scene--hero .hero-copy { margin-inline: auto; text-align: center; }
  /* beats: photo fills the scene, copy rides the lower third over a scrim */
  .scene--beat .beat__inner { align-items: flex-end; padding-bottom: clamp(3rem, 8vh, 5rem); }
  .scene--beat .scene__copy, .scene--flip .scene__copy { margin-inline: auto; }
  .scene--beat::before {
    background:
      linear-gradient(to bottom, rgba(24,13,5,.8), transparent 20%, transparent 55%, rgba(24,13,5,.92) 88%);
  }
}

/* =================================================================
   Marquee
   ================================================================= */
.marquee {
  background: linear-gradient(to bottom, #56351E 0%, var(--coffee) 45%, #3A2313 100%);
  color: var(--cream-deep);
  padding-block: .8rem; overflow: hidden; white-space: nowrap;
  border-block: 1px solid rgba(199,154,59,.25);
  box-shadow: inset 0 10px 16px -10px rgba(20,10,3,.8), inset 0 -10px 16px -10px rgba(20,10,3,.8);
}
.marquee__track { display: inline-flex; align-items: center; gap: 2.2rem; animation: scrollx 32s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: 1.2rem; color: var(--cream-deep); text-shadow: 0 1px 0 rgba(20,10,3,.55); }
.marquee__dot { opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0);} to { transform: translateX(50%);} } /* RTL: content flows, 50% because doubled */

/* =================================================================
   ABOUT
   ================================================================= */
.about {
  background: radial-gradient(110% 75% at 50% 0%, #F9F1DF 0%, var(--cream) 55%, var(--cream-deep) 100%);
  box-shadow: inset 0 0 140px rgba(74,46,28,.06);
}
.about__grid {
  max-width: var(--maxw); margin: clamp(2.5rem,6vw,4rem) auto 0; padding-inline: var(--pad);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* constrain the whole portrait block (not just the inner frame) so the
     coffee-ring ::before stays anchored to the photo's corner */
  .about__portrait { max-width: 420px; margin-inline: auto; }
}

.about__portrait { position: relative; }
.about__portrait-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px var(--coffee-shadow-strong), inset 0 0 0 1px rgba(232,201,122,.18);
}
.about__portrait-frame::before {
  /* photographic corner vignette, same falloff as the hero frames */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(115% 95% at 50% 32%, transparent 55%, rgba(35,20,9,.30) 100%);
}
/* the cinematic portrait has its grade baked in — no duotone/sepia layers needed */
.about__portrait-frame img { width: 100%; height: auto; }
.about__portrait figcaption {
  font-family: var(--f-quote); font-style: italic; text-align: center;
  margin-top: .8rem; color: var(--coffee); opacity: .8; font-size: .95rem;
}
/* coffee-ring accent behind portrait */
.about__portrait::before {
  content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%;
  border: 12px solid rgba(74,46,28,.08); top: -34px; inset-inline-start: -34px; z-index: -1;
}

.about__story { display: grid; gap: 1.6rem; }
.station { position: relative; padding-inline-start: 3.4rem; }
.station__num {
  position: absolute; inset-inline-start: 0; top: -.15rem;
  font-family: var(--f-display); font-size: 2.1rem; color: var(--coffee);
  width: 2.4rem; text-align: center;
}
.station::before {
  content: ''; position: absolute; inset-inline-start: 1.2rem; top: 2.6rem; bottom: -1.6rem;
  width: 1px; background: var(--line);
}
.station:last-child::before { display: none; }
.station__title { font-family: var(--f-display); font-size: 1.5rem; color: var(--coffee); margin-bottom: .2rem; }
.station p { color: var(--coffee); opacity: .9; }

/* =================================================================
   IDEA (dark)
   ================================================================= */
.idea {
  /* same dark room as the hero, swallowing light at both edges */
  background: radial-gradient(120% 90% at 50% -10%, #2e1c0e 0%, var(--wood-dark) 55%, #1a0f06 100%);
  box-shadow: inset 0 60px 70px -40px rgba(20,10,3,.85), inset 0 -60px 70px -40px rgba(20,10,3,.85);
  color: var(--cream); overflow: hidden;
}
.rings {
  position: relative; max-width: 680px; margin: clamp(2rem,6vw,3.5rem) auto 0;
  padding-inline: var(--pad); z-index: 2;
}
/* pool of lamplight on the table beneath the rings */
.rings::before {
  content: ''; position: absolute; inset: -8% -12%; z-index: -1;
  background: radial-gradient(58% 52% at 50% 48%, rgba(199,154,59,.10), transparent 70%);
}
/* the real coffee-ring photograph — feathered so the wood melts into the dark section */
.rings__photo {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.rings__label {
  position: absolute; font-family: var(--f-display); font-size: clamp(1rem,2.6vw,1.35rem);
  color: var(--brass-glow); text-shadow: 0 0 14px rgba(232,201,122,.35);
}
.rings__label--a { top: 15%; inset-inline-start: 13%; }
.rings__label--b { top: 15%; inset-inline-end: 13%; }
.rings__label--c { bottom: 7%; inset-inline-start: 50%; transform: translateX(50%); }
.rings__center {
  position: absolute; top: 52%; inset-inline-start: 50%; transform: translate(50%, -50%);
  text-align: center; font-family: var(--f-display); font-size: clamp(.95rem, 2.4vw, 1.2rem);
  color: var(--cream); line-height: 1.25; text-shadow: 0 0 16px rgba(15,8,3,.9), 0 0 30px rgba(15,8,3,.6);
}

/* =================================================================
   BOOK / CTA
   ================================================================= */
.book {
  background: radial-gradient(120% 85% at 50% 8%, #F2E7CF 0%, var(--cream-deep) 58%, #E2D2B0 100%);
  box-shadow: inset 0 0 140px rgba(74,46,28,.08);
}
.book__grid {
  max-width: var(--maxw); margin: clamp(2.5rem,6vw,4rem) auto 0; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center;
}
@media (max-width: 820px) { .book__grid { grid-template-columns: 1fr; } .book__table { order: 2; } }

/* photographic two-cups scene — the "served" frame crossfades in on form success */
.cup-scene { position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px var(--coffee-shadow-strong), inset 0 0 0 1px rgba(199,154,59,.25);
}
.cup-scene__img { width: 100%; height: auto; display: block; }
.cup-scene__img--served {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.cup-scene.is-filled .cup-scene__img--served { opacity: 1; }
.cup-scene__tag {
  position: absolute; bottom: 6%; z-index: 2;
  font-family: var(--f-display); font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--brass-glow); text-shadow: 0 0 12px rgba(15,8,3,.9);
  padding: .1rem .8rem; border-radius: 999px; background: rgba(20,10,3,.45);
}
/* photo: the FULL cup (أنا) is on the right, the empty one (أنت) on the left */
.cup-scene__tag--me { inset-inline-start: 18%; }  /* RTL: start = right */
.cup-scene__tag--you { inset-inline-end: 18%; }

/* the form is a paper order-card lying on the table */
.book__form {
  display: grid; gap: 1.1rem;
  background: linear-gradient(165deg, #F8F0DE, var(--cream));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: 0 34px 60px -30px rgba(35,20,9,.38), inset 0 1px 0 rgba(255,255,255,.55);
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; color: var(--coffee); font-size: .95rem; }
.field input, .field textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--coffee);
  background: #FAF4E6; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: inset 0 2px 5px rgba(74,46,28,.09);
  padding: .75rem .9rem; resize: vertical; transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(199,154,59,.18);
}
.book__note { min-height: 1.4rem; font-family: var(--f-quote); font-style: italic; color: var(--coffee); }
.book__note.is-error { color: #9E2B4E; }
.book__socials { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.soc {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--coffee); border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s ease, color .3s ease, border-color .3s ease;
}
.soc svg { width: 21px; height: 21px; }
.soc:hover { transform: translateY(-3px); background: var(--brass); color: var(--wood-dark); border-color: var(--brass); }
.soc[data-social="whatsapp"]:hover { background: #25D366; color: #fff; border-color: #25D366; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--wood-dark); padding: clamp(3rem,7vw,4.5rem) var(--pad) 2rem; text-align: center;
  box-shadow: inset 0 50px 60px -40px rgba(20,10,3,.9);
}
.footer__plate {
  max-width: 720px; margin-inline: auto; padding: 2rem 2.4rem;
  border: 1px solid rgba(199,154,59,.5); border-radius: 12px;
  background: linear-gradient(160deg, #2a1a0d, #1c1006);
  box-shadow: inset 0 0 30px rgba(15,8,3,.6), inset 0 1px 0 rgba(232,201,122,.16);
  display: grid; gap: 1rem;
}
.footer__name { font-family: var(--f-display); font-size: 1.8rem; color: var(--brass-glow); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a { color: var(--cream-deep); font-size: .95rem; }
.footer__links a:hover { color: var(--brass-glow); }
.footer__made { font-family: var(--f-quote); font-style: italic; color: var(--brass); opacity: .85; }
.footer__el { margin-top: 1.6rem; }
.footer__el a { font-size: .85rem; color: rgba(243,234,215,.4); }
.footer__el a:hover { color: var(--brass); }

/* =================================================================
   Responsive refinements
   ================================================================= */
/* narrow phones: nav brand + CTA must never overflow */
@media (max-width: 400px) {
  .nav__brand-ar { font-size: 1rem; }
  .nav__cta { padding: .35rem .85rem; font-size: .85rem; }
}
@media (max-width: 340px) {
  .nav { padding-inline: 1rem; }
}

/* portrait phones */
@media (max-width: 480px) {
  .book__form { gap: .85rem; }
}

/* tight ring labels on small screens */
@media (max-width: 420px) {
  .rings__label { font-size: .82rem; max-width: 6rem; text-align: center; line-height: 1.2; }
  .rings__label--a { inset-inline-start: 3%; }
  .rings__label--b { inset-inline-end: 3%; }
}

/* short viewports: keep each scene comfortably inside one screen */
@media (max-height: 700px) {
  .sign__video { width: min(380px, 70vw); }
  .scene__media img { width: min(340px, 60vw); }
  .hero__title { font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
}


/* =================================================================
   MEDIA CORNER — الراديو / التلفزيون / الكتاب
   ================================================================= */
.journey--media { background: radial-gradient(120% 90% at 50% -10%, #2e1c0e 0%, var(--wood-dark) 55%, #1a0f06 100%); }
.scene--media .scene__copy { max-width: 32rem; }

/* radio play/pause button — swaps labels */
.radio-toggle { margin-top: 1.4rem; }
.radio-toggle .radio-toggle__off { display: none; }
.radio-toggle.is-on .radio-toggle__on { display: none; }
.radio-toggle.is-on .radio-toggle__off { display: inline; }
.radio-toggle.is-on { border-color: var(--brass); color: var(--brass-glow); box-shadow: 0 0 24px rgba(199,154,59,.25); }
.radio-note { margin-top: .9rem; font-family: var(--f-quote); font-style: italic; color: var(--brass-glow); opacity: .8; font-size: .98rem; }

/* the CRT screen — the ONLY moving thing; the TV itself is a still photo */
.tv-screen {
  position: absolute; z-index: 1; pointer-events: none; overflow: hidden;
  /* mapped onto the widescreen console TV's glass (RTL: inline-start = right edge) */
  inset-inline-start: 29.6%; top: 22%; width: 40.6%; height: 46.4%;
  border-radius: 10% / 18%;
  mix-blend-mode: normal;
}
/* TV knobs — pulsing hotspots on the real brass knobs */
.tv-knob {
  position: absolute; z-index: 3; cursor: pointer;
  width: 7.5%; aspect-ratio: 1; border-radius: 50%;
  background: transparent; border: none; padding: 0;
}
.tv-knob::before {
  content: ''; position: absolute; inset: -20%;
  border-radius: 50%;
  border: 2px solid rgba(232, 201, 122, .55);
  box-shadow: 0 0 18px rgba(232, 201, 122, .35), inset 0 0 14px rgba(232, 201, 122, .15);
  animation: knobPulse 2.6s ease-in-out infinite;
}
.tv-knob:hover::before { animation-play-state: paused; border-color: var(--brass-glow); }
.tv-knob:active { transform: scale(.96); }
.scene--tv.is-watching .tv-knob--channel::before { animation-duration: 5s; opacity: .5; }
/* الكنوب اليمين = الصوت، الشمال = القنوات */
.tv-knob--sound   { inset-inline-start: 28.3%; top: 70.3%; }
.tv-knob--channel { inset-inline-end: 29.9%; top: 70.3%; }
/* لما الصوت شغال: هالة الكنوب تثبت خضرا خفيف */
.scene--tv.is-loud .tv-knob--sound::before { animation: none; border-color: rgba(90,255,175,.7); box-shadow: 0 0 18px rgba(60,230,150,.45); }

/* همسة التلفزيون */
.tv-whisper {
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline: 0; top: 5.5%;
  text-align: center;
  opacity: 1; transition: opacity .9s ease;
}
.tv-whisper__q {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--cream); text-shadow: 0 3px 24px rgba(0,0,0,.85);
}
.tv-whisper__hint {
  margin-top: .3rem;
  font-family: var(--f-quote); font-style: italic;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--brass-glow); opacity: .85;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}
.scene--tv.is-watching .tv-whisper { opacity: 0; }
@media (max-width: 820px) {
  .tv-knob { width: 12%; }
  .tv-knob--sound { inset-inline-start: 26%; top: 69%; }
  .tv-knob--channel { inset-inline-end: 27.5%; top: 69%; }
}
.tv-screen__static {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23t)'/%3E%3C/svg%3E");
  background-size: 90px 90px;
  opacity: .65; filter: sepia(.6) brightness(1.05);
  animation: tvStatic .35s steps(4) infinite;
}
@keyframes tvStatic {
  0% { background-position: 0 0; } 25% { background-position: -18px 12px; }
  50% { background-position: 14px -10px; } 75% { background-position: -8px -16px; }
  100% { background-position: 0 0; }
}
.tv-screen__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.tv-screen.is-playing .tv-screen__static { opacity: 0; transition: opacity 1s ease; }
.tv-screen.is-playing .tv-screen__video { opacity: 1; }


/* (عنوان الكتاب بقى على غلاف الكتاب التفاعلي نفسه — شوف .fb-cover) */



/* =================================================================
   الراديو الصامت — الكنوبات على الراديو نفسها هي الأزرار
   Coordinates mapped onto the front-facing radio photo (16:9 cover)
   ================================================================= */
.scene--radio { min-height: 100svh; }
.scene--radio .beat__bg img, .scene--radio .beat__bg video { object-position: center; }


/* همسة فوق الراديو — دعوة هادئة غير مقحمة */
.radio-whisper {
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline: 0; top: 7%;
  text-align: center;
  opacity: 1; transition: opacity .9s ease;
}
.radio-whisper__q {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--cream); text-shadow: 0 3px 24px rgba(0,0,0,.8);
}
.radio-whisper__hint {
  margin-top: .35rem;
  font-family: var(--f-quote); font-style: italic;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--brass-glow); opacity: .85;
  text-shadow: 0 2px 14px rgba(0,0,0,.8);
}
.scene--radio.is-on .radio-whisper { opacity: 0; }
@media (max-width: 820px) { .radio-whisper { top: 5%; } }

/* knobs — invisible circles over the radio's real brass knobs, pulsing to invite touch */
.radio-knob {
  position: absolute; z-index: 3; cursor: pointer;
  width: 9.5%; aspect-ratio: 1; border-radius: 50%;
  background: transparent; border: none; padding: 0;
  outline-offset: 4px;
}
.radio-knob::before {
  content: ''; position: absolute; inset: -18%;
  border-radius: 50%;
  border: 2px solid rgba(232, 201, 122, .55);
  box-shadow: 0 0 18px rgba(232, 201, 122, .35), inset 0 0 14px rgba(232, 201, 122, .15);
  animation: knobPulse 2.6s ease-in-out infinite;
  transition: opacity .4s ease;
}
.radio-knob:hover::before { animation-play-state: paused; border-color: var(--brass-glow); }
.radio-knob:active { transform: scale(.96); }
@keyframes knobPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.12); opacity: 1; }
}
/* الراديو شغّال؟ نبض كنوب الباور يهدى */
.scene--radio.is-on .radio-knob--power::before { animation: none; opacity: .35; }
/* RTL: inline-start = right edge. الكنوب اليمين (باور) والشمال (تحويل) */
.radio-knob--power { inset-inline-start: 26%; top: 58%; }
.radio-knob--tune  { inset-inline-end: 24%; top: 59%; }

/* العين السحرية — تتوهج أخضر لما الراديو يشتغل */
.radio-eye {
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline-start: 35.7%; top: 32.6%; width: 3.3%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(90, 255, 175, .95), rgba(25, 170, 95, .75) 50%, transparent 78%);
  box-shadow: 0 0 14px rgba(60, 230, 150, .75), 0 0 34px rgba(60, 230, 150, .35);
  opacity: 0; transition: opacity .8s ease;
}
.scene--radio.is-on .radio-eye { opacity: 1; animation: eyeBreath 3.2s ease-in-out infinite; }
@keyframes eyeBreath { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }

/* اسم الأغنية جوه زجاج الدايل — كأنه مؤشر المحطة */
.radio-dial-label {
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline-start: 41%; top: 31%; width: 28%; height: 12.5%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.7rem);
  color: rgba(90, 52, 12, .9);
  text-shadow: 0 1px 0 rgba(255, 235, 180, .5);
  opacity: 0; transition: opacity .8s ease;
}
.scene--radio.is-on .radio-dial-label { opacity: 1; }

/* بطاقة البودكاست — تطلع من تحت لما توصل محطتها */
.radio-podcast {
  position: absolute; z-index: 4;
  inset-inline-end: 6%; bottom: 7%;
  width: min(360px, 82vw);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(199,154,59,.35);
  transform: translateY(14px); opacity: 0;
  transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .7s ease;
}
.radio-podcast.is-up { transform: none; opacity: 1; }

@media (max-width: 820px) {
  .radio-knob { width: 15%; }
  .radio-knob--power { inset-inline-start: 18%; top: 58%; }
  .radio-knob--tune  { inset-inline-end: 16%; top: 59%; }
  .radio-dial-label { inset-inline-start: 25%; width: 50%; top: 30%; }
  .radio-podcast { inset-inline: 6%; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .radio-knob::before { animation: none; }
  .scene--radio.is-on .radio-eye { animation: none; }
}

/* radio controls + hidden YT player */
.radio-controls { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.yt-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.tv-screen__yt { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; overflow: hidden; }
/* oversize the player so it fills the CRT glass like object-fit: cover
   (glass is now ~1.57:1 vs video 16:9 → 125% is enough, way less cropping) */
.tv-screen__yt iframe, .tv-screen__yt > div {
  position: absolute; top: 50%; left: 50%;
  width: 125%; height: 125%;
  transform: translate(-50%, -50%);
}
.tv-screen.is-playing .tv-screen__yt { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .tv-flicker { animation: none; opacity: .6; } }

/* =================================================================
   Reveal animation baseline (used by JS; safe fallback)
   ================================================================= */
.js [data-reveal], .js [data-station] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-in, [data-station].is-in { opacity: 1; transform: none; }
/* if JS never runs, the loader must not trap the visitor */
html:not(.js) .loader { display: none; }

/* =================================================================
   Reduced motion — flatten everything
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader__fill { animation: none; transform: translateY(-46px); }
  [data-reveal], [data-station] { opacity: 1; transform: none; }
  .neon__line::after, .neon-reflection .neon__line::after { opacity: 1 !important; animation: none !important; }
  .hero-dim { opacity: 0; } .neon-spill, .neon-bloom { opacity: 1; }
  .hero-mist { animation: none; }
  .cursor { display: none; }
  .marquee__track { animation: none; }
}

/* =================================================================
   sr-only — للعناوين الدلالية في المشاهد الصامتة
   ================================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =================================================================
   مشهد الكتاب الصامت — همسة + هوت سبوت + خفوت اللوب
   ================================================================= */
.book-whisper {
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline: 0; top: 5.5%;
  text-align: center;
  opacity: 1; transition: opacity .9s ease;
}
.book-whisper__q {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--cream); text-shadow: 0 3px 24px rgba(0,0,0,.85);
}
.book-whisper__hint {
  margin-top: .3rem;
  font-family: var(--f-quote); font-style: italic;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--brass-glow); opacity: .85;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}
/* هايلايت على الخلفية — بقعة ضي دافية ورا الكتاب وحواف أغمق للتركيز */
.scene--book .beat__bg img { filter: brightness(.78) saturate(.95); }
.book-spot {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 52% at 50% 60%, rgba(232, 201, 122, .16), transparent 72%),
    radial-gradient(130% 110% at 50% 50%, transparent 55%, rgba(13, 8, 3, .55) 100%);
}

/* =================================================================
   الكتاب التفاعلي — قاعد على الطاولة في الواجهة، يتقلب مباشرة
   ================================================================= */
.book-stage {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(.9rem, 2.2vh, 1.6rem);
  padding: 17vh var(--pad) 6vh;   /* مساحة للهمسة فوق */
}

.flipbook {
  position: relative;
  width: min(80vw, 880px, calc(57vh * 1.5));
  aspect-ratio: 3 / 2;                    /* صفحتين ٣:٤ جنب بعض */
  perspective: 2600px;
  transition: transform .9s cubic-bezier(.4, .1, .2, 1);
}
/* ضل الكتاب على الطاولة */
.flipbook::before {
  content: ''; position: absolute; z-index: -1;
  left: 6%; right: 6%; bottom: -7%; height: 14%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .6), transparent 70%);
  filter: blur(6px);
  transition: transform .9s cubic-bezier(.4, .1, .2, 1);
}
/* الكتاب مقفول = كله على الشمال → نتوسّطه؛ ومقلوب بالكامل → العكس */
.flipbook.is-closed { transform: translateX(25%); }
.flipbook.is-back   { transform: translateX(-25%); }

.fb-sheet {
  position: absolute; left: 0; top: 0; width: 50%; height: 100%;
  transform-style: preserve-3d;
  transform-origin: 100% 50%;             /* الكعب في نص الكتاب */
  transition: transform 1.05s cubic-bezier(.36, .1, .22, 1);
}
.fb-sheet.is-flipped { transform: rotateY(180deg); }
.fb-face {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 4px;
}
.fb-face--back { transform: rotateY(180deg); }

/* ورق الصفحات */
.fb-page {
  background:
    radial-gradient(120% 90% at 50% 6%, rgba(255, 252, 240, .9), rgba(255,252,240,0) 55%),
    linear-gradient(180deg, #F6EEDC, #EADDC3);
  color: #3A2413;
  padding: clamp(1.1rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: .8rem;
}
/* ضل الكعب: الصفحة الشمال ضلها يمين، واليمين ضلها شمال */
.fb-face--front.fb-page { box-shadow: inset -30px 0 36px -28px rgba(58, 36, 19, .55); }
.fb-face--back.fb-page  { box-shadow: inset 30px 0 36px -28px rgba(58, 36, 19, .55); }
.fb-page__title {
  font-family: var(--f-display); font-weight: 700;
  color: #7A4A1F; font-size: clamp(1.05rem, 2vw, 1.55rem);
}
.fb-page p, .fb-page li {
  font-family: var(--f-quote);
  font-size: clamp(.92rem, 1.45vw, 1.12rem); line-height: 2;
}
.fb-page__list { padding-inline-start: 1.1rem; display: grid; gap: .45rem; }
.fb-page__list li::marker { color: #C79A3B; }
.fb-page__soon { font-style: italic; color: #7A4A1F; opacity: .8; }
.fb-page__num {
  margin-top: auto; align-self: center;
  font-size: .8rem; color: rgba(58, 36, 19, .55);
}
.fb-page--cta { justify-content: center; text-align: center; align-items: center; }
.fb-page--cta .fb-page__num { margin-top: 1.2rem; }
.fb-page--stamp { align-items: center; justify-content: center; }
.fb-stamp {
  font-family: var(--f-display); font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(158, 43, 78, .5); transform: rotate(-12deg);
  border: 3px solid rgba(158, 43, 78, .35); border-radius: 50%;
  width: 1.9em; height: 1.9em; display: grid; place-items: center;
}

/* الجلدة */
.fb-cover {
  background: linear-gradient(145deg, #3D2413, #241105 60%, #1A0C04);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(232, 201, 122, .22), inset 0 0 48px rgba(0, 0, 0, .6);
}
.fb-cover__frame {
  border: 1px solid rgba(232, 201, 122, .5);
  outline: 1px solid rgba(232, 201, 122, .16); outline-offset: 7px;
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1rem, 3vw, 2.2rem);
  text-align: center; margin: 1.2rem;
}
.fb-cover__title {
  font-family: var(--f-display); font-weight: 700;
  color: #E8C97A; font-size: clamp(1.25rem, 2.5vw, 2.05rem); line-height: 1.75;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .7);
}
.fb-cover__rule {
  display: block; width: 54px; height: 1px; margin: 1.1rem auto;
  background: linear-gradient(90deg, transparent, #C79A3B, transparent);
}
.fb-cover__author {
  font-size: clamp(.8rem, 1.4vw, .95rem);
  color: rgba(232, 201, 122, .8); letter-spacing: .05em;
}

.flipbook-nav { display: flex; gap: .8rem; }
.fb-btn {
  padding: .65rem 1.6rem; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: .95rem;
  background: var(--brass, #C79A3B); color: #1c0f05; border: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fb-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(199, 154, 59, .35); }
.fb-btn--ghost { background: transparent; color: var(--brass-glow); border: 1px solid rgba(232, 201, 122, .45); }

@media (max-width: 620px) {
  .flipbook { width: min(94vw, calc(58vh * 1.5)); }
  .book-stage { padding-top: 17vh; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-sheet, .flipbook, .flipbook::before { transition: none; }
}

/* =================================================================
   تليفون القهوة — السماعة هي الزر، والجرسين بينوّروا مع الكلام
   ================================================================= */
.scene--phone .phone-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.phone-img--live { opacity: 0; transition: opacity .8s ease; }
.scene--phone.is-oncall .phone-img--live { opacity: 1; }

.phone-whisper {
  position: absolute; z-index: 2; pointer-events: none;
  inset-inline: 0; top: 5.5%;
  text-align: center;
  opacity: 1; transition: opacity .9s ease;
}
.phone-whisper__q {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--cream); text-shadow: 0 3px 24px rgba(0,0,0,.85);
}
.phone-whisper__hint {
  margin-top: .3rem;
  font-family: var(--f-quote); font-style: italic;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--brass-glow); opacity: .85;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}

/* السماعة = الزر (متعلقة على يمين الصندوق) */
.phone-hook {
  position: absolute; z-index: 3; cursor: pointer;
  inset-inline-start: 30%; top: 25%; width: 10%; height: 32%;
  background: transparent; border: none; padding: 0;
}
.phone-hook::before {
  content: ''; position: absolute; inset: 22% 10%;
  border-radius: 46%;
  border: 2px solid rgba(232, 201, 122, .55);
  box-shadow: 0 0 18px rgba(232, 201, 122, .35), inset 0 0 14px rgba(232, 201, 122, .12);
  animation: knobPulse 2.6s ease-in-out infinite;
}
.phone-hook:hover::before { animation-play-state: paused; border-color: var(--brass-glow); }
.scene--phone.is-oncall .phone-hook::before {
  animation: none; opacity: .55;
  border-color: rgba(90, 255, 175, .7);
  box-shadow: 0 0 18px rgba(60, 230, 150, .45);
}

/* هالة الجرسين — بتنوّر مع كلام الأفندي */
.phone-glow {
  position: absolute; z-index: 1; pointer-events: none;
  inset-inline-start: 41%; top: 14%; width: 17%; height: 20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 201, 122, .55), transparent 72%);
  opacity: 0; transition: opacity .5s ease;
}
.scene--phone.is-oncall .phone-glow { opacity: .3; }
.scene--phone.is-speaking .phone-glow { opacity: .85; animation: speakPulse 1.15s ease-in-out infinite; }
@keyframes speakPulse {
  50% { transform: scale(1.12); opacity: .5; }
}

@media (max-width: 820px) {
  .phone-hook { width: 16%; inset-inline-start: 26%; }
}

/* honeypot — مخفي عن البشر، البوتات بس اللي بتشوفه */
.hp-field {
  position: absolute !important;
  left: -9999px !important; top: -9999px !important;
  width: 1px; height: 1px; overflow: hidden; opacity: 0;
  pointer-events: none;
}

/* =================================================================
   عدّة الأفندي — سطور منيو قهوة جوه قسم «الفكرة على الطاولة»
   ================================================================= */
.tools {
  max-width: 44rem;
  margin: clamp(2.2rem, 6vh, 3.6rem) auto 0;
  padding: 0 var(--pad);
}
.tools__lead {
  text-align: center;
  font-family: var(--f-quote); font-style: italic;
  color: var(--brass-glow); opacity: .9;
  margin-bottom: 1rem;
}
.tool-line {
  display: flex; align-items: baseline; gap: .8rem;
  padding: .95rem .3rem;
  border-bottom: 1px dashed rgba(199, 154, 59, .3);
  color: var(--cream-deep);
  transition: padding-inline-start .3s ease, color .3s ease;
}
.tool-line:last-child { border-bottom: none; }
.tool-line:hover { color: var(--brass-glow); padding-inline-start: .8rem; }
.tool-line__name {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  white-space: nowrap;
}
.tool-line__dots {
  flex: 1; min-width: 2rem;
  border-bottom: 2px dotted rgba(199, 154, 59, .4);
  transform: translateY(-4px);
}
.tool-line__hint { font-size: clamp(.8rem, 1.8vw, .95rem); color: var(--brass); white-space: nowrap; }
@media (max-width: 560px) {
  .tool-line { flex-wrap: wrap; }
  .tool-line__dots { display: none; }
  .tool-line__hint { width: 100%; padding-inline-start: 0; }
}

/* =================================================================
   موبايل: كنوبات الأجهزة بتضيع مع قص الصور (cover) —
   تحت 820px بتتحول لأزرار نحاسية ظاهرة بتسمية واضحة
   ================================================================= */
@media (max-width: 820px) {
  .radio-knob, .tv-knob, .phone-hook {
    width: 58px !important; height: 58px !important; aspect-ratio: auto !important;
    top: auto !important; bottom: 5.5% !important;
    background: rgba(35, 20, 9, .74) !important;
    border: 1.5px solid var(--brass) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
  }
  .radio-knob::before, .tv-knob::before, .phone-hook::before { display: none !important; }
  .radio-knob::after, .tv-knob::after, .phone-hook::after {
    content: ''; position: static !important; inset: auto !important;
    display: grid; place-items: center;
    width: 100%; height: 100%;
    font-family: var(--f-body); font-size: .7rem; font-weight: 600;
    color: var(--brass-glow);
    border: none !important; box-shadow: none !important; animation: none !important;
  }
  .radio-knob--power { inset-inline-start: 22% !important; inset-inline-end: auto !important; }
  .radio-knob--power::after { content: 'تشغيل'; }
  .radio-knob--tune { inset-inline-end: 22% !important; inset-inline-start: auto !important; }
  .radio-knob--tune::after { content: 'حوّل'; }
  .scene--radio.is-on .radio-knob--power { border-color: rgba(90, 255, 175, .8) !important; }
  .tv-knob--sound { inset-inline-start: 22% !important; inset-inline-end: auto !important; }
  .tv-knob--sound::after { content: 'صوت'; }
  .tv-knob--channel { inset-inline-end: 22% !important; inset-inline-start: auto !important; }
  .tv-knob--channel::after { content: 'قناة'; }
  .scene--tv.is-loud .tv-knob--sound { border-color: rgba(90, 255, 175, .8) !important; }
  .phone-hook { inset-inline-start: 50% !important; margin-inline-start: -29px; }
  .phone-hook::after { content: 'السماعة'; font-size: .64rem; }
  .scene--phone.is-oncall .phone-hook { border-color: rgba(90, 255, 175, .8) !important; }
}

/* =================================================================
   إعادة الهيكلة — الخندق/المحاور · ركن الميديا · الخدمات · القنوات
   ================================================================= */

/* ---- المحاور بالأرقام تحت الدواير (#idea الغامق) ---- */
.axes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.2rem);
  max-width: 940px; margin: clamp(2rem, 5vw, 3.4rem) auto 0;
  padding-inline: var(--pad); position: relative; z-index: 2;
}
.axis { text-align: center; padding-top: 1.1rem; border-top: 1px solid rgba(199,154,59,.32); }
.axis__k {
  display: block; font-family: var(--f-display); font-size: 1.15rem;
  color: var(--brass-glow); margin-bottom: .4rem;
}
.axis p { color: var(--cream-deep); opacity: .88; font-size: .95rem; line-height: 1.85; }
@media (max-width: 720px) {
  .axes { grid-template-columns: 1fr; gap: 0; max-width: 460px; }
  .axis { padding: 1.05rem 0; }
}

/* ---- ركن الميديا (راديو + تلفزيون) — غرفة غامقة ---- */
.media-corner {
  background:
    linear-gradient(rgba(24,13,5,.86), rgba(24,13,5,.94)),
    radial-gradient(120% 80% at 50% -5%, #2e1c0e 0%, var(--wood-dark) 55%, #180d05 100%),
    url('/assets/media-radio.jpg?v=4') center top / cover no-repeat;
  box-shadow: inset 0 60px 70px -40px rgba(20,10,3,.85);
  padding: clamp(3.5rem, 8vw, 6rem) 0 0; overflow: hidden;
}
.media-corner .section__title { color: var(--cream); text-shadow: 0 0 24px rgba(232,201,122,.18); }
.media-corner .section__kicker { color: var(--brass-glow); }
.media-corner .section__lead { color: var(--cream-deep); opacity: .9; }
.journey--corner { margin-top: clamp(2rem, 5vw, 3.5rem); }
/* داخل الركن المشاهد أقصر شوية عشان الاتنين يتقروا كوحدة */
.journey--corner .scene--media { min-height: 88svh; }

/* ---- الخدمات — اطلب من المنيو (فاتح زي البار) ---- */
.services {
  background: radial-gradient(120% 85% at 50% 6%, #F4EAD2 0%, var(--cream) 55%, var(--cream-deep) 100%);
  box-shadow: inset 0 0 140px rgba(74,46,28,.07);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 6.5rem);
}
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
  max-width: 1080px; margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; padding-inline: var(--pad);
}
.svc-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255,252,245,.7); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 14px 30px -20px rgba(74,46,28,.4);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(74,46,28,.5); border-color: var(--brass); }
.svc-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wood-dark); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.svc-card__badge {
  align-self: flex-start; font-size: .72rem; font-weight: 700; padding: .2rem .65rem; border-radius: 20px;
  background: rgba(199,154,59,.16); color: #8a6a1f; border: 1px solid rgba(199,154,59,.4);
}
.svc-card__badge--pay { background: rgba(158,43,78,.14); color: #9E2B4E; border-color: rgba(158,43,78,.4); }
.svc-card__badge--soon { background: rgba(74,46,28,.08); color: #6b4a2c; border-color: rgba(74,46,28,.2); }
.svc-card__title { font-family: var(--f-display); font-size: 1.4rem; color: var(--coffee); }
.svc-card__desc { color: var(--coffee); opacity: .82; font-size: .95rem; line-height: 1.8; flex: 1; }
.svc-card__cta { font-weight: 700; color: var(--brass); font-size: .95rem; transition: gap .3s ease; }
.svc-card:hover .svc-card__cta { color: #a9781f; }
/* كارت القهوة البطل — يمتد على عمودين ويقعد أفقي على الشاشات الواسعة */
.svc-card--hero { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .svc-card--hero { flex-direction: row-reverse; align-items: stretch; }
  .svc-card--hero .svc-card__media { flex: 1 1 46%; aspect-ratio: auto; }
  .svc-card--hero .svc-card__body { flex: 1 1 54%; justify-content: center; gap: .7rem; padding: 2rem 2.2rem; }
  .svc-card--hero .svc-card__title { font-size: 1.9rem; }
  .svc-card--hero .svc-card__desc { font-size: 1.05rem; }
}
.svc-card--soon { opacity: .92; }
.svc-card--soon .svc-card__media img { filter: saturate(.85) brightness(.92); }

/* ---- التليفون داخل قسم الحجز + القنوات ---- */
.scene--phone-inline { min-height: 82svh; border-radius: 20px; overflow: hidden; margin: 1.8rem auto 0; max-width: 1120px; }
.book__channels {
  text-align: center; margin: 1.4rem auto 0; color: var(--coffee); opacity: .9;
  font-family: var(--f-quote); font-style: italic; font-size: 1.02rem; max-width: 640px; padding-inline: var(--pad);
}
.book__channels a, .linklike {
  color: var(--brass); font-weight: 700; font-style: normal;
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; font-size: inherit;
  border-bottom: 1px solid rgba(199,154,59,.5);
}
.book__channels a:hover, .linklike:hover { color: #a9781f; }

/* قسم «لعبتنا» (الخندق سابقًا) — عنوان سطر واحد نضيف + كروت محاور */
#idea .section__head { max-width: 760px; }
#idea .section__title { margin-top: .5rem; }
.section__lead em { color: var(--brass-glow); font-style: normal; font-weight: 600; }

.idea__hint { display: inline-block; margin-inline-start: .4rem; color: var(--brass-glow); font-size: .9rem; font-style: normal; opacity: .9; }

/* ---- لعبة الأوراق: أوراق مفرودة على الطاولة، تُقلب باللمس ---- */
.cards {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(.6rem, 2vw, 1.4rem); flex-wrap: wrap;
  max-width: 900px; margin: clamp(2.6rem, 5vw, 3.8rem) auto 0;
  padding-inline: var(--pad); position: relative; z-index: 2; perspective: 1400px;
}
.card {
  width: clamp(150px, 22vw, 220px); aspect-ratio: 2 / 3;
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.card__art { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
/* مروحة: الورقة اليمين واليسار مايلين، والنص مستوي */
.card:nth-child(1) { transform: rotate(-7deg) translateY(14px); transform-origin: bottom center; }
.card:nth-child(3) { transform: rotate(7deg)  translateY(14px); transform-origin: bottom center; }
.card:hover, .card:focus-visible { transform: rotate(0) translateY(-10px); z-index: 3; }
.card__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,.2,.2,1);
}
.card.is-flipped .card__inner { transform: rotateY(180deg); }
.card__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 14px; border: 1px solid rgba(199,154,59,.5);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.75);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.1rem; text-align: center; overflow: hidden;
}
.card__face--front { padding: 0; border: 0; background: var(--wood-dark); }
.card__pip { position: absolute; font-family: var(--f-display); font-size: 1.1rem; color: var(--brass); opacity: .85; }
.card__pip--tl { top: .5rem; inset-inline-start: .7rem; }
.card__pip--br { bottom: .5rem; inset-inline-end: .7rem; transform: rotate(180deg); }
.card__ico {
  font-family: var(--f-display); font-size: clamp(2.6rem, 7vw, 3.6rem); color: var(--brass-glow);
  line-height: 1; margin-bottom: .5rem; text-shadow: 0 0 22px rgba(232,201,122,.35);
}
.card__name { font-family: var(--f-display); font-size: 1.25rem; color: var(--cream); line-height: 1.35; }
.card__face--back {
  transform: rotateY(180deg);
  background: radial-gradient(120% 80% at 50% 0%, #2c1c0d, #1a0f06 70%), var(--wood-dark);
  gap: .5rem;
}
.card__back-title { font-family: var(--f-display); font-size: 1.15rem; color: var(--brass-glow); }
.card__back-text { color: var(--cream-deep); font-size: .9rem; line-height: 1.75; opacity: .92; }
.card::after {
  content: 'اقلب'; position: absolute; bottom: -1.6rem; inset-inline: 0; text-align: center;
  font-size: .72rem; color: var(--brass-glow); opacity: 0; transition: opacity .3s ease;
}
.card:hover::after, .card:focus-visible::after { opacity: .8; }
.card.is-flipped::after { content: 'ارجع'; }

.idea__foot {
  text-align: center; margin: clamp(2.6rem, 5vw, 3.4rem) auto 0; max-width: 640px;
  font-family: var(--f-quote); font-style: italic; font-size: 1.15rem;
  color: var(--cream-deep); position: relative; z-index: 2; padding-inline: var(--pad);
}
.idea__foot strong { color: var(--brass-glow); font-style: normal; }
@media (max-width: 620px) {
  .cards { gap: 1.4rem; }
  .card { width: 60vw; max-width: 230px; }
  .card:nth-child(1), .card:nth-child(3) { transform: rotate(0) translateY(0); }
}

/* =================================================================
   المشهد المدمج «brew» — فنجان ثابت (sticky) والشكل والكلام يتحوّلوا
   ================================================================= */
.brew { position: relative; height: 300vh; background: var(--wood-dark); padding: 0; }
.brew__rail { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.brew__stage { position: relative; height: 100%; }
.brew__bg { position: absolute; inset: 0; }
.brew__vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.brew__vid.is-on { opacity: 1; }
.brew__stage::after { /* سكرين يخلّي الكلام مقروء على الشمال (الفنجان يمين) */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(20,10,3,.9) 0%, rgba(20,10,3,.5) 40%, transparent 62%);
}
/* الكلام على الشمال (المساحة الفاضية)، الفنجان يمين */
.brew__copies {
  position: absolute; inset-block: 0; left: 0; right: auto; z-index: 3;
  width: min(48%, 580px); display: grid; align-content: center;
  padding: 0 clamp(1.5rem, 6vw, 5rem); text-align: start;
}
.brew__copy .scene__title { line-height: 1.5; }
.brew__copy {
  grid-area: 1 / 1; opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.brew__copy.is-on { opacity: 1; transform: none; pointer-events: auto; }
.brew__copy .scene__stage { color: var(--brass-glow); }
.brew__copy .scene__title { color: var(--cream); }
.brew__copy .scene__text { color: var(--cream-deep); }
.brew__copy .btn { margin-top: 1.4rem; }

/* الشكل فوق الفنجان (فوق البخار، ناحية اليمين) */
.brew__glyphs { position: absolute; right: 22%; top: 16%; width: 80px; height: 80px; z-index: 2; color: var(--brass-glow); }
.brew__glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: scale(.7); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 0 20px rgba(232,201,122,.5));
}
.brew__glyph.is-on { opacity: 1; transform: scale(1); }
.brew__glyph--steam { /* البخار الطبيعي في الصورة — مفيش شكل زيادة */ opacity: 0 !important; }
.brew__glyph--bulb.is-on { animation: bulbPulse 2.4s ease-in-out infinite; }
@keyframes bulbPulse { 0%,100%{ filter: drop-shadow(0 0 14px rgba(232,201,122,.4)); } 50%{ filter: drop-shadow(0 0 30px rgba(232,201,122,.8)); } }

/* نقط التقدّم */
.brew__dots { position: absolute; inset-inline-start: clamp(1.5rem,6vw,5rem); bottom: 8vh; z-index: 3; display: flex; gap: .55rem; }
.brew__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(232,201,122,.3); transition: background .4s ease, transform .4s ease; }
.brew__dots span.is-on { background: var(--brass-glow); transform: scale(1.3); }

@media (max-width: 700px) {
  .brew__copies { width: 100%; }
  .brew__stage::after { background: linear-gradient(to top, rgba(20,10,3,.9) 30%, transparent 70%); }
  .brew__copies { align-content: end; padding-bottom: 16vh; width: 100%; }
  .brew__glyphs { right: auto; left: 50%; transform: translateX(-50%); top: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  .brew { height: auto; }
  .brew__rail { position: static; height: auto; }
  .brew__stage { min-height: auto; padding: 4rem 0; display: grid; gap: 2rem; }
  .brew__copy { position: static; opacity: 1; transform: none; }
  .brew__copies { position: static; width: auto; }
  .brew__glyphs, .brew__dots { display: none; }
}

/* =================================================================
   «اختار طريقك» — تسمع/تتفرّج/تقرأ/تتكلم + فاصل الميديا
   ================================================================= */
.ways {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.7rem, 2vw, 1.3rem);
  max-width: 1000px; margin: clamp(2.2rem, 5vw, 3.2rem) auto 0;
  padding-inline: var(--pad); position: relative; z-index: 2;
}
.way {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; padding: 1.5rem 1rem;
  background: rgba(255,252,245,.04); border: 1px solid rgba(199,154,59,.28); border-radius: 16px;
  color: var(--cream); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, background .35s ease;
}
.way:hover { transform: translateY(-6px); border-color: var(--brass); background: rgba(199,154,59,.08); }
.way__ico {
  display: grid; place-items: center; width: 52px; height: 52px; color: var(--brass-glow);
  border: 1px solid rgba(199,154,59,.4); border-radius: 50%;
  background: radial-gradient(circle, rgba(199,154,59,.14), transparent 70%);
}
.way__ico svg { width: 26px; height: 26px; }
.way__v { font-family: var(--f-display); font-size: 1.35rem; color: var(--cream); }
.way__d { font-size: .85rem; color: var(--cream-deep); opacity: .8; }
@media (max-width: 620px) {
  .ways { grid-template-columns: 1fr 1fr; }
  .way { padding: 1.2rem .8rem; }
}

.media-divider {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  max-width: 700px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.6rem) var(--pad);
  position: relative; z-index: 2;
}
.media-divider__line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(199,154,59,.5), transparent); }
.media-divider__cup { font-size: 1.4rem; color: var(--brass-glow); filter: drop-shadow(0 0 10px rgba(232,201,122,.4)); }

/* =================================================================
   رحلة فكرتك — مقدّمة سينمائية + تايم‌لاين المراحل
   ================================================================= */
.path {
  background: radial-gradient(120% 90% at 50% -10%, #2e1c0e 0%, var(--wood-dark) 55%, #1a0f06 100%);
  color: var(--cream); overflow: hidden;
  padding-top: 0;   /* يلتصق بالهيرو — من غير الفراغ الغامق بتاع padding القسم العام */
}
.path__intro { margin-top: 0; }
.path__intro {
  position: relative; min-height: 56vh; display: grid; place-items: center; text-align: center;
  overflow: hidden; border-radius: 18px; margin-bottom: clamp(2.6rem, 6vw, 4.6rem);
  border: 1px solid rgba(199,154,59,.22);
}
.path__bg { position: absolute; inset: 0; z-index: 0; }
.path__bg video { width: 100%; height: 100%; object-fit: cover; }
.path__intro::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 100% at 60% 65%, rgba(20,10,3,.35) 20%, rgba(20,10,3,.82) 75%);
}
.path__intro-copy { position: relative; z-index: 2; max-width: 720px; padding: clamp(2.5rem,6vw,4rem) var(--pad); }
.path__intro-copy .section__title { margin-top: .4rem; }

.stages { list-style: none; max-width: 760px; margin: 0 auto; padding-inline: var(--pad); }
.stage { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: clamp(1rem,3vw,1.6rem); padding-bottom: clamp(1.8rem,4vw,2.6rem); }
.stage:not(:last-child)::before {
  content: ''; position: absolute; inset-inline-start: 26px; top: 58px; bottom: 4px; width: 2px;
  background: linear-gradient(rgba(199,154,59,.55), rgba(199,154,59,.08));
}
.stage__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font-family: var(--f-display); font-size: 1.5rem; color: var(--brass-glow);
  border: 1px solid var(--brass); background: radial-gradient(circle, rgba(199,154,59,.18), var(--wood-dark) 75%);
  position: relative; z-index: 1;
}
.stage__body { padding-top: .35rem; }
.stage__title { font-family: var(--f-display); font-size: clamp(1.35rem,3.5vw,1.7rem); color: var(--cream); }
.stage__text { color: var(--cream-deep); opacity: .88; margin: .35rem 0 .6rem; line-height: 1.95; }
.stage__tag {
  display: inline-block; font-size: .74rem; font-weight: 600; color: var(--brass-glow);
  border: 1px solid rgba(199,154,59,.4); border-radius: 20px; padding: .16rem .75rem; background: rgba(199,154,59,.1);
}

.path__foot { text-align: center; max-width: 720px; margin: clamp(2.2rem,5vw,3.6rem) auto 0; padding-inline: var(--pad); }
.path__any { color: var(--cream-deep); font-size: 1.05rem; line-height: 2.1; }
.path__any em { color: var(--brass-glow); font-style: normal; font-weight: 600; }
.path__with { font-family: var(--f-quote); font-style: italic; font-size: 1.25rem; color: var(--cream); margin: 1rem 0 1.7rem; }
.path__with strong { color: var(--brass-glow); font-style: normal; }

/* =================================================================
   عناصر الكلام الجديد (تموضع قسم المراحل)
   ================================================================= */
.station__label { display:block; font-family: var(--f-body); font-size:.78rem; font-weight:500; color: var(--brass-glow); opacity:.85; margin-top:.15rem; }
.about__closer { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(199,154,59,.28); color: var(--coffee); font-family: var(--f-quote); font-style: italic; font-size: 1.05rem; line-height: 1.9; }
.card__back-lens { display:block; font-size:.75rem; color: var(--brass-glow); opacity:.85; margin:-.2rem 0 .4rem; }
.svc-card__thread { display:block; font-size:.75rem; font-weight:600; color: var(--brass); opacity:.9; margin-bottom:.1rem; }
.svc-note { text-align:center; max-width: 780px; margin: clamp(2rem,4vw,3rem) auto 0; padding-inline: var(--pad); font-family: var(--f-quote); font-style: italic; color: var(--coffee); opacity:.85; font-size:1.02rem; }
/* select في الفورم زي باقي الحقول */
.book__form select {
  width:100%; font-family: var(--f-body); font-size:1rem; color: var(--coffee);
  padding:.8rem 1rem; border:1px solid var(--line); border-radius:12px; background: rgba(255,252,245,.6);
  appearance:none; -webkit-appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23C79A3B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: left 1rem center; background-size:16px;
}
.book__form select:focus-visible { outline:2px solid var(--brass-glow); outline-offset:2px; }

/* =================================================================
   قسم المراحل «loom» — بورتريه الأفندي + كاراكترات المراحل الخمسة
   ================================================================= */
.loom { position: relative; background: var(--wood-dark); color: var(--cream); overflow: hidden; padding-top: 0; padding-bottom: 0; }
/* الصورة: الأفندي يمين ماسك اللعبة، الشمال غامق للكلام، وتخبت من تحت في الخلفية */
.loom__scene {  /* الأفندي يمين + الكلام شمال على تعتيم — بعيد عن الوش */
  position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 60vh;
  background: url('/assets/afandy-stages.jpg') center right / cover no-repeat;
}
.loom__scene::before {  /* تعتيم الشمال للكلام — بعيد عن وشّه اليمين */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18,9,3,.96) 0%, rgba(18,9,3,.86) 26%, rgba(18,9,3,.45) 46%, transparent 64%);
}
.loom__scene::after {   /* تخبيت أسفل الصورة في خلفية القسم */
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 44%; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--wood-dark) 94%);
}
.loom__copy {
  position: absolute; inset-block: 0; left: 0; right: auto; z-index: 2;
  width: min(46%, 520px); display: grid; align-content: center; text-align: start;
  padding: 2rem clamp(1.5rem, 5vw, 4.5rem);
}
.loom__copy .section__title { margin-top: .3rem; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.loom__copy .section__lead { margin-top: .6rem; }
.loom__q { font-family: var(--f-display); font-size: 1.2rem; color: var(--brass-glow); margin: 1.2rem 0 .8rem; }
.loom__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--f-body); font-size: .86rem; color: var(--cream-deep); padding: .5rem 1rem; border-radius: 40px; cursor: pointer; background: rgba(255,252,245,.07); border: 1px solid rgba(199,154,59,.4); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.chip:hover { border-color: var(--brass); color: var(--cream); transform: translateY(-2px); }
.chip.is-active { background: var(--brass); color: var(--wood-dark); border-color: var(--brass); font-weight: 600; }

/* الكاراكترات — بتلتحم فوق أسفل الصورة (بلا خط فاصل، بلا خطوط SVG) */
.loom__dolls {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.6rem,1.5vw,1.3rem);
  max-width: 1120px; margin: clamp(-7vw, -5vw, -3rem) auto 0; padding: 0 var(--pad); position: relative; z-index: 2;
}
.doll { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.doll__frame { display: block; width: 100%; aspect-ratio: 3/4; overflow: hidden; border-radius: 12px; border: 1px solid rgba(199,154,59,.3); box-shadow: 0 16px 34px -16px rgba(0,0,0,.75); transition: border-color .4s ease, box-shadow .4s ease; }
.doll__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doll__name { font-family: var(--f-display); font-size: clamp(.95rem,2vw,1.2rem); color: var(--cream); margin-top: .55rem; }
.doll__sub { font-size: .8rem; color: var(--cream-deep); opacity: .7; }
.doll:hover, .doll:focus-visible { transform: translateY(-8px); outline: none; }
.doll:hover .doll__frame, .doll:focus-visible .doll__frame { border-color: var(--brass); }
.loom__dolls.has-active .doll.is-slack { opacity: .4; filter: saturate(.55); transform: translateY(6px); }
.doll.is-pulled { transform: translateY(-18px); }
.doll.is-pulled .doll__frame { border-color: var(--brass-glow); box-shadow: 0 0 0 2px var(--brass-glow), 0 24px 46px -18px rgba(232,201,122,.45); }

.loom__result { max-width: 640px; margin: clamp(2.2rem,5vw,3.4rem) auto 0; padding: clamp(1.6rem,4vw,2.4rem); text-align: center; background: rgba(199,154,59,.08); border: 1px solid var(--brass); border-radius: 18px; position: relative; z-index: 2; }
.loom__result-stage { color: var(--brass-glow); font-family: var(--f-quote); font-style: italic; }
.loom__result-role { font-family: var(--f-display); font-size: clamp(1.5rem,4vw,2rem); color: var(--cream); margin: .3rem 0 .6rem; }
.loom__result-desc { color: var(--cream-deep); line-height: 1.95; }
.loom__modes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.2rem 0; }
.loom__modes span { font-size: .82rem; color: var(--brass-glow); border: 1px solid rgba(199,154,59,.4); border-radius: 20px; padding: .2rem .8rem; background: rgba(199,154,59,.08); }
.loom__result-note { font-size: .88rem; color: var(--cream-deep); opacity: .8; font-style: italic; margin-bottom: 1.2rem; }
.loom__foot { text-align: center; max-width: 680px; margin: clamp(2.2rem,5vw,3.4rem) auto 0; padding: 0 var(--pad) clamp(2.5rem,6vw,4.5rem); font-family: var(--f-quote); font-style: italic; font-size: 1.1rem; color: var(--cream-deep); position: relative; z-index: 2; }

@media (max-width: 860px) {
  .loom__scene { aspect-ratio: 4/5; min-height: auto; background-position: center right; }
  .loom__scene::before { background: linear-gradient(to bottom, rgba(18,9,3,.45) 0%, rgba(18,9,3,.4) 34%, rgba(18,9,3,.94) 100%); }
  .loom__copy { position: absolute; inset-block: auto 0; inset-inline: 0; width: auto; text-align: center; padding: clamp(1.5rem,6vw,2.5rem) var(--pad) 1.6rem; }
  .loom__chips { justify-content: center; }
  .loom__dolls { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .doll { transition: none; } }

/* =================================================================
   loom — مُنتقيات صغيرة + كشف الكاراكتر (صورة خلفية + كلام فوقها)
   ================================================================= */
.loom__picks { list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(.6rem,1.6vw,1.4rem); max-width:1000px; margin:clamp(-5rem,-6vw,-2.5rem) auto 0; padding:0 var(--pad); position:relative; z-index:2; }
.pick { display:flex; flex-direction:column; align-items:center; gap:.55rem; cursor:pointer; text-align:center; transition:transform .35s cubic-bezier(.2,.8,.2,1); }
.pick__img { width:clamp(64px,10vw,108px); aspect-ratio:1; border-radius:50%; overflow:hidden; border:2px solid rgba(199,154,59,.4); box-shadow:0 12px 26px -12px rgba(0,0,0,.7); transition:border-color .35s ease, box-shadow .35s ease; }
.pick__img img { width:100%; height:100%; object-fit:cover; }
.pick__name { font-family:var(--f-body); font-size:.82rem; color:var(--cream-deep); line-height:1.4; }
.pick__name b { display:block; font-weight:600; color:var(--brass-glow); font-size:.7rem; letter-spacing:.03em; }
.pick:hover, .pick:focus-visible { transform:translateY(-5px); outline:none; }
.pick:hover .pick__img, .pick:focus-visible .pick__img { border-color:var(--brass); }
.pick.is-active { transform:translateY(-7px); }
.pick.is-active .pick__img { border-color:var(--brass-glow); box-shadow:0 0 0 3px var(--brass-glow), 0 16px 32px -12px rgba(232,201,122,.45); }
.pick.is-active .pick__name { color:var(--cream); }

.loom__reveal { position:relative; max-width:920px; margin:clamp(2.4rem,5vw,3.6rem) auto 0; border-radius:20px; overflow:hidden; border:1px solid var(--brass); min-height:340px; display:grid; z-index:2; box-shadow:0 24px 60px -24px rgba(0,0,0,.7); }
.loom__reveal[hidden] { display:none; }  /* اللوحة الفاضية ماتاخدش مكان قبل الضغط */
.loom__reveal-bg { position:absolute; inset:0; z-index:0; }
.loom__reveal-bg img { width:100%; height:100%; object-fit:cover; }
.loom__reveal::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(20,10,3,.95) 0%, rgba(20,10,3,.78) 44%, rgba(20,10,3,.32) 100%); }
.loom__reveal-body { position:relative; z-index:2; align-self:center; max-width:60%; padding:clamp(1.6rem,4vw,2.6rem); text-align:start; }
.reveal__stage { color:var(--brass-glow); font-family:var(--f-quote); font-style:italic; }
.reveal__role { font-family:var(--f-display); font-size:clamp(1.6rem,4vw,2.2rem); color:var(--cream); margin:.2rem 0 .5rem; line-height:1.3; }
.reveal__role b { color:var(--brass-glow); font-weight:400; font-size:.62em; font-family:var(--f-body); }
.reveal__dest { color:var(--cream); font-size:1.05rem; line-height:1.85; margin-bottom:.9rem; }
.reveal__steps { list-style:none; counter-reset:s; display:grid; gap:.5rem; margin:.4rem 0 1.1rem; }
.reveal__steps li { counter-increment:s; position:relative; padding-inline-start:2.1rem; color:var(--cream-deep); font-size:.95rem; line-height:1.7; }
.reveal__steps li::before { content:counter(s); position:absolute; inset-inline-start:0; top:.05rem; width:1.5rem; height:1.5rem; display:grid; place-items:center; border-radius:50%; background:var(--brass); color:var(--wood-dark); font-family:var(--f-display); font-size:.85rem; }
.reveal__modes { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:.85rem; }
.reveal__modes span { font-size:.8rem; color:var(--brass-glow); border:1px solid rgba(199,154,59,.4); border-radius:20px; padding:.2rem .8rem; background:rgba(199,154,59,.08); }
.reveal__note { font-size:.85rem; color:var(--cream-deep); opacity:.8; font-style:italic; margin-bottom:1.1rem; }
@media (max-width:720px){
  .loom__picks { gap:.4rem; margin-top:1rem; }
  .pick__name { font-size:.7rem; } .pick__name b { font-size:.58rem; }
  .loom__reveal-body { max-width:100%; }
  .loom__reveal::before { background:linear-gradient(to top, rgba(20,10,3,.96) 34%, rgba(20,10,3,.5)); }
}
