/* ─────────────────────────────────────────────────────────────────────────
   Sonono — ported VERBATIM from the live site's enhance.css.  DEMO ONLY.

   Salwa: "أضف جزئية سونونو مثل ما هي بالضبط، لا تغير" — so nothing here is a
   design decision of mine. Every rule below is copied unchanged, in the same
   order, from enhance.css sections 82 (the home section) and 83 (the Sonono
   page's hero). Order matters: 83 redefines .son-name, .son-by, .son-lede,
   .son-note, .son-phone and .son-screen without scoping them, so on the live
   home page the later block is what actually wins. Copying only 82 would have
   produced a section that does not exist anywhere on the real site.

   .son-shots belongs to the Sonono page and is inert here — the home markup
   uses the animated .son-mark letters instead. Carried anyway, because
   removing it would change the cascade.

   The field itself (.field-violet / .on-violet) comes from site.css, which
   this demo already loads. Only the three .soon rules and the two
   section.field-violet.on-violet padding rules had to come across with it.
   ───────────────────────────────────────────────────────────────────────── */

.soon{
  font-style:normal;font-size:9px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;line-height:1;
  color:var(--violet-deep);background:var(--lav);
  padding:3px 6px;border-radius:5px;white-space:nowrap;
  position:relative;top:-.5px;
}
html[lang="ar"] .soon{letter-spacing:0;font-size:10.5px;font-weight:600}
.on-violet .soon{color:var(--ink);background:rgba(255,255,255,.85)}
section.field-violet.on-violet{padding-block:clamp(64px,8vw,104px)}
section.field-violet.on-violet{padding-block:clamp(48px,6vw,80px)}
/* ==========================================================================
   82 · Sonono on the home page

   The section sits between two light fields — the podcast cards above it and
   the Academy below — so it takes the violet field to break the run.

   No photographs. The sample worlds are of real people and the home page is
   not where those belong; the name and the app's own opening carry it instead.

   The phone is the app's splash rebuilt in CSS rather than a screenshot of
   it. A screenshot of a phone is a still, and the one thing worth showing
   here is that the name arrives — so the letters land in sequence and the
   gradient drifts, the way the real opening does. It is decoration, hidden
   from screen readers, and it stops moving for anyone who asks it to.
   ========================================================================== */
