/* Space Grotesk is ONLY for the Digital Dragonfruit badge wordmark. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');
/* ===================================================================
   LAST NIGHT WAS CRAZY — its own stylesheet.
   -------------------------------------------------------------------
   Shares nothing with the main site on purpose. filmedlastnight.com
   is hot magenta and condensed caps shouting at you; this is the
   hoodie's own front print blown up to a website: Playfair Display
   Italic, bone white #E8E3D9 on near-black, and the print's gold as
   the only other colour on the page. The whole identity is that one
   typographic idea — there is deliberately NO second display face, NO
   magenta anywhere, and almost no copy.

   The layout is a drop page, not a store: one viewport of enormous
   type, one editorial product block per item, one oversized pull
   line, the email capture, a short footer.
   =================================================================== */
:root{
  /* The garment's own colours. --gold is the exact gold the handle is
     printed in (GOLD in ../assets/js/club-preview.js) — if that ever
     changes, change this with it. */
  --night:   #0C0A08;
  --night-2: #14110E;
  --bone:    #E8E3D9;
  --bone-dim:rgba(232,227,217,.55);
  --gold:    #D8A94A;
  --line:    rgba(232,227,217,.16);
  --card:    #F2F0EC;          /* the mockups' backing card */

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', system-ui, -apple-system, sans-serif;

  --wrap: 1080px;
  --pad:  20px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--night); color:var(--bone);
  font-family:var(--sans); font-size:15px; line-height:1.6;
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
button{font:inherit; color:inherit; border:0; padding:0; background:none; cursor:pointer}
input{font:inherit; color:inherit}
a{color:var(--bone); text-decoration:none}
[hidden]{display:none!important}
:focus-visible{outline:1.5px solid var(--gold); outline-offset:3px}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 var(--pad)}

/* The brand voice: italic serif, lowercase. Everything display-sized
   on this page uses exactly this. */
.voice{font-family:var(--serif); font-style:italic; font-weight:500;
  letter-spacing:-.01em; text-transform:lowercase}

/* small spaced caps for labels */
.cap{font-size:.64rem; font-weight:600; letter-spacing:.22em;
  text-transform:uppercase; color:var(--bone-dim)}

/* ------------------------------ header ------------------------------ */
.hd{
  position:sticky; top:0; z-index:60; background:rgba(12,10,8,.88);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.hd .wrap{display:flex; align-items:baseline; justify-content:space-between;
  min-height:54px; padding-top:14px; padding-bottom:12px}
.hd-mark{font-family:var(--serif); font-style:italic; font-weight:500;
  font-size:1.05rem; letter-spacing:-.01em}
.hd-bag{font-size:.7rem; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--bone)}
.hd-bag b{color:var(--gold); font-weight:600}

/* ------------------------------- hero ------------------------------- */
.hero{padding:9vh 0 10vh; position:relative}
.hero .cap{display:block; margin-bottom:18px}
.hero-type{
  margin:0; font-family:var(--serif); font-style:italic; font-weight:500;
  text-transform:lowercase; letter-spacing:-.02em;
  font-size:clamp(4.2rem, 21vw, 12.5rem); line-height:.92;
}
.hero-type span{display:block}
/* the word that matters */
.hero-type span:last-child{color:var(--gold)}
.hero-sub{margin:26px 0 0; font-size:.92rem; color:var(--bone-dim); max-width:38ch}
.hero-clock{margin:8px 0 0; font-size:.72rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:var(--bone)}
.hero-clock b{color:var(--gold); font-weight:600; font-variant-numeric:tabular-nums}

/* ------------------------- product blocks --------------------------- */
.shop{border-top:1px solid var(--line)}
.pr{padding:52px 0; display:grid; gap:30px}
.pr + .pr{border-top:1px solid var(--line)}

.pr-media{min-width:0}
.pr-stage{
  position:relative; background:var(--card); overflow:hidden;
  aspect-ratio:1; /* square, fashion-catalogue, no rounding */
}
.pr-stage img, .pr-stage canvas{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; display:block;
  transition:opacity .45s ease;
}
.pr-stage canvas{opacity:0; pointer-events:none}
.pr-stage.is-revealed img{opacity:0}
.pr-stage.is-revealed canvas{opacity:1; pointer-events:auto}
.pr-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; display:grid; place-items:center;
  color:#2b2b2b; font-size:1.5rem; line-height:1;
}
.pr-stage.is-revealed .pr-arrow{display:none}
.pr-arrow--l{left:2px} .pr-arrow--r{right:2px}
.pr-back{
  position:absolute; top:10px; right:12px; z-index:3;
  font-size:.62rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:#2b2b2b;
}
.pr-stage.is-revealed .pr-back{color:var(--bone); }
.pr-dots{display:flex; gap:14px; margin-top:14px; align-items:center}
.pr-dot{
  width:26px; height:26px; border-radius:50%; border:1.5px solid var(--line);
  padding:0; position:relative;
}
.pr-dot i{position:absolute; inset:4px; border-radius:50%; display:block}
.pr-dot[aria-pressed="true"]{border-color:var(--gold)}
.pr-dotname{font-size:.68rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--bone-dim); margin-left:4px}

