/* ==========================================================================
   IranDesigner Cinema — design system (WordPress theme build)
   Structure: tokens → base → utilities → components → sections → motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0a0807;
  --bg-2: #0e0b09;
  --panel: #14100d;
  --panel-2: #1a1511;
  --line: rgba(255, 236, 214, .08);
  --line-2: rgba(255, 236, 214, .15);
  --text: #f6eee5;
  --text-2: #cdbfb2;
  --muted: #9a8c80;
  --cream: #fffaf3;

  /* Brand (from the logo mark), lifted for dark backgrounds */
  --gold: #e0a95f;
  --gold-l: #f3c27a;
  --terra: #d26a4e;
  --terra-l: #e07a5c;
  --terra-deep: #9f4d3e;
  --crimson: #c23a35;
  --teal: #5aa7b2;
  --green: #3f9a4e;
  --rec: #ff4d4f;

  --grad-fire: linear-gradient(110deg, #f3c27a 0%, #e08a5c 45%, #d26a4e 70%, #c0483a 100%);
  --grad-text: linear-gradient(100deg, #f3c27a 0%, #e07a5c 55%, #d0553f 100%);
  --grad-brand: linear-gradient(90deg, #5aa7b2 0%, #e0a95f 38%, #d26a4e 68%, #c23a35 100%);

  --font: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 24px;
  --radius-sm: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-cine: cubic-bezier(.77, 0, .18, 1);
  --ease-snap: cubic-bezier(.6, -0.28, .74, 1.4);

  interpolate-size: allow-keywords;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
input { font: inherit; }
::selection { background: rgba(224, 169, 95, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

html { scrollbar-color: #3a2e26 var(--bg); scrollbar-width: thin; }

/* ---------- 3. Utilities ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); letter-spacing: .08em; unicode-bidi: isolate; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--xs { width: .9em; height: .9em; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }

.skip-link { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a0d08; font-weight: 800; transform: translateY(-160%); transition: transform .3s; }
.skip-link:focus { transform: none; }

.rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.4s steps(2, jump-none) infinite; flex: none; }

.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold); font-size: 14px; font-weight: 700; }
.kicker__code { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; padding: 3px 8px; border: 1px solid rgba(224, 169, 95, .35); border-radius: 6px; color: var(--gold-l); background: rgba(224, 169, 95, .06); direction: ltr; }
.section { position: relative; padding-block: clamp(72px, 8.5vw, 128px); }
.section-title { font-size: clamp(1.95rem, 1.05rem + 2.7vw, 3.5rem); font-weight: 900; line-height: 1.32; text-wrap: balance; }
.section-lead { color: var(--text-2); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 2.05; max-width: 62ch; margin-top: 18px; text-wrap: pretty; }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.section-head--split .section-lead { margin-top: 0; }
.section-head__side { display: grid; gap: 22px; justify-items: start; }
.section-head--center { text-align: center; max-width: 840px; margin-inline: auto; }
.section-head--center .section-lead { margin-inline: auto; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(224, 169, 95, .3); background: rgba(224, 169, 95, .07); color: var(--gold-l); font-size: 14px; font-weight: 700; }
.chip .ico { width: 1em; height: 1em; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; line-height: 1; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 236, 214, .025); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-l); font-weight: 700; font-size: 15px; transition: gap .35s var(--ease-out), color .3s; }
.link-arrow .ico { transition: transform .35s var(--ease-out); }
.link-arrow:hover, .svc-card:hover .link-arrow { gap: 14px; }
.link-arrow--lg { font-size: 16px; margin-top: 28px; }

/* Viewfinder corners — used on media frames */
.frame-corners {
  --cl: 20px; --cw: 2px; --cc: rgba(255, 244, 230, .75);
  position: absolute; inset: 14px; pointer-events: none; z-index: 2; opacity: .55;
  background:
    linear-gradient(var(--cc), var(--cc)) top left / var(--cl) var(--cw),
    linear-gradient(var(--cc), var(--cc)) top left / var(--cw) var(--cl),
    linear-gradient(var(--cc), var(--cc)) top right / var(--cl) var(--cw),
    linear-gradient(var(--cc), var(--cc)) top right / var(--cw) var(--cl),
    linear-gradient(var(--cc), var(--cc)) bottom left / var(--cl) var(--cw),
    linear-gradient(var(--cc), var(--cc)) bottom left / var(--cw) var(--cl),
    linear-gradient(var(--cc), var(--cc)) bottom right / var(--cl) var(--cw),
    linear-gradient(var(--cc), var(--cc)) bottom right / var(--cw) var(--cl);
  background-repeat: no-repeat;
  transition: inset .6s var(--ease-out), opacity .6s var(--ease-out);
}

/* ---------- 4. Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding-inline: 24px; border-radius: 999px;
  font-weight: 800; font-size: 15px; white-space: nowrap; line-height: 1;
  transition: transform .35s var(--ease-out), translate .5s var(--ease-out), box-shadow .35s, background-color .3s, border-color .3s, color .3s;
  translate: var(--tx, 0) var(--ty, 0);
}
.btn--sm { --h: 42px; padding-inline: 18px; font-size: 14px; }
.btn--lg { --h: 62px; padding-inline: 30px; font-size: 16px; }
.btn--lg:has(.btn__icon) { padding-inline-end: 10px; }
.btn--fire { color: #1a0d08; background: var(--grad-fire); box-shadow: 0 12px 34px -12px rgba(210, 106, 78, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--fire::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(110%); transition: transform .9s var(--ease-out); }
.btn--fire:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(210, 106, 78, .95), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--fire:hover::before { transform: translateX(-110%); }
.btn__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #160c08; color: var(--gold-l); transition: transform .45s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(-4px) rotate(-8deg); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 236, 214, .035); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(224, 169, 95, .55); color: var(--gold-l); background: rgba(224, 169, 95, .07); }
.btn--ghost .ico { transition: transform .4s var(--ease-out); }
.btn--ghost:hover .ico { transform: translateX(-3px); }

.icon-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 236, 214, .03); transition: border-color .3s, color .3s, background-color .3s, transform .3s var(--ease-out); }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-l); background: rgba(224, 169, 95, .08); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- 5. Film grain + intro leader ---------- */
.grain {
  position: fixed; inset: -10%; width: 120%; height: 120%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite;
}

.leader { display: none; }
.has-intro .leader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.leader__bar { position: absolute; inset-inline: 0; height: 50.5%; background: #050403; transition: transform 1.05s var(--ease-cine); }
.leader__bar--top { top: 0; border-bottom: 1px solid rgba(255, 236, 214, .06); }
.leader__bar--bottom { bottom: 0; }
.leader__dial { position: relative; z-index: 1; width: min(48vmin, 280px); aspect-ratio: 1; transition: opacity .35s, transform .7s var(--ease-out); }
.leader__dial svg { width: 100%; height: 100%; overflow: visible; }
.leader__ring { fill: none; stroke: rgba(255, 236, 214, .28); stroke-width: 1.5; }
.leader__ring--in { stroke: rgba(224, 169, 95, .4); }
.leader__sweep { fill: none; stroke: rgba(224, 169, 95, .18); stroke-width: 92; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 100px 100px; animation: sweep .46s linear infinite; }
.leader__cross { stroke: rgba(255, 236, 214, .16); stroke-width: 1; }
.leader__num { position: absolute; inset: 0; display: grid; place-items: center; font-size: min(22vmin, 128px); font-weight: 900; color: var(--cream); line-height: 1; text-shadow: 0 0 40px rgba(224, 169, 95, .35); }
.leader__cap { position: absolute; z-index: 1; bottom: 14vh; display: flex; gap: 18px; font: 600 12px/1 var(--mono); letter-spacing: .45em; color: var(--muted); direction: ltr; transition: opacity .35s; }
.leader.is-out { pointer-events: none; }
.leader.is-out .leader__bar--top { transform: translateY(-100%); }
.leader.is-out .leader__bar--bottom { transform: translateY(100%); }
.leader.is-out .leader__dial { opacity: 0; transform: scale(1.25); }
.leader.is-out .leader__cap { opacity: 0; }

/* ---------- 6. Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(10, 8, 7, .78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.site-header.is-hidden:not(.is-locked) { transform: translateY(-100%); }
.site-header.is-locked { background: rgba(8, 6, 5, .98); border-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; overflow: hidden; }
.site-header__progress span { display: block; height: 100%; background: var(--grad-brand); transform-origin: right; transform: scaleX(var(--p, 0)); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 0 14px rgba(224, 169, 95, .28)); transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { display: inline-flex; align-items: center; gap: 4px; font-size: 19px; font-weight: 900; }
.brand__iran { color: var(--terra-l); }
.brand__sep { color: rgba(224, 169, 95, .55); font-weight: 400; }
.brand__designer { color: var(--text); }
.brand__tag { font-size: 10.75px; font-weight: 700; color: var(--muted); }
.brand--lg .brand__mark { width: 54px; height: 54px; }
.brand--lg .brand__name { font-size: 23px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__list > li { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--text-2); border-radius: 999px; transition: color .3s, background-color .3s; }
.nav__link:hover, .nav__item--mega.is-open .nav__trigger { color: var(--text); background: rgba(255, 236, 214, .05); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; bottom: 2px; inset-inline-start: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: translateX(50%); }
.nav__trigger .ico { transition: transform .35s var(--ease-out); }
.nav__item--mega.is-open .nav__trigger .ico { transform: rotate(180deg); }
.nav__item--mega::after { content: ""; position: absolute; inset-inline: -24px; top: 100%; height: 26px; }

.mega { position: fixed; inset-inline: 0; top: var(--header-h); z-index: -1; padding-block: 28px 34px; background: rgba(12, 9, 8, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-block: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.nav__item--mega.is-open .mega,
html:not(.js) .nav__item--mega:hover .mega,
html:not(.js) .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 28px; }
.mega__col { display: flex; flex-direction: column; gap: 4px; }
.mega__col a { padding: 6px 0; color: var(--text-2); font-size: 14.5px; transition: color .25s, padding .3s var(--ease-out); }
.mega__col a:not(.mega__head):hover { color: var(--gold-l); padding-inline-start: 6px; }
.mega__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-bottom: 12px !important; border-bottom: 1px solid var(--line); color: var(--text) !important; font-weight: 800; font-size: 15.5px !important; }
.mega__head .ico { color: var(--gold); }
.mega__feature { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 120% at 0% 100%, rgba(210, 106, 78, .3), transparent 60%), var(--panel); border: 1px solid rgba(224, 169, 95, .25); }
.mega__feature .mono { font-size: 10.5px; color: var(--gold); }
.mega__feature strong { font-size: 18px; font-weight: 900; }
.mega__feature span:not(.mono) { color: var(--text-2); font-size: 14px; line-height: 1.8; }
.mega__feature .ico { margin-top: auto; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--grad-fire); color: #1a0d08; transition: transform .4s var(--ease-out); }
.mega__feature:hover .ico { transform: translateX(-6px); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--text-2); transition: color .3s; }
.hdr-phone .ico { color: var(--gold); width: 1.1em; height: 1.1em; }
.hdr-phone:hover { color: var(--text); }
.hdr-panel { font-size: 14px; color: var(--muted); padding-inline: 4px; transition: color .3s; }
.hdr-panel:hover { color: var(--text); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; border: 1px solid var(--line-2); color: var(--text); }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .ico--close, .menu-toggle[aria-expanded="true"] .ico--open { display: none; }
.menu-toggle[aria-expanded="true"] .ico--close { display: block; }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 55; background: rgba(8, 6, 5, .98); overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-cine); }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__inner { padding: 24px var(--gutter) 120px; display: flex; flex-direction: column; gap: 32px; min-height: 100%; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__list > li > a, .mobile-menu__group summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; font-size: 26px; font-weight: 900; list-style: none; cursor: pointer; }
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group summary .ico { margin-inline-start: auto; color: var(--gold); transition: transform .35s var(--ease-out); }
.mobile-menu__group[open] summary .ico { transform: rotate(45deg); }
.mobile-menu__list .mono { font-size: 11px; color: var(--gold); font-weight: 600; }
.mobile-menu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 0 0 20px; }
.mobile-menu__sub a { color: var(--text-2); padding: 6px 0; font-size: 15px; }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: auto; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__panel { text-align: center; color: var(--muted); padding: 8px; }

/* ---------- 7. Hero ---------- */
.hero {
  --mx: 0; --my: 0;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(58px, 7.6vh, 92px));
  padding-bottom: clamp(40px, 5.4vh, 60px);
  background: radial-gradient(120% 80% at 50% 0%, #120d0a 0%, var(--bg) 70%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .65) 100%); }
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.lens__grid { position: absolute; inset: -55%; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 236, 214, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 236, 214, .04) 1px, transparent 1px); background-size: 72px 72px; background-position: center; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.lens__haze { position: absolute; inset: -30%; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 106, 78, .2), rgba(210, 106, 78, .06) 55%, transparent 75%); }
.hero__foot::before { content: ""; position: absolute; inset-inline-start: -10%; bottom: -60px; width: 50%; height: 220px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(90, 167, 178, .09), transparent); }
.hero__spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--sx, 30%) var(--sy, 45%), rgba(255, 200, 140, .07), transparent 60%); }

/* Edges use the container formula so corners stay locked to the logo / header CTA at any width or zoom */
.viewfinder { --vf-edge: max(var(--gutter), calc((100% - var(--container)) / 2)); position: absolute; z-index: 1; top: calc(var(--header-h) + 6px); bottom: 14px; left: var(--vf-edge); right: var(--vf-edge); pointer-events: none; }
.vf-c { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(255, 236, 214, .32); }
.vf-c--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-c--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-c--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-c--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder__top, .viewfinder__bottom { position: absolute; inset-inline: 44px; display: flex; align-items: center; gap: 24px; }
.viewfinder__top { top: 6px; }
.viewfinder__bottom { bottom: 6px; justify-content: space-between; }
.hud { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .16em; color: var(--text-2); direction: ltr; }
.hud--dim { color: var(--muted); }
.hud--tc { margin-inline-start: auto; color: var(--gold-l); font-variant-numeric: tabular-nums; }

.hero__inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__copy { position: relative; z-index: 2; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__presents { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.hero__presents::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__presents span { color: var(--gold-l); font-weight: 800; }

.hero__title { margin-top: 22px; font-weight: 900; line-height: 1.12; font-size: clamp(2.9rem, min(1.1rem + 5.6vw, 9.6vh), 6.8rem); }
.hero__line { display: block; overflow: hidden; padding-block: .04em .14em; margin-block: -.04em; }
.hero__line > span { display: inline-block; transform-origin: 50% 100%; }
/* Title lights up right → left behind a hot projector edge (once) */
.hero__line:not(.hero__line--alt) > span { color: transparent; background: linear-gradient(270deg, var(--text) 0 44%, #fff7ea 47%, #ffcf8a 49.5%, rgba(246, 238, 229, .5) 52.5%, rgba(246, 238, 229, .36) 57% 100%) 100% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.hero__line--alt em { background: linear-gradient(270deg, transparent 0 44%, rgba(255, 240, 214, .9) 49.5%, rgba(10, 8, 7, .5) 53%, rgba(10, 8, 7, .58) 100%) 100% 0 / 300% 100% no-repeat, var(--grad-text); -webkit-background-clip: text; background-clip: text; animation: inherit; }
/* "استودیو" as a vertical film credit beside "سئو / جئو" (grid keeps DOM/SEO order) */
.hero__title { display: grid; grid-template-columns: max-content; justify-content: start; }
.hero__title > .hero__line { grid-column: 1; }
.hero__title > .hero__line:not(.hero__line--alt) { grid-row: 1; }
.hero__title > .hero__line--alt { grid-row: 2; justify-self: start; }
.hero__studio { grid-column: 1; grid-row: 2; justify-self: end; align-self: center; display: inline-flex; align-items: center; gap: .7em; writing-mode: vertical-rl; transform: rotate(180deg); margin-inline-end: .1em; font-size: max(14px, .19em); font-weight: 700; line-height: 1; color: var(--text-2); }
.hero__studio::before, .hero__studio::after { content: ""; inline-size: 2.2em; block-size: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__studio::after { background: linear-gradient(90deg, var(--gold), transparent); }
.js .hero__studio { opacity: 0; }
.is-ready .hero__studio { opacity: 1; transition: opacity 1.4s var(--ease-out) .9s; }
@media (max-width: 640px) {
  .hero__title { display: block; }
  .hero__studio { display: flex; writing-mode: horizontal-tb; transform: none; justify-content: flex-start; margin-bottom: .35em; font-size: max(13px, .3em); }
  .hero__studio::before { display: none; }
}
.hero__line--alt em { font-style: normal; color: transparent; }
.hero__line--alt i { font-style: normal; font-weight: 200; color: var(--teal); margin-inline: .16em; }

.hero__rule { width: 132px; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--grad-brand); transform-origin: right; box-shadow: 0 0 22px rgba(224, 169, 95, .35); }
.hero__lead { margin-top: 18px; max-width: 62ch; color: var(--text-2); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.95; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Lens — studio ident */
.lens { position: relative; justify-self: center; width: min(100%, 580px, 66vh); aspect-ratio: 1; }
.lens__rays { position: absolute; inset: -38%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 214, 160, .075) 0deg 2.6deg, transparent 2.6deg 15deg); -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 100%); mask-image: radial-gradient(closest-side, #000 18%, transparent 100%); animation: spin 140s linear infinite; }
.lens__glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 169, 95, .28), rgba(210, 106, 78, .14) 40%, transparent 70%); filter: blur(28px); animation: breathe 6s ease-in-out infinite; }
.lens__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translate3d(calc(var(--mx) * -12px), calc(var(--my) * -12px), 0); transition: transform .9s var(--ease-out); }
.lens__layer { transform-origin: 300px 300px; transform-box: view-box; }
.lens__layer--outer { animation: spin 90s linear infinite; }
.lens__layer--text { animation: spin 70s linear infinite reverse; }
.lens__layer--arcs { animation: spin 46s linear infinite; }
.lens__ring { fill: none; stroke: rgba(255, 236, 214, .14); stroke-width: 1; }
.lens__ticks { fill: none; stroke: rgba(224, 169, 95, .32); stroke-width: 10; stroke-dasharray: 1 13.45; }
.lens__ticks--major { stroke: rgba(243, 194, 122, .85); stroke-width: 18; stroke-dasharray: 2.4 142.12; }
.lens__text { font: 600 13px var(--mono); letter-spacing: 2px; fill: rgba(246, 238, 229, .5); }
.lens__arc { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 118 1170; transform-origin: 300px 300px; transform: rotate(var(--r)); opacity: .9; }
.lens__dash { fill: none; stroke: rgba(255, 236, 214, .2); stroke-width: 1; stroke-dasharray: 2 7; }
.lens__cross { stroke: rgba(255, 236, 214, .12); stroke-width: 1; }
.lens__core-glow { animation: breathe 5s ease-in-out infinite; transform-origin: 300px 306px; }
.star-body { fill: #120e0b; stroke: rgba(243, 194, 122, .4); stroke-width: .35; stroke-linejoin: round; }
.star-strokes { filter: drop-shadow(0 0 .9px rgba(255, 190, 120, .8)); }
.star-strokes path { fill: none; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.star-core-ring { fill: #17110d; stroke: rgba(243, 194, 122, .6); stroke-width: .5; }
.star-core-dot { animation: pulse 2.4s ease-in-out infinite; }
.lens__flare { position: absolute; top: 50%; left: -45%; right: -45%; height: 2px; margin-top: 4px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 196, 140, .0) 15%, rgba(255, 226, 190, .95) 50%, rgba(255, 196, 140, 0) 85%, transparent); box-shadow: 0 0 22px 3px rgba(255, 170, 100, .28); mix-blend-mode: screen; animation: flare 7s ease-in-out infinite; }
.lens__tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font: 600 11px/1 var(--mono); letter-spacing: .14em; color: var(--text-2); direction: ltr; background: rgba(16, 12, 10, .62); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); translate: calc(var(--mx) * 18px) calc(var(--my) * 18px); transition: translate .9s var(--ease-out); animation: bob 7s ease-in-out infinite; }
.lens__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--gold)); box-shadow: 0 0 10px var(--c, var(--gold)); }
.lens__tag--1 { top: 9%; right: 6%; --c: var(--gold); }
.lens__tag--2 { top: 34%; left: -4%; --c: var(--teal); animation-delay: -2s; }
.lens__tag--3 { bottom: 20%; left: 3%; --c: var(--terra-l); animation-delay: -4s; }
.lens__tag--4 { bottom: 6%; right: 16%; --c: var(--green); animation-delay: -1s; }

