/* Concept C · Candlelight, an evening with MUSOU
   Occasion wear lives at night. Darkness, a single warm light, and the glint of beadwork.
   Night is Ink; Wine glows behind it; daylight (Ivory) appears once, for the atelier. */
body {
  background: var(--ink); color: var(--ivory);
  --menu-bg: var(--wine); --menu-fg: var(--ivory); --grain-o: .05;
  --cursor-c: rgba(251, 247, 241, .6); --cursor-dot: var(--ivory); --cursor-fill: var(--ivory); --cursor-label: var(--ink);
  --warm: rgba(240, 201, 133, 1); /* the light itself, not a brand colour */
}
.cursor { mix-blend-mode: difference; }
.cursor[data-state='flame'] .cursor__ring { opacity: 0; }
.cursor[data-state='flame'] .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff3dc; box-shadow: 0 0 14px 5px rgba(240, 201, 133, .7); }
.grain::before { filter: invert(1); }
em { font-style: italic; }

/* ---------- preloader: a single flame ---------- */
.pre { position: fixed; inset: 0; z-index: 1400; background: #171415; display: grid; place-items: center; overflow: hidden; }
.pre__glow {
  position: absolute; left: 50%; top: 46%; width: 46vmin; height: 46vmin; margin: -23vmin 0 0 -23vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 238, 205, .75) 0%, rgba(240, 201, 133, .42) 14%, rgba(168, 132, 58, .18) 34%, rgba(110, 20, 35, .1) 52%, transparent 70%);
  transform: scale(0);
}
.pre__note { position: relative; top: 15vmin; font: italic 300 clamp(22px, 2.3vw, 36px)/1 var(--serif); letter-spacing: -.01em; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 1000; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--pad); transition: transform .9s var(--ease-io), background-color .6s;
}
.hdr.is-scrolled { background: rgba(31, 27, 29, .72); backdrop-filter: blur(12px); }
.hdr.is-hidden { transform: translateY(-105%); }
.hdr__logo img { width: clamp(96px, 8.6vw, 128px); height: auto; }
.hdr__btn { justify-self: start; padding: 12px 0; }
.hdr__btn--end { justify-self: end; }
.menu-open .hdr { background: transparent; }
.menu-open .hdr__btn { position: relative; z-index: 1300; }

/* ---------- hero: you hold the light ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #141112; --x: 60%; --y: 38%; --r: 0px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero__img--dark { filter: brightness(.3) saturate(.5) contrast(1.05); }
.hero__img--lit {
  /* candlelight, not daylight: warmer and a touch darker than the photograph */
  filter: brightness(.9) sepia(.2) saturate(1.15) contrast(1.05);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .78) 22%, rgba(0, 0, 0, .42) 46%, rgba(0, 0, 0, .14) 68%, transparent 88%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .78) 22%, rgba(0, 0, 0, .42) 46%, rgba(0, 0, 0, .14) 68%, transparent 88%);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle calc(var(--r) * 1.1) at var(--x) var(--y), rgba(240, 201, 133, .42), rgba(168, 132, 58, .12) 40%, transparent 75%);
}
.hero__sparks { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 95% at 50% 40%, transparent 42%, rgba(14, 11, 12, .82) 100%), linear-gradient(180deg, transparent 55%, rgba(14, 11, 12, .7));
}
.hero__copy { position: absolute; left: var(--pad); bottom: 7vh; z-index: 3; }
.hero__kicker { color: var(--gold); margin-bottom: 22px; }
.hero__title { font: 300 clamp(64px, 10.2vw, 196px)/.86 var(--serif); letter-spacing: -.045em; font-variation-settings: 'opsz' 144, 'SOFT' 40; }
.hero__ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__ln > * { display: inline-block; }
.hero__ln em { color: var(--gold); padding-left: .9em; }
.hero__side { position: absolute; right: var(--pad); bottom: 7.4vh; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; color: rgba(251, 247, 241, .72); }
.hero__hint { color: var(--ivory); display: flex; align-items: center; }
.flame {
  display: inline-block; width: 9px; height: 13px; margin-right: 12px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 70%, #fff6e2 0%, rgba(240, 201, 133, .95) 38%, rgba(168, 132, 58, 0) 72%);
  box-shadow: 0 0 12px 3px rgba(240, 201, 133, .45); animation: flick 1.7s ease-in-out infinite;
}
@keyframes flick { 0%, 100% { transform: scale(1) rotate(-2deg); opacity: 1; } 30% { transform: scale(.92, 1.06) rotate(2deg); opacity: .85; } 60% { transform: scale(1.05, .95) rotate(-1deg); opacity: .95; } }
@media (hover: none), (pointer: coarse) { .hint-desk { display: none; } }
@media (hover: hover) and (pointer: fine) { .hint-touch { display: none; } }

