/* Emerge Globally marketplace — DOORS V2 visual layer.
   Loaded AFTER styles.css on the four public door pages only
   (hub, music, creator, brand). Presentation only: no layout hook,
   form, field or script in the pages depends on this file.
   Language: full-bleed photography carries the energy; gold and
   near-black are the frame. Rounded, floating cards over imagery,
   per the main site's editorial standard. */

body.door-v2{
  background:
    radial-gradient(1100px 480px at 50% -120px, rgba(197,166,110,.13), rgba(197,166,110,0) 70%),
    var(--bg);
}
body.door-v2 header{background:rgba(10,9,8,.82)}
body.door-v2 main{padding-top:0}

/* ---------- Full-bleed photographic hero (hub, brand) ---------- */
.hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  min-height:84vh;
  display:flex;
  align-items:flex-end;
  background-size:cover;
  background-position:center 38%;
  overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(7,6,5,.42) 0%, rgba(7,6,5,.05) 34%, rgba(7,6,5,.66) 68%, rgba(10,9,8,.97) 100%),
    linear-gradient(96deg, rgba(7,6,5,.55) 0%, rgba(7,6,5,0) 55%);
}
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:linear-gradient(90deg, transparent, var(--gold-bright) 30%, var(--gold-bright) 70%, transparent);
}
.hero-stage{background-image:url("/marketplace/assets/hero-stage.webp")}
.hero-brand{background-image:url("/marketplace/assets/brand-hero.webp");min-height:68vh;background-position:center 30%}
.hero-inner{position:relative;z-index:1;width:100%;max-width:1100px;margin:0 auto;padding:150px 20px 58px}
.hero .eyebrow{color:var(--gold-soft);text-shadow:0 1px 10px rgba(0,0,0,.6)}
.hero h1{
  font-size:clamp(54px,8.6vw,108px);
  line-height:.98;
  max-width:900px;
  margin:14px 0 18px;
  text-shadow:0 3px 34px rgba(0,0,0,.55);
}
.hero h1 em{font-style:italic;color:var(--gold-soft)}
.hero .lede{font-size:20px;line-height:1.55;color:#F1E9D8;max-width:660px;text-shadow:0 1px 14px rgba(0,0,0,.65)}
.hero .hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn-ghost{
  display:inline-block;padding:13px 22px;min-height:48px;
  border:1px solid var(--gold-bright);border-radius:999px;
  color:var(--gold-soft);font-weight:700;text-decoration:none;
  background:rgba(10,9,8,.45);
}
.btn-ghost:hover{background:rgba(197,166,110,.16);color:var(--gold-soft)}
.btn-solid{
  display:inline-block;padding:13px 22px;min-height:48px;
  border:1px solid var(--button-bg);border-radius:999px;
  background:var(--button-bg);color:var(--button-text);font-weight:700;text-decoration:none;
}
.btn-solid:hover{background:var(--gold-soft);color:var(--button-text)}

/* ---------- Split hero (music, creator) ---------- */
.hero-split{
  display:grid;grid-template-columns:1.02fr .98fr;gap:46px;align-items:center;
  padding:64px 0 8px;
}
.hero-split h1{font-size:clamp(50px,6.4vw,84px);margin:12px 0 18px}
.hero-split h1 em{font-style:italic;color:var(--gold-soft)}
.hero-split .lede{font-size:19px}
.hero-photo{position:relative}
.hero-photo .frame{
  border-radius:22px;overflow:hidden;
  border:1px solid #57492F;
  box-shadow:0 34px 70px rgba(0,0,0,.55);
}
.hero-photo img{display:block;width:100%;height:100%;max-height:560px;object-fit:cover}
.hero-photo::after{
  content:"";position:absolute;inset:0;transform:translate(14px,14px);
  border:1px solid rgba(197,166,110,.45);border-radius:22px;z-index:-1;
}
.hero-photo .photo-tag{
  position:absolute;left:18px;bottom:18px;z-index:2;
  background:rgba(10,9,8,.78);border:1px solid #57492F;border-radius:999px;
  padding:8px 16px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-soft);
}