.hero__foot { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 40px; margin-top: clamp(22px, 3.4vh, 48px); }
.credits { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.credits__item { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 14px 0 0; padding-inline-end: 20px; }
.credits__item + .credits__item { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.credits__num { grid-row: span 2; font: 600 12px/1.9 var(--mono); color: var(--gold); }
.credits__title { font-weight: 800; font-size: 17px; line-height: 1.6; }
.credits__desc { color: var(--muted); font-size: 14px; line-height: 1.7; }
.credits__desc b { color: var(--gold-l); font-weight: 800; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.scroll-cue .mono { writing-mode: vertical-rl; letter-spacing: .3em; }
.scroll-cue__line { position: relative; width: 1px; height: 54px; background: var(--line-2); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: linear-gradient(transparent, var(--gold)); animation: drip 1.8s var(--ease-cine) infinite; }
.scroll-cue:hover { color: var(--gold-l); }

/* ---------- 8. Action tapes ---------- */
.tapes { position: relative; z-index: 3; height: clamp(130px, 13vw, 190px); overflow: hidden; margin-block: -24px; pointer-events: none; }
.tape { position: absolute; inset-inline: -6%; top: 50%; overflow: hidden; padding-block: 14px; }
.tape--a { z-index: 2; transform: translateY(-50%) rotate(-2.6deg); background: var(--grad-fire); color: #1a0d08; font-size: clamp(17px, 1.9vw, 27px); font-weight: 900; box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .65); }
.tape--b { z-index: 1; transform: translateY(-50%) rotate(2.2deg); background: #120e0b; border-block: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.tape__track { display: flex; width: max-content; align-items: center; gap: 26px; padding-inline-end: 26px; white-space: nowrap; animation: marquee 48s linear infinite; }
.tape--b .tape__track { animation-direction: reverse; animation-duration: 60s; letter-spacing: .24em; }
.tape--a b { font-size: .8em; opacity: .7; }
.tape--b b { color: var(--gold); }

/* ---------- 9. Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.svc-card { grid-column: span 5; position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out); }
.svc-card--wide { grid-column: span 7; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(224, 169, 95, .35); box-shadow: 0 40px 80px -40px rgba(210, 106, 78, .55), 0 0 0 1px rgba(224, 169, 95, .08); }
.svc-card__media { position: relative; height: clamp(220px, 21vw, 290px); overflow: hidden; background: #0d0a08; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .6s; }
.svc-card__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 8, 7, .1) 0%, transparent 35%, rgba(20, 16, 13, .6) 85%, var(--panel) 100%), radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(10, 8, 7, .45)); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, transparent 38%, rgba(255, 236, 200, .35) 50%, transparent 62%); transform: translateX(-130%); transition: transform 1.1s var(--ease-out); pointer-events: none; }
.svc-card:hover .svc-card__media img { transform: scale(1.08); filter: brightness(1.12); }
.svc-card:hover .svc-card__media::after { transform: translateX(130%); }
.svc-card:hover .frame-corners { inset: 24px; opacity: 1; }
.svc-card__hud { position: absolute; z-index: 3; top: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 10.5px; color: #f6eee5; background: rgba(10, 8, 7, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.svc-card__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 6px clamp(20px, 2.4vw, 32px) clamp(22px, 2.4vw, 30px); }
.svc-card__icon { position: absolute; top: -30px; inset-inline-end: clamp(20px, 2.4vw, 32px); z-index: 3; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--gold-l); background: #17120e; border: 1px solid rgba(224, 169, 95, .3); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); transition: transform .6s var(--ease-out), background-color .4s, color .4s; }
.svc-card__icon .ico { width: 24px; height: 24px; }
.svc-card:hover .svc-card__icon { transform: rotate(-8deg) scale(1.06); background: var(--gold); color: #1a0d08; }
.svc-card__title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); font-weight: 900; line-height: 1.4; padding-inline-end: 70px; }
.svc-card__body p { color: var(--text-2); line-height: 2; }
.svc-card .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- 10. Growth / storyboard ---------- */
.growth { background: linear-gradient(180deg, transparent, rgba(90, 167, 178, .035) 50%, transparent); }
.growth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.benefits { display: grid; gap: 14px; margin-top: 36px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 236, 214, .02); transition: border-color .4s, background-color .4s; }
.benefit:hover { border-color: rgba(90, 167, 178, .4); background: rgba(90, 167, 178, .05); }
.benefit__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--teal); background: rgba(90, 167, 178, .1); border: 1px solid rgba(90, 167, 178, .28); }
.benefit h3 { font-size: 17px; font-weight: 800; line-height: 1.7; }
.benefit p { color: var(--muted); font-size: 15px; line-height: 1.85; }

.storyboard { --sb: 0; position: relative; border-radius: 28px; padding: clamp(20px, 2.6vw, 32px); background: linear-gradient(rgba(255, 236, 214, .02) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(160deg, #17120e, #0d0a08); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04); }
.storyboard__bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px dashed var(--line-2); font-size: 11px; color: var(--muted); }
.storyboard__bar .mono { display: inline-flex; align-items: center; gap: 8px; }
.storyboard__tc { color: var(--gold-l); }
.storyboard__head p { color: var(--gold); font-size: 14px; font-weight: 700; }
.storyboard__head h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 900; line-height: 1.5; }
.storyboard__frames { position: relative; display: grid; gap: 12px; margin-top: 22px; padding-inline-start: 30px; }
.storyboard__frames::before, .storyboard__frames::after { content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-start: 7px; width: 2px; border-radius: 2px; }
.storyboard__frames::before { background: var(--line-2); }
.storyboard__frames::after { background: linear-gradient(180deg, var(--teal), var(--gold), var(--terra)); transform-origin: top; transform: scaleY(var(--sb)); box-shadow: 0 0 12px rgba(224, 169, 95, .5); }
.sb-frame { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 236, 214, .02); transition: border-color .5s, background-color .5s, transform .6s var(--ease-out); }
.sb-frame::before { content: ""; position: absolute; inset-inline-start: -28px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.sb-frame__num { font-size: 13px; color: var(--muted); transition: color .4s; }
.sb-frame__txt { display: flex; flex-direction: column; line-height: 1.7; }
.sb-frame__txt strong { font-size: 16.5px; font-weight: 800; }
.sb-frame__txt span { font-size: 14px; color: var(--muted); }
.sb-frame__meter { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.sb-frame__meter i { width: 4px; border-radius: 2px; background: var(--line-2); transition: background-color .4s, box-shadow .4s; }
.sb-frame__meter i:nth-child(1) { height: 30%; } .sb-frame__meter i:nth-child(2) { height: 55%; } .sb-frame__meter i:nth-child(3) { height: 78%; } .sb-frame__meter i:nth-child(4) { height: 100%; }
.sb-frame.is-active { border-color: rgba(224, 169, 95, .32); background: rgba(224, 169, 95, .05); }
.sb-frame.is-active::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); }
.sb-frame.is-active .sb-frame__num { color: var(--gold-l); }
.sb-frame:nth-child(1).is-active .sb-frame__meter i:nth-child(-n+1),
.sb-frame:nth-child(2).is-active .sb-frame__meter i:nth-child(-n+2),
.sb-frame:nth-child(3).is-active .sb-frame__meter i:nth-child(-n+3) { background: var(--gold); box-shadow: 0 0 8px rgba(224, 169, 95, .6); }
.sb-frame__check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: all .5s var(--ease-out); }
.sb-frame__check .ico { width: 18px; height: 18px; }
.sb-frame--goal.is-active { background: linear-gradient(110deg, rgba(243, 194, 122, .16), rgba(210, 106, 78, .1)); border-color: rgba(243, 194, 122, .5); }
.sb-frame--goal.is-active .sb-frame__check { background: var(--grad-fire); color: #1a0d08; border-color: transparent; box-shadow: 0 0 24px rgba(224, 169, 95, .6); transform: scale(1.08); }
.storyboard__note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--text-2); font-size: 14.5px; }