/* ---------- the evening, hour by hour ---------- */
.eve { position: relative; }
.eve__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #141112; }
.scene { position: absolute; inset: 0; }
.scene__img { position: absolute; inset: 0; overflow: hidden; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; }
.scene__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 14, 15, .86) 0%, rgba(18, 14, 15, .5) 38%, rgba(18, 14, 15, .08) 72%), radial-gradient(120% 90% at 60% 45%, transparent 50%, rgba(18, 14, 15, .7));
}
.scene__copy { position: absolute; left: var(--pad); top: 20vh; z-index: 2; width: min(42vw, 600px); display: flex; flex-direction: column; gap: 14px; }
.scene__time { font: 300 clamp(84px, 12vw, 228px)/.84 var(--serif); letter-spacing: -.05em; font-variation-settings: 'opsz' 144, 'SOFT' 30; font-feature-settings: 'tnum'; }
.scene__title { font: italic 300 clamp(30px, 3.1vw, 54px)/1.02 var(--serif); color: var(--gold); margin-top: 8px; }
.scene__line { max-width: 34ch; color: rgba(251, 247, 241, .84); }
.scene__shop {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; padding: 14px 22px; border-radius: 99px;
  border: 1px solid rgba(251, 247, 241, .38); background: rgba(31, 27, 29, .3); backdrop-filter: blur(8px);
  font: 500 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; transition: background-color .5s, color .5s;
}
.scene__shop span:nth-child(2) { color: var(--gold); }
.scene__shop:hover { background: var(--ivory); color: var(--ink); }
.scene__shop:hover span:nth-child(2) { color: var(--wine); }
.eve__kicker { position: absolute; left: var(--pad); top: 12vh; z-index: 3; color: var(--gold); }
.eve__clock { position: absolute; right: var(--pad); top: 50%; z-index: 3; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; text-align: right; color: rgba(251, 247, 241, .38); }
.eve__clock li { transition: color .6s; }
.eve__clock li::before { content: ''; display: inline-block; width: 0; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; transition: width .8s var(--ease-out); }
.eve__clock li.is-on { color: var(--ivory); }
.eve__clock li.is-on::before { width: 34px; }