/* ---------- Clock / fact chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.chip{
  border:1px solid var(--input-border);border-radius:999px;
  padding:9px 16px;font-size:13px;color:var(--text);
  background:rgba(23,20,16,.72);
}
.chip strong{color:var(--gold-soft);font-weight:700}
.chip .tick{color:var(--gold-bright);margin-right:7px}

/* ---------- Photographic doors (hub) ---------- */
.door-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:36px}
.door{
  position:relative;display:flex;align-items:flex-end;
  min-height:392px;border-radius:22px;overflow:hidden;
  border:1px solid #4A4132;text-decoration:none;
  box-shadow:0 22px 48px rgba(0,0,0,.42);
}
.door img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .9s ease}
.door:hover img,.door:focus-visible img{transform:scale(1.055)}
.door::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(182deg, rgba(7,6,5,.06) 30%, rgba(7,6,5,.58) 62%, rgba(7,6,5,.94) 100%);
}
.door-body{position:relative;z-index:1;padding:28px;width:100%}
.door .kick{
  color:var(--gold-soft);font-size:12px;letter-spacing:.24em;text-transform:uppercase;
  text-shadow:0 1px 8px rgba(0,0,0,.7);
}
.door h3{
  font-family:var(--font-display);font-weight:500;
  font-size:clamp(30px,3.4vw,40px);line-height:1.05;
  margin:8px 0 10px;color:#FBF7EC;text-shadow:0 2px 18px rgba(0,0,0,.6);
}
.door p{margin:0 0 14px;color:#E9E1CF;font-size:15px;line-height:1.55;max-width:46ch;text-shadow:0 1px 10px rgba(0,0,0,.65)}
.door .go{color:var(--gold-soft);font-weight:700;font-size:15px}
.door .go .arr{display:inline-block;transition:transform .3s ease}
.door:hover .go .arr{transform:translateX(5px)}

/* ---------- Guarantee strip ---------- */
.guarantee{
  margin-top:26px;border:1px solid var(--gold);border-radius:18px;
  background:linear-gradient(115deg, rgba(197,166,110,.17), rgba(197,166,110,.045) 62%);
  padding:22px 26px;display:flex;gap:22px;align-items:center;
}
.guarantee .g-mark{
  font-family:var(--font-display);font-size:30px;color:var(--gold-soft);
  border:1px solid var(--gold);border-radius:50%;
  width:56px;height:56px;flex:none;display:flex;align-items:center;justify-content:center;
}
.guarantee .g-title{
  font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-soft);margin:0 0 5px;
}
.guarantee p{margin:0;font-size:16.5px;line-height:1.5;color:var(--cream)}
.guarantee p strong{color:#FFF}
.guarantee.small{padding:16px 20px;margin-top:20px}
.guarantee.small p{font-size:15px}

/* ---------- City line ---------- */
.cityline{
  margin:38px 0 0;text-align:center;
  font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--muted-text);line-height:2.1;
}
.cityline .dot{color:var(--gold-bright)}

/* ---------- Elevated panels, forms, cards ---------- */
body.door-v2 .panel{
  border-radius:18px;border-color:#4A4132;
  background:linear-gradient(180deg, hsl(24,16%,11.5%), hsl(0,0%,9%));
  box-shadow:0 18px 42px rgba(0,0,0,.34);
}
body.door-v2 fieldset{border-radius:14px}
body.door-v2 input,body.door-v2 select,body.door-v2 textarea{border-radius:10px}
body.door-v2 button{border-radius:999px}
body.door-v2 .notice{border-radius:0 12px 12px 0}
body.door-v2 .fees{border-radius:0 12px 12px 0}
body.door-v2 .pathway-head{border-top:0;padding-top:0}
body.door-v2 .step-tag{
  display:inline-block;border:1px solid var(--gold);border-radius:999px;
  padding:6px 14px;background:rgba(197,166,110,.09);
}
body.door-v2 .reviewer{
  border-radius:16px;position:relative;overflow:hidden;
  background:linear-gradient(180deg, hsl(24,16%,12.5%), hsl(24,16%,10%));
  box-shadow:0 14px 32px rgba(0,0,0,.32);
}
body.door-v2 .reviewer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg, var(--gold-bright), rgba(197,166,110,0));
}
body.door-v2 .review-price{font-size:24px}
body.door-v2 .tag{border-radius:999px;padding:4px 11px}
body.door-v2 .badge{border-radius:999px;padding:4px 11px}
body.door-v2 .order-panel{border-radius:16px;box-shadow:0 18px 44px rgba(0,0,0,.4), 0 0 0 1px rgba(197,166,110,.12)}
body.door-v2 .brief-summary{border-radius:12px}
body.door-v2 .check-group{border-radius:12px}
body.door-v2 .entry{border-radius:14px}

