/* Plate's sales surfaces (sell.js), shared by the English homepage and /he/.
   Logical properties throughout, so the same rules read right to left in Hebrew. */
:root {
  --s-bg: #0b0b0c; --s-surface: #121214; --s-raise: #18181b; --s-line: rgba(255,255,255,.08); --s-line-2: rgba(255,255,255,.14);
  --s-text: #f4f3ef; --s-muted: #a2a1a6; --s-dim: #6f6e74; --s-orange: #ff5c00; --s-orange-2: #ff7a2e;
  --s-font: "Geist", "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-radius: 16px;
}
html[lang="he"] { --s-font: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ------------------------------------------------------------------ buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--s-font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 0; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s; white-space: nowrap; }
.s-btn:active { transform: scale(.97); }
.s-btn-solid { background: var(--s-orange); color: #0b0b0c; box-shadow: 0 10px 40px -10px rgba(255,92,0,.65), inset 0 1px 0 rgba(255,255,255,.35); }
.s-btn-solid:hover { background: var(--s-orange-2); transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(255,92,0,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.s-btn-ghost { background: rgba(255,255,255,.06); color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-line-2); backdrop-filter: blur(10px); }
.s-btn-ghost:hover { background: rgba(255,255,255,.11); transform: translateY(-2px); }
.s-btn s, .s-price s { color: inherit; opacity: .55; font-weight: 500; text-decoration-thickness: 1.5px; }
.s-btn:focus-visible, .sell-card:focus-visible, .sell-reel-item:focus-visible { outline: 2px solid var(--s-orange); outline-offset: 3px; }

.s-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 12px/1 var(--s-font); letter-spacing: .14em; text-transform: uppercase; color: var(--s-orange); }
html[lang="he"] .s-eyebrow { letter-spacing: .02em; font-size: 14px; }
.s-h2 { margin: 0; font: 600 clamp(38px, 5.2vw, 76px)/.98 var(--s-font); letter-spacing: -.045em; color: var(--s-text); text-wrap: balance; }
html[lang="he"] .s-h2 { letter-spacing: -.02em; font-weight: 800; line-height: 1.02; }
.s-h2 > span:not(.rv-m) { color: var(--s-dim); }
.s-h2 > span:not(.rv-m) .rv-w, .s-h2 > span:not(.rv-m) .rv-m { color: inherit; }
.s-lede { margin: 20px 0 0; max-width: 58ch; font: 400 clamp(17px, 1.35vw, 20px)/1.55 var(--s-font); color: var(--s-muted); text-wrap: pretty; }

/* ------------------------------------------------------------------ the opening */
.sell-hero { position: relative; min-height: 100svh; padding: 84px 0 0; overflow: hidden; background: var(--s-bg); isolation: isolate; font-family: var(--s-font); }
.sell-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: 3; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--s-bg) 92%); }
.sell-hero-copy { position: relative; z-index: 4; max-width: 1280px; margin: clamp(18px, 4.2vh, 60px) auto 0; padding: 0 20px; text-align: center; }
.sell-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(16px, 2.6vh, 26px); padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--s-line-2); font: 500 14px/1 var(--s-font); color: var(--s-muted); }
.sell-kicker b { color: var(--s-text); font-weight: 600; }
.sell-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--s-orange); box-shadow: 0 0 0 0 rgba(255,92,0,.6); animation: sell-ping 2.2s ease-out infinite; }
@keyframes sell-ping { 70% { box-shadow: 0 0 0 9px rgba(255,92,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,0,0); } }
.sell-hero h1 { margin: 0; font: 600 clamp(40px, min(5.3vw, 8.8vh), 88px)/.97 var(--s-font); letter-spacing: -.05em; color: var(--s-text); text-wrap: balance; }
html[lang="he"] .sell-hero h1 { font-weight: 900; letter-spacing: -.025em; line-height: .98; }
.sell-hero h1 > span:not(.rv-m) { color: var(--s-dim); }
.sell-hero h1 em { font-style: normal; color: var(--s-orange); }
.sell-hero-line { margin: clamp(14px, 2.4vh, 24px) auto 0; max-width: 620px; font: 400 clamp(17px, 1.4vw, 20px)/1.55 var(--s-font); color: var(--s-muted); text-wrap: pretty; }
.sell-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(20px, 3.4vh, 32px); }
.sell-hero-agents { margin: clamp(12px, 2vh, 20px) 0 0; font: 500 13px/1 var(--s-font); color: var(--s-dim); letter-spacing: .01em; }
.sell-hero-agents b { color: var(--s-muted); font-weight: 500; }