/* ---------- 11. Work — pinned film strip ---------- */
.work { position: relative; background: linear-gradient(180deg, var(--bg), #0c0907 12%, #0c0907 88%, var(--bg)); }
.work__sticky { position: relative; padding-block: clamp(88px, 11vw, 140px); }
.work__intro { padding-inline: var(--gutter); max-width: calc(760px + var(--gutter) * 2); }
.work__intro .btn { margin-top: 28px; }
.work__sub { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 700; }
.work__sub .ico { color: var(--gold); }

.work__track {
  --perf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='6' y='1' width='14' height='10' rx='2.5' fill='%23fff5ea' fill-opacity='.10'/%3E%3C/svg%3E");
  display: flex; gap: clamp(16px, 2vw, 32px);
  margin-top: 36px; padding: 34px var(--gutter);
  background: var(--perf) repeat-x right 0 top 10px / 26px 12px, var(--perf) repeat-x right 0 bottom 10px / 26px 12px, #070504;
  background-attachment: local, local, local;
  border-block: 1px solid var(--line);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none;
}
.work__track::-webkit-scrollbar { display: none; }
.work-card { flex: 0 0 min(84vw, 460px); scroll-snap-align: start; }

.work-card__frame {
  --rx: 0deg; --ry: 0deg;
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 14px;
  border-radius: 22px; border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 75%, transparent), rgba(255, 236, 214, .08) 32%, rgba(255, 236, 214, .04) 68%, color-mix(in srgb, var(--accent) 45%, transparent)) border-box;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.work-card__frame:hover { box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.work-card__meta { display: flex; justify-content: space-between; align-items: center; padding-inline: 4px; font-size: 10.5px; color: var(--muted); direction: ltr; }
.work-card__meta span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.work-card__meta span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.work-card__screen { position: relative; border-radius: 14px; overflow: hidden; background: #0b0908; border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.work-card__chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 12px; background: #16110e; border-bottom: 1px solid var(--line); direction: ltr; }
.work-card__chrome i { width: 8px; height: 8px; border-radius: 50%; background: #3a2f28; }
.work-card__chrome i:first-child { background: #c0483a; } .work-card__chrome i:nth-child(2) { background: #d9a14f; } .work-card__chrome i:nth-child(3) { background: #4c8f57; }
.work-card__chrome span { margin-inline: auto; padding: 2px 14px; border-radius: 6px; font: 500 10.5px/1.6 var(--mono); color: var(--muted); background: rgba(255, 236, 214, .05); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.01); transition: transform 1.2s var(--ease-out); }
.work-card__frame:hover .work-card__img img { transform: scale(1.06); }
.work-card__screen .frame-corners { top: 44px; inset-inline: 12px; bottom: 12px; opacity: 0; --cc: rgba(255, 255, 255, .9); }
.work-card__frame:hover .frame-corners { top: 52px; inset-inline: 20px; bottom: 20px; opacity: 1; }
.work-card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 240, 220, .22), transparent 45%); transition: opacity .5s; mix-blend-mode: screen; }
.work-card__frame:hover .work-card__glare { opacity: 1; }
.work-card__body { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 8px 6px 6px; }
.work-card__num { font-size: 34px; font-weight: 900; line-height: 1.1; background: linear-gradient(180deg, var(--accent), transparent 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-card__title { font-size: 19px; font-weight: 900; line-height: 1.6; }
.work-card__body p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-card__body .tags { margin-top: 12px; }
.work-card__body .tags li { font-size: 11.5px; padding: 6px 10px; }
.work-card__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .45s var(--ease-out); }
.work-card__frame:hover .work-card__go { background: var(--accent); border-color: transparent; color: #140b07; transform: rotate(-45deg); }

.work-card--more { display: flex; }
.work-more { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 32px; border-radius: 22px; border: 1px dashed rgba(224, 169, 95, .35); background: radial-gradient(90% 70% at 50% 30%, rgba(210, 106, 78, .16), transparent 70%), var(--bg-2); transition: border-color .4s, background-color .4s; }
.work-more:hover { border-color: var(--gold); }
.work-more__ring { width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-fire); color: #1a0d08; box-shadow: 0 0 0 10px rgba(224, 169, 95, .08), 0 0 50px rgba(210, 106, 78, .45); transition: transform .6s var(--ease-out); }
.work-more__ring .ico { width: 30px; height: 30px; }
.work-more:hover .work-more__ring { transform: scale(1.08) rotate(-10deg); }
.work-more .mono { font-size: 11px; color: var(--gold); }
.work-more strong { font-size: 24px; font-weight: 900; }
.work-more span:not(.mono):not(.work-more__ring) { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

.work__hud { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.work__count { font-size: 13px; color: var(--muted); direction: ltr; white-space: nowrap; }
.work__count b { color: var(--gold-l); font-weight: 600; }
.work__bar { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.work__bar span { display: block; height: 100%; background: var(--grad-brand); transform-origin: right; transform: scaleX(var(--wp, .2)); transition: transform .25s linear; }
.work__hint { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.work__nav { display: flex; gap: 10px; }

/* Pinned mode (desktop, set by JS) */
.work.is-pinned .work__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.work.is-pinned .work__rail { display: flex; align-items: center; gap: clamp(32px, 4vw, 72px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); will-change: transform; }
.work.is-pinned .work__intro { flex: none; width: clamp(340px, 30vw, 440px); padding: 0; }
.work.is-pinned .work__intro .section-title { font-size: clamp(1.9rem, 1rem + 1.8vw, 2.8rem); }
.work.is-pinned .work__track { overflow: visible; margin: 0; padding: 34px 26px; border: 1px solid var(--line); border-radius: 18px; }
.work.is-pinned .work-card { flex: none; width: min(34vw, calc((100svh - 330px) * 1.25), 540px); }
.work.is-pinned .work__hud { position: absolute; bottom: clamp(20px, 4vh, 40px); inset-inline: 0; margin: 0; }

/* ---------- 12. Process + director ---------- */
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.director { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 14px; padding-inline-end: 22px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(224, 169, 95, .08), transparent 60%), var(--panel); }
.director__photo { position: relative; flex: none; width: 112px; height: 132px; border-radius: 14px; overflow: hidden; }
.director__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 37% 32%; }
.director__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 8, 7, .55), transparent 55%); }
.director__photo .frame-corners { inset: 8px; --cl: 12px; --cw: 1.5px; opacity: .9; }
.director__cap { display: flex; flex-direction: column; gap: 2px; }
.director__cap .mono { font-size: 10.5px; color: var(--gold); }
.director__cap strong { font-size: 21px; font-weight: 900; line-height: 1.5; }
.director__cap span:not(.mono) { color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.director__cap small { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 4px; }

.acts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); align-items: start; }
.acts .act:nth-child(even) { margin-top: 64px; }
.act { position: relative; overflow: hidden; padding: 0 clamp(20px, 2.2vw, 28px) clamp(24px, 2.4vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); transition: border-color .4s, box-shadow .5s; }
.act:hover { border-color: rgba(224, 169, 95, .3); box-shadow: 0 30px 60px -30px rgba(210, 106, 78, .4); }
.act__clapper { --stripe: repeating-linear-gradient(-55deg, #efe4d6 0 16px, #17120e 16px 32px); position: relative; height: 48px; margin-inline: calc(clamp(20px, 2.2vw, 28px) * -1); margin-bottom: 22px; }
.act__clapper::before { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 20px; background: var(--stripe); opacity: .9; border-bottom: 1px solid rgba(0, 0, 0, .6); }
.act__clapper span { position: absolute; inset-inline: 0; top: 4px; height: 20px; background: repeating-linear-gradient(55deg, #efe4d6 0 16px, #17120e 16px 32px); transform-origin: right bottom; transform: rotate(0deg); box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .6); opacity: .9; }
.act__clapper::after { content: ""; position: absolute; top: 18px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px #17120e; }
.act__slate { display: flex; justify-content: space-between; align-items: flex-start; }
.act__label { font-size: 13px; font-weight: 800; color: var(--gold); padding: 4px 12px; border: 1px solid rgba(224, 169, 95, .3); border-radius: 999px; background: rgba(224, 169, 95, .06); }
.act__num { font-size: 82px; font-weight: 900; line-height: .8; margin-top: -6px; background: linear-gradient(180deg, rgba(255, 236, 214, .16), rgba(255, 236, 214, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: background .5s; }
.act:hover .act__num { background-image: linear-gradient(180deg, rgba(243, 194, 122, .6), rgba(210, 106, 78, 0)); }
.act h3 { margin-top: 14px; font-size: 20px; font-weight: 900; line-height: 1.6; }
.act p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 2; }
.act::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(60% 50% at 50% 0%, rgba(255, 236, 214, .25), transparent 70%); opacity: 0; }

/* ---------- 13. Why — edit timeline ---------- */
.why { background: radial-gradient(50% 50% at 50% 60%, rgba(210, 106, 78, .06), transparent 70%); }
.timeline { --tp: 0; position: relative; margin-top: clamp(40px, 5vw, 64px); border-radius: 24px; overflow: hidden; background: #0c0a08; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9); }
.timeline__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); background: #110d0b; font-size: 10.5px; color: var(--muted); }
.timeline__tc { color: var(--gold-l); font-size: 12px; font-variant-numeric: tabular-nums; direction: ltr; }
.timeline__ruler { display: flex; justify-content: space-between; padding: 8px 22px 6px; padding-inline-start: 82px; font: 500 10px/1 var(--mono); color: var(--muted); direction: rtl; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, rgba(255, 236, 214, .12) 0 1px, transparent 1px 12px) bottom / 100% 5px no-repeat; }
.timeline__ruler span { direction: ltr; }
.timeline__body { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 22px 20px; }
.timeline__label { display: grid; place-items: center; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; background: #110d0b; }
.timeline__clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.clip { position: relative; padding: 18px 18px 20px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); border-top: 3px solid var(--c); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, #0c0a08), color-mix(in srgb, var(--c) 5%, #0c0a08)); opacity: .55; filter: saturate(.6); transition: opacity .6s, filter .6s, box-shadow .6s; }
.clip.is-live { opacity: 1; filter: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 20px 50px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.clip__tag { font-size: 10px; color: var(--c); }
.clip h3 { margin-top: 6px; font-size: 19px; font-weight: 900; line-height: 1.6; }
.clip p { margin-top: 4px; font-size: 14.5px; line-height: 1.95; color: var(--text-2); }
.timeline__wave { display: flex; align-items: center; gap: 2px; height: 46px; padding-inline: 4px; border-radius: 10px; border: 1px solid var(--line); background: #0f0c0a; overflow: hidden; }
.timeline__wave i { flex: 1; min-width: 1px; border-radius: 1px; background: rgba(90, 167, 178, .45); }
.timeline__playhead { position: absolute; top: 6px; bottom: 8px; inset-inline-start: calc(82px + var(--tp) * (100% - 104px)); width: 2px; margin-inline-start: -1px; background: var(--rec); box-shadow: 0 0 14px var(--rec); z-index: 3; pointer-events: none; }
.timeline__playhead::before { content: ""; position: absolute; top: -6px; left: 50%; width: 14px; height: 12px; margin-left: -7px; background: var(--rec); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* ---------- 14. Blog — screenplay pages (image-free by design) ---------- */
.scripts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 60px); }
.script { perspective: 1200px; }
.script__page {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: 26px clamp(22px, 2.2vw, 30px) 22px; padding-inline-start: clamp(34px, 3vw, 44px);
  border-radius: 6px 18px 18px 6px; border: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(255, 236, 214, .028) 33px 34px),
    linear-gradient(170deg, #19140f, #110d0b 70%);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s;
  overflow: hidden;
}
/* red margin rule, like a script page */
.script__page::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: clamp(22px, 2vw, 30px); width: 1px; background: linear-gradient(180deg, transparent, rgba(255, 77, 79, .35) 12%, rgba(255, 77, 79, .35) 88%, transparent); }
/* light sweep on hover */
.script__page::after { content: ""; position: absolute; inset: -20% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 226, 190, .10) 50%, transparent 58%); transform: translateX(-60%); transition: transform 1.2s var(--ease-out); }
.script__page:hover { transform: translateY(-8px) rotateX(3deg); border-color: rgba(224, 169, 95, .4); box-shadow: 0 46px 80px -40px rgba(210, 106, 78, .55), inset 0 1px 0 rgba(255, 255, 255, .05); }
.script__page:hover::after { transform: translateX(60%); }
.script__brads { position: absolute; top: 0; bottom: 0; inset-inline-start: 9px; display: flex; flex-direction: column; justify-content: space-around; padding-block: 22%; }
.script__brads i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6d59a, #b07a35 60%, #5c3c17); box-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.script__slug { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); font-size: 10.5px; color: var(--muted); direction: ltr; }
.script__slug span:first-child { color: var(--gold); }
.script__cat { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--teal); }
.script__cue { margin-top: 16px; font-size: 11px; color: var(--muted); text-align: left; direction: ltr; }
.script__title { margin-top: 10px; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 900; line-height: 1.65; text-wrap: balance; }
.script__title a { background: linear-gradient(var(--gold), var(--gold)) right bottom / 0 2px no-repeat; transition: background-size .6s var(--ease-out), color .3s; padding-bottom: 2px; }
.script__page:hover .script__title a { background-size: 100% 2px; color: var(--gold-l); }
.script__body { margin-top: 12px; color: var(--text-2); font-size: 15px; line-height: 2; flex: 1; }
.script__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.script__meta time { font-variant-numeric: tabular-nums; }
.script__go { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-l); font-weight: 700; transition: gap .4s var(--ease-out); }
.script__page:hover .script__go { gap: 12px; }

/* ---------- 15. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 56px 1fr 40px; gap: 14px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__num { font-size: 11px; color: var(--muted); transition: color .3s; }
.qa__q { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 800; line-height: 1.8; transition: color .3s; }
.qa__toggle { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.qa__toggle::before, .qa__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.qa__toggle::after { transform: rotate(90deg); }
.qa summary:hover .qa__q { color: var(--gold-l); }
.qa[open] .qa__num { color: var(--gold); }
.qa[open] .qa__toggle { background: var(--grad-fire); border-color: transparent; color: #1a0d08; transform: rotate(180deg); }
.qa[open] .qa__toggle::after { transform: rotate(0deg); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a { padding: 0 70px 26px 54px; color: var(--text-2); line-height: 2.1; }
.qa__a a { color: var(--gold-l); border-bottom: 1px solid rgba(224, 169, 95, .4); }

/* ---------- 16. CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(100px, 13vw, 180px); border-top: 1px solid var(--line); }
.cta__bg { position: absolute; inset: 0; z-index: -2; background: #0b0807; }
.cta__visual { position: relative; display: grid; place-items: center; isolation: isolate; }
.cta__rays { position: absolute; top: 50%; left: 50%; z-index: -1; width: 1800px; height: 1800px; margin: -900px 0 0 -900px; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255, 214, 160, .065) 0deg 3deg, transparent 3deg 16deg); -webkit-mask-image: radial-gradient(closest-side, #000, transparent 70%); mask-image: radial-gradient(closest-side, #000, transparent 70%); animation: spin 160s linear infinite reverse; }
.cta__glow { position: absolute; top: 50%; left: 50%; z-index: -1; width: 900px; height: 900px; margin: -450px 0 0 -450px; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 106, 78, .26), rgba(210, 106, 78, .08) 50%, transparent 72%); }
.cta__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cta__title { font-size: clamp(2.1rem, 1rem + 3.4vw, 4.4rem); font-weight: 900; line-height: 1.28; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta__quick { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.cta__quick a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; transition: color .3s; }
.cta__quick a:hover { color: var(--gold-l); }
.cta__quick .ico { color: var(--gold); }

.slate { position: relative; width: min(100%, 430px); filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .7)); transform: rotate(-4deg); }
.slate__stick { position: relative; height: 56px; margin-bottom: 6px; border-radius: 10px 10px 4px 4px; background: repeating-linear-gradient(-58deg, #f1e6d8 0 30px, #15100d 30px 60px); border: 2px solid #15100d; transform-origin: right bottom; transform: rotate(-22deg); }
.slate__stick span { position: absolute; top: 50%; right: 10px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #15100d; }
.slate.is-in .slate__stick { animation: clap 4.5s var(--ease-out) .3s infinite; }
.slate__board { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px 6px 16px 16px; overflow: hidden; background: #110d0b; border: 2px solid #2a211b; box-shadow: inset 0 0 60px rgba(0, 0, 0, .6); }
.slate__board::before { content: ""; position: absolute; inset: 0 0 auto; height: 22px; background: repeating-linear-gradient(-58deg, #f1e6d8 0 30px, #15100d 30px 60px); }
.slate__row { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-top: 1px solid rgba(241, 230, 216, .16); }
.slate__row:nth-child(even):not(.slate__row--full) { border-inline-start: 1px solid rgba(241, 230, 216, .16); }
.slate__row--full { grid-column: 1 / -1; margin-top: 22px; border-top: 0; }
.slate__row small { font-size: 12px; color: var(--muted); }
.slate__row b { font-size: 20px; font-weight: 900; color: #f1e6d8; line-height: 1.5; }
.slate__row--full b { font-size: 24px; }
.slate__action { position: absolute; bottom: 18px; left: 18px; padding: 4px 16px; border: 3px solid var(--rec); border-radius: 10px; color: var(--rec); font-size: 28px; font-weight: 900; transform: rotate(-10deg) scale(1.8); opacity: 0; text-shadow: 0 0 20px rgba(255, 77, 79, .5); }
.slate.is-in .slate__action { animation: stamp 4.5s var(--ease-out) .3s infinite; }

/* ---------- 17. Footer ---------- */
.site-footer { position: relative; padding-top: clamp(72px, 8vw, 110px); background: #080605; border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: clamp(28px, 4vw, 64px); }
.footer__brand p { margin-top: 20px; max-width: 40ch; color: var(--muted); font-size: 15px; line-height: 2; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .35s var(--ease-out); }
.socials a:hover { color: #1a0d08; background: var(--gold); border-color: transparent; transform: translateY(-3px); }
.footer__title { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; font-size: 17px; font-weight: 900; }
.footer__title .mono { font-size: 10px; color: var(--gold); font-weight: 600; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--text-2); font-size: 15px; transition: color .3s, padding .3s var(--ease-out); }
.footer__col a:hover { color: var(--gold-l); padding-inline-start: 6px; }
.footer__news p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.newsletter { position: relative; display: flex; gap: 8px; margin-top: 16px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .03); flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 0; height: 42px; padding-inline: 16px; border: 0; outline: 0; background: transparent; color: var(--text); text-align: right; }
.newsletter input::placeholder { color: var(--muted); }
.newsletter:focus-within { border-color: rgba(224, 169, 95, .55); }
.newsletter__msg { position: absolute; top: calc(100% + 8px); inset-inline-start: 16px; font-size: 13px; color: var(--gold-l); }
.footer__end { position: relative; margin-top: clamp(56px, 7vw, 96px); text-align: center; pointer-events: none; }
.footer__end * { pointer-events: none; }
.footer__word { display: block; width: auto; max-width: 100%; height: clamp(67px, 15.75vw, 241.5px); margin-inline: auto; overflow: visible; user-select: none; }
.footer__word text { font-family: var(--font); font-size: 200px; font-weight: 900; }
.fw-base { fill: #ffecd6; }
.fw-light { fill: none; stroke: url(#fwLight); stroke-width: 2.6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 110 34; animation: fwFlow 2.4s linear infinite; filter: drop-shadow(0 0 2.5px rgba(255, 190, 120, .7)); }
@keyframes fwFlow { to { stroke-dashoffset: -144; } }
.footer__tbc { position: absolute; inset-inline: 0; bottom: 18%; display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.footer__tbc .mono { font-size: 11px; letter-spacing: .35em; }
.footer__bottom { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer__bottom ul { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- 18. Mobile dock ---------- */
.dock { display: none; }

/* ---------- 19. Motion: reveals & hero entrance ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="wipe"] { transform: translateY(22px); filter: blur(10px); }
.js [data-reveal="scale"] { transform: translateY(40px) scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .act[data-reveal] .act__clapper span { transform: rotate(-16deg); }
.js .act[data-reveal].is-in .act__clapper span { transform: rotate(0deg); transition: transform .32s var(--ease-snap) calc(var(--d, 0) * 90ms + .45s); }
.js .act[data-reveal].is-in::after { animation: flash .9s ease-out calc(var(--d, 0) * 90ms + .7s) both; }
.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* Hero entrance (gated by .is-ready) */
.js .hero__line > span { opacity: 0; transform: translateY(46%) scale(1.07); filter: blur(18px); }
.js [data-hero-anim] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .hero__rule { transform: scaleX(0); }
.js .lens { opacity: 0; transform: scale(.88) rotate(-8deg); }
.js .star-strokes path { stroke-dashoffset: 1; }
.js .viewfinder { opacity: 0; }

.is-ready .hero__line > span { opacity: 1; transform: none; filter: none; transition: opacity 1.2s ease calc(var(--i) * 190ms + 80ms), transform 2s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 190ms + 80ms), filter 1.6s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 190ms + 80ms); animation: heroShine 1.9s cubic-bezier(.55, 0, .25, 1) calc(var(--i) * 260ms + .75s) both; }
@keyframes heroShine { from { background-position: 0% 0, 0 0; } to { background-position: 100% 0, 0 0; } }
.is-ready [data-hero-anim] { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease-out) calc(var(--i) * 110ms + 120ms), transform 1.1s var(--ease-out) calc(var(--i) * 110ms + 120ms), filter 1s var(--ease-out) calc(var(--i) * 110ms + 120ms); }
.is-ready .hero__rule { transform: none; transition: transform 1.2s var(--ease-cine) .6s; }
.is-ready .lens { opacity: 1; transform: none; transition: opacity 1.4s var(--ease-out) .15s, transform 2s var(--ease-out) .15s; }
.is-ready .star-strokes path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-out) calc(.5s + var(--d) * 110ms); }
.is-ready .viewfinder { opacity: 1; transition: opacity 1.2s .9s; }

/* ---------- 20. Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes breathe { 50% { opacity: .65; transform: scale(.96); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes flare { 0%, 100% { opacity: .55; transform: scaleX(.85); } 45% { opacity: .95; transform: scaleX(1.05); } 50% { opacity: .4; } 55% { opacity: .9; } }
@keyframes drip { to { top: 110%; } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes sweep { to { stroke-dashoffset: 0; } }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
@keyframes clap { 0%, 52% { transform: rotate(-22deg); } 60% { transform: rotate(0deg); } 64% { transform: rotate(-4deg); } 68%, 92% { transform: rotate(0deg); } 100% { transform: rotate(-22deg); } }
@keyframes stamp { 0%, 58% { opacity: 0; transform: rotate(-10deg) scale(1.8); } 64% { opacity: 1; transform: rotate(-10deg) scale(.95); } 68%, 90% { opacity: 1; transform: rotate(-10deg) scale(1); } 100% { opacity: 0; transform: rotate(-10deg) scale(1); } }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1200px) {
  .hdr-panel { display: none; }
  .mega__inner { grid-template-columns: repeat(4, 1fr); }
  .mega__feature { display: none; }
}

@media (max-width: 1100px) {
  .scripts { grid-template-columns: 1fr 1fr; }
  .scripts .script:last-child { grid-column: 1 / -1; }
  .nav, .hdr-phone { display: none; }
  .menu-toggle { display: grid; }
  .site-header__actions { margin-inline-start: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .lens { position: absolute; z-index: -1; top: 50%; left: -18%; width: min(92vw, 640px); transform-origin: center; translate: 0 -50%; opacity: .5; }
  .is-ready .lens { opacity: .5; }
  .lens__tag { display: none; }
  .hero__copy { max-width: 720px; }
  .growth__grid, .process__grid, .faq__grid, .cta__grid { grid-template-columns: 1fr; }
  .process__aside, .faq__head { position: static; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .cta__visual { justify-items: start; margin-top: 12px; }
  .slate { width: min(100%, 400px); transform: rotate(-3deg); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card--wide { grid-column: auto; }
  .acts { grid-template-columns: 1fr; }
  .acts .act:nth-child(even) { margin-top: 0; }
  .timeline__ruler, .timeline__label, .timeline__wave, .timeline__playhead { display: none; }
  .timeline__body { grid-template-columns: 1fr; padding: 14px; }
  .timeline__clips { grid-template-columns: 1fr; gap: 10px; }
  .clip { opacity: 1; filter: none; }
  .scripts { grid-template-columns: 1fr; }

  .dock { position: fixed; z-index: 58; inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(16, 12, 10, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); transform: translateY(140%); transition: transform .6s var(--ease-out); }
  .dock.is-visible { transform: none; }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 14px; font-size: 12px; font-weight: 700; color: var(--text-2); }
  .dock a .ico { color: var(--gold); }
  .dock .dock__main { flex-direction: row; gap: 8px; font-size: 14.5px; font-weight: 800; color: #1a0d08; background: var(--grad-fire); }
  .dock .dock__main .ico { color: #1a0d08; }
  .site-footer { padding-bottom: 90px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 17px; }
  .brand__tag { font-size: 10px; }
  .site-header__actions .btn { display: none; }
  .viewfinder__bottom, .viewfinder__top .hud--dim { display: none; }
  .viewfinder__top { inset-inline: 38px; }
  .vf-c { width: 20px; height: 20px; }
  .hero { padding-top: calc(var(--header-h) + 52px); }
  .hero__title { font-size: clamp(2.7rem, 1rem + 9.5vw, 4rem); }
  .lens { left: -40%; width: 120vw; top: 34%; opacity: .38; }
  .is-ready .lens { opacity: .38; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__foot { gap: 16px; }
  .scroll-cue { display: none; }
  .credits { grid-template-columns: 1fr; }
  .credits__item, .credits__item + .credits__item { grid-template-columns: 36px auto 1fr; align-items: baseline; padding: 12px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .credits__num { grid-row: auto; }
  .credits__desc { text-align: end; }
  .director { flex-direction: column; align-items: flex-start; }
  .director__photo { width: 100%; height: 220px; }
  .qa summary { grid-template-columns: 1fr 40px; }
  .qa__num { display: none; }
  .qa__a { padding: 0 0 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand, .footer__news { grid-column: 1 / -1; }
  .footer__col a { font-size: 14.5px; }
  .slate__row b { font-size: 17px; }
  .slate__row--full b { font-size: 20px; }
  .work__hint { display: none; }
}

/* ---------- 22. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fw-light { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain, .hero__embers { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .slate__stick { transform: none; }
  .slate__action { opacity: 1; transform: rotate(-10deg) scale(1); }
}


/* ---------- 23. WordPress chrome additions ---------- */
body.cinema { background: var(--bg); color: var(--text); font-family: var(--font); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-shell > main { flex: 1 0 auto; }
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); } }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after { content: ""; position: absolute; bottom: 2px; inset-inline-start: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: translateX(50%); }
.hdr-panel, .mobile-menu__panel { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.portal-dot { width: 7px; height: 7px; border-radius: 50%; background: #46c27a; box-shadow: 0 0 10px #46c27a; }
.portal-dot[hidden] { display: none; }
.footer__tools { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.footer__tools summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--text-2); font-size: 14px; font-weight: 700; }
.footer__tools summary::-webkit-details-marker { display: none; }
.footer__tools summary .ico { color: var(--gold); }
.footer__tools ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer__tools a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); transition: border-color .3s, color .3s; }
.footer__tools a:hover { border-color: var(--gold); color: var(--gold-l); padding-inline-start: 12px; }
.id-fa-newsletter-feedback { position: absolute; top: calc(100% + 8px); inset-inline-start: 16px; margin: 0; font-size: 13px; color: var(--gold-l); }
.id-fa-newsletter-feedback.is-error { color: #ff8a7a; }
.newsletter { position: relative; }

/* ---------- 24. 404 — missing scene ---------- */
.cinema-404 { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 60px) 0 80px; overflow: hidden; isolation: isolate; background: radial-gradient(50% 50% at 50% 45%, rgba(210, 106, 78, .14), transparent 70%), var(--bg); }
.cinema-404 .viewfinder { opacity: 1; }
.cinema-404__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.cinema-404__code { font-size: clamp(110px, 22vw, 260px); line-height: .9; font-weight: 600; letter-spacing: -.04em; margin: 8px 0 18px; background: linear-gradient(180deg, rgba(246, 238, 229, .9), rgba(246, 238, 229, .05)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: flicker 6s steps(1) infinite; }
.cinema-404 .section-lead { margin-inline: auto; }
.cinema-404 .hero__cta { justify-content: center; }
.cinema-404__links { display: flex; gap: 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.cinema-404__links a:hover { color: var(--gold-l); }
@keyframes flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .35; } 94% { opacity: 1; } 96% { opacity: .55; } 97% { opacity: 1; } }

