/* Luxury Light Co. · the ceiling (house kit brand layer)
   1 Concept: you are standing in Samir's showroom looking up. His black ceiling is packed with crystal
     chandeliers hang on cables and drop in as you arrive. Move individual fixtures by hand.
     Scrolling down takes your eyes from the ceiling to his ochre wall, then the floor.
   2 Ink/paper: warm light on his black ceiling; the lower half switches to navy ink on his ochre wall.
   3 Display: Bodoni Moda uppercase. Prices: Caveat Brush on his white tags.
   4 Photos: his real fixtures (cut from his catalog) and his own ceiling footage. */
:root {
  --ink: #f2e8d5; --paper: #0e0e11;
  --wall: #ad6f2e; --wall-ink: #141a2e; --tag: #fbfaf5; --navy: #1f2b52; --marker: #c1121f;
  --accent: #c1121f;
  --font-display: "Bodoni Moda", Didot, serif; --font-text: "Source Serif 4", Georgia, serif;
  --font-label: "Krona One", Arial, sans-serif; --font-hand: "Caveat Brush", "Marker Felt", cursive;
  --display-tracking: -.02em; --display-leading: .9;
}
body { background: var(--paper); color: var(--ink); }
.h2, .h3 { line-height: .98; }
::selection { background: var(--marker); color: var(--tag); }

header.site { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); position: relative; z-index: 5; }
header.site.is-scrolled { background: var(--paper); }
.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.disc { width: 1.75rem; height: 1.75rem; min-width: 22px; min-height: 22px; border-radius: 50%; background: var(--navy); display: inline-grid; place-items: center; }
.disc svg { width: 58%; height: 58%; fill: #d8b25a; }
.nav { display: flex; gap: 2rem; }
@media (max-width: 1023px) { .nav .hide-sm { display: none; } }

/* the ceiling */
.ceiling { position: relative; height: 100svh; min-height: 40rem; overflow: hidden; background: var(--paper); }
.ceiling::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: color-mix(in srgb, var(--ink) 25%, transparent); z-index: 1; }
.hang { position: absolute; top: 0; transform-origin: 50% 0; display: flex; flex-direction: column; align-items: center; }
.hang .cable { width: 1px; background: color-mix(in srgb, var(--ink) 55%, transparent); }
.hang img { display: block; width: 100%; height: auto; }
.ceiling .copy { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--s-48); z-index: 3; }
.ceiling .copy .p1 { max-width: 30rem; margin-top: var(--s-16); color: color-mix(in srgb, var(--ink) 80%, transparent); }
.ceiling .copy .btn { margin-top: var(--s-32); }
.btn { background: var(--ink); color: var(--paper); }
@media (max-width: 1023px) { .ceiling .copy .p1 { max-width: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hk-js .rowline .hang { translate: 0 -115%; transition: translate 1.5s var(--ease); }
  .rowline.down .hang { translate: 0 0; }
}

/* lead under the ceiling */
.sect { padding-block: var(--s-112); }
.reel video { width: 100%; aspect-ratio: 478 / 850; object-fit: cover; }

/* shop the ceiling: each row hangs from its own ceiling line */
.rowline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--s-32); align-items: start; padding-top: 1px; margin-top: var(--s-64); }
.rowline::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.rowline .hang { position: relative; text-decoration: none; color: inherit; }
.rowline .fx { width: 100%; display: grid; place-items: start center; }
.rowline .fx img { max-height: 20rem; width: auto; max-width: 100%; }
@media (max-width: 1023px) { .rowline { grid-template-columns: 1fr 1fr; gap: var(--s-48) var(--s-16); } .rowline .fx img { max-height: 13rem; } }

/* his tag */
.tag { position: relative; background: var(--tag); color: var(--wall-ink); padding: 2.1rem 1.1rem 1.1rem; width: 100%; max-width: 15rem; margin-top: var(--s-16); transform: rotate(var(--r, -2deg)); transform-origin: 50% 0; }
.tag::before { content: ""; position: absolute; top: .8rem; left: 50%; width: .7rem; height: .7rem; min-width: 8px; min-height: 8px; translate: -50% 0; border-radius: 50%; background: var(--paper); }
.tag .disc { position: absolute; top: 1rem; left: 1rem; width: 1.5rem; height: 1.5rem; }
.tag .t-line { font-family: var(--font-hand); font-size: max(1.3rem, 15px); line-height: 1.15; margin-left: 2rem; min-height: 2.3em; }
.tag .t-was { position: relative; display: inline-block; font-family: var(--font-hand); font-size: max(1.5rem, 17px); margin-top: .3rem; }
.tag .t-was svg { position: absolute; left: -12%; top: 18%; width: 124%; height: 70%; overflow: visible; color: var(--wall-ink); }
.tag .t-now { display: inline-block; font-family: var(--font-hand); color: var(--marker); font-size: max(3rem, 32px); line-height: .9; transform: rotate(-5deg); margin-left: .5rem; }
.tag .t-left { font-family: var(--font-hand); font-size: max(1.2rem, 14px); }

