/* ============================================================
   JALILI — HERO SHEETS · the sheet (HERO-SHEETS-BUILD-1, 18 Oct 2026)
   Spec: 20_DEMOS/SIGNATURE_OCT17/heroes.html (v2). One structure on every
   page: copy left, the SHEET right, a 4:5 drawing plate 460 x 575 at 1440,
   324 x 405 at 390. Scoped to .jal-sheet so nothing leaks. No transition
   is written here (the motion grammar #11070 owns transitions); arrivals
   are animations, staggered with --i. The H1 word arrival is the grammar
   (#11071). Reduced motion = the finished sheet.
   ============================================================ */
.jal-sheet{--jsh-d0:#0F0E0C;--jsh-d1:#14120E;--jsh-ob:#1A1710;--jsh-ch:#C4A265;--jsh-head:#F7F5F0;--jsh-snow:#FFFFFF;--jsh-muted:#B5AC9C;--jsh-faint:#8F887A;--jsh-hair:rgba(255,255,255,.10);
  --jsh-serif:"Fraunces",Georgia,"Times New Roman",serif;--jsh-sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--jsh-mono:"DM Mono","SF Mono",Menlo,monospace;
  --jsh-fa-d:"Estedad","Fraunces",Georgia,serif;--jsh-fa-b:"Vazirmatn","Instrument Sans",system-ui,sans-serif;
  --jsh-e-enter:cubic-bezier(.16,1,.3,1);--jsh-e-out:cubic-bezier(.22,.61,.36,1);--jsh-gutter:clamp(16px,4vw,40px);
  position:relative;display:grid;align-items:center;min-height:calc(100svh - 81px);margin:0;background:var(--jsh-d0);color:var(--jsh-snow);isolation:isolate;overflow:hidden;box-sizing:border-box;font-family:var(--jsh-sans);text-align:start}
.jal-sheet *,.jal-sheet *::before,.jal-sheet *::after{box-sizing:border-box}
.jal-sheet .jal-sheet__in{width:100%;max-width:1360px;margin:0 auto;min-width:0;padding:32px var(--jsh-gutter) 48px;display:grid;grid-template-columns:minmax(0,1fr);gap:36px;align-items:center}
@media (min-width:1000px){.jal-sheet .jal-sheet__in{grid-template-columns:minmax(0,1fr) 460px;gap:72px;padding-top:56px;padding-bottom:64px}}
.jal-sheet .jal-sheet__copy{min-width:0;max-width:640px}
.jal-sheet .jal-sheet__tag{position:absolute;z-index:5;inset-inline-start:var(--jsh-gutter);top:18px;margin:0;font-family:var(--jsh-mono);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--jsh-faint);display:none;gap:12px;align-items:center;line-height:1.4}
.jal-sheet .jal-sheet__tag b{color:var(--jsh-ch);font-weight:500}
@media (min-width:1000px){.jal-sheet .jal-sheet__tag{display:flex}}

/* the copy */
.jal-sheet .jal-sheet__eye{font-family:var(--jsh-mono)!important;font-size:12px!important;letter-spacing:.2em;text-transform:uppercase;color:var(--jsh-ch)!important;display:flex;align-items:center;gap:12px;margin:0 0 18px;font-weight:500;line-height:1.5}
.jal-sheet .jal-sheet__eye::before{content:"";width:28px;height:1px;background:currentColor;flex:none}
.jal-sheet h1.jal-sheet__h1{font-family:var(--jsh-serif)!important;font-weight:300!important;font-style:normal;font-variation-settings:"opsz" 144;font-size:clamp(40px,5vw,72px)!important;line-height:1.04!important;letter-spacing:-.02em!important;max-width:14ch;text-wrap:balance;color:var(--jsh-head)!important;margin:0!important;padding:0;text-transform:none!important;text-align:start!important}
.jal-sheet h1.jal-sheet__h1 em{font-family:inherit!important;font-style:italic!important;font-weight:400!important;color:var(--jsh-ch)!important}
.jal-sheet .jal-sheet__lede{font-family:var(--jsh-sans)!important;font-size:17px!important;line-height:1.7!important;color:rgba(255,255,255,.76)!important;margin:22px 0 30px!important;max-width:58ch;font-weight:400}
.jal-sheet .jal-sheet__asks{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.jal-sheet .jal-sheet__btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 26px;font-family:var(--jsh-sans)!important;font-size:13px!important;font-weight:500!important;letter-spacing:.08em!important;text-transform:uppercase;border:1.5px solid transparent;border-radius:0!important;white-space:nowrap;text-decoration:none!important;line-height:1.2;box-shadow:none}
.jal-sheet .jal-sheet__btn--primary{background:var(--jsh-ch)!important;color:var(--jsh-ob)!important;border-color:var(--jsh-ch)!important}
.jal-sheet .jal-sheet__btn--primary:hover,.jal-sheet .jal-sheet__btn--primary:focus-visible{background:var(--jsh-snow)!important;border-color:var(--jsh-snow)!important;color:var(--jsh-ob)!important}
.jal-sheet .jal-sheet__btn--ghost{background:transparent!important;border-color:var(--jsh-ch)!important;color:var(--jsh-ch)!important}
.jal-sheet .jal-sheet__btn--ghost:hover,.jal-sheet .jal-sheet__btn--ghost:focus-visible{background:var(--jsh-ch)!important;color:var(--jsh-ob)!important}
.jal-sheet .jal-sheet__btn:focus-visible{outline:2px solid var(--jsh-ch);outline-offset:3px}