/* ==========================================================================
   25. Composed inner pages (Cinema Composer) — same language as the home
   ========================================================================== */
.cinema-composed { position: relative; }

/* Hero — "opening scene" */
.cx-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, 82vh, 820px); padding: calc(var(--header-h) + clamp(56px, 8vh, 96px)) 0 clamp(64px, 9vh, 104px); background: radial-gradient(120% 80% at 50% 0%, #120d0a 0%, var(--bg) 70%); }
.cx-hero--compact { min-height: clamp(420px, 60vh, 600px); }
.cx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .6) 100%); }
.cx-hero .viewfinder { opacity: 1; }
.js .cx-hero .viewfinder { opacity: 0; }
.is-ready .cx-hero .viewfinder { opacity: 1; transition: opacity 1.2s .6s; }
.cx-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.cx-hero__copy { position: relative; z-index: 2; }
.cx-hero__title { margin-top: 18px; font-size: clamp(2.3rem, min(1rem + 4.2vw, 8.4vh), 5.2rem); font-weight: 900; line-height: 1.2; text-wrap: balance; }
.cx-hero__lead { margin-top: 18px; max-width: 62ch; color: var(--text-2); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 2.05; text-wrap: pretty; }
.cx-hero__lead + .cx-hero__lead { margin-top: 10px; }
.cx-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cx-hero__visual { position: relative; justify-self: center; width: min(100%, 520px, 60vh); }
.cx-hero--media .cx-hero__visual { width: 100%; }
.cx-hero__extras { position: relative; z-index: 2; margin-top: clamp(32px, 5vh, 56px); display: grid; gap: 24px; }
.cx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; font-weight: 700; line-height: 1.7; color: var(--muted); }
.cx-crumbs li + li::before { content: "/"; margin-inline-end: 10px; color: rgba(224, 169, 95, .5); }
.cx-crumbs a { color: var(--text-2); transition: color .3s; }
.cx-crumbs a:hover { color: var(--gold-l); }
.cx-crumbs [aria-current] { color: var(--gold-l); }
.cx-hero .chip { margin-top: 18px; }

