/* Home page (tools/home_lux.py). Every class starts with lx- so nothing here touches the
   other pages. Dark, brass and gold, question-led; the site header and footer stay as on
   every page. Motion is opt-in: assets/js/home.js adds .lx-js, without it all is visible. */
.lx {
  --lx-black: #060605; --lx-ink: #0d0c0a; --lx-line: rgba(217,175,125,.22);
  --lx-gold: #D9AF7D; --lx-gold-2: #E9CCA0; --lx-bronze: #A27B4F; --lx-ivory: #F4F0E7; --lx-mute: #B9B1A2; --lx-dim: #8a8376;
  --lx-pad: clamp(16px, 5vw, 72px);
  background: var(--lx-black); color: var(--lx-ivory); font-weight: 400; overflow-x: clip;
}
.lx a { color: inherit; }
.lx img { max-width: 100%; }

/* eyebrow */
.lx-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--lx-gold); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; }
.lx-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--lx-gold); flex: none; }
.lx-eyebrow--c { justify-content: center; }
[dir="rtl"] .lx-eyebrow, :lang(ja) .lx-eyebrow { letter-spacing: .04em; text-transform: none; font-size: .95rem; }
:lang(ja) .lx-eyebrow, :lang(ja) .lx-hero__lead, :lang(ja) .lx-lead, :lang(ja) .lx-v, :lang(ja) .lx-q__p { word-break: auto-phrase; }

/* hero */
.lx-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end;
  min-height: calc(100svh - var(--header-h, 72px)); padding: 0 var(--lx-pad) clamp(56px, 10vh, 110px); }
.lx-hero__bg { position: absolute; inset: -4%; z-index: -2; }
.lx-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; animation: lx-drift 30s ease-in-out infinite alternate; }
[dir="rtl"] .lx-hero__bg img { animation-name: lx-drift-r; }
@keyframes lx-drift { from { transform: none; } to { transform: scale(1.07) translate3d(-1.5%, 1%, 0); } }
@keyframes lx-drift-r { from { transform: scaleX(-1); } to { transform: scaleX(-1) scale(1.07) translate3d(-1.5%, 1%, 0); } }
.lx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,6,5,.5) 0%, rgba(6,6,5,.05) 30%, rgba(6,6,5,.62) 58%, rgba(6,6,5,.88) 80%, var(--lx-black) 100%); }
.lx-hero__in { max-width: 980px; }
.lx-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 7vw, 6.2rem); line-height: 1.04; letter-spacing: -.01em; color: var(--lx-gold-2); max-width: none; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
[dir="rtl"] .lx-hero h1 { line-height: 1.3; letter-spacing: 0; font-weight: 400; }
:lang(ja) .lx-hero h1 { font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1.3; word-break: auto-phrase; }
.lx-hero__lead { max-width: 56ch; margin: 26px 0 0; color: var(--lx-mute); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; }

/* call to action */
.lx-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 38px; min-height: 52px; padding: 16px 30px;
  border: 1px solid var(--lx-gold); background: var(--lx-gold); color: var(--lx-black) !important; text-decoration: none;
  font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.lx-cta:hover { background: transparent; color: var(--lx-gold) !important; }
.lx-cta span { font-size: 1.2rem; line-height: 1; }
[dir="rtl"] .lx-cta, :lang(ja) .lx-cta { letter-spacing: .02em; text-transform: none; font-size: 1rem; }

/* sections */
.lx-sec { padding: clamp(80px, 12vw, 160px) var(--lx-pad); }
.lx-wrap { max-width: 1240px; margin: 0 auto; }
.lx-h2 { margin: 0; max-width: 20ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.12; color: var(--lx-ivory); }
[dir="rtl"] .lx-h2 { line-height: 1.4; letter-spacing: 0; font-weight: 400; }
:lang(ja) .lx-h2 { font-size: clamp(1.7rem, 3.5vw, 3rem); line-height: 1.4; word-break: auto-phrase; }
.lx-nw { white-space: nowrap; }

/* the seven question doors */
.lx-qs { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; border-top: 1px solid var(--lx-line); }
.lx-q { border-bottom: 1px solid var(--lx-line); }
.lx-q a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 36px; gap: 24px; align-items: center;
  padding: clamp(22px, 2.8vw, 34px) 0; text-decoration: none; }
.lx-q__n { font-family: var(--font-display); color: var(--lx-bronze); font-variant-numeric: tabular-nums; }
.lx-q__t { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.2; color: var(--lx-ivory); transition: color .3s; }
.lx-q__p { color: var(--lx-mute); font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.6; transition: opacity .3s; }
.lx-q__go { color: var(--lx-gold); font-size: 1.3rem; transition: transform .3s; }
.lx-q a:hover .lx-q__t, .lx-q a:focus-visible .lx-q__t { color: var(--lx-gold-2); }
.lx-q a:hover .lx-q__go { transform: translateX(6px); }
[dir="rtl"] .lx-q a:hover .lx-q__go { transform: translateX(-6px); }
.lx-q__peek { position: absolute; inset-inline-end: 72px; top: 50%; width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--lx-line);
  opacity: 0; transform: translateY(-50%) scale(.96); transition: opacity .35s, transform .35s; pointer-events: none; }