.son-sec{position:relative;overflow:hidden;padding:clamp(60px,9vh,104px) 0}
.son-grid{display:grid;gap:40px;align-items:center;grid-template-columns:1fr}
/* ---- the name ---------------------------------------------------------- */
.son-name{
  margin:16px 0 0;line-height:.92;letter-spacing:-.02em;color:#fff;
  font-size:clamp(58px,12vw,118px);font-weight:400;
}
.son-by{
  margin:10px 0 0;font-size:12px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--lav);
}
.son-lede{margin-top:24px;max-width:46ch}
/* ---- the three steps, as a line rather than a list ---------------------- */
.son-steps{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 26px}
.son-steps > li{display:flex;gap:9px;align-items:baseline;margin:0}
.son-steps b{
  font-size:12px;letter-spacing:.1em;color:var(--lav);
  font-weight:600;flex:0 0 auto;
}
.son-steps span{font-size:14.5px;color:var(--on-violet-muted)}
.son-note{margin-top:26px;max-width:52ch}
.son-cta{margin-top:28px}
/* ---- the phone --------------------------------------------------------- */
.son-phone{
  justify-self:center;width:min(258px,74vw);aspect-ratio:9/19.5;
  border-radius:38px;padding:9px;
  background:linear-gradient(160deg,rgba(255,255,255,.26),rgba(255,255,255,.06));
  box-shadow:0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1) inset;
}
.son-screen{
  position:relative;height:100%;border-radius:30px;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  /* the app's opening: deep violet at the top, pale lavender at the bottom */
  background:linear-gradient(180deg,#2A2150 0%,#4F3F94 42%,#8E7BD6 74%,#DCCFF4 100%);
  background-size:100% 160%;
  animation:son-drift 9s ease-in-out infinite alternate;
}
.son-mark{
  margin:0;display:flex;color:#fff;
  font-size:clamp(30px,8.6vw,40px);letter-spacing:-.01em;line-height:1;
}
.son-mark i{
  font-style:normal;opacity:0;transform:translateY(7px);
  animation:son-letter 5.2s ease-out infinite;
}
.son-mark i:nth-child(1){animation-delay:.00s}
.son-mark i:nth-child(2){animation-delay:.11s}
.son-mark i:nth-child(3){animation-delay:.22s}
.son-mark i:nth-child(4){animation-delay:.33s}
.son-mark i:nth-child(5){animation-delay:.44s}
.son-mark i:nth-child(6){animation-delay:.55s}
.son-screen-by{
  margin:12px 0 0;font-size:10.5px;letter-spacing:.2em;
  color:rgba(255,255,255,.82);opacity:0;
  animation:son-sub 5.2s ease-out infinite;animation-delay:.72s;
}
@keyframes son-letter{
  0%        {opacity:0;transform:translateY(7px)}
  12%, 82%  {opacity:1;transform:translateY(0)}
  96%, 100% {opacity:0;transform:translateY(-4px)}
}
@keyframes son-sub{
  0%        {opacity:0}
  14%, 80%  {opacity:.82}
  94%, 100% {opacity:0}
}
@keyframes son-drift{
  from {background-position:0 0}
  to   {background-position:0 100%}
}
@media (prefers-reduced-motion:reduce){
  .son-screen{animation:none}
  .son-mark i,.son-screen-by{animation:none;opacity:1;transform:none}
}
@media (min-width:900px){
  .son-grid{grid-template-columns:minmax(0,1.25fr) auto;gap:64px}
  .son-phone{justify-self:end}
}
/* ==========================================================================
   83 · The Sonono page

   One section, and nothing under it: everything about how Sonono works lives
   inside the app, so the page only has to say what it is and hand the person
   a way in.

   The phone is four real screenshots of the app cross-fading, not a drawing
   of it — so the website cannot show a typeface the app does not use.

   Layout: the words sit where the language reads from — left in English,
   right in Arabic — and the phone takes the other side. They stay side by
   side from 680px up, because the phone dropping below the text reads as a
   second section rather than as one picture. Only a real phone stacks.

   The field is darker than the site's standard violet. On a page whose whole
   job is to make an app look worth installing, the lighter field washed the
   screenshots out; this one lets them be the brightest thing present.
   ========================================================================== */
.son-hero{
  padding:clamp(52px,7vh,88px) 0;
  /* the glow is kept away from the words: light behind white text costs
     contrast, and the brightest thing on the page should be the screen */
  background-color:#100D22;
  background-image:
    radial-gradient(58% 62% at 78% 24%, rgba(137,116,192,.26) 0%, rgba(137,116,192,0) 66%),
    radial-gradient(50% 58% at 8% 88%, rgba(77,58,127,.38) 0%, rgba(77,58,127,0) 66%);
}
/* the two columns are weighted so neither hugs an edge: the words take the
   room they need and the phone sits centred in what is left */
.son-grid{display:grid;gap:34px;align-items:center;grid-template-columns:1fr}
/* ---- the name ---------------------------------------------------------- */
.son-name{
  margin:14px 0 0;line-height:.92;letter-spacing:-.02em;color:#fff;
  font-size:clamp(50px,9.4vw,104px);font-weight:400;
}
.son-by{
  margin:10px 0 0;font-size:12px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--lav);
}
.son-lede{margin-top:22px;max-width:44ch}
.son-note{
  margin:20px 0 0;max-width:50ch;font-size:13px;line-height:22px;
  color:var(--on-violet-muted);
}
.son-note a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.son-hero .eyebrow{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18)}
.son-hero .eyebrow .soon{background:rgba(255,255,255,.18);color:#fff}
/* ---- the phone, showing the real app ----------------------------------- */
.son-phone{
  justify-self:center;width:min(248px,72vw);aspect-ratio:9/19.5;
  border-radius:36px;padding:8px;
  background:linear-gradient(160deg,rgba(255,255,255,.26),rgba(255,255,255,.05));
  box-shadow:0 34px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.09) inset;
}
.son-screen{position:relative;height:100%;border-radius:29px;overflow:hidden}
.son-shots{background:#0C0A18}
.son-shots img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;animation:son-cycle 16s infinite;
}
.son-shots img:nth-child(1){animation-delay:0s}
.son-shots img:nth-child(2){animation-delay:4s}
.son-shots img:nth-child(3){animation-delay:8s}
.son-shots img:nth-child(4){animation-delay:12s}
/* each is held, then handed on — a quarter of 16s each, the fade inside its
   own share so two are never both at full strength */
@keyframes son-cycle{
  0%      {opacity:0}
  2%, 23% {opacity:1}
  25%,100%{opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .son-shots img{animation:none;opacity:0}
  .son-shots img:nth-child(1){opacity:1}
}
@media (min-width:1100px){
  .son-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.6fr);gap:64px}
}
