/* The new hero — HN on the Design canvas (version 32), as one responsive layout.
 * Markup: tools/hero-new-markup.mjs. Behaviour: sinora-hero-new.js.
 *
 *   ≥1024      the 1440 board: photo in the middle, logo + headline on the reading
 *              side, the card on the other, the six paths in a glass dock below
 *   768–1023   one column, the phone board widened
 *   <768       the 390 board
 *
 * Every number without a clamp() is the board's own. Heading fonts go through
 * #sinoraGateway because the theme sets h1–h6 with !important at (0,2,1).
 *
 * Two departures from DESIGN.md, the founder's call on the canvas as in Sections
 * v2: liquid glass, and looping motion — which has a pause control (under the
 * card), stops while the hero is hidden, and never starts under reduced motion. */

/* ── the lock, as the gateway had it ─────────────────────────────────────── */
html.sgw-prelocked, html.sgw-prelocked body, body.sgw-locked { overflow: hidden !important; height: 100%; overscroll-behavior: none; }
html.sgw-prelocked #sinoraSiteContent, body.sgw-locked #sinoraSiteContent { display: none !important; }
body.sgw-unlocked #sinoraGateway { display: none; }
#sinoraSiteContent > .sh2-shell, #sinoraSiteContent > #sh2-hero-scroll { display: none !important; }
body.sgw-unlocked #siteHeader { position: sticky !important; top: 0 !important; z-index: 200; }
body.sgw-locked > .whatsapp-float, body.sgw-locked > #cookieBanner { visibility: hidden; }
/* the phone's bottom bar is not there while the hero is up, so neither is the room kept for it
   (sinora-nav.css): it left the locked page 96px the browser could scroll it by */
body.sgw-locked { padding-bottom: 0 !important; }
#sinorate, #sinora-ai, #tanilama, #hizmetler, #sinora-meaning { scroll-margin-top: 110px; }

/* ── foundation ──────────────────────────────────────────────────────────── */
#sinoraGateway.hn {
  --g: #090a09; --ink: #f8f6f2; --soft: #dedbd3; --muted: #b9b5ab; --gold: #e6ba5a; --edge: #f5d28a;
  --grad: linear-gradient(115deg, #f7d785, #e6b454 66%, #c38d35);
  --spring: linear(0, .0502, .1647, .3042, .4447, .573, .6827, .7723, .8425, .8956, .9344, .9618, .9804, .9925, .9998, 1.0039, 1.0058, 1.0063, 1.006, 1.0053, 1.0044, 1.0035, 1.0027, 1.002, 1.0015, 1);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --fb: Inter, system-ui, sans-serif; --fd: Inter, system-ui, sans-serif; --dw: 750; --dt: -.035em; --dws: normal; --h1lh: 1.2;
  --gut: clamp(28px, 3.6vw, 56px);
  --colA: clamp(340px, 31vw, 460px); --colB: clamp(290px, 23vw, 340px);
  --logoW: clamp(220px, 22.2vw, 320px); --h1S: clamp(28px, 2.5vw, 36px); --supS: 17px;
  --cardH: clamp(390px, calc(100svh - 400px), 420px);
  /* as tall as the screen allows, never wider than the room between the columns
     (its solid middle is 64% of its width, and it is 620/750 wide) */
  --photoH: min(clamp(460px, calc(100svh - 150px), 880px), calc((min(100vw, 1440px) - 2 * var(--gut) - var(--colA) - var(--colB)) * 1.89));
  --cols: 6; --tileH: 78px; --tileS: 13.5px; --dpad: 16px 20px 18px;
  --epad: 26px 28px 24px; --eduT: 24px;
  position: relative;
  isolation: isolate;
  background: var(--g);
  color: var(--ink);
  font-family: var(--fb);
  text-align: start;
  -webkit-font-smoothing: antialiased;
}
#sinoraGateway.hn--fa {
  --fb: IranSans, Tahoma, sans-serif; --fd: "w_Ray Extra Black", IranSans, sans-serif; --dw: 900; --dt: normal; --dws: .12em; --h1lh: 1.4;
  --h1S: clamp(34px, 3.2vw, 46px);
}
#sinoraGateway.hn *, #sinoraGateway.hn *::before, #sinoraGateway.hn *::after { box-sizing: border-box; }
#sinoraGateway.hn :where(h1, h2, h3, p, ul) { margin: 0; }
#sinoraGateway.hn :where(ul) { padding: 0; list-style: none; }
#sinoraGateway.hn button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#sinoraGateway.hn a { -webkit-tap-highlight-color: transparent; }
#sinoraGateway.hn :focus-visible { outline: 2px solid var(--edge); outline-offset: 3px; }
#sinoraGateway.hn svg { display: block; flex-shrink: 0; }
#sinoraGateway.hn em { font-style: normal; color: var(--gold); }
.hn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hn-press, #sinoraGateway.hn :is(.hn-menu, .hn-tile, .hn-pill, .hn-edu-x, .hn-pause, .hn-path-list button) {
  transition: transform 100ms ease-out, background-color .25s ease, border-color .25s ease, color .25s ease;
}
#sinoraGateway.hn :is(.hn-menu, .hn-tile, .hn-pill, .hn-edu-x, .hn-pause, .hn-path-list button):active { transform: scale(.97); }

.hn-scroll { height: 100svh; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #74623d #10110f; }
.hn-hero { position: relative; isolation: isolate; min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; overflow-x: clip; }

/* ── ground: bloom, photo, the quiet pool under the words ────────────────── */
.hn-bloom { position: absolute; z-index: 0; left: 50%; top: 60px; width: 900px; height: 640px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 166, 73, .14), rgba(214, 166, 73, 0)); }
/* The film's frame (2026-09-27): landscape, as wide as its height allows, and dissolving into the
   ground on both sides and below (the founder: «سیاهی‌ها ... یه‌هو تموم شده ... کم‌کم سیاه بشه»). The
   fades follow an S-curve (smoothstep, eleven stops) rather than a straight ramp: a straight ramp
   starts with a corner, and the eye reads that corner as an edge. --fade is how far each side's
   fade runs: on a desktop 36%, so the card and the headline sit only on film that is fading, and
   its solid middle stays between them, as the photo's did (sitehero-qa.mjs reads --fade). */