@media (hover: hover) and (min-width: 1100px) {
  .lx-q a:hover .lx-q__peek { opacity: 1; transform: translateY(-50%) scale(1); }
  .lx-q a:hover .lx-q__p { opacity: .15; }
}
.lx-q--brief a { padding-inline: 18px; background: linear-gradient(90deg, rgba(217,175,125,.09), transparent); }
[dir="rtl"] .lx-q--brief a { background: linear-gradient(270deg, rgba(217,175,125,.09), transparent); }
.lx-q--brief .lx-q__t { color: var(--lx-gold); }
@media (max-width: 820px) {
  .lx-q a { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 6px 14px; }
  .lx-q__p { grid-column: 2; grid-row: 2; }
  .lx-q__go { grid-column: 3; grid-row: 1 / 3; }
  .lx-q__peek { display: none; }
}

/* the film: plays by itself, muted and looping; no title or text around it */
.lx-film { position: relative; margin: 0 var(--lx-pad) clamp(10px, 2vw, 24px); }
.lx-film__v { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--lx-black); border: 1px solid var(--lx-line); }
.lx-film__ctl { position: absolute; top: 12px; inset-inline-end: 12px; display: flex; gap: 8px; }
@media (max-width: 600px) { .lx-film__ctl { top: 6px; inset-inline-end: 6px; gap: 6px; } .lx-film__ctl button { width: 30px; height: 30px; font-size: .7rem; } }
.lx-film__ctl button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(6,6,5,.55); color: var(--lx-gold-2); border: 1px solid rgba(233,204,160,.45); font-size: .85rem; line-height: 1; backdrop-filter: blur(4px); }
.lx-film__ctl button:hover, .lx-film__ctl button[aria-pressed="true"] { background: rgba(217,175,125,.25); }
.lx-film__ctl button:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }

/* photo strip */
.lx-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--lx-pad); scrollbar-width: none; }
.lx-strip::-webkit-scrollbar { display: none; }
.lx-strip img { flex: none; width: min(78vw, 520px); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }

/* the person and the discretion line */
.lx-man { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.lx-photo { position: relative; margin: 0; }
.lx-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.lx-photo img { outline: 1px solid rgba(233,204,160,.45); outline-offset: -18px; }
.lx-photo figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lx-line); color: var(--lx-mute); font-size: .9rem; }
.lx-photo figcaption b { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--lx-ivory); }
.lx-lead { margin: 28px 0 0; max-width: 52ch; color: var(--lx-mute); font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.8; }
.lx-facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.lx-facts li { border-top: 1px solid var(--lx-line); padding: 16px 0; }
.lx-k { display: block; color: var(--lx-bronze); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .lx-k, :lang(ja) .lx-k { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.lx-v { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.3; color: var(--lx-ivory); }
.lx-more { margin: 28px 0 0; }
.lx-more a, .lx-src a { color: var(--lx-gold); text-decoration: none; border-bottom: 1px solid rgba(217,175,125,.5); padding-bottom: 2px; }
.lx-more a:hover, .lx-src a:hover { border-bottom-color: var(--lx-gold); }
@media (max-width: 860px) { .lx-man { grid-template-columns: 1fr; } .lx-photo { max-width: 460px; } }
@media (max-width: 420px) { .lx-facts { grid-template-columns: 1fr; } }

/* what does not change */
.lx-promise { background: var(--lx-ink); text-align: center; }
.lx-promise .lx-h2 { margin: 0 auto; max-width: 22ch; }
.lx-vows { list-style: none; margin: clamp(44px, 6vw, 80px) auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--lx-line); }
.lx-vows li { padding: clamp(28px, 4vw, 48px) 28px; border-inline-start: 1px solid var(--lx-line); }
.lx-vows li:first-child { border-inline-start: 0; }
.lx-vows .lx-k { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--lx-gold); }
:lang(ja) .lx-vows .lx-k { font-size: 1.8rem; }
.lx-vows .lx-v { font-family: inherit; font-size: 1rem; line-height: 1.7; margin-top: 14px; color: var(--lx-mute); }
@media (max-width: 820px) { .lx-vows { grid-template-columns: 1fr; } .lx-vows li { border-inline-start: 0; border-top: 1px solid var(--lx-line); } .lx-vows li:first-child { border-top: 0; } }

/* season */
.lx-season { list-style: none; margin: clamp(40px, 6vw, 70px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--lx-line); border: 1px solid var(--lx-line); }
.lx-season li { display: grid; align-content: space-between; gap: 20px; min-height: 160px; padding: 26px 24px 28px; background: var(--lx-black); }
.lx-d { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.1; color: var(--lx-gold-2); font-variant-numeric: tabular-nums; }
.lx-e { color: var(--lx-mute); font-size: .98rem; }
.lx-src { margin: 18px 0 0; color: var(--lx-dim); font-size: .9rem; }
@media (max-width: 900px) { .lx-season { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lx-season { grid-template-columns: 1fr; } .lx-season li { min-height: 0; } }

/* closing */
.lx-close { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 78svh; padding: 80px var(--lx-pad); text-align: center; }
.lx-close > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(.35); }
.lx-close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(6,6,5,.2), var(--lx-black) 85%); }
.lx-close .lx-h2 { margin: 0 auto; max-width: 18ch; color: var(--lx-gold-2); }

/* reveal on scroll, only when home.js is running */
.lx-js .lx-rv { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.lx-js .lx-rv.lx-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lx-hero__bg img { animation: none; }
  [dir="rtl"] .lx-hero__bg img { transform: scaleX(-1); }
  .lx-js .lx-rv { opacity: 1; transform: none; transition: none; }
}
