/* THE NEW HOMEPAGE (owner, 30 Nov; home_lw.py). Midnight chapters only: the ivory chapters are the site's own sections.
   Palette from the plan §3 (midnight #04111D #081B2D #10293D, gold #E8BD75 #F5D69A, mist #C6D2DC). Mobile first, logical
   properties, so Hebrew lays out right to left by itself. No pink, magenta, purple or violet. */
.h2{--deep:#04111D;--mid:#081B2D;--mid3:#10293D}
.h2-wrap{width:100%;max-width:1180px;margin-inline:auto;padding-inline:20px}

/* 01 hero: the headline is short above the stage on a phone, beside nothing; the stage is the visual */
.h2-hero{background:radial-gradient(120% 70% at 50% 0%,#10293D 0%,var(--mid) 55%,var(--deep) 100%);padding-block:28px 0}
.h2-intro{text-align:center;padding-block:4px 18px}
.h2-kick{font:500 12px/1.4 var(--sans);letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}
.h2-intro h1{font-size:clamp(28px,6.8vw,58px);text-wrap:balance;line-height:1.08;letter-spacing:-.01em;max-width:18ch;margin-inline:auto}
.h2-intro h1 em{display:block}
.h2-lede{display:none;max-width:56ch;margin:16px auto 0;font-size:17px;line-height:1.6;color:var(--soft)}
.h2-ctas{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:18px 0 0}
.h2-ghost{background:transparent;color:var(--gold2);border-color:var(--line)}
.h2-ghost:hover{border-color:var(--gold)}
.h2-free{margin:12px 0 0;font-size:14px;color:var(--soft);opacity:.85}
.h2-hero .lw{background:transparent}
/* gold accents on midnight: the site's ivory em colour stays on the ivory chapters */
.h2 h1 em,.h2 h2 em,.h2 .sh h2 em{color:var(--gold2)}

/* chapters on midnight */
.h2-sec{padding-block:64px;background:var(--mid)}
.h2-sec .sh .ey{color:var(--gold)}
.h2-sec .sh .rule{background:var(--gold)}
.h2-sec .sh h2{color:#fff}
.h2-sec .sh .lede{color:var(--soft)}
.h2-two{display:grid;gap:36px;align-items:center}

/* 02 discover: a curated few, each opening its real /try */
.h2-cards{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.h2-card a{display:block;position:relative;border-radius:14px;overflow:hidden;background:var(--mid3);aspect-ratio:9/16;text-decoration:none;color:#fff}
.h2-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h2-card a::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(4,17,29,.9))}
.h2-card-t{position:absolute;inset-inline:12px;bottom:12px;z-index:1;display:flex;flex-direction:column;gap:4px}
.h2-card-k{font:500 10px/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.h2-card-n{font:400 21px/1.15 var(--serif)}
.h2-card-go{margin-top:4px;font:500 13px/1.3 var(--sans);color:var(--gold2)}
.h2-card a:focus-visible{outline:2px solid var(--gold2);outline-offset:3px}
.h2-more{margin:28px 0 0;text-align:center}

/* 04 guests */
.h2-steps{list-style:none;counter-reset:s;margin:24px 0;padding:0;display:grid;gap:18px}
.h2-steps li{counter-increment:s;padding-inline-start:44px;position:relative}
.h2-steps li::before{content:counter(s,decimal-leading-zero);position:absolute;inset-inline-start:0;top:2px;font:400 20px/1 var(--serif);color:var(--gold)}
.h2-steps h3{font-size:22px;margin:0 0 4px}
.h2-steps p{margin:0;color:var(--soft);line-height:1.6}
.h2-film .film{margin:0}

/* 05 host and 08 Lyndee open with a centred chapter heading on ivory */
.h2-head{padding-block:72px 0}
.h2-host #seating .g2{grid-template-columns:1fr}
.h2-host #seating .sv{max-width:980px;margin-inline:auto}

/* 07 try */
.h2-try-art{margin:0;max-width:300px;margin-inline:auto;border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.h2-try-art img{display:block;width:100%;height:auto}

/* 10 close: a real world's still as the light behind it */
.h2-close{position:relative;padding-block:96px;text-align:center;background:var(--deep);overflow:hidden}
.h2-close::before{content:"";position:absolute;inset:-10%;background:var(--h2-art) center/cover no-repeat;filter:blur(28px) saturate(.9);opacity:.35}
.h2-close .h2-wrap{position:relative}
.h2-close h2{font-size:clamp(30px,6vw,52px);line-height:1.12;max-width:20ch;margin-inline:auto}
.h2-close h2 em{display:block}

@media (min-width:760px){
  .h2-wrap{padding-inline:40px}
  .h2-hero{padding-block:48px 0}
  .h2-lede{display:block}
  .h2-sec{padding-block:96px}
  .h2-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  .h2-two{grid-template-columns:1.1fr .9fr;gap:64px}
  .h2-try .h2-two{grid-template-columns:1.3fr .7fr}
}
@media (prefers-reduced-motion:reduce){.h2 *{transition:none!important}}

/* QA 30 Nov: the plan's editorial faces (Cormorant Garamond Latin, Frank Ruhl Libre Hebrew), the Midnight gold for every
   accent (the site's ivory copper never on midnight), no tracking on Hebrew, and no label under 12px. */
.h2{--h2-display:'Cormorant Garamond','Cormorant Garamond Fallback','Frank Ruhl Libre','Frank Ruhl Libre Fallback',Georgia,serif}
:lang(he) .h2,.h2:lang(he){--h2-display:'Frank Ruhl Libre','Frank Ruhl Libre Fallback','Cormorant Garamond','Cormorant Garamond Fallback',Georgia,serif}
.aoo.h2 h1,.aoo.h2 h2,.aoo.h2 h3,.aoo.h2 .h2-card-n{font-family:var(--h2-display)}
.aoo.h2 .h2-intro h1 em,.aoo.h2 .sh h2 em,.aoo.h2 .h2-close h2 em{color:var(--gold2)}
:lang(he) .h2-kick,:lang(he) .h2-card-k,:lang(he) .h2 .lw-kick{letter-spacing:normal}
.h2-card-k{font-size:12px}
.h2 .lw-kick{font-size:12px}

/* F05 (live review 30 Nov): on a desktop the first screen is one composition. The proposition and its action sit above the
   chosen world's own panel in one column, and the whole 9:16 film stands beside them, top to bottom, inside 1440x900.
   The film keeps its own ratio and colours. A phone keeps its own order (proposition, then the stage). */
@media (min-width:980px){
  .h2-hero{position:relative;padding-block:0}
  .h2-hero .h2-intro{position:absolute;z-index:3;top:clamp(20px,3.2svh,40px);inset-inline-start:max(80px,calc((100vw - 1440px) / 2 + 88px));
    width:min(46vw,660px);max-width:none;margin:0;padding:0;text-align:start}
  .h2-hero .h2-intro h1{font-size:clamp(34px,3.2vw,48px);line-height:1.1;max-width:none;margin:0;text-wrap:balance}
  .h2-hero .h2-kick{margin-bottom:12px}
  .h2-hero .h2-lede{display:none}
  .h2-hero .h2-ctas{justify-content:flex-start;margin-top:20px}
  .h2-hero .h2-free{margin-top:10px}
  .h2-hero .lw-hero .lw-stage{height:clamp(600px,calc(100svh - 80px - 112px),780px)}
  .h2-hero .lw-hero .lw-copy{top:auto;bottom:clamp(20px,3svh,40px);transform:none}
  .h2-hero .lw-hero .lw-copy.lw-out{transform:translateY(10px)}
  .h2-hero .lw-hero .lw-name{font-size:clamp(48px,4.4vw,64px);line-height:1}
  .h2-hero .lw-hero .lw-line{font-size:clamp(22px,1.9vw,28px);margin-top:8px}
  .h2-hero .lw-hero .lw-acts{margin-top:18px}
}
@media (min-width:980px) and (max-height:760px){
  .h2-hero .h2-free{display:none}
}

/* F12: the purchase inside the price chapter (ivory): three included benefits and the primary Create action, then the small print */
.h2-buy{margin:28px auto 0;text-align:center}
.h2-incl{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;font-size:16px;color:var(--ink,#142B3D)}
.h2-incl li::before{content:"✓";margin-inline-end:8px;color:#8A6A2E;font-weight:600}
.h2-buy-go{font-size:16px;letter-spacing:0;text-transform:none}

/* 1 Dec (owner): the recordings. A large legible poster, one obvious play control, native controls once it plays. */
.h2-player{position:relative;margin:0;overflow:hidden;border-radius:18px;background:#04111D;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.h2-player img,.h2-player video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.h2-player video{opacity:0;transition:opacity .25s ease-out}
.h2-player.on video{opacity:1}
.h2-play{position:absolute;inset-inline-start:50%;top:50%;transform:translate(-50%,-50%);min-height:56px;padding:0 30px 0 26px;border:0;border-radius:999px;
  background:var(--gold2,#F5D69A);color:#04111D;font:600 17px/1 var(--sans);cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.35);display:inline-flex;align-items:center;gap:10px}
[dir="rtl"] .h2-play{transform:translate(50%,-50%)}
.h2-play::before{content:"";width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:14px solid currentColor}
.h2-play[hidden]{display:none}
.h2-play:focus-visible{outline:3px solid #fff;outline-offset:3px}
.h2-guest-film{width:min(100%,340px);margin-inline:auto}
.h2-cap{margin:12px 0 0;text-align:center;font-size:13px;color:var(--soft)}
.h2-link{color:var(--gold2);font-size:16px;text-underline-offset:4px}
.h2-seat .sh{text-align:center}
.h2-seat-film{width:100%;max-width:min(1080px,calc((100svh - 140px) * 1));margin:32px auto 0}
.h2-illus{max-width:60ch;margin:14px auto 0;text-align:center;font-size:15px;color:var(--ink2,#142B3D);opacity:.85}
.h2-yours-film{width:min(100%,360px);margin-inline:auto}
.h2-rsvp-film{width:min(100%,360px);margin-inline:auto;background:#F7F3EA}  /* the RSVP dashboard (clip D): an ivory app on the ivory chapter */
.h2-rsvp .h2-cap{color:#4A5866}
.h2-yours{padding-block:56px}
.h2-yours .h2-ctas{justify-content:flex-start}

/* ROSS LIPA × LYNDEN (owner, 1 Dec; ChatGPT's revision the same day): an editorial band inside the world chapter, under the
   stage, visible before any selection. ONE large stage (artwork → the real opening → the invitation), three small steps under it
   as its navigation. Artworks keep their own proportions and colours (object-fit: contain, no filter); the mist is the scene's
   own layer, shown only as the opening's moment. Phone: lockup, headline, the short line, the AI line, the featured title and
   Try stay in view; only the longer artist intro folds behind «About ROSS LIPA». */
.rl{padding-block:20px 36px;border-block-start:1px solid rgba(232,189,117,.18);scroll-margin-top:72px}  /* back from /try lands below the header */
.rl-in{width:100%;max-width:1180px;margin-inline:auto;padding-inline:20px;display:grid;gap:22px}
.rl-lock{margin:0 0 8px;font:600 12px/1.2 var(--sans);letter-spacing:.3em;color:var(--gold);text-align:start}
.rl-lock span{color:var(--soft);letter-spacing:0;padding-inline:.4em}
[dir="rtl"] .rl-lock{text-align:right}  /* the Latin lockup starts where the page starts */
.rl h2{margin:0;font-family:var(--serif);font-weight:500;font-size:clamp(24px,5.6vw,40px);line-height:1.12;color:#fff;text-wrap:balance}
.rl-short{margin:12px 0 0;font-size:17px;line-height:1.5;color:#fff;max-width:46ch}
.rl-st{display:none;margin:12px 0 0;font-size:16px;line-height:1.6;color:var(--soft);max-width:56ch}
.rl.open .rl-st{display:block}
.rl-more{margin:10px 0 0;padding:0;min-height:32px;background:none;border:0;font:500 14px/1.4 var(--sans);color:var(--gold2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.rl-ai{margin:10px 0 0;font-size:14px;line-height:1.5;color:var(--soft)}
.rl-feat{margin:14px 0 0;font-size:15px;color:#fff}
.rl-feat span{display:block;font:500 12px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:2px}
.rl-feat b{font-family:var(--serif);font-weight:500;font-size:20px}
.rl-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:14px 0 0}
.rl-studio{font-size:14px;color:var(--soft);text-decoration:underline;text-underline-offset:3px}
.rl-studio:hover{color:var(--gold2)}
/* the stage: one frame at the artwork's own 9:16; each step contained in it, one visible at a time */
.rl-stage{position:relative;margin:0 auto;width:100%;max-width:min(100%,calc((100svh - 150px) * 9 / 16));aspect-ratio:720/1280;border-radius:14px;overflow:hidden;
  background:#020a12;box-shadow:0 24px 70px rgba(0,0,0,.42)}
.rl-p{position:absolute;inset:0;opacity:0;transition:opacity .5s ease-out}
.rl-p.on{opacity:1}
.rl-p[hidden]{display:block;visibility:hidden}
.rl-p.on[hidden]{visibility:visible}
.rl-p img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.rl-veil{opacity:0;transition:opacity 1.1s ease-out .15s}
.rl-p2.on .rl-veil{opacity:1}
.rl-under{margin:12px auto 0;max-width:min(100%,520px);min-height:96px;text-align:center}
.rl-u[hidden]{display:none}
/* ChatGPT, 1 Dec (P3): what a step is, as a quiet caption outside the artwork */
.rl-src{margin:0;font:500 12px/1.4 var(--sans);letter-spacing:.04em;color:var(--soft)}
.rl-act{display:inline-flex;align-items:center;justify-content:center;margin:10px 0 0;min-height:44px;padding:0 20px;border-radius:8px;
  border:1px solid rgba(232,189,117,.7);background:none;color:var(--gold2);font:600 15px/1 var(--sans);text-decoration:none;cursor:pointer}
.rl-act:hover{background:rgba(232,189,117,.1)}
.rl .rl-make{border:0;background:var(--gold);color:var(--mid,#04111D)}  /* the end of the sequence: create with this opening */
.rl .rl-make:hover{background:var(--gold2)}
.rl-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px auto 0;max-width:min(100%,520px)}
.rl-n{min-height:44px;padding:6px 4px;border:0;border-block-start:2px solid rgba(232,189,117,.22);background:none;color:var(--soft);font:500 13px/1.3 var(--sans);cursor:pointer;text-align:center}
.rl-n b{display:inline-grid;place-items:center;width:20px;height:20px;margin-inline-end:4px;border-radius:50%;border:1px solid currentColor;font:600 11px/1 var(--sans)}
.rl-n[aria-selected="true"]{color:#fff;border-block-start-color:var(--gold)}
.rl-ctl{margin:8px 0 0;text-align:center}
.rl-play{min-height:44px;padding:0 18px;border:1px solid rgba(232,189,117,.55);border-radius:8px;background:none;color:var(--gold2);font:600 14px/1 var(--sans);cursor:pointer}
.rl-play:hover{background:rgba(232,189,117,.1)}
@media (min-width:760px){
  .rl-st{display:block}
  .rl-more{display:none}
  .rl-n{font-size:14px}
}
@media (min-width:980px){
  .rl{padding-block:40px 56px}
  .rl-in{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:center}
  .rl-stage{max-width:min(100%,calc((100svh - 250px) * 9 / 16),440px)}
}
@media (prefers-reduced-motion:reduce){.rl-p,.rl-veil{transition:none}}

/* ChatGPT, 1 Dec (P2): on a phone the playable proof comes right after the chapter heading, the three short explanations under it */
.h2-g{grid-template-areas:"head" "film" "steps"}
.h2-gh{grid-area:head}.h2-g .h2-film{grid-area:film}.h2-gs{grid-area:steps}
@media (min-width:760px){
  .h2-g{grid-template-areas:"head film" "steps film";align-items:start}
  .h2-g .h2-film{align-self:center}
}
@media (min-width:980px){
  .h2-guest-film,.h2-rsvp-film{width:min(100%,420px)}  /* more size for the product on a wide screen */
}
