/* ————— Deanna Leonard · A Gallery of Color ————— */
:root{
  --bg:#f4f1ea;            /* ambient, retinted per room by JS */
  --ink:#221f1c;
  --ink-soft:rgba(34,31,28,.62);
  --accent:#e8b4c0;
  --serif:"Fraunces",Georgia,serif;
  --sans:"Inter",system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{scroll-behavior:auto}
body{
  font-family:var(--sans);color:var(--ink);
  background:var(--bg);
  transition:background-color 1.1s ease,color 1.1s ease;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.noir{--ink:#efe9e2;--ink-soft:rgba(239,233,226,.6)}
img{display:block;max-width:100%}
a{color:inherit}

/* brand */
.brand{
  position:fixed;inset:0 auto auto 0;z-index:40;
  padding:1.4rem 1.8rem;
  mix-blend-mode:normal;
}
.brand-link{
  display:flex;flex-direction:column;gap:.15rem;
  text-decoration:none;cursor:pointer;
  transition:opacity .3s ease;
}
.brand-link:hover,.brand-link:focus-visible{opacity:.7}
body.brand-fade .brand{pointer-events:none}
.brand-name{
  font-family:var(--serif);font-weight:500;font-size:1.05rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--ink);
  transition:color 1.1s ease;
}
.brand-sub{
  font-size:.68rem;letter-spacing:.34em;text-transform:uppercase;
  color:var(--ink-soft);transition:color 1.1s ease;
}

/* ————— hero ————— */
.hero{position:relative;height:100svh;overflow:hidden}
.hero-img{width:100%;height:100%;object-fit:cover;transform:scale(1.06)}
.hero-veil{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(20,16,20,.42) 0%,rgba(20,16,20,0) 45%);
}
.hero-copy{
  position:absolute;left:0;right:0;bottom:16vh;text-align:center;color:#fdf9f4;
  text-shadow:0 1px 30px rgba(20,16,20,.35);
}
.hero-copy h1{
  font-family:var(--serif);font-style:italic;font-weight:340;
  font-size:clamp(2.4rem,6vw,4.6rem);letter-spacing:.01em;
}
.hero-copy p{
  margin-top:.9rem;font-size:.8rem;letter-spacing:.42em;text-transform:uppercase;
  color:rgba(253,249,244,.85);
}
.hero-enter{
  position:absolute;left:50%;bottom:4.5vh;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  background:none;border:0;color:#fdf9f4;cursor:pointer;
  font-family:var(--sans);font-size:.66rem;letter-spacing:.4em;text-transform:uppercase;
  opacity:.9;
}
.hero-enter svg{animation:drift 2.2s ease-in-out infinite}
@keyframes drift{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}

/* ————— rooms ————— */
.room{padding:0 0 6rem}
.room-door{
  min-height:72svh;display:flex;flex-direction:column;justify-content:center;
  padding:0 8vw;max-width:1200px;margin:0 auto;
}
.room-kicker{
  font-size:.66rem;letter-spacing:.44em;text-transform:uppercase;color:var(--ink-soft);
  transition:color 1.1s ease;
}
.room-name{
  font-family:var(--serif);font-style:italic;font-weight:320;
  font-size:clamp(3rem,9vw,7.2rem);line-height:1.02;margin:.6rem 0 1.1rem;
  color:var(--room-ink,var(--ink));transition:color 1.1s ease;
}
.room-line{
  font-family:var(--serif);font-weight:340;font-size:clamp(1.05rem,1.8vw,1.35rem);
  color:var(--ink-soft);max-width:34ch;transition:color 1.1s ease;
}
/* v3 room landing — full-screen hero, name floats in from the left */
.room-landing{
  position:relative;height:100svh;margin:0;overflow:hidden;cursor:zoom-in;
}
.room-landing img,.room-landing video{
  width:100%;height:100%;object-fit:cover;display:block;
}
.landing-copy{
  position:absolute;left:0;right:0;bottom:0;top:0;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:0 6vw 12vh;pointer-events:none;
  background:linear-gradient(to top,rgba(16,12,10,.44) 0%,rgba(16,12,10,.08) 34%,rgba(16,12,10,0) 55%);
}
.landing-copy .room-kicker{color:rgba(253,249,244,.8)}
.landing-copy .room-name{
  color:#fdf9f4;margin:.5rem 0 .8rem;
  text-shadow:0 2px 40px rgba(16,12,10,.45);
}
.landing-copy .room-line{color:rgba(253,249,244,.85);max-width:40ch}
.landing-caption{
  position:absolute;right:2rem;bottom:2rem;pointer-events:none;
}
.landing-caption .p-title{
  font-family:var(--serif);font-style:italic;font-size:.95rem;color:rgba(253,249,244,.75);
}

/* brand on the landing page */
body.at-home .brand-name{color:#fdf9f4;text-shadow:0 1px 20px rgba(20,16,12,.55)}
body.at-home .brand-sub{color:rgba(253,249,244,.75);text-shadow:0 1px 20px rgba(20,16,12,.55)}

/* strips — rooms awaiting their doors */
.strip-intro{
  text-align:center;padding:12vh 8vw 3rem;
}
.strip-intro h3{
  font-family:var(--serif);font-style:italic;font-weight:340;
  font-size:clamp(1.6rem,3.2vw,2.4rem);color:var(--ink);transition:color 1.1s ease;
}
.strip{padding:2.5rem 0}
.strip-head{
  display:flex;align-items:baseline;gap:1.4rem;flex-wrap:wrap;
  padding:0 8vw;max-width:1400px;margin:0 auto 1.4rem;
}
.strip-name{
  font-family:var(--serif);font-style:italic;font-weight:330;
  font-size:clamp(1.7rem,3.6vw,2.6rem);color:var(--room-ink,var(--ink));
}
.strip-line{font-size:.85rem;color:var(--ink-soft);transition:color 1.1s ease}
.strip-row{
  display:flex;gap:1.4rem;overflow-x:auto;padding:1rem 8vw 1.6rem;
  scroll-snap-type:x mandatory;scrollbar-width:thin;
}
.strip-piece{
  flex:0 0 auto;width:auto;margin:0;scroll-snap-align:start;
}
.strip-row .piece img,.strip-row .piece video{
  height:46svh;width:auto;max-width:none;border-radius:2px;
  box-shadow:0 18px 50px -18px rgba(25,20,18,.35);
}
.strip-piece figcaption{margin-top:.55rem}
.strip-piece .p-title{
  font-family:var(--serif);font-style:italic;font-size:.9rem;color:var(--ink);
  transition:color 1.1s ease;
}

/* room hero — the statement wall */
.room-hero{
  margin:0 auto;padding:0 8vw;max-width:1400px;cursor:zoom-in;
}
.room-hero .hero-frame{
  position:relative;margin:0 auto;
}
.room-hero img,.room-hero video{
  display:block;width:100%;border-radius:2px;
  box-shadow:0 30px 80px -24px rgba(25,20,18,.45);
}
.room-hero figcaption{
  position:absolute;left:0;right:0;bottom:0;
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  padding:2.6rem 1.4rem .9rem;border-radius:0 0 2px 2px;
  background:linear-gradient(to top,rgba(18,14,12,.55),rgba(18,14,12,0));
}
.room-hero .p-title{
  font-family:var(--serif);font-style:italic;font-size:1.25rem;color:#fdf9f4;
}
.room-hero .p-num{
  font-size:.62rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(253,249,244,.75);
}
/* grid pieces rise past the statement wall */
.room-grid{position:relative;z-index:2;padding-top:3.2rem}

/* doorway — walk into the next room */
.doorway{
  margin:6rem auto 0;display:flex;flex-direction:column;align-items:center;gap:1.3rem;
}
.door{
  width:min(300px,64vw);border:0;padding:0;cursor:pointer;background:none;
  border-radius:160px 160px 4px 4px;overflow:hidden;
  box-shadow:0 24px 60px -20px rgba(25,20,18,.5);
  transition:box-shadow .4s ease;
}
.door img{width:100%;aspect-ratio:3/4;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.door:hover img,.door:focus-visible img{transform:scale(1.05)}
.door:hover{box-shadow:0 30px 80px -20px rgba(25,20,18,.62)}
.door-label{
  text-align:center;font-size:.66rem;letter-spacing:.34em;text-transform:uppercase;
  color:var(--ink-soft);line-height:2;transition:color 1.1s ease;
}
.door-label em{
  display:block;font-family:var(--serif);font-style:italic;font-size:1.15rem;
  letter-spacing:.02em;text-transform:none;color:var(--ink);transition:color 1.1s ease;
}

/* full-page living threshold */
.threshold{
  position:relative;height:100svh;margin-top:6rem;overflow:hidden;cursor:pointer;
}
.threshold video{
  width:100%;height:100%;object-fit:cover;display:block;will-change:transform;
}
.threshold-label{
  position:absolute;left:50%;bottom:6vh;transform:translateX(-50%);
  text-align:center;font-size:.66rem;letter-spacing:.34em;text-transform:uppercase;
  color:#fdf9f4;line-height:2;text-shadow:0 1px 24px rgba(20,16,12,.6);
  pointer-events:none;
}
.threshold-label em{
  display:block;font-family:var(--serif);font-style:italic;font-size:1.4rem;
  letter-spacing:.02em;text-transform:none;
}
.door-pulse{
  display:block;width:12px;height:12px;margin:0 auto .8rem;border-radius:50%;
  background:rgba(253,249,244,.95);
  animation:doorpulse 2s ease-out infinite;
}
@keyframes doorpulse{
  0%{box-shadow:0 0 0 0 rgba(253,249,244,.65)}
  70%{box-shadow:0 0 0 22px rgba(253,249,244,0)}
  100%{box-shadow:0 0 0 0 rgba(253,249,244,0)}
}
.threshold:hover video{filter:brightness(1.06)}
.threshold video{transition:filter .5s ease}

/* brand yields to big type */
.brand{transition:opacity .45s ease}
body.brand-fade .brand{opacity:.06}

/* the screening wall */
.screening{
  margin:7rem 0 0;padding:6rem 8vw 7rem;text-align:center;
  background:#191210;color:#f0e8df;
}
.film-kicker{font-size:.62rem;letter-spacing:.44em;text-transform:uppercase;color:rgba(240,232,223,.55)}
.film-title{
  font-family:var(--serif);font-style:italic;font-weight:320;
  font-size:clamp(2rem,4.6vw,3.6rem);margin:.7rem 0 .4rem;color:#f6efe7;
}
.film-sub{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(240,232,223,.6)}
.film-stage{
  position:relative;max-width:min(760px,88vw);margin:2.6rem auto 0;
}
.film-stage img,.film-stage video{
  width:100%;border-radius:2px;display:block;
  box-shadow:0 40px 110px -30px rgba(0,0,0,.85);
}
.film-play{
  position:absolute;inset:0;margin:auto;width:72px;height:72px;
  background:none;border:0;cursor:pointer;
  transition:transform .35s ease;
}
.film-play:hover{transform:scale(1.1)}
.film-note{margin-top:1.4rem;font-size:.62rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(240,232,223,.45)}

/* collections wing intro */
.wing-intro{
  min-height:70svh;display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;padding:0 8vw;
}
.wing-intro .room-name{color:var(--ink)}
.wing-intro .room-line{max-width:44ch}

.chip-sq{border-radius:4px}

.room-grid{
  columns:3 300px;column-gap:2rem;
  padding:0 8vw;max-width:1400px;margin:0 auto;
}
.piece{
  break-inside:avoid;margin:0 0 2rem;cursor:zoom-in;position:relative;
}
.piece img,.piece video{
  width:100%;border-radius:2px;display:block;
  box-shadow:0 18px 50px -18px rgba(25,20,18,.35);
  transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s ease;
}
.piece:hover img,.piece:hover video{transform:translateY(-6px);box-shadow:0 30px 60px -20px rgba(25,20,18,.45)}
.piece figcaption{
  margin-top:.7rem;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
}
.piece .p-title{
  font-family:var(--serif);font-style:italic;font-size:1rem;color:var(--ink);
  transition:color 1.1s ease;
}
.piece .p-num{
  font-size:.62rem;letter-spacing:.3em;color:var(--ink-soft);
  transition:color 1.1s ease;
}

/* ————— palette dock ————— */
.palette{
  position:fixed;right:1.4rem;top:50%;transform:translateY(-50%);z-index:50;
  display:flex;flex-direction:column;gap:.45rem;max-height:88svh;
}
.chip-sq:first-of-type{margin-top:.5rem}
.chip{
  --c:#ccc;
  width:17px;height:17px;border-radius:50%;border:0;cursor:pointer;
  background:var(--c);position:relative;
  outline:2px solid transparent;outline-offset:3px;
  transition:transform .25s ease,outline-color .25s ease;
}
.chip:hover,.chip:focus-visible{transform:scale(1.35)}
.chip.active{outline-color:var(--c);transform:scale(1.2)}
.chip .tip{
  position:absolute;right:170%;top:50%;translate:0 -50%;
  white-space:nowrap;font-size:.64rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--ink);opacity:0;pointer-events:none;transition:opacity .25s ease;
  background:color-mix(in srgb,var(--bg) 82%,white);padding:.35rem .7rem;border-radius:2px;
}
.chip:hover .tip,.chip:focus-visible .tip{opacity:1}

/* ————— wash transition ————— */
.wash{
  position:fixed;inset:0;z-index:90;background:#e8b4c0;
  transform:scaleY(0);transform-origin:bottom;pointer-events:none;
}

/* ————— lightbox ————— */
.lightbox{
  position:fixed;inset:0;z-index:100;background:rgba(16,13,12,.93);
  display:flex;align-items:center;justify-content:center;padding:4vh 4vw;
  overflow-y:auto;
}
.lightbox[hidden]{display:none}
.lightbox figure{max-width:min(1100px,92vw);margin:auto;display:flex;flex-direction:column}
.lightbox img,.lightbox video{
  max-height:74svh;width:auto;max-width:100%;margin:0 auto;border-radius:2px;display:block;
  box-shadow:0 40px 120px -30px rgba(0,0,0,.8);
}
.lightbox figcaption{
  display:flex;align-items:baseline;gap:1.4rem;justify-content:center;flex-wrap:wrap;
  margin-top:1.6rem;color:#f3ede6;
}
.lb-title{font-family:var(--serif);font-style:italic;font-size:1.5rem}
.lb-room{font-size:.66rem;letter-spacing:.36em;text-transform:uppercase;color:rgba(243,237,230,.55)}
.lb-inquire{
  font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;text-decoration:none;
  border:1px solid rgba(243,237,230,.4);padding:.65rem 1.2rem;border-radius:999px;
  transition:background .3s ease,color .3s ease;
}
.lb-inquire:hover{background:#f3ede6;color:#16110f}
.lb-close{
  position:fixed;top:calc(env(safe-area-inset-top, 0px) + .8rem);right:.9rem;z-index:120;
  width:48px;height:48px;border-radius:50%;
  background:rgba(16,13,12,.55);border:1px solid rgba(243,237,230,.35);color:#f3ede6;
  font-size:1.7rem;line-height:1;cursor:pointer;
}
.lb-close:hover{background:rgba(16,13,12,.8)}

/* ————— outro ————— */
.outro{
  text-align:center;padding:14vh 8vw 12vh;
}
.outro-line{
  font-family:var(--serif);font-weight:340;font-size:clamp(1.6rem,3.4vw,2.6rem);
  color:var(--ink);transition:color 1.1s ease;
}
.about{max-width:52ch;margin:3.4rem auto 0}
.about-kicker{
  font-size:.62rem;letter-spacing:.4em;text-transform:uppercase;color:var(--ink-soft);
}
.about-text{
  margin-top:.9rem;font-family:var(--serif);font-weight:340;font-size:1.05rem;
  line-height:1.75;color:var(--ink);transition:color 1.1s ease;
}
.outro-contact{margin-top:2.2rem;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft)}
.outro-contact a{text-decoration-thickness:1px;text-underline-offset:4px}
.outro-copy{margin-top:2.6rem;font-size:.66rem;letter-spacing:.2em;color:var(--ink-soft)}

/* ————— responsive ————— */
@media (max-width:760px){
  /* room landings: show the whole image, copy moves below it */
  .room-landing{height:auto}
  .room-landing img,.room-landing video{height:auto;object-fit:unset}
  .landing-copy{
    position:static;padding:1.4rem 6vw .2rem;background:none;pointer-events:auto;
  }
  .landing-copy .room-kicker{color:var(--ink-soft)}
  .landing-copy .room-name{color:var(--room-ink,var(--ink));text-shadow:none}
  .landing-copy .room-line{color:var(--ink-soft)}
  .landing-caption{
    position:static;padding:.2rem 6vw 0;text-align:right;
  }
  .landing-caption .p-title{color:var(--ink-soft)}
  /* strips: size by width so nothing warps */
  .strip-row .piece img,.strip-row .piece video{height:auto;width:74vw;max-width:74vw}
  /* slim color band on the right edge — no white card */
  .palette{
    right:.45rem;left:auto;top:50%;bottom:auto;transform:translateY(-50%);
    flex-direction:column;flex-wrap:nowrap;gap:.34rem;
    background:none;backdrop-filter:none;padding:0;border-radius:0;max-width:none;
  }
  .chip .tip{display:none}
  .chip{width:10px;height:10px;box-shadow:0 0 0 1.5px rgba(255,255,255,.55)}
  .chip.active{transform:scale(1.35)}
  .room-grid{columns:1;padding:0 6vw}
  .room-door{padding:0 6vw;min-height:60svh}
  .brand{padding:1rem 1.2rem}
}
@media (prefers-reduced-motion:reduce){
  .hero-enter svg{animation:none}
  body{transition:none}
}