/* ---------- Hold-and-release diagram (brand) ---------- */
.holdsteps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:stretch;margin-top:6px}
.holdstep{
  border:1px solid #4A4132;border-radius:16px;padding:20px;
  background:linear-gradient(180deg, hsl(24,16%,12%), hsl(0,0%,9.5%));
}
.holdstep .n{
  font-family:var(--font-display);font-size:26px;color:var(--gold-soft);display:block;margin-bottom:6px;
}
.holdstep h3{font-size:20px;margin:0 0 6px}
.holdstep p{margin:0;font-size:14px;color:var(--text)}
.holdarrow{align-self:center;color:var(--gold-bright);font-size:26px;font-weight:700}

/* Brand "How it works" list: the lead-in phrases wrap mid-phrase in the
   narrow aside under the shared .steps flex layout. On the brand door
   only, stack each step as a block with its number pinned left. */
body[data-lane="brand"] .steps li{display:block;position:relative;padding-left:36px;min-height:26px}
body[data-lane="brand"] .steps li::before{position:absolute;left:0;top:0}

/* Intake row (music, creator): the shared .grid stretches both columns
   to the form's full height, leaving the "What happens next" aside a
   long empty panel. On these two lanes only, size each column to its
   own content and pin the aside to the top; the panel simply ends
   where its content ends. Hub and brand rows are untouched. */
body[data-lane="music"] .grid,body[data-lane="creator"] .grid{align-items:start}
body[data-lane="music"] .grid>aside.panel,body[data-lane="creator"] .grid>aside.panel{height:auto;align-self:start}

/* ---------- Section spacing rhythm ---------- */
body.door-v2 .pathway{margin-top:52px}
body.door-v2 section.panel{scroll-margin-top:20px}

/* ---------- Mobile ---------- */
@media(max-width:860px){
  .hero-split{grid-template-columns:1fr;padding-top:42px;gap:30px}
  .hero-photo img{max-height:340px}
  .hero-photo::after{transform:translate(9px,9px)}
}
@media(max-width:760px){
  .hero{min-height:78vh}
  .hero-inner{padding:110px 20px 44px}
  .door-grid{grid-template-columns:1fr}
  .door{min-height:320px}
  .guarantee{flex-direction:column;align-items:flex-start;gap:14px}
  .holdsteps{grid-template-columns:1fr}
  .holdarrow{transform:rotate(90deg);justify-self:center}
}
@media (prefers-reduced-motion: reduce){
  .door img,.door .go .arr{transition:none}
}

/* ================= MOTION + LIGHT LAYER (Nov 22) =================
   Quoted from the main site's own system, src/index.css — nothing in
   this section is a new dialect:
   - eg-fade-up: 0.9s cubic-bezier(0.22,1,0.36,1), translateY(12px),
     staggered by delay (house eg-delay-1..4).
   - eg-slow-zoom: 24s ease-in-out infinite alternate, scale 1→1.045,
     on the hero photo inside its overflow-hidden frame (HomePage).
   - eg-enter-pulse: 2.6s ease-in-out infinite gold glow
     (0 0 24px 3px rgba(197,166,110,.30)) on the one tap that matters.
   - Reveal (src/components/home/Reveal.tsx): 1100ms ease-out,
     translateY(28px), IntersectionObserver threshold 0.12, hidden
     state applied only to elements starting below the fold.
   Transform and opacity only; no layout properties are animated. */

/* Hero lines rise once, in stagger, on load (eg-fade-up family).
   Base state is fully visible: the hidden state lives only inside
   the keyframes, so no-JS and reduced-motion render the static door. */