/* the rows */
.sell-wall { --h: clamp(118px, 15.5vh, 196px); position: relative; z-index: 1; display: grid; gap: 14px; margin-top: clamp(26px, 4.4vh, 56px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.sell-row { overflow: hidden; opacity: 0; transform: translateY(46px) scale(.96); filter: blur(10px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1), filter 1.1s; }
.sell-wall.is-in .sell-row { opacity: 1; transform: none; filter: none; }
.sell-wall.is-in .sell-row-2 { transition-delay: .12s; }
.sell-wall.is-in .sell-row-3 { transition-delay: .24s; }
.sell-row-1 { translate: calc(var(--lean-x, 0) * -34px) 0; }
.sell-row-2 { translate: calc(var(--lean-x, 0) * 22px) 0; }
.sell-row-3 { translate: calc(var(--lean-x, 0) * -14px) 0; }
.sell-track { display: flex; width: max-content; animation: sell-slide 70s linear infinite; }
.sell-row-2 .sell-track { animation-direction: reverse; animation-duration: 82s; }
.sell-row-3 .sell-track { animation-duration: 64s; }
html[dir="rtl"] .sell-track { animation-name: sell-slide-rtl; }
@keyframes sell-slide { to { transform: translateX(-50%); } }
@keyframes sell-slide-rtl { to { transform: translateX(50%); } }
.sell-row:hover .sell-track, .sell-row:focus-within .sell-track { animation-play-state: paused; }
.sell-set { display: flex; gap: 14px; padding-inline-end: 14px; }

/* a card */
.sell-card { position: relative; flex: none; width: calc(var(--h) * 16 / 9); height: var(--h); padding: 0; border: 0; border-radius: var(--s-radius); overflow: hidden; background: var(--s-raise); cursor: pointer; color: #fff; text-align: start;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 18px 40px -22px rgba(0,0,0,.9); transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s, box-shadow .35s; }
.sell-card-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell-card-clip { opacity: 0; transition: opacity .45s ease; }
.sell-card.is-live .sell-card-clip { opacity: 1; }
.sell-card.is-flying .sell-card-clip { visibility: hidden; }
.sell-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 46%); pointer-events: none; }
.sell-set:hover .sell-card:not(:hover), .sell-strip:hover .sell-card:not(:hover) { filter: brightness(.55) saturate(.8); }
.sell-card:hover { transform: scale(1.045); z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 30px 60px -20px rgba(0,0,0,.95); }
.sell-card[data-kind="motion"]:hover { box-shadow: inset 0 0 0 1.5px rgba(255,92,0,.85), 0 30px 70px -20px rgba(255,92,0,.45); }
.sell-chip { position: absolute; z-index: 1; inset-block-start: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; font: 600 11px/1 var(--s-font); letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(10,10,12,.74); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
html[lang="he"] .sell-chip { letter-spacing: 0; font-size: 12px; }
.sell-chip-motion { background: var(--s-orange); color: #0b0b0c; box-shadow: none; }
.sell-play { width: 0; height: 0; border-block: 4.5px solid transparent; border-inline-start: 7px solid currentColor; }
html[dir="rtl"] .sell-play { transform: scaleX(-1); }
.sell-tier { position: absolute; z-index: 1; inset-block-start: 10px; inset-inline-end: 10px; padding: 6px 8px; border-radius: 8px; font: 700 10.5px/1 var(--s-font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(10,10,12,.74); }
.sell-tier-free { color: #0b0b0c; background: #e9ffe0; }
.sell-card-title { position: absolute; z-index: 1; inset-inline: 12px; inset-block-end: 11px; font: 600 15px/1.1 var(--s-font); letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------ what you get */
.sell-inside { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); font-family: var(--s-font); background: var(--s-bg); }
.sell-shell { width: min(1320px, 100% - 40px); margin: 0 auto; }
.sell-inside-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 54px; }
.sell-lanes { display: grid; gap: 18px; }
.sell-lane { --h: 104px; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: inset 0 0 0 1px var(--s-line); }
.sell-lane-film { box-shadow: inset 0 0 0 1px rgba(255,92,0,.3); background: radial-gradient(90% 120% at 100% 0%, rgba(255,92,0,.1), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
html[dir="rtl"] .sell-lane-film { background: radial-gradient(90% 120% at 0% 0%, rgba(255,92,0,.1), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.sell-lane-head { display: flex; gap: 22px; align-items: flex-start; }
.sell-lane-count { flex: none; min-width: 1.15em; font: 600 72px/.82 var(--s-font); letter-spacing: -.06em; color: var(--s-text); font-variant-numeric: tabular-nums; }
.sell-lane-film .sell-lane-count { color: var(--s-orange); }
.sell-lane-title { margin: 2px 0 8px; font: 600 24px/1.1 var(--s-font); letter-spacing: -.02em; color: var(--s-text); }
.sell-lane-text { margin: 0; max-width: 60ch; font: 400 16px/1.55 var(--s-font); color: var(--s-muted); }
.sell-strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.sell-strip .sell-card { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
.sell-strip .sell-card-title { font-size: 13px; }
.sell-strip .sell-tier { display: none; }
.sell-more { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; z-index: 3; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--s-font); color: #0b0b0c; background: var(--s-text); pointer-events: none; }

/* the receipt */
.sell-receipt { position: sticky; top: 96px; padding: 30px; border-radius: 28px; color: var(--s-text);
  background: radial-gradient(120% 70% at 50% 0%, rgba(255,92,0,.2), transparent 60%), linear-gradient(180deg, #19191c, #0f0f11);
  box-shadow: inset 0 0 0 1px rgba(255,92,0,.38), 0 40px 90px -40px rgba(255,92,0,.55), 0 30px 60px -30px rgba(0,0,0,.9); }
.sell-receipt-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sell-receipt h3 { margin: 0; font: 600 22px/1 var(--s-font); letter-spacing: -.02em; }
.sell-badge { padding: 7px 11px; border-radius: 999px; font: 700 12px/1 var(--s-font); letter-spacing: .02em; color: #0b0b0c; background: var(--s-orange); }
.s-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 26px 0 4px; }
.s-price b { font: 600 68px/.9 var(--s-font); letter-spacing: -.055em; }
.s-price s { font: 500 28px/1 var(--s-font); color: var(--s-dim); opacity: 1; }
.sell-receipt-total { margin: 8px 0 22px; font: 500 15px/1.4 var(--s-font); color: var(--s-muted); }
.sell-receipt ul { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px dashed var(--s-line-2); display: grid; gap: 15px; }
.sell-receipt li { display: flex; gap: 12px; align-items: flex-start; }
.sell-check { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(255,92,0,.16); position: relative; }
.sell-check::after { content: ""; position: absolute; inset: 5px 6px 7px 6px; border: solid var(--s-orange); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.sell-receipt-what { display: grid; gap: 3px; }
.sell-receipt-what b { font: 600 16px/1.25 var(--s-font); }
.sell-receipt-what small { font: 400 13.5px/1.3 var(--s-font); color: var(--s-dim); }
.sell-receipt .s-btn { width: 100%; min-height: 58px; font-size: 17px; }
.sell-receipt-fine { margin: 14px 0 0; font: 400 12.5px/1.5 var(--s-font); color: var(--s-dim); text-align: center; }

/* ------------------------------------------------------------------ films */
.sell-films { position: relative; padding: clamp(40px, 5vw, 80px) 0 clamp(60px, 7vw, 100px); font-family: var(--s-font); background: var(--s-bg); overflow: hidden; }
.sell-films-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.sell-films-count { font: 600 14px/1 var(--s-font); color: var(--s-muted); padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--s-line-2); }
.sell-theatre { position: relative; margin-top: 44px; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; background: #000; box-shadow: 0 0 0 1px var(--s-line), 0 60px 120px -50px rgba(0,0,0,.95); }
.sell-film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell-theatre-info { position: absolute; inset: auto 0 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(18px, 3vw, 36px); background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.35) 60%, transparent); }
.sell-theatre-info h3 { margin: 0 0 8px; font: 600 clamp(28px, 3.4vw, 48px)/1 var(--s-font); letter-spacing: -.035em; color: #fff; }
.sell-theatre-meta { margin: 0 0 10px; font: 600 12px/1 var(--s-font); letter-spacing: .1em; text-transform: uppercase; color: var(--s-orange); }
html[lang="he"] .sell-theatre-meta { letter-spacing: 0; font-size: 14px; }
.sell-theatre-sum { margin: 0; max-width: 60ch; font: 400 15.5px/1.5 var(--s-font); color: rgba(255,255,255,.78); }
.sell-theatre-actions { display: flex; gap: 10px; flex: none; }
.sell-theatre-actions .s-btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.sell-reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.sell-reel::-webkit-scrollbar { display: none; }
.sell-reel-item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--s-raise); cursor: pointer; opacity: .6; transition: opacity .3s, transform .3s, box-shadow .3s; box-shadow: inset 0 0 0 1px var(--s-line); }
.sell-reel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sell-reel-item:hover { opacity: .9; transform: translateY(-3px); }
.sell-reel-item[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--s-orange), 0 14px 40px -16px rgba(255,92,0,.6); }
.sell-reel-cap { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 22px 10px 8px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color: #fff; text-align: start; }
.sell-reel-cap b { font: 600 13px/1 var(--s-font); }
.sell-reel-cap small { font: 500 11.5px/1 var(--s-font); color: rgba(255,255,255,.7); }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 1060px) {
  .sell-inside-grid { grid-template-columns: 1fr; }
  .sell-receipt { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 720px) {
  .sell-hero { padding-top: 84px; min-height: auto; padding-bottom: 30px; }
  .sell-wall { --h: 104px; gap: 10px; }
  .sell-set { gap: 10px; padding-inline-end: 10px; }
  .sell-row-3 { display: none; }
  .sell-hero-actions .s-btn { width: 100%; }
  .sell-lane { padding: 20px; }
  .sell-lane-head { gap: 16px; }
  .sell-lane-count { font-size: 56px; }
  .sell-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-strip .sell-card:nth-child(n+3) { display: none; }
  .sell-theatre { aspect-ratio: 4 / 5; border-radius: 20px; max-height: none; }
  .sell-theatre-info { flex-direction: column; align-items: stretch; }
  .sell-theatre-sum { display: none; }
  .sell-receipt { padding: 24px; }
  .s-price b { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .sell-track { animation: none; }
  .sell-row { transition: none; opacity: 1; transform: none; filter: none; }
  .sell-hero::before, .sell-kicker i { animation: none; }
}

/* ------------------------------------------------------------------ how it works */
.sell-how { padding: clamp(90px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); font-family: var(--s-font); background: var(--s-bg); }
.sell-steps { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.sell-step { display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: inset 0 0 0 1px var(--s-line); }
.sell-step-no { font: 600 13px/1 var(--s-font); letter-spacing: .12em; color: var(--s-orange); }
.sell-step h3 { margin: 16px 0 8px; font: 600 23px/1.15 var(--s-font); letter-spacing: -.02em; color: var(--s-text); }
.sell-step > p { margin: 0 0 22px; font: 400 15.5px/1.55 var(--s-font); color: var(--s-muted); }
.sell-step-art { margin: auto 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--s-raise); box-shadow: inset 0 0 0 1px var(--s-line); }
.sell-step-art img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: block; }
.sell-prompt { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px; background: radial-gradient(100% 80% at 0 0, rgba(255,92,0,.14), transparent 60%), #111113; }
.sell-prompt-who { margin: 0; font: 600 11px/1 var(--s-font); letter-spacing: .12em; text-transform: uppercase; color: var(--s-dim); }
.sell-prompt-text { margin: 0; padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.07); font: 500 15px/1.45 var(--s-font); color: var(--s-text); }
html[dir="rtl"] .sell-prompt-text { border-radius: 14px 14px 4px 14px; }
.sell-prompt-agent { display: flex; align-items: center; gap: 9px; margin: 0; font: 500 12.5px/1.3 var(--s-font); color: var(--s-muted); }
.sell-prompt-agent i { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,92,0,.25); border-top-color: var(--s-orange); animation: sell-spin 1s linear infinite; }
@keyframes sell-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ library head, pricing launch */
.sell-library-head { margin: 0 0 34px; font-family: var(--s-font); }
.plan-price .plan-was { margin-inline-start: 10px; font: 500 24px/1 var(--s-font); color: var(--s-dim); text-decoration-thickness: 1.5px; }
.plan-launch { margin: 6px 0 0; display: inline-block; padding: 6px 10px; border-radius: 999px; font: 700 12px/1 var(--s-font); color: #0b0b0c; background: var(--s-orange); }
@media (max-width: 900px) { .sell-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sell-prompt-agent i { animation: none; } }

/* the library grid, told apart: a film says it is a film (sell.js adds the chip) */
.sell-grid-chip { position: absolute; z-index: 3; inset-block-start: 12px; inset-inline-start: 12px; pointer-events: none; }