/* the facts rail: three on every page */
.jal-sheet .jal-sheet__facts{display:flex;flex-wrap:wrap;margin:34px 0 0;padding:0;border-top:1px solid var(--jsh-hair);max-width:560px;list-style:none}
.jal-sheet .jal-sheet__facts li{position:relative;padding:14px 22px 0 0;margin:0;margin-inline-end:22px;font-family:var(--jsh-mono)!important;font-size:12px!important;letter-spacing:.12em;text-transform:uppercase;color:var(--jsh-muted)!important;min-width:120px;line-height:1.5;list-style:none}
.jal-sheet .jal-sheet__facts li b{display:block;font-family:var(--jsh-serif)!important;font-weight:300!important;font-size:26px!important;letter-spacing:0;text-transform:none;color:var(--jsh-head)!important;margin-bottom:4px;font-variant-numeric:tabular-nums;line-height:1.2}
.jal-sheet .jal-sheet__facts li::before{content:"";position:absolute;inset-inline-start:0;top:-1px;height:1px;width:100%;background:var(--jsh-ch);transform:scaleX(0);transform-origin:var(--jsh-origin,left)}
.jal-sheet.jal-sheet--rtl .jal-sheet__facts li{--jsh-origin:right;padding:14px 0 0 22px}

/* the sheet */
.jal-sheet .jal-sheet__plate{position:relative;aspect-ratio:4/5;width:100%;max-width:460px;margin:0 auto;background:var(--jsh-d1);border:1px solid rgba(196,162,101,.38);border-radius:0;overflow:hidden;box-shadow:0 30px 80px -40px rgba(0,0,0,.8)}
@media (min-width:1000px){.jal-sheet .jal-sheet__plate{width:460px;margin:0}}
@media (max-width:999px){
  .jal-sheet .jal-sheet__plate{height:min(48svh,440px);width:auto}
  .jal-sheet .jal-sheet__facts{max-width:none}
  .jal-sheet .jal-sheet__facts li{min-width:0;flex:1 1 0;margin-inline-end:0;padding-inline-end:12px}
  .jal-sheet .jal-sheet__facts li b{font-size:22px!important}
}
.jal-sheet .jal-sheet__img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;filter:brightness(.74) contrast(1.05) saturate(.85);border-radius:0!important;margin:0}
.jal-sheet .jal-sheet__plate canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.jal-sheet .jal-sheet__mark{position:absolute;width:14px;height:14px;border:1px solid var(--jsh-ch);opacity:.9;pointer-events:none}
.jal-sheet .jal-sheet__mark--tl{left:8px;top:8px;border-right:0;border-bottom:0}
.jal-sheet .jal-sheet__mark--tr{right:8px;top:8px;border-left:0;border-bottom:0}
.jal-sheet .jal-sheet__mark--bl{left:8px;bottom:42px;border-right:0;border-top:0}
.jal-sheet .jal-sheet__mark--br{right:8px;bottom:42px;border-left:0;border-top:0}
.jal-sheet .jal-sheet__cap{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:12px;padding:0 14px;min-height:34px;align-items:center;font-family:var(--jsh-mono)!important;font-size:12px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--jsh-muted);border-top:1px solid rgba(196,162,101,.25);background:rgba(15,14,12,.72);margin:0;white-space:nowrap;overflow:hidden;line-height:1.3;font-style:normal!important;font-weight:400}
.jal-sheet .jal-sheet__cap b,.jal-sheet .jal-sheet__cap span{font-style:normal!important}
.jal-sheet .jal-sheet__cap b{color:var(--jsh-ch);font-weight:500}
.jal-sheet .jal-sheet__cap span:last-child{color:var(--jsh-faint);overflow:hidden;text-overflow:ellipsis}