.pr-no{margin:0 0 6px; font-size:.64rem; font-weight:600; letter-spacing:.22em;
  color:var(--bone-dim)}
.pr-title{margin:0; font-family:var(--serif); font-style:italic; font-weight:500;
  text-transform:lowercase; letter-spacing:-.015em;
  font-size:clamp(2.1rem, 9vw, 3.4rem); line-height:1}
.pr-pitch{margin:10px 0 0; color:var(--bone-dim); font-size:.92rem; max-width:44ch}
.pr-price{margin:18px 0 0; font-family:var(--serif); font-style:italic;
  font-size:1.5rem; color:var(--bone)}
.pr-price em{font-style:italic; font-size:.95rem; color:var(--bone-dim)}

.pr-lab{display:block; margin:26px 0 10px}
.pr-sizes{display:flex; gap:4px; flex-wrap:wrap}
.pr-size{
  min-width:44px; height:44px; padding:0 10px;
  font-size:.8rem; font-weight:600; letter-spacing:.06em;
  color:var(--bone-dim); border-bottom:1.5px solid transparent;
}
.pr-size[aria-pressed="true"]{color:var(--bone); border-bottom-color:var(--gold)}

.pr-handle{display:flex; gap:10px; align-items:stretch; max-width:420px}
.pr-handle input{
  flex:1; min-width:0; background:none; border:0;
  border-bottom:1.5px solid var(--line); border-radius:0;
  padding:10px 2px; color:var(--bone); font-size:1rem;
}
.pr-handle input::placeholder{color:rgba(232,227,217,.35)}
.pr-handle input:focus{outline:none; border-bottom-color:var(--bone)}
.pr-find{
  flex:none; padding:0 16px; font-size:.68rem; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase;
  border:1px solid var(--line); color:var(--bone);
}
.pr-find:active{border-color:var(--gold)}
.pr-status{margin:12px 0 0; font-size:.82rem; color:var(--bone-dim); min-height:1.3em}
.pr-status.is-good{color:var(--gold)}
.pr-status.is-bad{color:#D07A5A}

.pr-ctas{display:grid; gap:10px; margin-top:28px; max-width:420px}
.b{
  display:flex; align-items:center; justify-content:center;
  min-height:52px; padding:0 26px;
  font-size:.74rem; font-weight:700; letter-spacing:.22em;
  text-transform:uppercase; transition:opacity .15s ease;
}
.b--solid{background:var(--bone); color:var(--night)}
.b--solid:active{background:#d9d3c6}
.b--ghost{border:1px solid var(--bone); color:var(--bone)}
.b[disabled]{opacity:.35; cursor:default}
.pr-note{margin:14px 0 0; font-size:.74rem; color:var(--bone-dim)}

/* sold out: still on the page, clearly not for sale */
.pr--soldout .pr-stage{filter:grayscale(.85); opacity:.6}
.pr--soldout .pr-title{color:var(--bone-dim)}
.pr-soldout{
  position:absolute; top:10px; left:10px; z-index:4;
  padding:6px 11px; background:var(--night); color:var(--bone);
  font-size:.62rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
}

/* the whole-shop closed / archived message */
.shop-closed{padding:56px 0; color:var(--bone-dim); font-size:.95rem}
.shop-closed .voice{display:block; font-size:clamp(1.9rem,8vw,3rem);
  color:var(--bone); margin-bottom:10px}

/* --------------------------- the pull line -------------------------- */
.pull{border-top:1px solid var(--line); padding:14vh 0; overflow:hidden}
.pull-line{
  margin:0; font-family:var(--serif); font-style:italic; font-weight:500;
  text-transform:lowercase; letter-spacing:-.02em;
  font-size:clamp(2.4rem, 11vw, 6.5rem); line-height:1.04;
  color:var(--bone);
}

/* --------------------------- email capture -------------------------- */
.capture{border-top:1px solid var(--line); padding:64px 0}
.capture h3{margin:0 0 6px; font-family:var(--serif); font-style:italic;
  font-weight:500; text-transform:lowercase; font-size:1.9rem; letter-spacing:-.01em}
.capture p{margin:0 0 22px; color:var(--bone-dim); font-size:.88rem}
.lnwc-form{display:flex; gap:10px; max-width:460px}
.lnwc-form input[type="email"]{
  flex:1; min-width:0; background:none; border:0; border-radius:0;
  border-bottom:1.5px solid var(--line); padding:10px 2px;
  color:var(--bone); font-size:1rem;
}
.lnwc-form input[type="email"]::placeholder{color:rgba(232,227,217,.35)}
.lnwc-form input[type="email"]:focus{outline:none; border-bottom-color:var(--bone)}
.lnwc-form .b{flex:none}
.lnwc-hp{position:absolute; left:-9999px}
.lnwc-sent a{text-decoration:underline; text-underline-offset:3px}

/* ------------------------------ footer ------------------------------ */
.ft{border-top:1px solid var(--line); padding:44px 0 56px}
.ft .wrap{display:flex; flex-direction:column; gap:26px}
.ft-links{display:flex; gap:26px}
.ft-links a{font-size:.7rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--bone-dim)}
.ft-links a:hover{color:var(--bone)}
.ft-sister{margin:0; font-size:.74rem; color:var(--bone-dim)}
.ft-sister a{color:var(--bone-dim); text-decoration:underline; text-underline-offset:3px}

/* ------------------------------- bag -------------------------------- */
.scrim{
  position:fixed; inset:0; z-index:90; background:rgba(0,0,0,.6);
  opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s;
}
.scrim.is-open{opacity:1; visibility:visible}
.bag{
  position:fixed; top:0; right:0; bottom:0; z-index:91;
  width:min(400px,100%); display:flex; flex-direction:column;
  background:var(--night); border-left:1px solid var(--line);
  transform:translateX(100%); transition:transform .28s cubic-bezier(.2,.9,.3,1);
  /* Closed means INERT — same rule the main site learned the hard way:
     an invisible panel must never eat a tap. */
  visibility:hidden;
}
.bag.is-open{transform:none; visibility:visible}
.bag-head{display:flex; align-items:baseline; justify-content:space-between;
  padding:20px var(--pad); border-bottom:1px solid var(--line); flex:none}
.bag-head h2{margin:0; font-family:var(--serif); font-style:italic;
  font-weight:500; font-size:1.5rem; text-transform:lowercase}
.bag-close{font-size:.66rem; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--bone-dim); padding:8px}
.bag-body{flex:1; overflow-y:auto; padding:8px var(--pad)}
.bag-line{display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line)}
.bag-line img{width:62px; height:62px; object-fit:cover; background:var(--card); flex:none}
.bag-line-info{flex:1; min-width:0}
.bag-line-info b{display:block; font-weight:600; font-size:.88rem}
.bag-line-info small{display:block; color:var(--bone-dim); font-size:.74rem;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.bag-qty{display:flex; align-items:center; gap:2px; margin-top:8px}
.bag-qty button{width:34px; height:34px; display:grid; place-items:center;
  border:1px solid var(--line); font-size:.9rem}
.bag-qty span{min-width:30px; text-align:center; font-size:.85rem}
.bag-x{margin-left:8px; color:var(--bone-dim); font-size:.68rem;
  letter-spacing:.12em; text-transform:uppercase}
.bag-line-price{flex:none; font-family:var(--serif); font-style:italic; font-size:1rem}
.bag-empty{padding:40px 0; color:var(--bone-dim); font-size:.9rem}
.bag-foot{flex:none; padding:18px var(--pad) 26px; border-top:1px solid var(--line)}
.bag-total{display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:6px}
.bag-total b{font-family:var(--serif); font-style:italic; font-weight:500; font-size:1.4rem}
.bag-promo{margin:0 0 14px; font-size:.72rem; color:var(--bone-dim)}
.bag-msg{margin:10px 0 0; font-size:.78rem; color:#D07A5A; min-height:1.2em}

/* -------------------------------------------------------------------
   DIGITAL DRAGONFRUIT BADGE — required on every site. Don't remove.
   Deliberately uses hard-coded brand colors, NOT the client's tokens,
   so it stays on-brand on any palette. The border/"Powered by" use
   currentColor, so they pick up whatever the client's footer text
   color is and never fight it.
   On a dark footer, add class "dd-badge--on-dark" to the link.
   ------------------------------------------------------------------- */
.dd-badge{
  display:inline-flex; align-items:center; gap:9px;
  align-self:flex-start;
  color:var(--bone);
  padding:7px 14px 7px 10px;
  border:1px solid rgba(128,128,128,.28);
  border:1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius:999px;
  text-decoration:none; line-height:1.15; white-space:nowrap;
  transition:border-color .15s ease, background-color .15s ease;
}
.dd-badge:hover{border-color:rgba(255,46,126,.5); background:rgba(255,46,126,.07)}
.dd-badge svg{width:30px; height:auto; flex:none; display:block}
.dd-badge .dd-text{display:flex; flex-direction:column; gap:3px}
.dd-badge .dd-pre{
  font-size:.62rem; font-weight:600; letter-spacing:.11em;
  text-transform:uppercase; color:currentColor;
}
.dd-badge .dd-mark{font-family:'Space Grotesk', system-ui, sans-serif; font-size:.9rem; letter-spacing:-.01em}
.dd-badge .dd-mark .d1{color:#1D0F2A; font-weight:500}
.dd-badge .dd-mark .d2{color:#FF2E7E; font-weight:700}
.dd-badge--on-dark .dd-mark .d1{color:#FFF9F4}

/* ---------------------------- breakpoints ---------------------------- */
@media (min-width:860px){
  :root{--pad:36px}
  .pr{grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
      padding:84px 0}
  .pr-ctas{grid-template-columns:1fr 1fr}
  .hero{padding:13vh 0 14vh}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important; animation:none!important}
}