body.door-v2 .hero-inner>.eyebrow,body.door-v2 .hero-inner>h1,
body.door-v2 .hero-inner>.lede,body.door-v2 .hero-inner>.hero-cta,
body.door-v2 .hero-inner>.chips,
body.door-v2 .hero-split .eyebrow,body.door-v2 .hero-split h1,
body.door-v2 .hero-split .lede,body.door-v2 .hero-split .chips{
  animation:dv-fade-up .9s cubic-bezier(0.22,1,0.36,1) both;
}
body.door-v2 .hero-inner>h1,body.door-v2 .hero-split h1{animation-delay:.16s}
body.door-v2 .hero-inner>.lede,body.door-v2 .hero-split .lede{animation-delay:.3s}
body.door-v2 .hero-inner>.hero-cta,body.door-v2 .hero-inner>.chips,
body.door-v2 .hero-split .chips{animation-delay:.44s}
/* Keep the music submission copy readable on the first mobile paint. */
@media (max-width: 760px){
  body.door-v2[data-lane="music"] .hero-split .lede{animation:none}
}
@keyframes dv-fade-up{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

/* Hero photography breathes (eg-slow-zoom, verbatim values).
   Split heroes: the framed <img> itself. Full-bleed heroes:
   doors-v2.js moves the background photograph onto .hero-media so
   it can take a transform; without JS the static background stays. */
.hero-photo .frame img{animation:dv-slow-zoom 24s ease-in-out infinite alternate}
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-media img{
  width:100%;height:100%;object-fit:cover;object-position:center 38%;
  animation:dv-slow-zoom 24s ease-in-out infinite alternate;
}
.hero-brand .hero-media img{object-position:center 30%}
body.door-v2.motion .hero-stage,body.door-v2.motion .hero-brand{background-image:none}
body.door-v2.motion .hero::before{z-index:1}
body.door-v2.motion .hero::after{z-index:1}
body.door-v2.motion .hero-inner{z-index:2}
@keyframes dv-slow-zoom{
  from{transform:scale(1)}
  to{transform:scale(1.045)}
}

/* One living accent per page, in the house manner (eg-enter-pulse):
   the hub's primary tap glows quietly; on music and creator the
   guarantee strip carries the same glow at lower strength.
   Brand carries none — its hero zoom is its living moment. */
body.door-v2 .hero .btn-solid{animation:dv-enter-pulse 2.6s ease-in-out 1.8s infinite}
@keyframes dv-enter-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(197,166,110,0)}
  50%{box-shadow:0 0 24px 3px rgba(197,166,110,.30)}
}
body[data-lane="music"] .guarantee,body[data-lane="creator"] .guarantee{
  animation:dv-guarantee-pulse 2.6s ease-in-out infinite;
}
@keyframes dv-guarantee-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(197,166,110,0)}
  50%{box-shadow:0 0 22px 2px rgba(197,166,110,.16)}
}

/* Scroll reveals (house Reveal pattern; .rv-off is applied by
   doors-v2.js only, only to elements starting below the fold). */
.rv{transition:opacity 1.1s ease-out,transform 1.1s ease-out}
.rv-off{opacity:0;transform:translateY(28px)}

/* Light bands — the house's own light layer, not a new palette.
   Precedents: the design system's base tokens are light (warm
   off-white background 40 33% 96%, white cards, ivory 45 38% 96%
   in src/index.css :root); the account pages render their forms on
   #F9F7F4 with a white card (LoginPage); the warm ivory #F7EFE3 is
   quoted from ResidencyPage. Applied to static text surfaces only —
   never under a JS-rendered directory or a form's status lines. */
body.door-v2 .lightband{
  background:linear-gradient(180deg,#FBF7EE,#F7EFE3);
  border-color:#D9CDB2;color:#221D15;
}
body.door-v2 .lightband h2,body.door-v2 .lightband h3,
body.door-v2 .lightband summary{color:#171410}
body.door-v2 .lightband .muted,body.door-v2 .lightband .field-hint{color:#6B5F49}
body.door-v2 .lightband details{border-top-color:#D9CDB2}
body.door-v2 .lightband a{color:#7A5E1E}
body.door-v2 .lightband a:hover{color:#5F4713}
body.door-v2 .lightband .notice{background:#EFE5CE;color:#221D15}

@media (prefers-reduced-motion: reduce){
  body.door-v2 .hero-inner>.eyebrow,body.door-v2 .hero-inner>h1,
  body.door-v2 .hero-inner>.lede,body.door-v2 .hero-inner>.hero-cta,
  body.door-v2 .hero-inner>.chips,
  body.door-v2 .hero-split .eyebrow,body.door-v2 .hero-split h1,
  body.door-v2 .hero-split .lede,body.door-v2 .hero-split .chips,
  .hero-photo .frame img,.hero-media img,
  body.door-v2 .hero .btn-solid,
  body[data-lane="music"] .guarantee,body[data-lane="creator"] .guarantee{
    animation:none;
  }
  .rv{transition:none}
}