/* arrivals: gated on the sheet being in view (the boot adds .is-view) */
@keyframes jsh-rev{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes jsh-rule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes jsh-safe{to{opacity:1}}
@keyframes jsh-rise{from{translate:0 14px}to{translate:0 0}}
@media (prefers-reduced-motion:no-preference){
  .jal-sheet:not(.is-view) .jal-sheet__eye,.jal-sheet:not(.is-view) .jal-sheet__lede,.jal-sheet:not(.is-view) .jal-sheet__asks,.jal-sheet:not(.is-view) .jal-sheet__facts li,.jal-sheet:not(.is-view) .jal-sheet__plate--draw{opacity:0;animation:jsh-safe 1ms linear 2.5s forwards}
  .jal-sheet.is-view .jal-sheet__eye,.jal-sheet.is-view .jal-sheet__lede,.jal-sheet.is-view .jal-sheet__asks{animation:jsh-rev 560ms var(--jsh-e-enter) backwards}
  .jal-sheet.is-view .jal-sheet__eye{animation-delay:.1s}
  .jal-sheet.is-view .jal-sheet__lede{animation-delay:.55s}
  .jal-sheet.is-view .jal-sheet__asks{animation-delay:.8s}
  .jal-sheet.is-view .jal-sheet__facts li{animation:jsh-rev 560ms var(--jsh-e-enter) backwards;animation-delay:calc(1s + var(--i) * .16s)}
  .jal-sheet.is-view .jal-sheet__facts li::before{animation:jsh-rule 560ms var(--jsh-e-out) forwards;animation-delay:calc(.9s + var(--i) * .16s)}
  .jal-sheet.is-view .jal-sheet__plate--draw{animation:jsh-rev .9s var(--jsh-e-enter) .15s backwards}
  .jal-sheet.is-view .jal-sheet__plate--photo{animation:jsh-rise .9s var(--jsh-e-enter) .15s backwards}
}
@media (prefers-reduced-motion:reduce){.jal-sheet .jal-sheet__facts li::before{transform:none}}

/* Persian: the mirrored twin */
.jal-sheet.jal-sheet--fa{font-family:var(--jsh-fa-b)}
.jal-sheet.jal-sheet--fa h1.jal-sheet__h1{font-family:var(--jsh-fa-d)!important;font-weight:600!important;letter-spacing:0!important;line-height:1.3!important;font-size:clamp(34px,4.2vw,60px)!important;font-variation-settings:normal}
.jal-sheet.jal-sheet--fa h1.jal-sheet__h1 em{font-style:normal!important;font-weight:650!important;color:var(--jsh-ch)!important}
.jal-sheet.jal-sheet--fa .jal-sheet__lede{font-family:var(--jsh-fa-b)!important;font-size:17px!important;line-height:1.9!important}
.jal-sheet.jal-sheet--fa .jal-sheet__eye,.jal-sheet.jal-sheet--fa .jal-sheet__facts li,.jal-sheet.jal-sheet--fa .jal-sheet__cap,.jal-sheet.jal-sheet--fa .jal-sheet__tag{font-family:var(--jsh-fa-b)!important;letter-spacing:0;text-transform:none}
.jal-sheet.jal-sheet--fa .jal-sheet__facts li b{font-family:var(--jsh-fa-d)!important;font-weight:500!important;font-size:24px!important}
.jal-sheet.jal-sheet--fa .jal-sheet__btn{font-family:var(--jsh-fa-b)!important;letter-spacing:0!important;text-transform:none;font-size:14px!important}
.jal-sheet.jal-sheet--fa bdi{font-family:var(--jsh-sans)}
.jal-sheet.jal-sheet--fa .jal-sheet__eye::before{order:2}

/* /projects/: the search dock follows the sheet, so the sheet takes its own height */
.jal-sheet.jal-sheet--properties,.jal-sheet.jal-sheet--areas,.jal-sheet.jal-sheet--developers{min-height:0}
@media (min-width:1000px){.jal-sheet.jal-sheet--properties .jal-sheet__in,.jal-sheet.jal-sheet--areas .jal-sheet__in,.jal-sheet.jal-sheet--developers .jal-sheet__in{padding-bottom:40px}}

/* the sheet is always dark: its H1 colours win over the light-page heading rules of the theme
   (an 8-attribute Persian archive rule paints h1 em bronze on /fa/projects/). #jal-hsx is a sentinel id: never give an element that id. */
.jal-sheet:not(#jal-hsx) h1.jal-sheet__h1{color:var(--jsh-head)!important}
.jal-sheet:not(#jal-hsx) h1.jal-sheet__h1 em,.jal-sheet:not(#jal-hsx) h1.jal-sheet__h1 em *{color:var(--jsh-ch)!important}
.jal-sheet:not(#jal-hsx) .jal-sheet__lede{color:rgba(255,255,255,.76)!important}

/* the Elementor host of a sheet: no gap, no padding, the dark band under it touches it */
.e-con.jal-sheet-host,.e-con.jal-sheet-host>.e-con-inner{--gap:0px;--row-gap:0px;--column-gap:0px;gap:0!important;padding:0!important}
.e-con.jal-sheet-host .elementor-widget-shortcode,.e-con.jal-sheet-host .elementor-shortcode{width:100%;margin:0!important}

/* a sheet printed inside the theme content column (the default page template: /priority-access/, /tools/) runs full width, as the /tools/ hero did */
.page-content .jal-sheet{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