.cx-lens { position: relative; aspect-ratio: 1; width: 100%; }
.cx-lens svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cx-lens .lens__rays { inset: -45%; }
.js .cx-lens { opacity: 0; transform: scale(.9) rotate(-6deg); }
.is-ready .cx-lens { opacity: 1; transform: none; transition: opacity 1.4s var(--ease-out) .15s, transform 2s var(--ease-out) .15s; }

.cx-screen { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #0b0908; border: 1px solid transparent; background: linear-gradient(#0b0908, #0b0908) padding-box, linear-gradient(150deg, rgba(224, 169, 95, .7), rgba(255, 236, 214, .08) 40%, rgba(90, 167, 178, .5)) border-box; box-shadow: 0 60px 100px -50px rgba(210, 106, 78, .55); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.cx-screen img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: cover; object-position: top center; }
.cx-screen .frame-corners { top: 44px; }
.cx-screen:hover .work-card__glare { opacity: 1; }

/* Sections */
.cx-section { overflow: clip; }
.cx-section--alt { background: linear-gradient(180deg, transparent, rgba(255, 236, 214, .018) 18%, rgba(255, 236, 214, .018) 82%, transparent); }
.cx-head { margin-bottom: clamp(32px, 4vw, 52px); }
.cx-head .kicker:empty { display: none; }
.cx-section .container > * + * { margin-top: clamp(20px, 2.4vw, 32px); }
.cx-section .container > .cx-head + * { margin-top: 0; }

/* Feature cards */
.cx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.cx-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out); }
.cx-card:hover { transform: translateY(-6px); border-color: rgba(224, 169, 95, .35); box-shadow: 0 40px 80px -40px rgba(210, 106, 78, .5); }
.cx-card .frame-corners { inset: 12px; opacity: 0; --cl: 14px; }
.cx-card:hover .frame-corners { inset: 16px; opacity: .9; }
.cx-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-l); background: rgba(224, 169, 95, .08); border: 1px solid rgba(224, 169, 95, .28); transition: transform .6s var(--ease-out), background-color .4s, color .4s; }
.cx-card:hover .cx-card__icon { transform: rotate(-12deg); background: var(--gold); color: #1a0d08; }
.cx-card__tag { font-size: 13px; font-weight: 700; color: var(--teal); }
.cx-card__title { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); font-weight: 900; line-height: 1.6; }
.cx-card p { color: var(--text-2); font-size: 15px; line-height: 1.95; }
.cx-card .tags { margin-top: 4px; }
.cx-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Numbered cards → clapper acts */
.cx-acts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) !important; }
.cx-acts .act:nth-child(even) { margin-top: 0; }
.cx-acts--2 { grid-template-columns: repeat(2, 1fr) !important; }
.cx-acts--2 .act:nth-child(even) { margin-top: 48px; }
.cx-acts .act h3 a { color: inherit; }
.cx-acts .act h3 a:hover { color: var(--gold-l); }
.cx-mini { margin-top: 12px; display: grid; gap: 6px; }
.cx-mini li { position: relative; padding-inline-start: 18px; color: var(--text-2); font-size: 14px; line-height: 1.8; }
.cx-mini li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }

/* Image cards → film frames */
.cx-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.cx-cases .work-card { flex: none; }
.cx-cases .work-card__body p { -webkit-line-clamp: 4; }

/* Checklists */
.cx-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px 22px; }
.cx-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 236, 214, .02); transition: border-color .4s, background-color .4s; }
.cx-list li:hover { border-color: rgba(90, 167, 178, .4); background: rgba(90, 167, 178, .04); }
.cx-list__check { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #1a0d08; background: var(--grad-fire); box-shadow: 0 0 16px rgba(224, 169, 95, .35); }
.cx-list__check .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.cx-list li > div { display: flex; flex-direction: column; gap: 2px; line-height: 1.95; }
.cx-list strong { color: var(--text); font-size: 16px; font-weight: 800; }
.cx-list span { color: var(--text-2); font-size: 15px; }
.cx-list a { color: var(--gold-l); }

/* Quotes */
.cx-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.cx-quote { position: relative; margin: 0; padding: 30px 26px 26px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(120% 120% at 100% 0%, rgba(210, 106, 78, .1), transparent 55%), var(--panel); }
.cx-quote__mark { position: absolute; top: 6px; inset-inline-end: 18px; font-size: 72px; line-height: 1; font-weight: 900; color: rgba(224, 169, 95, .22); }
.cx-quote__label { color: var(--gold-l); font-weight: 800; margin-bottom: 8px; }
.cx-quote p { color: var(--text-2); line-height: 2; }

/* Link tiles */
.cx-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cx-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .02); transition: border-color .35s, background-color .35s, transform .4s var(--ease-out); }
.cx-links a:hover { border-color: rgba(224, 169, 95, .5); background: rgba(224, 169, 95, .05); transform: translateY(-3px); }
.cx-links a > span { display: flex; flex-direction: column; gap: 2px; }
.cx-links strong { font-weight: 800; }
.cx-links small { color: var(--muted); font-size: 13px; }
.cx-links .ico { color: var(--gold); transition: transform .4s var(--ease-out); }
.cx-links a:hover .ico { transform: translateX(-5px); }
.cx-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Chips & path */
.cx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cx-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(224, 169, 95, .28); background: rgba(224, 169, 95, .05); color: var(--text-2); font-size: 14px; font-weight: 600; }
.cx-chips--path { counter-reset: none; gap: 0; }
.cx-chips--path li { position: relative; border-radius: 14px; padding: 12px 18px; margin-inline-end: 34px; }
.cx-chips--path li:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: -28px; top: 50%; width: 22px; height: 1px; background: linear-gradient(90deg, var(--terra), var(--gold)); }
.cx-chips--path .mono { font-size: 11px; color: var(--gold); }
.cx-chips--hero { margin-top: 24px; }

/* Before / after */
.cx-compare { border-radius: 20px; border: 1px solid var(--line-2); overflow: hidden; background: var(--panel); }
.cx-compare__head, .cx-compare__row { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; gap: 12px; padding: 16px 22px; }
.cx-compare__head { font: 600 12px/1 var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(255, 236, 214, .03); }
.cx-compare__head span:last-child { grid-column: 3; color: var(--gold-l); }
.cx-compare__row + .cx-compare__row { border-top: 1px solid var(--line); }
.cx-compare .is-before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 77, 79, .5); }
.cx-compare .is-after { color: var(--text); font-weight: 700; }
.cx-compare__arrow { display: grid; place-items: center; color: var(--gold); }

/* Tables */
.cx-table { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line-2); background: var(--panel); }
.cx-table table { width: 100%; min-width: 640px; border-collapse: collapse; }
.cx-table th { padding: 16px 18px; text-align: start; font-size: 14px; font-weight: 800; color: var(--gold-l); background: rgba(224, 169, 95, .06); border-bottom: 1px solid var(--line-2); }
.cx-table td { padding: 16px 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.9; border-bottom: 1px solid var(--line); vertical-align: top; }
.cx-table tr:last-child td { border-bottom: 0; }
.cx-table td:first-child { color: var(--text); font-weight: 700; }
.cx-table tbody tr:hover td { background: rgba(255, 236, 214, .02); }

/* Media */
.cx-media { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0908; }
.cx-media img { display: block; width: 100%; height: auto; }
.cx-media .frame-corners { opacity: 0; }
.cx-media:hover .frame-corners { inset: 20px; opacity: 1; }
.cx-media figcaption { padding: 12px 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.cx-media-grid { display: grid; gap: 18px; }
.cx-media-grid--2 { grid-template-columns: 1fr 1fr; }
.cx-media-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cx-media--wide { margin-bottom: 36px; }
.cx-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cx-split__copy { display: grid; gap: 18px; }

/* Notes & subheads */
.cx-notes { display: grid; gap: 14px; max-width: 78ch; }
.cx-notes p { color: var(--text-2); line-height: 2.05; font-size: 1.02rem; }
.cx-notes a, .cx-hero__lead a, .section-lead a, .qa__a a { color: var(--gold-l); border-bottom: 1px solid rgba(224, 169, 95, .35); }
.cx-subhead { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 900; line-height: 1.6; padding-inline-start: 16px; border-inline-start: 3px solid var(--gold); }
.cx-faq { max-width: 980px; }

/* Interactive islands (forms, tools) keep their markup; framed in the system */
.cx-island { position: relative; padding: clamp(18px, 2.4vw, 30px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 236, 214, .03), rgba(255, 236, 214, .01)), var(--panel); }
.cx-island::before { content: "LIVE TOOL"; position: absolute; top: -10px; inset-inline-start: 22px; padding: 2px 10px; border-radius: 6px; font: 600 10px/1.6 var(--mono); letter-spacing: .14em; color: var(--gold-l); background: var(--bg); border: 1px solid rgba(224, 169, 95, .35); direction: ltr; }
.cx-island:has(form)::before { content: "FORM"; }

/* Prose (plain pages) */
.cx-prose { max-width: 78ch; margin-inline: auto; font-size: 1.06rem; line-height: 2.1; color: var(--text-2); }
.cx-prose > * + * { margin-top: 1.1em; }
.cx-prose :is(h2, h3) { color: var(--text); font-weight: 900; line-height: 1.5; margin-top: 1.8em; }
.cx-prose h2 { font-size: 1.6rem; padding-top: .6em; border-top: 1px solid var(--line); }
.cx-prose h3 { font-size: 1.25rem; }
.cx-prose a { color: var(--gold-l); border-bottom: 1px solid rgba(224, 169, 95, .35); }
.cx-prose :is(ul, ol) { padding-inline-start: 1.4em; }
.cx-prose ul { list-style: disc; }
.cx-prose ol { list-style: decimal; }
.cx-prose li::marker { color: var(--gold); }
.cx-prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-inline-start: 3px solid var(--gold); border-radius: 6px 16px 16px 6px; background: rgba(224, 169, 95, .05); }
.cx-prose img { border-radius: 16px; border: 1px solid var(--line-2); height: auto; }
.cx-prose table { width: 100%; border-collapse: collapse; border: 1px solid var(--line-2); }
.cx-prose :is(td, th) { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cx-prose th { color: var(--gold-l); background: rgba(224, 169, 95, .06); }
.cx-comments { margin-top: 48px; }

@media (max-width: 1100px) {
	.cx-hero__inner { grid-template-columns: 1fr; }
	.cx-hero__visual { position: absolute; z-index: -1; top: 40%; left: -20%; width: min(92vw, 560px); opacity: .45; pointer-events: none; }
	.cx-hero--media .cx-hero__visual { position: relative; top: auto; left: auto; width: 100%; opacity: 1; z-index: 1; margin-top: 12px; }
	.cx-split { grid-template-columns: 1fr; }
	.cx-acts--2 .act:nth-child(even) { margin-top: 0; }
}
@media (max-width: 860px) {
	.cx-acts--2 { grid-template-columns: 1fr !important; }
	.cx-media-grid--2, .cx-media-grid--3 { grid-template-columns: 1fr; }
	.cx-compare__head, .cx-compare__row { grid-template-columns: 1fr 32px 1fr; padding: 14px; font-size: 14px; }
}
@media (max-width: 640px) {
	.cx-hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); }
	.cx-hero__visual { left: -45%; width: 120vw; top: 30%; opacity: .3; }
	.cx-chips--path li { margin-inline-end: 0; }
	.cx-chips--path li::after { display: none; }
	.cx-hero__cta .btn { flex: 1 1 100%; }
}

