/* Homepage redesign (EN "/" and FR "/fr/"). Scroll-driven, Apple-like: big type, lots of space, calm motion. */
.page-home {
  --night: #070d10;
  --night-2: #0d1a1f;
  --soft: rgba(255, 255, 255, 0.72);
  background: #fbfbfa;
  font-feature-settings: "ss01";
}

/* Header: thin translucent bar over the dark hero */
.page-home .site-header {
  background: rgba(7, 13, 16, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
}
.page-home .brand strong { color: #fff; }
.page-home .brand span { color: rgba(255, 255, 255, 0.6); }
.page-home .site-nav a { color: rgba(255, 255, 255, 0.82); }
.page-home .site-nav a:hover,
.page-home .site-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.page-home .nav-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.page-home .lang-switch { border-color: rgba(255, 255, 255, 0.3); }

.home-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.page-home .eyebrow { letter-spacing: 0.14em; }
.page-home h2.big {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}

/* Status chip: "in development" everywhere */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.status-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(189, 139, 66, 0.7);
  animation: pulse 2.4s infinite;
}
.status-chip-light { color: var(--ink); border-color: var(--line); background: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(189, 139, 66, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(189, 139, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(189, 139, 66, 0); }
}

/* 1. Scroll-scrubbed vortex video */
.scrub { position: relative; height: 420vh; background: var(--night); color: #fff; }
.scrub-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.scrub-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.scrub-media video {
  height: 88vh;
  height: 88svh;
  width: auto;
  max-width: 92vw;
  object-fit: cover;
  border-radius: 28px;
  transform: translateX(var(--shift, 0px)) scale(var(--scale, 0.82));
  opacity: var(--vid-opacity, 0.35);
  filter: saturate(0.85) contrast(1.05);
  will-change: transform, opacity;
}
.scrub-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(7, 13, 16, 0.75) 80%);
  pointer-events: none;
}
.scrub-intro,
.scrub-caption {
  position: absolute;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  will-change: opacity, transform;
}
.scrub-intro { opacity: var(--intro, 1); transform: translateY(calc((1 - var(--intro, 1)) * -40px)); }
.scrub-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 11vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 30%, #9fdfe6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scrub-sub { margin: 18px 0 0; color: var(--soft); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; }
.scroll-hint {
  margin: 56px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 42px;
  margin: 12px auto 0;
  background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
  animation: hint 2s ease-in-out infinite;
}
@keyframes hint { 0%, 100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

.scrub-caption {
  max-width: 980px;
  opacity: 0;
  transform: translateY(30px);
}
.scrub-caption h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}
.scrub-caption p {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* Desktop: video slides to the right, captions sit on the left, never over the vortex */
@media (min-width: 821px) {
  .scrub-caption {
    left: 7vw;
    max-width: 44vw;
    text-align: left;
    padding: 0;
  }
  .scrub-caption p { margin-left: 0; }
  .scrub-media::after {
    background: linear-gradient(90deg, rgba(7, 13, 16, 0.9) 0%, rgba(7, 13, 16, 0.4) 45%, transparent 70%);
    opacity: var(--side, 0);
  }
}

/* 2. Statement: words light up as you scroll */
.statement { background: var(--night); padding: 18vh 24px 22vh; }
.statement-text {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.statement-text .w { color: rgba(255, 255, 255, 0.16); transition: color 0.35s ease; }
.statement-text .w.on { color: #fff; }

/* 3. Design: sticky render + scrolling panels */
.design { padding: 16vh 0 10vh; background: linear-gradient(180deg, #ededea 0%, #fbfbfa 100%); }
.design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.design-figure { margin: 0; }
.design-sticky { position: sticky; top: 12vh; }
.design-sticky img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 28px;
  background: #e9e9e6;
}
.design-sticky figcaption { margin-top: 12px; color: var(--muted); font-size: 0.86rem; text-align: center; }
.design-panels { padding-top: 10vh; }
.design-panel { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.design-panel h3 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.design-panel:nth-child(3) h3 { color: #8a5a22; }
.design-panel:nth-child(4) h3 { color: #6f7c82; }
.design-panel p { max-width: 420px; margin: 18px 0 0; color: var(--muted); font-size: 1.3rem; line-height: 1.45; }

/* 4. Specs */
.specs { padding: 8vh 0 14vh; background: #fbfbfa; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 48px; }
.spec-value {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--deep), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.spec-value span { font-size: 0.4em; margin-left: 6px; letter-spacing: 0; }
.spec-label { margin: 8px 0 0; color: var(--muted); font-size: 1.05rem; }

/* 5. How it works */
/* Gallery: staged images of the final design */
.gallery { padding: 4vh 0 14vh; background: #fbfbfa; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.gallery-item { margin: 0; overflow: hidden; border-radius: 28px; background: #e9e7e2; aspect-ratio: 4 / 5; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { margin: 18px 0 0; font-size: 0.85rem; color: #6b7275; }

/* Why a vortex: nature, tradition, research (evocative, sourced, no claimed effect) */
.why { padding: 14vh 0 16vh; background: linear-gradient(180deg, #fbfbfa 0%, #eef3f2 100%); }
.why h2.big { max-width: 16ch; }
.why-lead { max-width: 46ch; margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; color: #2c3437; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.why-card { padding: 34px 30px 30px; border-radius: 24px; background: #fff; border: 1px solid rgba(7, 13, 16, 0.07); box-shadow: 0 20px 50px -30px rgba(7, 13, 16, 0.25); }
.why-card h3 { margin: 0 0 12px; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--night); }
.why-card p { margin: 0; color: #4a5357; font-size: 1.05rem; line-height: 1.6; }
.why-card .why-src { margin-top: 16px; font-size: 0.82rem; color: #7a8386; }
.why-src a { color: #2f6f78; text-decoration: underline; text-underline-offset: 2px; }
.why-ritual { margin: 72px auto 0; max-width: 860px; text-align: center; }
.why-ritual p { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--night); font-style: italic; }
.why-honest { max-width: 56ch; margin: 28px auto 0; text-align: center; color: #5b6468; font-size: 1rem; line-height: 1.6; }

.how { padding: 16vh 0; background: var(--night-2); color: #fff; }
.how .eyebrow { color: var(--gold-soft); }
.how h2.big { color: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.how-step {
  padding: 34px 30px 38px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.how-num { color: var(--cyan); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; }
.how-step h3 { margin: 14px 0 10px; color: #fff; font-size: 1.9rem; letter-spacing: -0.02em; }
.how-step p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; }

/* Gift booklet for the waitlist (FR home) */
.gift { padding: 14vh 0; background: var(--night); color: #fff; }
.gift-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.gift-cover { margin: 0; justify-self: center; max-width: 380px; transform: rotate(-3deg); }
.gift-cover img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0, 183, 199, 0.45), 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.gift .eyebrow { color: var(--gold-soft); }
.gift h2.big { color: #fff; margin-bottom: 8px; }
.gift-name { margin: 0 0 20px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-style: italic; color: var(--gold-soft); }
.gift-text { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, 0.78); font-size: 1.15rem; line-height: 1.55; }
.gift-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.gift-points li { position: relative; padding-left: 26px; color: #fff; font-size: 1.05rem; }
.gift-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.gift-button { display: inline-block; margin-top: 32px; padding: 16px 30px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.gift-button:hover { transform: scale(1.04); box-shadow: 0 10px 40px rgba(0, 183, 199, 0.35); }
.gift-note { margin: 14px 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* 6. In development + timeline */
.dev { padding: 16vh 0; background: #fbfbfa; }
.dev-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.dev-copy { position: sticky; top: 16vh; }
.dev-text { color: var(--muted); font-size: 1.25rem; line-height: 1.5; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding: 0 0 44px 24px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fbfbfa;
}
.tl-done::before { background: var(--deep); border-color: var(--deep); }
.tl-now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(189, 139, 66, 0.18); }
.tl-state { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tl-now .tl-state { color: var(--gold); }
.tl-item h3 { margin: 4px 0 6px; font-size: 1.5rem; letter-spacing: -0.02em; }
.tl-item p { margin: 0; color: var(--muted); }
.tl-next h3 { color: #4a575c; }

/* 7. Call to action */
.home-cta {
  padding: 18vh 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(13, 141, 152, 0.45), transparent 60%), var(--night);
  color: #fff;
  text-align: center;
}
.home-cta h2.big { color: #fff; }
.cta-inner p { max-width: 620px; margin: 0 auto; color: rgba(255, 255, 255, 0.78); font-size: 1.2rem; }
.cta-button {
  display: inline-block;
  margin: 40px 0 0;
  padding: 18px 34px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-button:hover { transform: scale(1.04); box-shadow: 0 10px 40px rgba(0, 183, 199, 0.35); }
.cta-inner .cta-note { margin-top: 16px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }
.cta-inner .cta-disclaimer { margin-top: 56px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); max-width: 560px; }

/* 8. Also by LUMHEA (EN only) */
.home-also { padding: 10vh 0; background: #fbfbfa; }
.also-inner { display: flex; justify-content: space-between; gap: 40px; align-items: end; flex-wrap: wrap; }
.also-inner h2 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -0.02em; }
.also-inner p { max-width: 520px; margin: 0; color: var(--muted); }
.also-links { display: grid; gap: 10px; }
.also-links a { color: var(--teal); font-weight: 650; text-decoration: none; }
.also-links a:hover { text-decoration: underline; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease var(--d, 0ms), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 820px) {
  .scrub { height: 360vh; }
  .scrub-media video { height: 100svh; max-width: 100vw; border-radius: 0; }
  .scrub-media::after { background: linear-gradient(180deg, rgba(7, 13, 16, 0.55) 0%, transparent 30%, transparent 45%, rgba(7, 13, 16, 0.92) 85%); }
  .scrub-caption { bottom: 9svh; left: 0; right: 0; text-align: left; padding: 0 24px; }
  .scrub-caption p { margin-left: 0; }
  .design-grid,
  .dev-grid { grid-template-columns: 1fr; gap: 24px; }
  .design-sticky { top: 72px; }
  .design-sticky img { max-height: 46vh; }
  .design-panels { padding-top: 0; position: relative; z-index: 1; }
  .design-panel { min-height: 0; padding: 32px 0; background: linear-gradient(180deg, rgba(251, 251, 250, 0), #fbfbfa 30%); }
  .specs-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-item { border-radius: 20px; aspect-ratio: 1 / 1; }
  .how-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: 1fr; gap: 40px; }
  .gift-cover { max-width: 240px; }
  .dev-copy { position: static; }
  .page-home .site-nav[data-open="true"] { background: rgba(7, 13, 16, 0.96); }
}

/* Respect "reduce motion": no scrubbing, the video simply loops */
@media (prefers-reduced-motion: reduce) {
  .scrub { height: auto; }
  .scrub-stage { position: relative; height: auto; min-height: 100vh; padding: 120px 0 60px; display: block; }
  .scrub-media { position: relative; }
  .scrub-media video { transform: none; opacity: 0.6; height: 70vh; }
  .scrub-intro, .scrub-caption { position: relative; opacity: 1; transform: none; margin: 40px auto 0; }
  .statement-text .w { color: #fff; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status-chip .dot, .scroll-hint span { animation: none; }
}
.design-sticky .proto-link { display: inline-block; margin-left: 6px; color: var(--teal); font-weight: 650; text-decoration: none; }
.design-sticky .proto-link:hover { text-decoration: underline; }