.hn-photo { position: absolute; z-index: 0; left: 50%; top: 0; height: var(--photoH); aspect-ratio: 16 / 9; max-width: 100%; translate: -50% 0; pointer-events: none;
  --fade: 36%; --mh: var(--mh-fade);
  --mh-fade: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .028) calc(var(--fade) * .1), rgba(0, 0, 0, .104) calc(var(--fade) * .2),
    rgba(0, 0, 0, .216) calc(var(--fade) * .3), rgba(0, 0, 0, .352) calc(var(--fade) * .4), rgba(0, 0, 0, .5) calc(var(--fade) * .5), rgba(0, 0, 0, .648) calc(var(--fade) * .6),
    rgba(0, 0, 0, .784) calc(var(--fade) * .7), rgba(0, 0, 0, .896) calc(var(--fade) * .8), rgba(0, 0, 0, .972) calc(var(--fade) * .9), #000 var(--fade),
    #000 calc(100% - var(--fade)), rgba(0, 0, 0, .972) calc(100% - var(--fade) * .9), rgba(0, 0, 0, .896) calc(100% - var(--fade) * .8), rgba(0, 0, 0, .784) calc(100% - var(--fade) * .7),
    rgba(0, 0, 0, .648) calc(100% - var(--fade) * .6), rgba(0, 0, 0, .5) calc(100% - var(--fade) * .5), rgba(0, 0, 0, .352) calc(100% - var(--fade) * .4),
    rgba(0, 0, 0, .216) calc(100% - var(--fade) * .3), rgba(0, 0, 0, .104) calc(100% - var(--fade) * .2), rgba(0, 0, 0, .028) calc(100% - var(--fade) * .1), rgba(0, 0, 0, 0) 100%);
  --mv: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .104) 2.8%, rgba(0, 0, 0, .352) 5.6%, rgba(0, 0, 0, .648) 8.4%, rgba(0, 0, 0, .896) 11.2%, #000 14%, #000 52%,
    rgba(0, 0, 0, .972) 56.6%, rgba(0, 0, 0, .896) 61.2%, rgba(0, 0, 0, .784) 65.8%, rgba(0, 0, 0, .648) 70.4%, rgba(0, 0, 0, .5) 75%, rgba(0, 0, 0, .352) 79.6%, rgba(0, 0, 0, .216) 84.2%,
    rgba(0, 0, 0, .104) 88.8%, rgba(0, 0, 0, .028) 93.4%, rgba(0, 0, 0, 0) 98%); }
#sinoraGateway.hn .hn-photo :is(img, video) { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 18%;
  -webkit-mask-image: var(--mh), var(--mv); -webkit-mask-composite: source-in; mask-image: var(--mh), var(--mv); mask-composite: intersect; }
/* the still (the founder, 2026-10-11: «همون عکسی که توی هیرو سیکشن قبلی جلو لپتاپ نشسته بودم»): the hero's
   own photo, drawn as the hero drew it before the film (722223b): on a desktop in its portrait frame
   (620 × 750 of the photo's height), centred in the film's wider one, with that frame's straight soft
   sides; on tablets and phones it fills the strip (below). Undimmed, as it was. */
#sinoraGateway.hn .hn-photo img { position: absolute; top: 0; left: 50%; translate: -50% 0; width: auto; aspect-ratio: 620 / 750;
  --mh: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  --mv: linear-gradient(to bottom, #000 55%, transparent 96%); }
/* the hand-off (the founder: «بعد که ویدیو ... دانلود می شد ترانزیشن اسموت می خورد و سمینار پلی می شد»): the
   film is a different, wider picture, so it rises over the still in one long eased dissolve and settles
   as it comes (a 3 % push that comes to rest); only once it is half in does the still go, drifting
   forward a little and softening into it, so the frame never dips to the dark ground and the two
   pictures never stand side by side. Opacity, scale and filter only; nothing is laid out again. Until
   the film can play through it stays transparent, and if it never can, the still is all there is; it
   comes back, gently, whenever the film leaves. */
#sinoraGateway.hn .hn-photo img { filter: none; transition: opacity .6s ease, scale .6s ease, filter .6s ease; }
#sinoraGateway.hn .hn-photo.is-film img { opacity: 0; scale: 1.04; filter: blur(6px) brightness(.8);
  transition: opacity 1.4s cubic-bezier(.45, 0, .55, 1) .7s, scale 2.1s cubic-bezier(.2, 0, 0, 1), filter 1.4s ease .7s; }
#sinoraGateway.hn .hn-photo video { position: absolute; inset: 0; opacity: 0; scale: 1.03;
  transition: opacity 1.6s cubic-bezier(.45, 0, .2, 1), scale 2.4s cubic-bezier(.2, 0, 0, 1); }
#sinoraGateway.hn .hn-photo.is-film video { opacity: 1; scale: 1; }
/* only when the film waits for a tap (a slow or saving connection, or autoplay refused): set like
   the card's pause, larger, a 56px target; the stage lets a tap through between its two columns */
