/* Showcase page test: hero, film, explore section, footer.
   Loaded after product-explore.css, which styles the explore section and sets
   the page's font and background. */

/* The page's colours: warm, not grey. Ink for text and solid buttons, cream
   for the page, sand for quiet surfaces. */
:root { --ink: #1f1a14; --ink-soft: #5c5347; --cream: #f6f1e7; --sand: #ebe3d5; --line: rgba(31, 26, 20, 0.13); }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { background: var(--cream); }
body { overflow-x: hidden; color: var(--ink); }
a { color: inherit; }

/* ── The menu: a small glass capsule floating at the top of the screen. */
.nav {
  position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px; padding: 6px 6px 6px 22px;
  border-radius: 99px; border: 1px solid rgba(31, 26, 20, 0.08);
  background: rgba(250, 246, 238, 0.68);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 8px 32px rgba(60, 45, 20, 0.12);
  font-size: 14px; white-space: nowrap;
}
.nav a { text-decoration: none; }
.nav-name { font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 22px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-buy { padding: 8px 17px; border-radius: 99px; background: var(--ink); color: var(--cream); font-weight: 500; transition: background-color 0.2s; }
.nav-buy:hover { background: #000; }

/* ── Buttons: solid ink, or quiet glass. */
.button {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 23px; border-radius: 99px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  font-size: 16px; font-weight: 500; text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.button:hover { background: #000; transform: translateY(-1px); }
.button-quiet {
  border-color: rgba(31, 26, 20, 0.18); background: rgba(255, 252, 246, 0.5); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.button-quiet:hover { background: rgba(255, 252, 246, 0.85); }
.button-play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

/* ── Hero: fills the screen. The desert and the live phone behind, the name
   large at the bottom left. */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  background: #efe3d0;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#hero-backdrop { object-fit: cover; }
#hero-scene { pointer-events: none; }
.hero-text {
  position: absolute; z-index: 2;
  left: clamp(20px, 4.6vw, 76px); right: clamp(20px, 4.6vw, 76px); bottom: clamp(26px, 5.6vh, 60px);
  will-change: transform, opacity;
}
.hero-new { margin: 0 0 clamp(10px, 1.6vh, 18px); display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.hero-new span {
  padding: 4px 11px; border-radius: 99px; background: var(--ink); color: var(--cream);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 { margin: 0 0 0 -0.045em; font-size: clamp(60px, 10.6vw, 190px); font-weight: 600; letter-spacing: -0.052em; line-height: 0.9; }
.hero-foot { margin-top: clamp(16px, 2.6vh, 30px); display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); flex-wrap: wrap; }
.hero-line { margin: 0; font-size: clamp(19px, 1.75vw, 26px); letter-spacing: -0.012em; }
.hero-actions { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }

/* The words arrive just after the page opens. */
.hero-text > * { opacity: 0; transform: translateY(18px); animation: arrive 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero-text > :nth-child(1) { animation-delay: 0.2s; }
.hero-text > :nth-child(2) { animation-delay: 0.3s; }
.hero-text > :nth-child(3) { animation-delay: 0.5s; }
@keyframes arrive { to { opacity: 1; transform: none; } }


/* ── The film: a dark room for the video. */
.film { background: #000; color: #f5f5f7; padding: clamp(72px, 11vw, 150px) 22px clamp(80px, 12vw, 160px); }
.film-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.film .eyebrow { color: #86868b; font-size: 17px; margin-bottom: 8px; }
.film h2 { margin: 0 0 clamp(32px, 4.5vw, 60px); font-size: clamp(40px, 5.6vw, 80px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(14px, 2vw, 28px);
  background: #0b0b0d; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.film-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 26px 14px 20px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 99px;
  background: rgba(20, 20, 22, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.film-play:hover { background: rgba(40, 40, 44, 0.7); transform: translate(-50%, -50%) scale(1.04); }
.film-play[hidden] { display: none; }
.film-play-icon {
  width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}

/* ── The explore section gets a little more room on a full page, and the
   page's warm greys in place of its own cool ones. */
.explore .eyebrow { color: var(--ink-soft); }
.explore h2 { color: var(--ink); }
.features, .feature { border-color: var(--line); }
.feature { border-left-color: transparent; }
.feature.active { border-left-color: var(--ink); }
.feature-name { color: #94897b; }
.feature.active .feature-name, .feature:hover .feature-name { color: var(--ink); }
.feature-text > span, .detail { color: var(--ink-soft); }
.explore { padding-top: clamp(64px, 9vw, 130px); padding-bottom: clamp(64px, 9vw, 130px); }

/* ── The configurator: its model stays in view below the floating menu, and a
   thin line separates it from the explore section above. */
.cfg { border-top: 1px solid var(--line); }
.cfg-stage-wrap { top: 84px; }

/* ── Things that ease in as the visitor reaches them. */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.film-frame[data-reveal] { transform: translateY(40px) scale(0.94); transition-duration: 1.2s; }
.film-frame[data-reveal].in { transform: none; }

/* ── Footer. */
.footer { background: var(--sand); color: var(--ink-soft); font-size: 12px; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 44px max(22px, 3vw) 34px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-bottom: 26px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.footer h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.footer-cols a { display: block; padding: 4px 0; color: var(--ink-soft); text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-small { margin: 0 0 6px; line-height: 1.5; }

@media (max-width: 860px) {
  .nav { gap: 16px; padding-left: 18px; }
  .nav-links { gap: 16px; }
  .hero h1 { font-size: clamp(56px, 17vw, 110px); }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .button { padding: 12px 19px; font-size: 15px; }
  .feature { background: rgba(255, 252, 246, 0.7); border-color: var(--line); }
  .feature.active { background: var(--ink); border-color: var(--ink); }
  .feature-name { color: var(--ink); }
  .feature.active .feature-name, .feature.active:hover .feature-name { color: var(--cream); }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-text > *, [data-reveal] { animation: none; opacity: 1; transform: none; transition: none; }
}

/* For stills (?f=…): nothing waits to ease in. */
.still .hero-text > *, .still [data-reveal] { animation: none; opacity: 1; transform: none; transition: none; }