/* Footer end credits: rising embers behind "ادامه دارد" (decorative canvas) */
.footer__end { isolation: isolate; }
.footer__embers { position: absolute; inset: -40% -6vw -10%; width: calc(100% + 12vw); height: 150%; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000 40%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 60%, #000 40%, transparent 100%); }
@media (max-width: 640px) {
  .footer__end { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .footer__word { height: 19.95vw; }
  .footer__tbc { position: static; flex-wrap: wrap; font-size: 11px; }
}

/* ==========================================================================
   26. Native blog, article, portfolio
   ========================================================================== */
/* Search + topic rail */
.cinema-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 28px; padding: 6px 6px 6px 8px; padding-inline-start: 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .035); transition: border-color .3s; }
.cinema-search:focus-within { border-color: rgba(224, 169, 95, .6); }
.cinema-search > .ico { color: var(--gold); }
.cinema-search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.cinema-search input::placeholder { color: var(--muted); }
.cinema-rail { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.cinema-rail a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; font-weight: 700; transition: border-color .3s, color .3s, background-color .3s; }
.cinema-rail a .mono { font-size: 11px; color: var(--muted); }
.cinema-rail a:hover { border-color: rgba(224, 169, 95, .55); color: var(--gold-l); }
.cinema-rail a[aria-current] { background: var(--grad-fire); color: #1a0d08; border-color: transparent; }
.cinema-rail a[aria-current] .mono { color: #1a0d08; }

/* Script grid + featured script */
.scripts--grid { margin-top: 0; }
.scripts--featured { grid-template-columns: 1fr; margin: 0 0 clamp(18px, 2vw, 28px); }
.script--featured .script__page { padding: clamp(28px, 4vw, 54px); padding-inline-start: clamp(46px, 5vw, 70px); background: radial-gradient(70% 120% at 0% 0%, rgba(210, 106, 78, .16), transparent 60%), repeating-linear-gradient(180deg, transparent 0 33px, rgba(255, 236, 214, .028) 33px 34px), linear-gradient(170deg, #1b150f, #110d0b 70%); }
.script--featured .script__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); line-height: 1.5; max-width: 26ch; }
.script--featured .script__body { font-size: 16.5px; max-width: 70ch; }
.script--featured .script__cue { font-size: 12px; }

/* Pager */
.cinema-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.cinema-pager ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cinema-pager :is(a, span.page-numbers) { min-width: 46px; height: 46px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 700; transition: border-color .3s, color .3s; }
.cinema-pager a:hover { border-color: var(--gold); color: var(--gold-l); }
.cinema-pager .current { background: var(--grad-fire); color: #1a0d08; border-color: transparent; }
.cinema-pager .dots { border: 0; min-width: 20px; }
.cinema-pager__reel { font-size: 11px; color: var(--muted); }
.cinema-empty { padding: clamp(40px, 6vw, 80px) 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 24px; }
.cinema-empty .mono { color: var(--gold); font-size: 12px; margin-bottom: 10px; }
.cinema-empty .section-lead { margin-inline: auto; }

/* Hero stats */
.cinema-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cinema-stats li { display: flex; flex-direction: column; padding: 14px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .03); }
.cinema-stats strong { font-size: 28px; font-weight: 900; line-height: 1.2; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cinema-stats span { font-size: 13px; color: var(--muted); }
.cx-acts--3 { grid-template-columns: repeat(3, 1fr) !important; }
.cx-acts--3 .cx-chips--path { margin-top: 14px; display: grid; gap: 8px; }
.cx-acts--3 .cx-chips--path li { margin: 0; }
.cx-acts--3 .cx-chips--path li::after { display: none; }

/* Article hero + byline */
.cx-hero--article { min-height: clamp(560px, 80vh, 800px); }
.cx-hero__title--article { font-size: clamp(2rem, min(1rem + 3.2vw, 7vh), 3.9rem); line-height: 1.35; }
.cx-hero--article .cx-screen img { aspect-ratio: 3 / 2; object-fit: cover; }
.cinema-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cinema-byline__author { display: inline-flex; align-items: center; gap: 12px; }
.cinema-byline__author img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(224, 169, 95, .4); }
.cinema-byline :is(.cinema-byline__author span, .cinema-byline__item) { display: flex; flex-direction: column; line-height: 1.5; }
.cinema-byline small { font-size: 11.5px; color: var(--muted); }
.cinema-byline :is(strong, time) { font-size: 14.5px; font-weight: 800; color: var(--text); }
.cinema-byline__author:hover strong { color: var(--gold-l); }

/* Article body grid + scene list TOC */
.cinema-article__grid { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cinema-article__grid.is-single-column { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.cinema-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; scrollbar-width: thin; }
.cinema-toc__panel { padding: 20px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 236, 214, .035), rgba(255, 236, 214, .01)), var(--panel); }
.cinema-toc__title { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; font-weight: 900; color: var(--text); }
.cinema-toc__title .mono { font-size: 10.5px; color: var(--gold); font-weight: 600; }
.cinema-toc ol { display: grid; gap: 2px; }
.cinema-toc ol a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.8; color: var(--text-2); border-inline-start: 2px solid transparent; transition: color .3s, background-color .3s, border-color .3s; }
.cinema-toc ol a .mono { font-size: 11px; color: var(--muted); padding-top: 4px; }
.cinema-toc ol a:hover { color: var(--text); background: rgba(255, 236, 214, .03); }
.cinema-toc ol a[aria-current] { color: var(--gold-l); background: rgba(224, 169, 95, .07); border-inline-start-color: var(--gold); }
.cinema-toc__service { display: grid; gap: 6px; padding: 18px 20px; border-radius: 20px; border: 1px solid rgba(224, 169, 95, .3); background: radial-gradient(120% 120% at 0% 100%, rgba(210, 106, 78, .22), transparent 60%), var(--panel); transition: border-color .3s, transform .4s var(--ease-out); }
.cinema-toc__service:hover { border-color: var(--gold); transform: translateY(-3px); }
.cinema-toc__service .mono { font-size: 10.5px; color: var(--gold); }
.cinema-toc__service strong { font-size: 16px; font-weight: 900; line-height: 1.6; }

/* Article prose */
.cinema-prose { max-width: 74ch; margin-inline: 0; font-size: 1.08rem; line-height: 2.15; }
.cinema-prose > p:first-child { font-size: 1.16rem; color: var(--text); }
.cinema-prose h2 { scroll-margin-top: calc(var(--header-h) + 28px); position: relative; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); padding-top: 1.1em; }
.cinema-prose h2::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 64px; height: 2px; background: var(--grad-brand); }
.cinema-prose h3 { scroll-margin-top: calc(var(--header-h) + 28px); font-size: 1.25rem; color: var(--gold-l); }
.cinema-prose figure { margin: 1.6em 0; }
.cinema-prose figure img { width: 100%; }
.cinema-prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.cinema-prose strong { color: var(--text); }
.cx-table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); }
.cx-table-wrap table { min-width: 560px; border: 0 !important; }
.cx-table-wrap :is(td, th) { padding: 14px 16px !important; vertical-align: top; text-align: start; line-height: 1.9; }
.cx-table-wrap th { color: var(--gold-l); background: rgba(224, 169, 95, .06); font-weight: 800; }
.cx-table-wrap tr + tr td { border-top: 1px solid var(--line); }