/* down the wall: the page turns into his ochre wall */
.wall { background: var(--wall); color: var(--wall-ink); }
.wall .btn { background: var(--navy); color: var(--tag); }
.wall .rowline::before { background: color-mix(in srgb, var(--wall-ink) 35%, transparent); }
.wall .tag::before { background: var(--wall); }
.mounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-48) var(--s-32); margin-top: var(--s-64); align-items: end; }
.mount { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.mount .fx { height: 18rem; display: grid; place-items: end center; }
.mount .fx img { max-height: 100%; width: auto; filter: drop-shadow(0 1.2rem 1rem rgba(40, 20, 0, .35)); }
.mount .string { width: 1.5px; height: 1.4rem; background: color-mix(in srgb, var(--wall-ink) 45%, transparent); }
@media (max-width: 1023px) { .mounts { grid-template-columns: 1fr 1fr; gap: var(--s-48) var(--s-16); } .mount .fx { height: 11rem; } }
.ways { border-top: 1px solid var(--wall-ink); }
.ways > div { display: grid; grid-template-columns: 14rem 1fr; gap: var(--s-32); padding: var(--s-32) 0; border-bottom: 1px solid color-mix(in srgb, var(--wall-ink) 25%, transparent); }
@media (max-width: 1023px) { .ways > div { grid-template-columns: 1fr; gap: var(--s-8); } }
.frame { height: 34rem; overflow: hidden; }
@media (max-width: 1023px) { .frame { height: 24rem; } }
.frame img { width: 100%; height: 100%; object-fit: cover; }

footer.site { background: var(--navy); color: var(--tag); padding: var(--s-64) var(--pad); display: grid; gap: var(--s-32); }
footer.site a { color: var(--tag); }
@media (min-width: 1024px) { footer.site { grid-template-columns: 1fr 1fr 1fr; } }

/* fixtures come down from behind the ceiling line, so nothing shows above it before they drop */
.rowline { clip-path: inset(0 -3rem -6rem -3rem); }
@media (max-width: 1023px) { .nav { display: none; } }

/* Three depths, with a separate hit target for each fixture body. */
.layers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.layers .hang {
  --depth: 1;
  top: var(--drop, 0px);
  visibility: hidden;
  transform: translateY(calc(var(--ceiling-scroll, 0px) * var(--depth)));
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  user-select: none;
  touch-action: none;
  touch-action: pinch-zoom;
}
.layers.down .hang { visibility: visible; pointer-events: auto; }
.layers .hang[data-depth="0"] { --depth: .22; z-index: 0; filter: brightness(.55) saturate(.8); }
.layers .hang[data-depth="1"] { --depth: .5; z-index: 1; filter: brightness(.82); }
.layers .hang[data-depth="2"] { z-index: 2; }
.layers .hang.is-front, .layers .hang:focus-visible { z-index: 3; filter: none; }
.layers .hang.is-dragging { cursor: grabbing; }
.layers .hang:focus-visible { outline: 1px dashed var(--ink); outline-offset: 3px; }
.layers .hang::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: var(--drop, 0px);
  background: color-mix(in srgb, var(--ink) 48%, transparent);
  pointer-events: none;
}
.layers .hang img { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .layers .hang { translate: 0 -120%; transition: translate .95s var(--ease) var(--delay, 0s); }
  .layers.down .hang { translate: 0 0; }
  .layers .hang.is-lifting { transition: top .28s var(--ease); }
  .layers .hang.is-lifting::before { transition: height .28s var(--ease); }
}
.ceiling .copy { z-index: 4; }
.ceiling .copy .display { text-shadow: none; }
.ceiling-hint {
  visibility: hidden;
  margin-bottom: var(--s-8);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.ceiling:has(.layers.down) .ceiling-hint { visibility: visible; }

/* phone fixes: hero button inside the first screen, headings off the edges, bigger tap targets */
@media (max-width: 1023px) {
  .ceiling .copy { bottom: var(--s-32); }
  .ceiling .copy .p1 { font-size: 1.15rem; line-height: 1.3; }
  .ceiling .copy .btn { margin-top: var(--s-16); }
  .h2 { font-size: 2.9rem; }
  header.site .btn { min-height: 40px; display: inline-flex; align-items: center; padding-inline: 14px; }
  header.site .mark { min-height: 40px; }
}
/* the header sits above the hero, so the hero fills only what is left of the first screen */
.ceiling { height: calc(100svh - var(--header-h)); }
@media (max-width: 1023px) { .ceiling { min-height: 30rem; } }

/* Give the short desktop stage enough height for whole fixtures. */
@media (min-width: 1024px) and (max-height: 780px) {
  .ceiling .copy .display { font-size: min(15rem, 24svh); }
}

.showroom-reel .grid { align-items: center; }
.showroom-reel .lead { font-size: clamp(1.45rem, 2.65vw, 3rem); line-height: 1.2; }
.reel-wide video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--paper);
}
#visit .grid { align-items: center; }
.visit-photo { margin: 0; width: min(100%, 38rem); justify-self: center; }
.visit-photo img { display: block; width: 100%; height: auto; }