#sinoraGateway.hn .hn-film-play { position: absolute; z-index: 2; left: 50%; top: 46%; translate: -50% -50%; width: 56px; height: 56px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(12, 12, 11, .5); color: #f4f1ea; cursor: pointer; pointer-events: auto;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
#sinoraGateway.hn .hn-film-play[hidden] { display: none; }
#sinoraGateway.hn .hn-film-play:hover { border-color: rgba(201, 169, 97, .6); color: var(--gold); }
#sinoraGateway.hn .hn-film-play:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hn-film-play svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
/* tapped, and the film still on its way: the button breathes until it fades in */
#sinoraGateway.hn .hn-film-play.is-wait { pointer-events: none; animation: hnFilmWait 1.4s ease-in-out infinite; }
@keyframes hnFilmWait { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { #sinoraGateway.hn .hn-photo :is(img, video) { transition: none !important; } #sinoraGateway.hn .hn-film-play.is-wait { animation: none; opacity: .6; } }
#sinoraGateway.hn .hn-stage { pointer-events: none; }
#sinoraGateway.hn .hn-stage > * { pointer-events: auto; }
/* the quiet pool under the words: since the film is landscape it runs behind them (2026-09-27), so
   the pool is wider, darker at its heart and centred on the words' own column, and the film itself
   is dimmed a little — the words stand alone, and the ground stays as dark and quiet as before */
.hn-vig { position: absolute; z-index: 1; top: 10px; width: min(780px, 54vw); height: 760px; pointer-events: none;
  inset-inline-start: calc(max(0px, (100% - 1440px) / 2) + var(--gut) + var(--colA) / 2 - min(780px, 54vw) / 2);
  background: radial-gradient(closest-side, rgba(9, 10, 9, .9) 0%, rgba(9, 10, 9, .74) 45%, rgba(9, 10, 9, .36) 75%, rgba(9, 10, 9, 0) 100%); }
#sinoraGateway.hn .hn-photo video { filter: brightness(.76) saturate(.92); }

/* ── header ──────────────────────────────────────────────────────────────── */
.hn-head { position: relative; z-index: 6; display: flex; align-items: center; justify-content: flex-end; gap: 12px; width: 100%; max-width: 1440px; margin-inline: auto; padding: 26px var(--gut) 0; }
.hn-actions { display: flex; align-items: center; gap: 12px; }
.hn-lang { display: flex; align-items: center; gap: 7px; direction: ltr; font-family: Inter, system-ui, sans-serif; font-size: 14px; }
#sinoraGateway.hn .hn-lang a { color: rgba(248, 246, 242, .62); text-decoration: none; padding: 6px 2px; }
#sinoraGateway.hn .hn-lang a[aria-current] { color: var(--gold); font-weight: 700; }
.hn-lang span { color: rgba(248, 246, 242, .3); }
/* «ورود / داشبورد» (2026-09-26): set like TR | FA — same size, ink and divider; gold on hover */
#sinoraGateway.hn .hn-acc { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 2px; font-family: var(--fb); font-size: 14px;
  color: rgba(248, 246, 242, .62); text-decoration: none; white-space: nowrap; transition: color .25s ease; }
.hn-acc i { font-style: normal; color: rgba(248, 246, 242, .3); }
@media (hover: hover) { #sinoraGateway.hn .hn-acc:hover { color: var(--gold); } }
#sinoraGateway.hn .hn-menu { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--ink); }
.hn-menu i { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

/* ── stage: copy | (photo) | card ────────────────────────────────────────── */
/* wider than the board, the composition keeps the board's width around the photo */
.hn-stage { position: relative; z-index: 3; display: grid; grid-template-columns: var(--colA) minmax(0, 1fr) var(--colB); align-items: center; width: 100%; max-width: 1440px; margin-inline: auto; padding: 20px var(--gut) 28px; }
.hn-copy { grid-column: 1; position: relative; text-align: center; }
.hn-chat { grid-column: 3; position: relative; }

.hn-orbit { position: absolute; z-index: -1; inset-inline-start: -86px; top: -48px; width: 600px; height: 360px; pointer-events: none; overflow: visible; }
.hn-orbit ellipse { fill: none; stroke: #e6ba5a; stroke-width: 1; }
.hn-orbit circle { fill: #f7d785; }
.hn-orbit .hn-g1 { filter: drop-shadow(0 0 6px rgba(247, 215, 133, .9)); offset-path: path('M20,300 a480,170 0 1,0 960,0 a480,170 0 1,0 -960,0'); animation: hnGlint 13s linear infinite; }
.hn-orbit .hn-g2 { filter: drop-shadow(0 0 5px rgba(247, 215, 133, .8)); offset-path: path('M120,300 a380,132 0 1,1 760,0 a380,132 0 1,1 -760,0'); animation: hnGlint 19s linear infinite; }
.hn-orbit .hn-rot { transform-box: view-box; transform-origin: 50% 50%; animation: hnDrift 22s ease-in-out infinite; }
@keyframes hnDrift { 0%, 100% { transform: rotate(-11deg); } 50% { transform: rotate(-5deg); } }
@keyframes hnGlint { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* the logo: ivory base, the gold drawn in, a glint across the gold, the star */
.hn-logo { position: relative; width: var(--logoW); aspect-ratio: 1200 / 370; margin: 0 auto; }
#sinoraGateway.hn .hn-logo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hn-lg-ivory { animation: hnFade .9s ease both; }
.hn-lg-gold { animation: hnWipe 1.5s cubic-bezier(.65, 0, .35, 1) .35s both; filter: drop-shadow(0 0 16px rgba(230, 186, 90, .22)); }
.hn-lg-shine, .hn-mk-shine { filter: brightness(1.95) saturate(1.15);
  -webkit-mask-image: linear-gradient(115deg, transparent 44%, #000 50%, transparent 56%); mask-image: linear-gradient(115deg, transparent 44%, #000 50%, transparent 56%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 130% 0; mask-position: 130% 0;
  animation: hnShine 5.2s ease-in-out 2.2s infinite; }
.hn-mk-shine { animation-delay: 3.1s; }
.hn-lg-star { transform-origin: 40.6% 23.8%; animation: hnStar 3.4s ease-in-out 1.8s infinite; }
@keyframes hnFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hnWipe { from { clip-path: inset(100% 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hnShine { 0% { -webkit-mask-position: 130% 0; mask-position: 130% 0; } 55%, 100% { -webkit-mask-position: -30% 0; mask-position: -30% 0; } }
@keyframes hnStar { 0%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 0 rgba(247, 215, 133, 0)); } 45% { transform: scale(1.45) rotate(45deg); filter: drop-shadow(0 0 10px rgba(247, 215, 133, .95)); } }

#sinoraGateway.hn .hn-eyebrow { margin-top: 16px; color: var(--gold); font-family: var(--fb); font-size: 13px; font-weight: 700; line-height: 1.9; display: flex; align-items: center; justify-content: center; gap: 12px; }
.hn-eyebrow::before, .hn-eyebrow::after { content: ""; flex: none; width: 34px; height: 1px; background: var(--gold); opacity: .5; }
#sinoraGateway.hn--tr .hn-eyebrow { letter-spacing: .06em; }
#sinoraGateway.hn .hn-h1 { margin-top: 10px; font-family: var(--fd) !important; font-weight: var(--dw); letter-spacing: var(--dt); word-spacing: var(--dws); font-size: var(--h1S); line-height: var(--h1lh); color: var(--ink); text-wrap: balance; }
.hn-h1 > span { display: block; }
#sinoraGateway.hn--fa .hn-h1 > span { white-space: nowrap; }
#sinoraGateway.hn .hn-support { margin-top: 14px; color: var(--soft); font-family: var(--fb); font-size: var(--supS); line-height: 1.8; text-wrap: balance; }

/* ── the card: the homepage's, as it plays there ─────────────────────────── */
.hn-card { position: relative; width: 100%; height: var(--cardH); display: flex; flex-direction: column; border-radius: 26px; background: #111110; border: 1px solid rgba(255, 255, 255, .09);
  overflow: hidden; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 70px rgba(0, 0, 0, .5); transition: border-color .25s ease, transform .1s ease-out; }
.hn-card:hover { border-color: rgba(214, 184, 120, .35); }
.hn-card:active { transform: scale(.985); }
.hn-c-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .025); }
.hn-mark { position: relative; width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(120% 120% at 32% 18%, #2a261e, #0e0d0b 68%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -6px 12px rgba(201, 169, 97, .08), 0 6px 16px rgba(0, 0, 0, .45); }
.hn-mark::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.25px; pointer-events: none;
  background: conic-gradient(from 20deg, rgba(240, 222, 176, .95), rgba(201, 169, 97, .28) 22%, rgba(232, 212, 168, .08) 48%, rgba(201, 169, 97, .28) 74%, rgba(240, 222, 176, .95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hnRim 10s linear infinite; }
.hn-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(201, 169, 97, .16), rgba(201, 169, 97, 0)); }
@keyframes hnRim { to { transform: rotate(360deg); } }
/* the logo's own S, cropped from the real layers (x 66–273, y 30–326 of 1200×370) */
.hn-mk { --s: .0946; position: relative; z-index: 1; width: calc(207px * var(--s)); height: calc(296px * var(--s)); overflow: hidden; transform: translate(-.5px, .5px); }
#sinoraGateway.hn .hn-mk img { position: absolute; left: calc(-66px * var(--s)); top: calc(-30px * var(--s)); width: calc(1200px * var(--s)); height: calc(370px * var(--s)); max-width: none; }
.hn-mk-gold { filter: drop-shadow(0 0 3px rgba(230, 186, 90, .35)); }
.hn-c-who { flex-grow: 1; min-width: 0; }
#sinoraGateway.hn .hn-c-motto { color: var(--gold); font-size: 11px; font-weight: 700; line-height: 1.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sinoraGateway.hn--tr .hn-c-motto { font-weight: 600; letter-spacing: .01em; }
#sinoraGateway.hn .hn-c-name { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 14.5px; line-height: 1.35; color: var(--ink); white-space: nowrap; }
#sinoraGateway.hn--fa .hn-c-name { text-align: right; }
.hn-c-name b { font-weight: 750; letter-spacing: .12em; }
.hn-c-name span { color: #e8d4a8; font-weight: 600; letter-spacing: .02em; }
#sinoraGateway.hn .hn-c-status { display: flex; align-items: center; gap: 6px; color: #a7a39a; font-size: 11.5px; line-height: 1.5; }
.hn-c-status i { width: 5px; height: 5px; border-radius: 50%; background: #8a867d; }
.hn-c-exp { width: 18px; height: 18px; fill: none; stroke: #a7a39a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hn-thread { flex-grow: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 18px; overflow: hidden; transition: opacity .26s ease; }
.hn-thread.is-swap { opacity: 0; }
.hn-me { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 100%; }
.hn-nm { padding-inline: 8px; color: #8a867d; font-size: 11px; line-height: 1.4; }
.hn-it { align-self: flex-start; max-width: 100%; }
.hn-slot { position: relative; display: flex; flex-direction: column; max-width: 100%; }
.hn-me .hn-slot { align-items: flex-end; } .hn-it .hn-slot { align-items: flex-start; }
.hn-bub { position: relative; max-width: 88%; padding: 8px 12px; border-radius: 18px; font-size: 13.5px; line-height: 1.75; transition: opacity .32s ease; }
#sinoraGateway.hn--fa .hn-bub { -webkit-text-stroke: .2px currentColor; }
#sinoraGateway.hn--tr .hn-bub { font-weight: 450; line-height: 1.45; }
.hn-bub.is-ghost { opacity: 0; }
.hn-bub--me { background: #2b2925; color: #f4f1ea; }
.hn-bub--gold { background: linear-gradient(180deg, #d3b878, #c3a262); color: #1b150a; }
.hn-dots { position: absolute; bottom: 0; display: flex; gap: 4px; padding: 11px 13px; }
.hn-me .hn-dots { inset-inline-end: 0; } .hn-it .hn-dots { inset-inline-start: 0; }
.hn-dots i { width: 6px; height: 6px; border-radius: 50%; background: #a7a39a; animation: hnBob 1.2s ease-in-out infinite; }
.hn-bub--gold.hn-dots i { background: #3a2f17; }
.hn-dots i:nth-child(2) { animation-delay: .15s; } .hn-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hnBob { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.hn-rest { color: transparent; -webkit-text-stroke-color: transparent; }
.hn-bub:not(.hn-dots)::after { content: ""; position: absolute; bottom: 0; width: 12px; height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M12 0C12 9 7 14 0 16C6 16 10 15 12 13Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M12 0C12 9 7 14 0 16C6 16 10 15 12 13Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.hn-bub--gold::after { background: #c3a262; } .hn-bub--me::after { background: #2b2925; }
#sinoraGateway.hn--tr .hn-bub--gold::after, #sinoraGateway.hn--fa .hn-bub--me::after { left: -5px; }
#sinoraGateway.hn--tr .hn-bub--me::after, #sinoraGateway.hn--fa .hn-bub--gold::after { right: -5px; transform: scaleX(-1); }
.hn-comp { display: flex; align-items: center; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.hn-comp span:first-child { flex-grow: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: #0b0b0a; color: #8a867d; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hn-send { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #8a867d; }
.hn-send svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hn-live { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
#sinoraGateway.hn .hn-live p { display: flex; align-items: center; gap: 7px; color: #8a867d; font-size: 12px; }
.hn-live p i { width: 6px; height: 6px; border-radius: 50%; background: #5be38a; box-shadow: 0 0 6px rgba(91, 227, 138, .55); }
#sinoraGateway.hn .hn-pause { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #8a867d; }
#sinoraGateway.hn .hn-pause:hover { color: var(--ink); border-color: rgba(255, 255, 255, .22); }
.hn-pause svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── the six paths, in glass ─────────────────────────────────────────────── */
.hn-dock { position: relative; z-index: 5; width: min(1100px, calc(100% - 2 * var(--gut))); margin: 0 auto 28px; border-radius: 28px; padding: var(--dpad);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022) 48%, rgba(255, 255, 255, .045));
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 30px 80px rgba(0, 0, 0, .5); }
.hn-dock::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 46%; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%); }
.hn-rim { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.hn-rim::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .07) 32%, rgba(255, 255, 255, 0) 58%, rgba(230, 186, 90, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hn-rim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 78%) var(--my, -12%), rgba(255, 236, 200, .12), rgba(255, 236, 200, 0) 62%); }
#sinoraGateway.hn .hn-dock h2 { position: relative; text-align: center; color: var(--soft); font-family: var(--fb) !important; font-size: 15px; line-height: 1.6; font-weight: 700; }
#sinoraGateway.hn--fa .hn-dock h2 { font-family: var(--fd) !important; font-weight: 900; word-spacing: .12em; }
.hn-tiles { position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin-top: 12px; padding: 5px; border-radius: 22px; border: 1px solid rgba(238, 225, 188, .12); }
/* the dashboard's glass: same material and spring, slides to the chosen path and stretches on the way */
.hn-tglass { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 20px; pointer-events: none; opacity: 0; will-change: transform;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)), rgba(201, 169, 97, .14); border: 1px solid rgba(232, 212, 168, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -8px 14px rgba(201, 169, 97, .12), 0 8px 22px rgba(201, 169, 97, .22);
  transition: transform .56s var(--spring), opacity .2s ease; }
.hn-tglass.is-on { opacity: 1; }
.hn-tglass.is-jump { transition: opacity .2s ease; }
.hn-tglass::before { content: ""; position: absolute; inset: 1px 1px 55% 1px; border-radius: 19px 19px 50% 50% / 19px 19px 12px 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent); opacity: .35; }
.hn-tglass::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(180deg, #e8d4a8, #c9a961); }
#sinoraGateway.hn .hn-tile { position: relative; z-index: 1; min-width: 0; height: var(--tileH); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 6px;
  border: 0; border-radius: 20px; background: transparent; color: #cfcbc2; font-family: var(--fb); font-size: var(--tileS); line-height: 1.3; text-align: center; white-space: normal; overflow-wrap: normal; }
.hn-tile span { max-width: 100%; }
#sinoraGateway.hn .hn-tile:hover { color: var(--ink); }
#sinoraGateway.hn .hn-tile.is-cur { color: #e8d4a8; }
.hn-tile svg, .hn-edu-ic svg, .hn-path-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

/* the explainer opens above the chosen tile and grows out of it. sinora-hero-new.js sets --ex
   (where it sits), --ox (the tile's centre inside it: the tip and the origin of its growth), --fit
   (its scale, below 1 only on a desktop too short for it) and, on a desktop, --bw (its text column)
   and --pw/--ph (the poster). Another tile moves it across on the same spring as the glass. */
.hn-scrim { position: fixed; inset: 0; z-index: 4; background: rgba(5, 5, 4, .68); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.hn-scrim.is-on { opacity: 1; pointer-events: auto; }
.hn-edu { position: absolute; bottom: calc(100% + 16px); left: 0; width: max-content; display: flex; align-items: stretch; gap: 22px; border-radius: 26px; padding: var(--epad); z-index: 6;
  background: linear-gradient(160deg, rgba(28, 26, 22, .94), rgba(14, 13, 11, .96)); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 40px 90px rgba(0, 0, 0, .6);
  translate: var(--ex, 0px) 0; transform-origin: var(--ox, 50%) calc(100% + 12px);
  opacity: 0; transform: translateY(14px) scale(calc(var(--fit, 1) * .84)); pointer-events: none;
  transition: opacity .2s ease, transform .52s var(--spring), translate .52s var(--spring), transform-origin .52s var(--spring); }
.hn-edu.is-on { opacity: 1; transform: scale(var(--fit, 1)); pointer-events: auto; }
.hn-edu.is-place, .hn-edu.is-place .hn-edu-tip { transition: none; }
.hn-edu-body { position: relative; flex: none; width: var(--bw, 640px); display: flex; flex-direction: column; transition: opacity .16s ease; }
.hn-edu-body.is-swap { opacity: 0; }
/* the tip: under the explainer, pointing down at its tile */
.hn-edu-tip { position: absolute; top: calc(100% - 1px); left: 0; width: 24px; height: 12px; margin-left: -12px; translate: var(--ox, 50%) 0; pointer-events: none;
  background: rgba(15, 14, 12, .97); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: translate .52s var(--spring); }
.hn-edu-head { display: flex; align-items: flex-start; gap: 14px; }
.hn-edu-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--gold); background: linear-gradient(120deg, rgba(214, 166, 73, .18), rgba(180, 129, 39, .12)); border: 1px solid rgba(230, 186, 90, .4); }
#sinoraGateway.hn .hn-edu-kick { color: var(--gold); font-size: 12.5px; font-weight: 700; line-height: 1.7; }
#sinoraGateway.hn--tr .hn-edu-kick { letter-spacing: .08em; text-transform: uppercase; }
#sinoraGateway.hn .hn-edu h3 { font-family: var(--fd) !important; font-weight: var(--dw); letter-spacing: var(--dt); word-spacing: var(--dws); font-size: var(--eduT); line-height: 1.45; color: var(--ink); outline: 0; }
#sinoraGateway.hn--tr .hn-edu h3 { line-height: 1.2; }
#sinoraGateway.hn .hn-edu-x { margin-inline-start: auto; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); color: var(--soft); padding: 0; }
.hn-edu-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
#sinoraGateway.hn .hn-edu-lead { margin-top: 12px; color: var(--soft); font-size: 15px; line-height: 1.85; }
#sinoraGateway.hn--tr .hn-edu-lead { line-height: 1.55; }
.hn-edu-list { margin-top: 14px !important; display: grid; gap: 8px; }
#sinoraGateway.hn .hn-edu-list li { display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06);
  color: var(--soft); font-size: 14.5px; line-height: 1.75; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .45s var(--ease); }
#sinoraGateway.hn--tr .hn-edu-list li { line-height: 1.5; }
#sinoraGateway.hn .hn-edu.is-on .hn-edu-list li { opacity: 1; transform: none; }
.hn-tick { width: 22px; height: 22px; flex: none; margin-top: 2px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #171309; }
.hn-tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.hn-edu-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 12px; }
#sinoraGateway.hn .hn-pill { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; border: 1px solid var(--edge); background: var(--grad); color: #171309;
  font-family: var(--fb); font-weight: 700; font-size: 15px; box-shadow: inset 0 1px 1px rgba(255, 233, 175, .4), 0 6px 22px rgba(218, 161, 66, .14); }
.hn-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── the menu: every path, one tap ───────────────────────────────────────── */
#sinoraGateway .hn-dialog { width: min(520px, calc(100vw - 32px)); max-height: min(84svh, 680px); margin: auto; padding: 20px; border: 0; border-radius: 26px; color: var(--ink);
  background: linear-gradient(160deg, rgba(28, 26, 22, .97), rgba(14, 13, 11, .98)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 40px 90px rgba(0, 0, 0, .6); }
#sinoraGateway .hn-dialog::backdrop { background: rgba(5, 5, 4, .68); }
.hn-dialog-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
#sinoraGateway .hn-dialog h2 { flex: 1; font-family: var(--fd) !important; font-weight: var(--dw); word-spacing: var(--dws); letter-spacing: var(--dt); font-size: 18px; line-height: 1.5; }
.hn-dialog form { margin: 0; }
.hn-path-list { display: grid; gap: 8px; }
#sinoraGateway .hn-path-list button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .035); color: var(--soft); text-align: start; }
#sinoraGateway .hn-path-list button:hover { border-color: rgba(230, 186, 90, .35); background: rgba(255, 255, 255, .06); }
.hn-path-list button > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.hn-path-list strong { color: var(--ink); font-size: 15px; }
.hn-path-list small { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.hn-path-list button > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.hn-path-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--gold); background: rgba(214, 166, 73, .1); border: 1px solid rgba(230, 186, 90, .3); }

/* ── paused: every loop holds where it is ────────────────────────────────── */
#sinoraGateway.hn.is-paused :is(.hn-rot, .hn-g1, .hn-g2, .hn-lg-shine, .hn-lg-star, .hn-mk-shine, .hn-dots i),
#sinoraGateway.hn.is-paused .hn-mark::before { animation-play-state: paused; }

/* ── narrower desktops: the eyebrow drops its rules before it would wrap ─── */
@media (min-width: 1024px) and (max-width: 1199px) and (min-aspect-ratio: 5/6) {
  #sinoraGateway.hn .hn-eyebrow { font-size: 12px; }
  .hn-eyebrow::before, .hn-eyebrow::after { display: none; }
}
@media (min-width: 1024px) and (max-height: 760px) and (min-aspect-ratio: 5/6) {
  .hn-head { padding-top: 18px; }
  .hn-stage { padding-block: 8px 16px; }
  .hn-dock { margin-bottom: 18px; }
}

/* ── 768–1023, portrait screens and phones: one column ──────────────────── */
@media (max-width: 1023px), (max-aspect-ratio: 5/6) {
  #sinoraGateway.hn { --cols: 3; --tileH: 86px; --tileS: clamp(11.5px, 3.2vw, 13px); --dpad: 16px 12px 14px; --epad: 20px 18px 18px; --eduT: 20px; --cardH: 420px; }
  .hn-hero { display: flex; flex-direction: column; }
  .hn-stage { display: contents; }
  .hn-head { position: absolute; top: 14px; inset-inline: 16px; width: auto; max-width: none; margin: 0; padding: 0; justify-content: space-between; }
  .hn-actions { gap: 8px; }
  #sinoraGateway.hn .hn-menu { width: 40px; height: 40px; }
  .hn-copy { order: 1; z-index: 3; padding: 92px 16px 0; }
  .hn-photo { order: 2; position: relative; left: auto; top: auto; translate: none; width: 100%; height: 300px; aspect-ratio: auto; margin-top: 10px;
    --mh: linear-gradient(#000 0 0);
    --mv: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .104) 3.2%, rgba(0, 0, 0, .352) 6.4%, rgba(0, 0, 0, .648) 9.6%, rgba(0, 0, 0, .896) 12.8%, #000 16%, #000 62%,
      rgba(0, 0, 0, .972) 65.8%, rgba(0, 0, 0, .896) 69.6%, rgba(0, 0, 0, .784) 73.4%, rgba(0, 0, 0, .648) 77.2%, rgba(0, 0, 0, .5) 81%, rgba(0, 0, 0, .352) 84.8%,
      rgba(0, 0, 0, .216) 88.6%, rgba(0, 0, 0, .104) 92.4%, rgba(0, 0, 0, .028) 96.2%, rgba(0, 0, 0, 0) 100%); }
  /* in its own strip, with no words on it, the film needs only a touch of dimming */
  #sinoraGateway.hn .hn-photo video { filter: brightness(.9); }
  /* the still fills the strip, as it did before the film, under the film's own soft edges */
  #sinoraGateway.hn .hn-photo img { left: 0; translate: none; width: 100%; aspect-ratio: auto; --mh: inherit; --mv: inherit; }
  .hn-chat { order: 3; z-index: 3; margin: 20px 18px 0; }
  .hn-scrim { order: 4; }
  .hn-dock { order: 5; width: auto; margin: 28px 10px 36px; }
  .hn-vig { display: none; }
  .hn-bloom { left: -60px; right: -60px; top: 20px; width: auto; height: 520px; translate: none; }
  .hn-orbit { inset-inline-start: 50%; top: 40px; width: 560px; height: 336px; margin-inline-start: -280px; }
  .hn-edu { bottom: calc(100% + 14px); left: -2px; right: -2px; width: auto; display: block; }
  .hn-edu-body { width: auto; }
  #sinoraGateway.hn--fa .hn-h1 > span { white-space: normal; }
  #sinoraGateway.hn .hn-tile { padding: 0 4px; }
}
/* the phone board, widened: the same column with room around it */
@media (min-width: 768px) and (max-width: 1023px), (min-width: 768px) and (max-aspect-ratio: 5/6) {
  #sinoraGateway.hn { --logoW: 300px; --h1S: 34px; }
  #sinoraGateway.hn--fa { --h1S: 40px; }
  .hn-head { top: 22px; inset-inline: 28px; }
  .hn-copy { padding: 110px 28px 0; max-width: 640px; margin: 0 auto; }
  /* a frame with the ground around it: the desktop's long S-curve on all four sides, a little dimmer */
  .hn-photo { width: min(680px, 100%); height: 420px; margin: 16px auto 0; --fade: 22%; --mh: var(--mh-fade);
    --mv: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .028) 2%, rgba(0, 0, 0, .104) 4%, rgba(0, 0, 0, .216) 6%, rgba(0, 0, 0, .352) 8%, rgba(0, 0, 0, .5) 10%,
      rgba(0, 0, 0, .648) 12%, rgba(0, 0, 0, .784) 14%, rgba(0, 0, 0, .896) 16%, rgba(0, 0, 0, .972) 18%, #000 20%, #000 60%, rgba(0, 0, 0, .972) 64%, rgba(0, 0, 0, .896) 68%,
      rgba(0, 0, 0, .784) 72%, rgba(0, 0, 0, .648) 76%, rgba(0, 0, 0, .5) 80%, rgba(0, 0, 0, .352) 84%, rgba(0, 0, 0, .216) 88%, rgba(0, 0, 0, .104) 92%, rgba(0, 0, 0, .028) 96%, rgba(0, 0, 0, 0) 100%); }
  #sinoraGateway.hn .hn-photo video { filter: brightness(.8) saturate(.92); }
  .hn-chat { width: min(460px, calc(100% - 56px)); margin: 24px auto 0; }
  .hn-dock { width: min(720px, calc(100% - 40px)); margin: 32px auto 44px; }
}
@media (max-width: 767px) {
  #sinoraGateway.hn { --logoW: 250px; --h1S: 30px; --supS: 14.5px; }
  #sinoraGateway.hn .hn-eyebrow { margin-top: 14px; font-size: 12px; }
}
@media (max-width: 350px) {
  #sinoraGateway.hn { --cols: 2; --logoW: 220px; --h1S: 26px; }
  .hn-orbit { display: none; }
}

/* ── the founder's banners (2026-09-25) ──────────────────────────────────────
   A landscape desktop: the chosen path's 9:16 poster inside the explainer, beside its text, on
   the side away from the reading start (left in Persian, right in Turkish), settling a beat after
   the explainer itself. One column: the wide banner at the top of the explainer's text. Soft
   corners; either image is the action too. */
.hn-poster { position: relative; flex: none; width: var(--pw, 280px); height: var(--ph, auto); margin: 0; border-radius: 18px; background: rgba(255, 255, 255, .05); cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .3s ease .06s, transform .6s var(--spring) .06s; }
.hn-edu.is-on .hn-poster { opacity: 1; transform: none; }
.hn-edu.is-on .hn-poster.is-swap { opacity: 0; transition: opacity .15s ease; }
.hn-poster[hidden] { display: none; }
.hn-poster img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 44px rgba(0, 0, 0, .45); transition: opacity .25s ease, transform .12s ease-out, box-shadow .2s ease; }
.hn-poster:hover img { box-shadow: 0 0 0 1px rgba(230, 186, 90, .5), 0 18px 44px rgba(0, 0, 0, .45); }
.hn-poster:active img { transform: scale(.99); }
.hn-edu-art { margin-top: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hn-edu-art[hidden] { display: none; }
.hn-edu-art img { display: block; width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 30px rgba(0, 0, 0, .4); transition: opacity .25s ease, transform .12s ease-out; }
:is(.hn-poster, .hn-edu-art) img.is-loading { opacity: 0; }
.hn-edu-art:active img { transform: scale(.99); }
@media (min-width: 1024px) and (min-aspect-ratio: 5/6) { .hn-edu-art { display: none !important; } }
@media (max-width: 1023px), (max-aspect-ratio: 5/6) { .hn-poster { display: none !important; } }
/* a phone: the wide banner as wide as the explainer allows, nearly edge to edge */
@media (max-width: 767px) { .hn-edu-art { margin-inline: -12px; } }

/* ── the section under the dock (phones, 2026-09-25) ─────────────────────────
   The founder: «گزینه‌ها که زده میشه ... همونجا باکس باز بشه دقیقا همون سیکشن». On a phone an
   explainer's button shows its homepage section right under the dock. The section stays where it
   lives, in #sinoraSiteContent, so every rule and script of the site still reaches it unchanged;
   it is simply the one thing of the site that shows. The page scrolls instead of the hero's own
   scroller; the site's header, the other sections, the footer and the floating buttons stay
   hidden, as they are while the hero is up. sinora-hero-new.js marks the section
   (data-hn-peek-on) and sets body.sgw-peek. Not tied to a width: a phone turned sideways keeps
   what it opened. */
body.sgw-locked.sgw-peek { overflow: visible !important; overflow-x: hidden !important; height: auto !important; overscroll-behavior: auto; }
body.sgw-peek .hn-scroll { height: auto; overflow: visible; }
body.sgw-locked.sgw-peek #sinoraSiteContent { display: block !important; }
body.sgw-peek #sinoraSiteContent > :not([data-hn-peek-on]) { display: none !important; }
/* an explainer opened over the section dims it too: the hero rises above the site while its scrim
   is on, and stays there until the scrim has faded */
body.sgw-peek #sinoraGateway.hn { transition: z-index 0s .3s; }
body.sgw-peek #sinoraGateway.hn:has(.hn-scrim.is-on) { z-index: 30; transition: none; }
/* the bar under the dock: which path is showing, and the way out. It tucks up into the dock's own
   margin, which stays as it is, so everything down to the dock is laid out as when it is closed */
.hn-peek { order: 6; position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; margin: -26px 18px 4px; }
.hn-peek[hidden] { display: none; }
#sinoraGateway.hn .hn-peek-kick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; font-weight: 700; line-height: 1.6; }
#sinoraGateway.hn--tr .hn-peek-kick { letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.hn-peek-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#sinoraGateway.hn .hn-peek-x { width: 44px; height: 44px; margin-inline-start: 0; }
/* the foot after the section: close, or the whole site around it. Outside the hero, so it carries
   its own tokens; glass pills, the secondary action (V2 §4) */
.hn-peek-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 12px 16px 44px; background: #090a09; color: #f8f6f2;
  font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.hn-peek-foot[lang="fa"] { font-family: IranSans, Tahoma, sans-serif; }
.hn-peek-foot[hidden] { display: none; }
.hn-peek-foot button { min-height: 48px; margin: 0; padding: 0 20px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .055); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  color: inherit; font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.3; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform 100ms ease-out, border-color .25s ease; }
.hn-peek-foot[lang="fa"] button { font-weight: 700; }
.hn-peek-foot button:hover { border-color: rgba(230, 186, 90, .35); }
.hn-peek-foot button:active { transform: scale(.97); }
.hn-peek-foot button:focus-visible { outline: 2px solid #f5d28a; outline-offset: 3px; }
.hn-peek-foot svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── preferences ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  :is(.hn-edu-art, .hn-poster) img { transition: none; }
  #sinoraGateway.hn .hn-poster { transition: opacity .15s ease !important; transform: none !important; }
  #sinoraGateway.hn .hn-edu-tip { transition: none !important; }
  #sinoraGateway.hn :is(.hn-rot, .hn-g1, .hn-g2, .hn-lg-shine, .hn-lg-star, .hn-mk-shine, .hn-dots i), #sinoraGateway.hn .hn-mark::before { animation: none !important; }
  #sinoraGateway.hn :is(.hn-lg-gold, .hn-lg-ivory) { animation-duration: 1ms !important; animation-delay: 0ms !important; }
  #sinoraGateway.hn :is(.hn-edu, .hn-tglass) { transition: opacity .15s ease !important; }
  #sinoraGateway.hn .hn-edu { transform: scale(var(--fit, 1)) !important; }
  #sinoraGateway.hn .hn-edu-list li { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  #sinoraGateway.hn.hn :is(.hn-dock, .hn-edu, .hn-menu) { background: #161512; -webkit-backdrop-filter: none; backdrop-filter: none; }
  #sinoraGateway.hn .hn-edu-tip { background: #161512; }
  .hn-peek-foot button { background: #161512; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  #sinoraGateway.hn.hn :is(.hn-dock, .hn-edu, .hn-card) { border: 1px solid rgba(248, 246, 242, .5); }
  .hn-peek-foot button { border-color: rgba(248, 246, 242, .5); }
}
@media (prefers-reduced-motion: reduce) {
  .hn-peek-foot button { transition: border-color .25s ease; }
  .hn-peek-foot button:active { transform: none; }
}