/* Share + author */
.cinema-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding: 18px 0; border-block: 1px solid var(--line); }
.cinema-share > .mono { font-size: 11px; color: var(--muted); margin-inline-end: auto; }
.cinema-share .icon-btn { width: 44px; height: 44px; }
.cinema-author { display: flex; gap: 22px; align-items: center; margin-top: 32px; padding: 22px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(224, 169, 95, .08), transparent 60%), var(--panel); }
.cinema-author__photo { position: relative; flex: none; width: 112px; height: 112px; border-radius: 18px; overflow: hidden; }
.cinema-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.cinema-author__photo .frame-corners { inset: 8px; --cl: 12px; opacity: .9; }
.cinema-author .mono { font-size: 10.5px; color: var(--gold); }
.cinema-author h2 { font-size: 22px; font-weight: 900; line-height: 1.5; }
.cinema-author h2 a:hover { color: var(--gold-l); }
.cinema-author__role { color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.cinema-author__bio { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.95; }

/* Comments (native runtime markup, repainted) */
.cinema-comments__box { display: grid; gap: 28px; }
.cinema-comments :is(.id-single-comments__header, .id-single-comments__heading) { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cinema-comments :is(.id-single-comments__heading, .id-single-comment-form__heading) h2,
.cinema-comments :is(.id-single-comments__heading, .id-single-comment-form__heading) h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); font-weight: 900; }
.cinema-comments .id-single-comments__icon { display: none; }
.cinema-comments .id-single-comments__count { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(224, 169, 95, .35); color: var(--gold-l); }
.cinema-comments .id-comment-list { display: grid; gap: 14px; }
.cinema-comments .id-comment-thread { display: grid; gap: 12px; }
.cinema-comments .id-comment-children { display: grid; gap: 12px; padding-inline-start: clamp(16px, 3vw, 40px); border-inline-start: 1px dashed var(--line-2); }
.cinema-comments .id-comment-card { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 236, 214, .025); }
.cinema-comments .id-comment-card__header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.cinema-comments .id-comment-number { font-size: 11px; padding: 2px 8px; border-radius: 6px; color: var(--gold-l); border: 1px solid rgba(224, 169, 95, .35); }
.cinema-comments .id-comment-author-dot { width: 10px; height: 10px; border-radius: 50%; }
.cinema-comments .id-comment-card__author { font-size: 15px; font-weight: 800; }
.cinema-comments .id-comment-card__date { font-size: 12.5px; color: var(--muted); margin-inline-start: auto; }
.cinema-comments .id-comment-card__content { color: var(--text-2); line-height: 2; font-size: 15px; }
.cinema-comments .id-single-comment-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 236, 214, .035), rgba(255, 236, 214, .01)), var(--panel); }
.cinema-comments .id-comment-fields-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cinema-comments .id-comment-field { display: grid; gap: 6px; }
.cinema-comments .id-comment-field__label { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.cinema-comments .id-comment-field__control { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #0f0c0a; color: var(--text); font: inherit; outline: 0; transition: border-color .3s; }
.cinema-comments textarea.id-comment-field__control { min-height: 140px; resize: vertical; line-height: 1.9; }
.cinema-comments .id-comment-field__control:focus { border-color: var(--gold); }
.cinema-comments .id-comment-field__meta, .cinema-comments .id-single-comment-form__privacy { font-size: 12.5px; color: var(--muted); }
.cinema-comments .id-comment-field__error { font-size: 12.5px; color: #ff8a7a; }
.cinema-comments .id-comment-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cinema-comments .id-comment-captcha__question { font-weight: 800; color: var(--gold-l); }
.cinema-comments .id-comment-captcha__refresh { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.cinema-comments button[type="submit"] { justify-self: start; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--grad-fire); color: #1a0d08; font-weight: 800; box-shadow: 0 12px 30px -12px rgba(210, 106, 78, .75); }
.cinema-comments [hidden] { display: none !important; }

@media (max-width: 1100px) {
	.cinema-article__grid { grid-template-columns: 1fr; }
	.cinema-toc { position: static; max-height: none; }
	.cx-acts--3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
	.cinema-author { flex-direction: column; align-items: flex-start; }
	.cinema-search { border-radius: 18px; }
}

/* ==========================================================================
   27. Bespoke pages — components
   ========================================================================== */
.cx-hero--page { min-height: clamp(600px, 88vh, 860px); }
.cx-hero--page .cx-hero__title { font-size: clamp(2.3rem, min(1rem + 3.9vw, 8vh), 4.9rem); }

/* Hero art monitor */
.cx-hero--art .cx-hero__visual { width: 100%; max-width: 620px; position: relative; }
.cx-art { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid transparent; background: linear-gradient(#0b0908, #0b0908) padding-box, linear-gradient(150deg, rgba(224, 169, 95, .75), rgba(255, 236, 214, .08) 40%, rgba(90, 167, 178, .55)) border-box; box-shadow: 0 70px 120px -60px rgba(210, 106, 78, .65); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.cx-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.cx-art .frame-corners { top: 44px; opacity: .6; }
.cx-art:hover .work-card__glare { opacity: 1; }
.cx-art__glow { position: absolute; inset: 30% 10% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(210, 106, 78, .5), transparent); filter: blur(30px); }
.cx-hero--art .cx-hero__visual .lens__tag { z-index: 3; }
.cx-hero--art .lens__tag--1 { top: -14px; right: 8%; }
.cx-hero--art .lens__tag--2 { top: 38%; left: -26px; }
.cx-hero--art .lens__tag--3 { bottom: -14px; left: 14%; }
.cx-hero--art .lens__tag--4 { bottom: 24%; right: -18px; }
.js .cx-art { opacity: 0; transform: perspective(1200px) rotateX(8deg) translateY(30px); }
.is-ready .cx-art { opacity: 1; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 1.2s var(--ease-out) .25s, transform 1.4s var(--ease-out) .25s; }

/* Reel path (numbered strip of steps) */
.cx-reel { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(28px, 4vh, 48px); padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 236, 214, .05) 22px 23px) top / 100% 6px no-repeat, repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 236, 214, .05) 22px 23px) bottom / 100% 6px no-repeat, rgba(255, 236, 214, .02); counter-reset: none; }
.cx-reel li { position: relative; flex: 1 1 0; min-width: 150px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.cx-reel li + li { border-inline-start: 1px dashed var(--line-2); }
.cx-reel .mono { font-size: 11px; color: var(--gold); }
.cx-reel--block { margin-top: 28px; }

/* Split layout */
.cinema-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.cinema-split__copy > * + * { margin-top: 22px; }
.cinema-split__copy .cx-head { margin-bottom: 0; }

/* Color grade before/after */
.grade { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(180deg, #120e0b, #0c0908); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.grade__bar { display: flex; justify-content: space-between; padding: 12px 20px; font-size: 10.5px; color: var(--muted); border-bottom: 1px solid var(--line); background: #110d0b; }
.grade__lut { color: var(--gold-l); }
.grade__head, .grade__row { display: grid; grid-template-columns: 110px 1fr 36px 1fr; align-items: center; gap: 14px; padding: 16px 20px; }
.grade__head { font: 600 11px/1 var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); }
.grade__head span:nth-child(4) { color: var(--gold-l); }
.grade__row + .grade__row { border-top: 1px solid var(--line); }
.grade__layer { font-size: 13px; font-weight: 800; color: var(--text); }
.grade__before { color: var(--muted); font-size: 14px; line-height: 1.8; filter: grayscale(1); position: relative; }
.grade__before::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgba(255, 77, 79, .45); }
.grade__after { font-size: 14.5px; font-weight: 700; line-height: 1.8; padding: 8px 12px; border-radius: 10px; color: var(--text); background: linear-gradient(110deg, rgba(243, 194, 122, .14), rgba(210, 106, 78, .08)); border: 1px solid rgba(224, 169, 95, .25); }
.grade__arrow { color: var(--gold); display: grid; place-items: center; }

/* QC monitors */
.monitors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.monitor { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(120% 120% at 100% 0%, rgba(90, 167, 178, .09), transparent 55%), var(--panel); }
.monitor__screen { position: relative; flex: none; width: 92px; height: 92px; display: grid; place-items: center; }
.monitor__screen svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.monitor__track { fill: none; stroke: rgba(255, 236, 214, .08); stroke-width: 7; }
.monitor__value { fill: none; stroke: url(#none); stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(224, 169, 95, .6)); transition: stroke-dashoffset 1.6s var(--ease-out) .3s; }
.monitor.is-in .monitor__value, .reveal-all .monitor__value { stroke-dashoffset: calc(100 - var(--v, 85)); }
.monitor:nth-child(2) .monitor__value { stroke: var(--teal); filter: drop-shadow(0 0 6px rgba(90, 167, 178, .6)); }
.monitor:nth-child(3) .monitor__value { stroke: var(--terra-l); filter: drop-shadow(0 0 6px rgba(224, 122, 92, .6)); }
.monitor__screen .mono { font-size: 10px; color: var(--muted); }
.monitor__label { font-size: 12.5px; font-weight: 700; color: var(--gold); }
.monitor h3 { font-size: 17px; font-weight: 900; line-height: 1.6; }
.monitor p:not(.monitor__label) { color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.monitors__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* Slate feature cards */
.slates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.slate-card { position: relative; padding: 22px 22px 24px; border-radius: 18px; background: linear-gradient(180deg, #16110d, #0e0b09); border: 1px solid var(--line-2); overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s; }
.slate-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-55deg, #efe4d6 0 10px, #17120e 10px 20px); opacity: .85; }
.slate-card:hover { transform: translateY(-5px) rotate(-.4deg); border-color: rgba(224, 169, 95, .4); }
.slate-card .frame-corners { inset: 14px; opacity: 0; --cl: 12px; }
.slate-card:hover .frame-corners { opacity: .8; }
.slate-card__top { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.slate-card__top .mono { font-size: 10.5px; color: var(--muted); }
.slate-card__num { font-size: 34px; font-weight: 900; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slate-card h3 { font-size: 17.5px; font-weight: 900; line-height: 1.6; }
.slate-card p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; line-height: 1.95; }

/* Call sheet */
.callsheet { border-radius: 22px; overflow: hidden; border: 1px solid rgba(224, 169, 95, .3); background: linear-gradient(180deg, #1a140f, #110d0b); }
.callsheet__head { display: flex; justify-content: space-between; padding: 12px 22px; font-size: 10.5px; color: #1a0d08; background: var(--grad-fire); font-weight: 700; }
.callsheet__body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; padding: clamp(22px, 3vw, 34px); }
.callsheet__eyebrow { font-size: 13px; font-weight: 700; color: var(--gold); }
.callsheet h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 900; line-height: 1.6; margin-top: 4px; }
.callsheet__body > div p:not(.callsheet__eyebrow) { margin-top: 8px; color: var(--text-2); line-height: 2; }
.callsheet ol { display: grid; gap: 0; border-inline-start: 1px dashed var(--line-2); padding-inline-start: 22px; }
.callsheet ol li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text-2); line-height: 1.85; }
.callsheet ol li:last-child { border-bottom: 0; }
.callsheet ol .mono { color: var(--gold); font-size: 12px; padding-top: 4px; }

/* Posters */
.posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.poster__link { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s; }
.poster__link:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 50px 80px -40px color-mix(in srgb, var(--accent) 50%, transparent); }
.poster__art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.poster__art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transition: transform 1.2s var(--ease-out); }
.poster__link:hover .poster__art img { transform: scale(1.45); }
.poster__art .frame-corners { inset: 12px; opacity: .5; }
.poster__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; border-top: 2px solid var(--accent); }
.poster__body .mono { font-size: 10.5px; color: var(--accent); }
.poster__body h3 { font-size: 18px; font-weight: 900; line-height: 1.6; }
.poster__body p { color: var(--text-2); font-size: 14px; line-height: 1.9; flex: 1; }
.poster__body .link-arrow { margin-top: 8px; color: var(--accent); }

/* Scope sheet table */
.cx-table--sheet .cx-table__bar { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 10.5px; color: var(--muted); border-bottom: 1px solid var(--line); background: #110d0b; }
.cx-table--sheet td:first-child { color: var(--gold-l); white-space: nowrap; }
.cx-table--sheet td:last-child { color: var(--muted); }
.timeline__clips--4 { grid-template-columns: repeat(4, 1fr); }
.timeline__clips--5 { grid-template-columns: repeat(5, 1fr); }

/* ==========================================================================
   28. Section set designs (each section gets its own atmosphere)
   ========================================================================== */
.cinema-sec { position: relative; isolation: isolate; overflow: clip; }
.cinema-sec::before, .cinema-sec::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
/* Stage: spotlight cone + light floor */
.set--stage::before { inset: -10% 20% 30%; background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 214, 160, .07) 175deg, rgba(255, 214, 160, .11) 180deg, rgba(255, 214, 160, .07) 185deg, transparent 200deg); filter: blur(6px); }
.set--stage::after { inset: auto 0 0; height: 46%; background-image: linear-gradient(rgba(255, 236, 214, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 236, 214, .05) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); }
/* Blueprint: drafting grid + teal wash */
.set--blueprint { background: radial-gradient(60% 60% at 80% 20%, rgba(90, 167, 178, .08), transparent 70%); }
.set--blueprint::before { inset: 0; background-image: linear-gradient(rgba(90, 167, 178, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 167, 178, .07) 1px, transparent 1px), linear-gradient(rgba(90, 167, 178, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 167, 178, .035) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); }
/* Light leak: warm burn from the edge */
.set--leak::before { inset: -20% auto -20% -15%; width: 55%; background: radial-gradient(closest-side, rgba(224, 122, 92, .22), rgba(194, 58, 53, .08) 55%, transparent); filter: blur(40px); }
.set--leak::after { inset: -10% -10% auto auto; width: 40%; height: 60%; background: radial-gradient(closest-side, rgba(243, 194, 122, .14), transparent); filter: blur(40px); }
/* Film strip edges */
.set--strip { border-block: 1px solid var(--line); background: #0c0908; }
.set--strip::before, .set--strip::after { inset-inline: 0; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='6' y='1' width='14' height='10' rx='2.5' fill='%23fff5ea' fill-opacity='.09'/%3E%3C/svg%3E") repeat-x center / 26px 12px, #070504; }
.set--strip::before { top: 0; }
.set--strip::after { bottom: 0; }
/* Aperture: concentric rings + blades in the backdrop */
.set--aperture::before { top: 50%; inset-inline-end: -12%; width: min(70vw, 900px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 236, 214, .05) 0 1px, transparent 1px 46px), repeating-conic-gradient(from 10deg, rgba(224, 169, 95, .05) 0 6deg, transparent 6deg 60deg); -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); animation: spin 120s linear infinite; }
/* Giant background title word */
.set--word::before { content: attr(data-word); top: 6%; inset-inline: 0; text-align: center; font: 600 clamp(80px, 16vw, 240px)/1 var(--mono); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 214, .06); white-space: nowrap; direction: ltr; }
@media (prefers-reduced-motion: reduce) { .set--aperture::before { animation: none; } }

@media (max-width: 1100px) {
	.cinema-split { grid-template-columns: 1fr; }
	.callsheet__body { grid-template-columns: 1fr; }
	.cx-hero--art .cx-hero__visual { position: relative; top: auto; left: auto; width: 100%; opacity: 1; z-index: 1; margin-top: 18px; }
	.timeline__clips--4, .timeline__clips--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.grade__head, .grade__row { grid-template-columns: 1fr 1fr; }
	.grade__layer { grid-column: 1 / -1; }
	.grade__arrow, .grade__head span:nth-child(3), .grade__head span:first-child { display: none; }
	.cx-reel li { flex-basis: 50%; }
	.cx-hero--art .lens__tag { display: none; }
}

/* Portfolio wall: 14 per page = 2 feature frames + 4 rows of 3 */
.cinema-work__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cinema-work__grid > li { grid-column: span 2; }
.cinema-work__grid > li:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 1100px) { .cinema-work__grid > li, .cinema-work__grid > li:nth-child(-n+2) { grid-column: span 3; } }
@media (max-width: 700px) { .cinema-work__grid { grid-template-columns: 1fr; } .cinema-work__grid > li, .cinema-work__grid > li:nth-child(-n+2) { grid-column: auto; } }

/* ---------- 29. Service motions (home cards; mini versions of each page's signature) ---------- */
.sm { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(90% 120% at 50% 0%, rgba(224, 169, 95, .08), transparent 60%), #0d0a08; transition: filter .6s; }
.sm::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 236, 214, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 236, 214, .04) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); }
.svc-card:hover .sm { filter: brightness(1.14); }
.sm i, .sm b { font-style: normal; }
/* Live build (web design) */
.sm-build { display: grid; grid-template-columns: 1fr 140px; gap: 14px; padding: 56px 26px 44px; direction: ltr; }
.sm-build__win { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-2); background: #120e0b; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.sm-build__bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-bottom: 1px solid var(--line); background: #17120e; }
.sm-build__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.sm-build__bar i:nth-child(2) { background: var(--gold); }
.sm-build__bar i:nth-child(3) { background: var(--teal); }
.sm-build__bar span { margin-left: 8px; font-size: 9px; color: var(--muted); }
.sm-build__canvas { position: relative; height: calc(100% - 24px); }
.sm-build__canvas > span { position: absolute; }
.sm-build__canvas i { display: block; }
.sm-build__nav { top: 10px; left: 14px; right: 14px; display: flex; gap: 8px; }
.sm-build__nav i { width: 30px; height: 6px; border-radius: 3px; background: rgba(255, 236, 214, .18); }
.sm-build__nav i:first-child { width: 52px; margin-right: auto; background: var(--gold); }
.sm-build__hero { top: 32px; left: 14px; display: grid; gap: 7px; width: 48%; }
.sm-t1 { height: 12px; border-radius: 4px; background: rgba(255, 236, 214, .78); }
.sm-t2 { width: 72%; height: 12px; border-radius: 4px; background: var(--grad-text); }
.sm-btn { width: 40%; height: 14px; margin-top: 4px; border-radius: 6px; background: var(--grad-fire); }
.sm-build__img { top: 28px; right: 14px; width: 38%; height: 46%; border-radius: 8px; border: 1px solid var(--line-2); background: radial-gradient(70% 70% at 30% 30%, rgba(90, 167, 178, .5), transparent 60%), linear-gradient(140deg, #3a2516, #1a120d); }
.sm-build__cards { left: 14px; right: 14px; bottom: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 26%; }
.sm-build__cards i { border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 236, 214, .06); }
.sm-build__nav, .sm-build__hero > i, .sm-build__img, .sm-build__cards > i { animation: smIn 8s var(--ease-out) infinite; }
.sm-build__hero > i:nth-child(1) { animation-delay: .3s; } .sm-build__hero > i:nth-child(2) { animation-delay: .5s; } .sm-build__hero > i:nth-child(3) { animation-delay: .7s; }
.sm-build__img { animation-delay: .9s; } .sm-build__cards > i:nth-child(1) { animation-delay: 1.1s; } .sm-build__cards > i:nth-child(2) { animation-delay: 1.25s; } .sm-build__cards > i:nth-child(3) { animation-delay: 1.4s; }
@keyframes smIn { 0% { opacity: 0; transform: translateY(8px); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.sm-build__sel { top: 26px; left: 8px; width: 52%; height: 40%; border: 1.5px solid var(--teal); border-radius: 4px; animation: smSel 8s var(--ease-cine) infinite; }
.sm-build__sel b { position: absolute; top: -15px; left: -1px; padding: 1px 5px; border-radius: 3px; background: var(--teal); color: #0b1516; font-size: 8px; white-space: nowrap; }
@keyframes smSel { 0%, 20% { top: 26px; left: 8px; width: 52%; height: 40%; } 30%, 50% { top: 22px; left: 58%; width: 41%; height: 52%; } 60%, 82% { top: 68%; left: 8px; width: calc(100% - 16px); height: 30%; } 92%, 100% { top: 26px; left: 8px; width: 52%; height: 40%; } }
.sm-build__cursor { top: 62%; left: 50%; width: 14px; height: 16px; background: #fffaf3; clip-path: polygon(0 0, 100% 62%, 55% 64%, 38% 100%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); animation: smCur 8s var(--ease-cine) infinite; }
@keyframes smCur { 0%, 20% { top: 60%; left: 52%; } 30%, 50% { top: 70%; left: 90%; } 60%, 82% { top: 94%; left: 70%; } 92%, 100% { top: 60%; left: 52%; } }
.sm-build__panel { display: grid; align-content: start; gap: 6px; padding: 10px; border-radius: 12px; border: 1px solid var(--line-2); background: #120e0b; }
.sm-build__panel > span:first-child { font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.sm-build__panel > i { padding: 5px 8px; border-radius: 6px; background: rgba(255, 236, 214, .03); font: 600 10px/1.4 var(--mono); color: var(--muted); animation: smLayer 8s infinite; }
.sm-build__panel > i:nth-of-type(2) { animation-delay: 2s; } .sm-build__panel > i:nth-of-type(3) { animation-delay: 4s; } .sm-build__panel > i:nth-of-type(4) { animation-delay: 6s; }
@keyframes smLayer { 0%, 22% { color: var(--text); background: rgba(90, 167, 178, .14); box-shadow: inset 2px 0 var(--teal); } 25%, 100% { color: var(--muted); background: rgba(255, 236, 214, .03); box-shadow: none; } }
.sm-build__sw { display: flex; gap: 6px; margin-top: 6px; }
.sm-build__sw b { width: 18px; height: 18px; border-radius: 5px; background: var(--gold); }
.sm-build__sw b:nth-child(2) { background: var(--terra); } .sm-build__sw b:nth-child(3) { background: var(--teal); } .sm-build__sw b:nth-child(4) { background: var(--crimson); }
/* Mini radar (SEO) */
.sm-radar { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 20px 24px 46px; direction: ltr; }
.sm-radar__scope { position: relative; flex: none; width: min(58%, 200px); aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle closest-side, transparent 0 calc(33.3% - 1px), rgba(90, 167, 178, .22) calc(33.3% - 1px) 33.3%), linear-gradient(rgba(90, 167, 178, .16), rgba(90, 167, 178, .16)) center / 1px 100% no-repeat, linear-gradient(90deg, rgba(90, 167, 178, .16), rgba(90, 167, 178, .16)) center / 100% 1px no-repeat, radial-gradient(closest-side, rgba(90, 167, 178, .14), #0c0a09); box-shadow: 0 0 0 1px rgba(224, 169, 95, .4), 0 30px 60px -30px rgba(90, 167, 178, .55); }
.sm-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 280deg, rgba(90, 167, 178, .08) 290deg, rgba(243, 194, 122, .48) 359deg, transparent 360deg); animation: spin 7s linear infinite; }
.sm-radar__blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--teal); opacity: .35; animation: smBlip 7s linear var(--t) infinite; }
.sm-radar__blip b { position: absolute; top: -8px; left: 12px; padding: 2px 5px; border-radius: 4px; border: 1px solid rgba(90, 167, 178, .3); background: rgba(10, 8, 7, .82); font: 600 9px/1.3 var(--mono); color: var(--text-2); white-space: nowrap; }
@keyframes smBlip { 0% { opacity: 1; transform: scale(1.5); background: #c9f1f5; box-shadow: 0 0 14px #7fd3dc; } 30% { opacity: .95; transform: scale(1); } 100% { opacity: .4; background: var(--teal); box-shadow: none; } }
.sm-radar__mark { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px; }
.sm-radar__list { display: grid; gap: 8px; flex: 1; max-width: 170px; }
.sm-radar__list span { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.sm-radar__list i { display: block; width: var(--w); height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), rgba(90, 167, 178, .15)); transform-origin: left; animation: smBar 3.4s ease-in-out infinite alternate; }
.sm-radar__list i:nth-of-type(even) { background: linear-gradient(90deg, var(--gold), rgba(224, 169, 95, .15)); animation-delay: -1.2s; }
@keyframes smBar { from { transform: scaleX(.72); } to { transform: scaleX(1); } }
/* Mini mixer (marketing) */
.sm-mixer { display: flex; align-items: center; justify-content: center; padding: 26px 24px 48px; }
.sm-mixer__desk { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; max-width: 360px; height: 100%; padding: 12px 10px; border-radius: 14px; border: 1px solid rgba(255, 236, 214, .1); background: linear-gradient(180deg, #1d1814, #0f0c0a); box-shadow: 0 30px 60px -30px rgba(210, 106, 78, .5); transform: perspective(900px) rotateX(14deg); direction: ltr; }
.sm-mixer__desk > span { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; }
.sm-mixer__knob { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3d332b, #15110e 70%); box-shadow: 0 0 0 2px #0b0908; }
.sm-mixer__knob::after { content: ""; position: absolute; top: 2px; left: 50%; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--gold-l); transform-origin: 50% 6px; transform: rotate(var(--k)); }
.sm-mixer__rail { position: relative; flex: 1; width: 100%; min-height: 60px; }
.sm-mixer__rail::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 60%; width: 2px; border-radius: 2px; background: #050403; }
.sm-mixer__vu { position: absolute; top: 4px; bottom: 4px; left: 18%; width: 4px; overflow: hidden; border-radius: 2px; background: #0a0807; }
.sm-mixer__vu::after { content: ""; position: absolute; inset: auto 0 0; height: calc(var(--lvl) * 100%); background: linear-gradient(0deg, #3f9a4e 0 55%, #e0a95f 55% 80%, #ff5a4f 80%); -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 2px, transparent 2px 4px); mask-image: repeating-linear-gradient(0deg, #000 0 2px, transparent 2px 4px); transform-origin: bottom; animation: vu .9s steps(5) calc(var(--i) * -.23s) infinite alternate; }
.sm-mixer__cap { position: absolute; left: calc(60% - 7px); bottom: calc(var(--lvl) * (100% - 14px)); width: 16px; height: 13px; border-radius: 3px; background: linear-gradient(180deg, #4d4238, #221c17 45%, #0f0c0a 50%, #2a231d); box-shadow: 0 4px 8px rgba(0, 0, 0, .6); animation: fader 6s ease-in-out calc(var(--i) * -1.4s) infinite alternate; }
.sm-mixer__cap::after { content: ""; position: absolute; top: 50%; left: 2px; right: 2px; height: 2px; margin-top: -1px; background: var(--gold-l); }
.sm-mixer__desk b { font-size: 7.5px; letter-spacing: .06em; color: var(--muted); }
.sm-mixer__desk .is-master b { color: var(--gold-l); }
.sm-mixer__onair { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; background: rgba(194, 58, 53, .85); color: #fff; font-size: 9.5px; letter-spacing: .14em; }
.sm-mixer__onair .rec-dot { background: #fff; box-shadow: 0 0 6px #fff; }
@keyframes vu { 0% { transform: scaleY(.5); } 40% { transform: scaleY(.9); } 70% { transform: scaleY(.66); } 100% { transform: scaleY(1); } }
@keyframes fader { 0% { translate: 0 0; } 50% { translate: 0 10px; } 100% { translate: 0 -10px; } }
@media (max-width: 640px) {
  .sm-build { grid-template-columns: 1fr; padding: 22px 18px 40px; }
  .sm-build__panel { display: none; }
  .sm-radar { gap: 16px; padding: 18px 16px 40px; }
}
@media (prefers-reduced-motion: reduce) { .sm *, .sm *::before, .sm *::after { animation: none !important; } }

/* Home portfolio strip: client sites shown in their true colours (no grade or fade) */
.work .work-card__img { position: relative; }

/* AI automation mini node graph (home card) */
.sm-flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-flow__wires path { fill: none; stroke: rgba(255, 236, 214, .16); stroke-width: 2; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.sm-flow__wires .sm-flow__p { stroke: var(--gold-l); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 220; stroke-dashoffset: 10; filter: drop-shadow(0 0 6px var(--gold)); animation: smFlow 2.6s linear var(--d) infinite; }
.sm-flow__wires .sm-flow__p--h { stroke: #9ad7de; filter: drop-shadow(0 0 6px var(--teal)); animation-duration: 3.4s; }
@keyframes smFlow { to { stroke-dashoffset: -100; } }
.sm-flow__chip { position: absolute; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 20px; border: 1px solid rgba(224, 169, 95, .55); background: linear-gradient(160deg, #2a1c12, #120c09); box-shadow: 0 0 0 6px rgba(224, 169, 95, .06), 0 0 46px rgba(224, 169, 95, .35); transform: translate(-50%, -50%); animation: chipPulse 2.4s ease-in-out infinite; }
.sm-flow__chip::before { content: ""; position: absolute; inset: -8px 14px; background: repeating-linear-gradient(90deg, rgba(224, 169, 95, .65) 0 3px, transparent 3px 10px) top / 100% 6px no-repeat, repeating-linear-gradient(90deg, rgba(224, 169, 95, .65) 0 3px, transparent 3px 10px) bottom / 100% 6px no-repeat; }
.sm-flow__chip svg { width: 40px; height: 40px; }
.sm-flow__n { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 13, 11, .94); white-space: nowrap; transform: translate(-50%, -50%); direction: ltr; }
.sm-flow__n b { font-size: 9.5px; letter-spacing: .12em; color: var(--text-2); }
.sm-flow__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(224, 169, 95, .1); color: var(--gold-l); }
.sm-flow__ico .ico { width: 15px; height: 15px; }
.sm-flow__n--human { border-color: rgba(90, 167, 178, .5); }
.sm-flow__n--human .sm-flow__ico, .sm-flow__n--rules .sm-flow__ico { background: rgba(90, 167, 178, .14); color: var(--teal); }
.sm-flow__tag { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--line-2); background: rgba(10, 8, 7, .7); color: var(--text-2); font-size: 9.5px; letter-spacing: .14em; }
@keyframes chipPulse { 50% { box-shadow: 0 0 0 10px rgba(224, 169, 95, .03), 0 0 70px rgba(224, 169, 95, .5); } }
@media (max-width: 640px) { .sm-flow__n b { font-size: 8px; } .sm-flow__n { padding: 5px 8px 5px 5px; } .sm-flow__chip { width: 64px; height: 64px; } .sm-flow__chip svg { width: 30px; height: 30px; } .sm-flow__n--rules, .sm-flow__n--human { left: 80% !important; } }

/* Header: WhatsApp beside the phone; menu centred on wide screens */
.hdr-wa { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(76, 200, 120, .35); color: #5fd38a; background: rgba(76, 200, 120, .06); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.hdr-wa .ico { width: 19px; height: 19px; }
.hdr-wa:hover, .hdr-wa:focus-visible { background: #4cc878; border-color: #4cc878; color: #06140b; transform: translateY(-2px); }
@media (min-width: 1280px) {
  .site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .site-header__inner > .brand { grid-column: 1; justify-self: start; }
  .site-header__inner > .nav { grid-column: 2; justify-self: center; margin: 0; }
  .site-header__inner > .site-header__actions { grid-column: 3; justify-self: end; }
}

/* Mobile dock — cinematic control bar */
@media (max-width: 1100px) {
  .dock { grid-template-columns: 56px 56px 1fr; gap: 8px; padding: 12px 8px 8px; border-radius: 20px; border: 1px solid rgba(224, 169, 95, .22); background: linear-gradient(180deg, rgba(24, 18, 14, .94), rgba(10, 8, 7, .96)); box-shadow: 0 24px 60px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 236, 214, .06); overflow: hidden; }
  .dock::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--grad-brand); opacity: .8; }
  .dock::after { content: ""; position: absolute; top: 4px; inset-inline: 14px; height: 4px; background: radial-gradient(circle, rgba(255, 236, 214, .16) 0 1.5px, transparent 2px) 0 50% / 12px 4px repeat-x; }
  .dock a { position: relative; height: 50px; gap: 0; border-radius: 15px; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .03); }
  .dock a .ico { width: 21px; height: 21px; color: var(--gold-l); }
  .dock a[href*="wa.me"] .ico { color: #5fd38a; }
  .dock__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dock .dock__main { gap: 10px; border: 0; background: var(--grad-fire); box-shadow: 0 10px 26px -8px rgba(210, 106, 78, .7); color: #1a0d08; font-size: 15px; }
  .dock .dock__main .rec-dot { background: #1a0d08; box-shadow: none; }
  .dock .dock__main .ico { width: 18px; height: 18px; padding: 0; color: #1a0d08; }
  .dock a:active { transform: scale(.97); }
}

@media (max-width: 1100px) { .hdr-wa { display: none; } .hdr-panel { white-space: nowrap; } }

/* Article grid: columns may shrink below their content (wide tables scroll inside their wrapper) */
.cinema-article__grid > * { min-width: 0; }
@media (max-width: 1100px) { .cinema-article__grid { grid-template-columns: minmax(0, 1fr); } }
.cinema-prose :is(pre, code) { white-space: pre-wrap; word-break: break-word; }
.cinema-prose img, .cinema-prose iframe, .cinema-prose video { max-width: 100%; height: auto; }
.cinema-prose p, .cinema-prose li { overflow-wrap: anywhere; }

/* Logotype refinement (the star mark is unchanged) */
.brand__iran { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sep { display: inline-block; width: 2px; height: .95em; margin-inline: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--teal), var(--gold) 50%, var(--terra)); color: transparent; font-size: inherit; overflow: hidden; vertical-align: middle; box-shadow: 0 0 8px rgba(224, 169, 95, .35); transition: box-shadow .4s; }
.brand:hover .brand__sep { box-shadow: 0 0 14px rgba(224, 169, 95, .7); }

/* Footer: projector spotlight follows the cursor over the wordmark (desktop) */
.fw-spot { fill: url(#fwLight); opacity: 0; transition: opacity .6s var(--ease-out); }
.site-footer.is-spot .fw-spot { opacity: .5; }
@media (hover: none), (prefers-reduced-motion: reduce) { .fw-spot { display: none; } }

/* ==========================================================================
   Shared stage backdrop for inner pages: dot grid + faint square grid with a
   spotlight from the top, fading out below the hero. One system for every
   inner page; the light takes each page's own accent (--stage-acc).
   (The tools pages draw the same backdrop in pages/tool-kit.css.)
   ========================================================================== */
:is(.cx-hero:not(.pf-hero):not(.csd-hero), .lg-hero, .au-hero, .ar-hero, .bl-mast)::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(circle, rgba(255, 236, 214, .075) 1.4px, transparent 2px) 0 0 / 30px 30px,
		linear-gradient(rgba(255, 236, 214, .028) 1px, transparent 1px) 0 0 / 120px 120px,
		linear-gradient(90deg, rgba(255, 236, 214, .028) 1px, transparent 1px) 0 0 / 120px 120px;
	/* nothing under the header: the stage starts below it and fades out under the hero */
	-webkit-mask-image: linear-gradient(180deg, transparent 0, transparent var(--header-h), #000 calc(var(--header-h) + 120px), rgba(0, 0, 0, .6) 62%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, transparent var(--header-h), #000 calc(var(--header-h) + 120px), rgba(0, 0, 0, .6) 62%, transparent 100%);
}
@media (max-width: 768px) {
	/* phones: no spotlight column, just a quiet dot grid */
	:is(.cx-hero:not(.pf-hero):not(.csd-hero), .lg-hero, .au-hero, .ar-hero, .bl-mast)::before {
		background: radial-gradient(circle, rgba(255, 236, 214, .06) 1.2px, transparent 1.8px) 0 0 / 26px 26px;
		opacity: .8;
	}
}
/* per-page light colour */
.cinema-page--service-web-design, .cinema-page--service-corporate-website-design, .cinema-page--page-services, .cinema-page--page-about, .cinema-page--page-careers { --stage-acc: #f3c27a; }
.cinema-page--service-ecommerce-website-design, .cinema-page--service-marketing { --stage-acc: #e07a5c; }
.cinema-page--service-medical-website-design, .cinema-page--service-seo, .cinema-page--page-contact { --stage-acc: #5aa7b2; }
.cinema-page--service-travel-website-design { --stage-acc: #6fb7d6; }
.cinema-page--service-seo-strategy { --stage-acc: #c9a46a; }
.cinema-page--service-monthly-seo { --stage-acc: #8fcf9a; }
.cinema-page--service-seo-consulting { --stage-acc: #e0604f; }
.cinema-page--service-ecommerce-seo { --stage-acc: #f0b453; }
.cinema-page--service-ai-automation { --stage-acc: #8fe3c8; }
.cinema-page--service-web-application-development, .cinema-page--service-analytics-conversion-tracking { --stage-acc: #6fc3d8; }
.cinema-page--service-continuous-support { --stage-acc: #f2c14e; }
.cinema-page--service-ads { --stage-acc: #f3c27a; }
.cinema-page--service-branding { --stage-acc: #e9a3a0; }
.cinema-page--service-crm { --stage-acc: #9fb3f0; }
.lg { --stage-acc: var(--lg-accent); }
.au, .bl { --stage-acc: #e0a95f; }