/* ---------- the jewel box ---------- */
.box { padding: 20vh var(--pad) 18vh; background: radial-gradient(70% 45% at 50% 0%, rgba(110, 20, 35, .42), transparent 72%), var(--ink); }
.box__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.6vw; align-items: end; }
.box__kicker { grid-column: 1 / -1; color: var(--gold); margin-bottom: 24px; }
.box__title { grid-column: 1 / 9; font: 300 clamp(48px, 6vw, 112px)/.95 var(--serif); letter-spacing: -.035em; font-variation-settings: 'opsz' 144, 'SOFT' 40; }
.box__title em { color: var(--gold); }
.box__sub { grid-column: 10 / 13; color: rgba(251, 247, 241, .7); padding-bottom: .5em; }
.box__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2vw 1.4vw; margin-top: 9vh; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 20px;
  border: 1px solid rgba(168, 132, 58, .2); background: rgba(251, 247, 241, .015); --mx: 50%; --my: 30%; transition: border-color .6s;
}
.card::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(280px circle at var(--mx) var(--my), rgba(240, 201, 133, .16), transparent 62%); opacity: 0; transition: opacity .6s; mix-blend-mode: screen; }
.card:hover { border-color: rgba(168, 132, 58, .55); }
.card:hover::before { opacity: 1; }
.card__img { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #151112; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: brightness(.8) saturate(.9); transition: filter .9s, opacity .9s, transform 1.6s var(--ease-out); }
.card__img img.b { opacity: 0; }
.card:hover .card__img img { filter: brightness(1) saturate(1); transform: scale(1.035); }
.card:hover .card__img img.b { opacity: 1; }
.card__badge { position: absolute; left: 22px; top: 22px; z-index: 3; color: var(--ink); background: rgba(251, 247, 241, .92); padding: 7px 10px; }
.card__name { font: 300 clamp(18px, 1.45vw, 24px)/1.2 var(--serif); margin-top: 8px; }
.card__price { font: 500 13.5px var(--label); letter-spacing: .12em; color: var(--gold); }
.box__all { display: inline-flex; gap: 12px; margin-top: 7vh; padding-bottom: 8px; border-bottom: 1px solid var(--gold); }

/* ---------- dawn: by daylight, the atelier ---------- */
.dawn {
  position: relative; overflow: hidden; color: var(--ink); padding: 46vh var(--pad);
  background: linear-gradient(180deg, #1F1B1D 0, #3e2427 9vh, #9b6f6a 21vh, #e9d6d0 32vh, #FBF7F1 42vh, #FBF7F1 calc(100% - 42vh), #e9d6d0 calc(100% - 32vh), #9b6f6a calc(100% - 21vh), #3e2427 calc(100% - 9vh), #1F1B1D 100%);
}
.dawn__sun {
  position: absolute; left: 50%; top: 30vh; width: 90vmax; height: 90vmax; margin-left: -45vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 240, 214, .7) 0%, rgba(243, 231, 227, .25) 32%, rgba(243, 231, 227, 0) 60%);
}
.dawn__in { position: relative; max-width: 1180px; margin: 0 auto; text-align: center; }
.dawn__kicker { color: var(--gold-text); }
.dawn__title { margin-top: 26px; font: 300 clamp(48px, 6vw, 112px)/.95 var(--serif); letter-spacing: -.035em; font-variation-settings: 'opsz' 144, 'SOFT' 40; }
.dawn__title em { color: var(--wine); }
.dawn__lede { margin: 32px auto 0; max-width: 46ch; color: var(--muted); }
.dawn__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; margin-top: 10vh; text-align: left; border-top: 1px solid var(--ink); }
.dawn__steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; }
.dawn__n { font: 300 clamp(40px, 3.6vw, 64px)/1 var(--serif); color: var(--gold); }
.dawn__steps b { font: 300 clamp(26px, 2.3vw, 36px)/1.1 var(--serif); }
.dawn__steps span:last-child { color: var(--muted); font-size: 15.5px; }
.when { margin: 9vh auto 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.when__q { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font: 300 clamp(22px, 2vw, 32px) var(--serif); }
.when__q input { font: 300 clamp(20px, 1.8vw, 28px) var(--serif); color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid var(--wine); padding: 4px 2px; min-height: 46px; color-scheme: light; }
.when__a { font: 300 clamp(20px, 1.8vw, 28px)/1.35 var(--serif); color: var(--muted); }
.when__a em { color: var(--wine); }
.when__a a { color: var(--wine); border-bottom: 1px solid var(--gold); }

/* ---------- the invitation ---------- */
.inv { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 16vh var(--pad); perspective: 1400px; background: radial-gradient(55% 50% at 50% 50%, rgba(110, 20, 35, .5), transparent 72%), var(--ink); }
.inv__card {
  position: relative; width: min(440px, 86vw); min-height: min(600px, 120vw); background: var(--ivory); color: var(--ink);
  padding: 60px 44px 46px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(168, 132, 58, .2); transform-style: preserve-3d; --sx: 50%; --sy: 30%;
}
.inv__card::before { content: ''; position: absolute; inset: 12px; border: 1px solid var(--gold); pointer-events: none; }
.inv__sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(340px circle at var(--sx) var(--sy), rgba(255, 255, 255, .65), transparent 62%); mix-blend-mode: soft-light; }
.inv__mark { width: 116px; height: auto; }
.inv__kicker { color: var(--gold-text); margin-top: 18px; }
.inv__title { font: italic 300 clamp(42px, 4.4vw, 64px)/1 var(--serif); color: var(--wine); letter-spacing: -.02em; }
.inv__body { font: 300 19px/1.45 var(--serif); color: var(--muted); max-width: 25ch; }
.inv .join { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 22px; }
.inv .join input { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 12px 0; font: 400 16px var(--body); text-align: center; color: var(--ink); }
.inv__btn { height: 54px; border-radius: 99px; background: var(--wine); color: var(--ivory); transition: background-color .4s; }
.inv__btn:hover { background: var(--ink); }
.join__msg { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- footer ---------- */
.ft { padding: 0 var(--pad); background: var(--ink); overflow: hidden; border-top: 1px solid rgba(251, 247, 241, .12); }
.ft__row { display: flex; flex-wrap: wrap; gap: 14px 34px; padding-top: 26px; color: rgba(251, 247, 241, .65); }
.ft__row span { margin-left: auto; }
.ft__mark { width: 100%; height: auto; margin: 6vh 0 -4.5vw; opacity: .95; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .hero__title { font-size: clamp(56px, 17vw, 120px); }
  .hero__copy { bottom: 20vh; }
  .hero__side { left: var(--pad); right: var(--pad); bottom: 5vh; align-items: flex-start; text-align: left; gap: 6px; }
  .scene__copy { width: auto; right: var(--pad); top: auto; bottom: 10vh; }
  .scene__img::after { background: linear-gradient(180deg, rgba(18, 14, 15, .1) 25%, rgba(18, 14, 15, .88) 78%); }
  .scene__time { font-size: clamp(70px, 22vw, 120px); }
  .eve__clock { top: 13vh; transform: none; flex-direction: row; gap: 14px; }
  .eve__clock li::before { display: none; }
  .eve__kicker { display: none; }
  .box__title, .box__sub { grid-column: 1 / -1; }
  .box__sub { margin-top: 16px; }
  .box__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 8px 8px 14px; }
  .card__badge { left: 14px; top: 14px; font-size: 10px; letter-spacing: .14em; padding: 6px 8px; }
  .dawn__steps { grid-template-columns: 1fr; gap: 0; }
  .dawn__steps li { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .ft__row span { margin-left: 0; }
}
