/* ============ CNC v2 · layout inspired by a scroll-built 3D venue story ============ */

/* ---------- Preloader ---------- */
.preloader__logo { width: 210px; height: auto; animation: breathe 2.4s ease-in-out infinite; }
.preloader__label {
  margin: 4px 0 0; font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted);
}
.preloader__bar { width: 160px; height: 1px; }
@keyframes breathe { 50% { opacity: 0.75; transform: scale(1.02); } }

/* ---------- Hero (centred) ---------- */
.hero2 {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 130px 24px 220px;
  width: min(1100px, 100%); margin: 0 auto;
}
.hero2 .eyebrow { justify-content: center; }
.hero2__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 1.02; letter-spacing: -0.015em;
  margin: 0 0 26px;
}
.hero2__lead { max-width: 540px; color: var(--muted); font-size: 1.05rem; margin: 0 0 36px; }
.hero2__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Scroll story ---------- */
.story { position: relative; z-index: 3; height: 700vh; }
.story__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--bg);
}
#venue { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,26,47,0.85) 0%, rgba(6,26,47,0.25) 38%, transparent 60%),
    linear-gradient(0deg, rgba(6,26,47,0.8), transparent 22%);
}
.story__panel {
  position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); top: 50%; transform: translateY(-50%);
  width: min(420px, calc(100% - 48px)); padding: 34px 34px 30px;
}
.story__count { font-family: var(--serif); font-size: 1.1rem; color: var(--cyan); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; margin-bottom: 18px; }
.story__count i { font-style: normal; color: var(--muted); }
.story__texts { display: grid; }
.story__text {
  grid-area: 1 / 1; opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.story__text.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__text h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; margin: 0 0 14px; }
.story__text p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.story__progress { margin-top: 28px; height: 1px; background: var(--stroke); overflow: hidden; }
.story__progress span { display: block; height: 100%; width: 0; background: var(--grad); }

.story__steps {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(6,26,47,0.55); border: 1px solid var(--stroke);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  max-width: calc(100% - 32px); overflow-x: auto; scrollbar-width: none;
}
.story__steps::-webkit-scrollbar { display: none; }
.story__steps button {
  border: 0; background: none; color: var(--muted); white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; font-size: 0.82rem; transition: color 0.3s, background 0.3s;
}
.story__steps button:hover { color: var(--ink); }
.story__steps button.is-active { color: #04182b; background: var(--grad); font-weight: 600; }

/* ---------- Statement ---------- */
.statement { position: relative; z-index: 2; text-align: center; padding: 160px 24px 40px; }
.statement__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.04; margin: 0 0 34px; }
.statement__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Collection (catalog) ---------- */
.collection { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.collection__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.collection__tabs button {
  padding: 9px 16px; border-radius: 999px; font-size: 0.84rem;
  background: var(--glass); border: 1px solid var(--stroke); color: var(--muted); transition: all 0.3s;
}
.collection__tabs button:hover { color: var(--ink); border-color: var(--stroke-hi); }
.collection__tabs button.is-active { color: #04182b; background: var(--grad); border-color: transparent; font-weight: 600; }

.collection__stage { display: grid; grid-template-rows: auto auto; overflow: hidden; padding: 0; }
.collection__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0a2238; }
.collection__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s, transform 1.2s var(--ease); }
.collection__media.is-switching img { opacity: 0; transform: scale(1.04); }
.collection__ph { display: none; position: absolute; inset: 0; }
.collection__media.is-placeholder img { display: none; }
.collection__media.is-placeholder .collection__ph {
  display: block;
  background:
    url("assets/lotus.png") center / 18% no-repeat,
    radial-gradient(circle at 30% 25%, rgba(6,207,253,0.25), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(20,240,224,0.16), transparent 55%),
    #0a2238;
  opacity: 0.9;
}
.collection__info { padding: 30px 34px 32px; display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; align-items: end; }
.collection__count { grid-column: 1 / -1; margin: 0; font-size: 0.75rem; letter-spacing: 0.24em; color: var(--muted); font-variant-numeric: tabular-nums; }
.collection__count span { color: var(--cyan); }
.collection__info h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; margin: 4px 0 6px; grid-column: 1; }
.collection__info p#collDesc { margin: 0; color: var(--muted); font-size: 0.95rem; grid-column: 1; max-width: 460px; }
.collection__nav { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 10px; }
.collection__nav button {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--stroke); transition: border-color 0.3s, color 0.3s;
}
.collection__nav button:hover { border-color: var(--stroke-hi); color: var(--cyan); }
.collection__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stroke); }
.why__item { padding: 34px 28px 10px 0; border-right: 1px solid var(--stroke); margin-right: 28px; }
.why__item:last-child { border-right: 0; margin-right: 0; }
.why__item span { font-size: 0.75rem; letter-spacing: 0.24em; color: var(--cyan); }
.why__item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 16px 0 10px; }
.why__item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Split CTA ---------- */
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta2__card { display: block; padding: 40px; transition: border-color 0.4s, transform 0.4s var(--ease); }
.cta2__card:hover { border-color: var(--stroke-hi); transform: translateY(-3px); }
.cta2__label { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.cta2__card h3 { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; margin: 14px 0 10px; }
.cta2__card p { color: var(--muted); margin: 0 0 26px; max-width: 420px; }
.cta2__go { color: var(--cyan); font-weight: 600; font-size: 0.92rem; font-variant-numeric: lining-nums; }

/* ---------- Footer ---------- */
.footer2 { position: relative; z-index: 2; border-top: 1px solid var(--stroke); background: linear-gradient(to bottom, transparent, rgba(3,14,26,0.65)); }
.footer2__top {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 70px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
}
.footer2__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.04; margin: 0; }
.footer2__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer2__bottom {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 40px;
  border-top: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer2__logo { height: 44px; width: auto; }
.footer2__links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.88rem; }
.footer2__links a { color: var(--muted); transition: color 0.3s; }
.footer2__links a:hover { color: var(--cyan); }
.footer2__small { margin: 0; color: var(--muted); font-size: 0.8rem; font-variant-numeric: lining-nums; }
.footer2__small a:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .collection { grid-template-columns: 1fr; gap: 36px; }
  .why { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 760px) {
  .hero2 { padding-bottom: 180px; }
  .story { height: 600vh; }
  .story__vignette { background: linear-gradient(0deg, rgba(6,26,47,0.95) 0%, rgba(6,26,47,0.55) 42%, transparent 62%); }
  .story__panel { top: auto; bottom: 86px; transform: none; left: 16px; width: calc(100% - 32px); padding: 22px 22px 20px; }
  .story__text h2 { font-size: 1.8rem; }
  .story__text p { font-size: 0.9rem; }
  .story__progress { margin-top: 18px; }
  .story__steps { bottom: 22px; left: 16px; transform: none; max-width: calc(100% - 100px); }
  .story__steps button { padding: 8px 12px; font-size: 0.76rem; }
  .statement { padding-top: 110px; }
  .collection__info { grid-template-columns: 1fr; padding: 24px; }
  .collection__nav { grid-column: 1; grid-row: auto; margin-top: 14px; }
  .why { grid-template-columns: 1fr; }
  .why__item { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--stroke); padding-bottom: 28px; }
  .cta2 { grid-template-columns: 1fr; }
  .cta2__card { padding: 30px 24px; }
  .footer2__top { padding-top: 70px; }
}
