/* Vellie — landing page (noir) */

:root {
  --noir: #0a0908;
  --espresso: #15120f;
  --cream: #f4efe8;
  --cream-2: rgba(244, 239, 232, 0.66);
  --cream-3: rgba(244, 239, 232, 0.42);
  --champagne: #e2c89a;
  --blush: #f08ba2;
  --bone: #ece5da;

  --font-display: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif KR", "Songti SC", "Noto Serif SC", Georgia, serif;
  --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Apple SD Gothic Neo", "PingFang SC", sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--noir);
  color: var(--cream);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
::selection { background: rgba(226, 200, 154, 0.35); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- tipografia ---------- */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(52px, 7.6vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
}
.display span { display: block; }
.display span + span {
  /* espaço para as "pernas" das letras (g, p) não serem cortadas pelo gradiente */
  padding: 0 0.08em 0.16em 0;
  margin-bottom: -0.16em;
  color: transparent;
  background: linear-gradient(95deg, #f4efe8 0%, #ead7b4 60%, #e2c89a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.display i {
  font-style: normal;
  color: var(--champagne);
  -webkit-text-fill-color: var(--champagne);
}
:lang(ja) .display,
:lang(ko) .display,
:lang(zh) .display {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(30px, 5.6vw, 84px);
  line-height: 1.16;
  letter-spacing: 0;
}
/* quebrar linhas entre palavras/frases e não a meio */
:lang(ja) .display { word-break: auto-phrase; }
:lang(ko) .display,
:lang(ko) .lede,
:lang(ko) .body { word-break: keep-all; }

.lede,
.body {
  margin: 0;
  max-width: 34em;
  color: var(--cream-2);
}
.lede { font-size: clamp(17px, 1.5vw, 20px); }

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--champagne);
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.wordmark i { font-style: normal; color: var(--champagne); }

/* ---------- topo ---------- */
.top {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--safe-t) + 14px) var(--gutter) 14px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.top.is-scrolled {
  background: rgba(10, 9, 8, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(244, 239, 232, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.brand-mark { width: 30px; height: 30px; object-fit: contain; }

.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 34px 0 14px;
  border-radius: 999px;
  background: rgba(21, 18, 15, 0.7);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 232, 0.12);
  color: var(--cream-2);
  cursor: pointer;
}
.lang:focus-within { box-shadow: inset 0 0 0 1px var(--champagne); }
.lang svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.lang select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cream);
  font: 500 14px/1 var(--font-ui);
  cursor: pointer;
  max-width: 46vw;
  text-overflow: ellipsis;
}
.lang select:focus { outline: none; }
.lang select option { background: #15120f; color: var(--cream); }
.lang .lang-caret {
  position: absolute;
  right: 12px;
  width: 12px;
  height: 12px;
  stroke-width: 1.6;
  pointer-events: none;
}

/* ---------- lojas (em breve) ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}
.store {
  display: flex;
  flex: 1 1 150px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  height: 60px;
  padding: 0 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d1915, #120f0d);
  box-shadow: inset 0 0 0 1px rgba(226, 200, 154, 0.42), 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
.store small {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1;
  color: var(--cream-3);
}
.store small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 8px rgba(226, 200, 154, 0.8);
}
.store b {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--champagne);
}

/* ---------- 1. hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 60% at 50% 110%, rgba(122, 98, 80, 0.32), transparent 70%),
    var(--noir);
}
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.wall {
  position: absolute;
  left: -14%;
  right: -14%;
  top: -24%;
  bottom: -24%;
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  transform: rotate(-8deg);
}
.wall-col { min-height: 0; }
.wall-track {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
  will-change: transform;
  animation: wallUp var(--dur, 50s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.wall-col:nth-child(even) .wall-track { animation-name: wallDown; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes wallDown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }

/* fotos "por revelar" (p&b, escuras) até o flash passar */
.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #16130f;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(244, 239, 232, 0.06);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.42) contrast(1.12);
  transition: filter 1.4s ease, transform 1.6s ease;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(226, 200, 154, 0);
  transition: box-shadow 1.2s ease;
}
.shot.is-lit img {
  filter: grayscale(0) brightness(1) contrast(1.02) saturate(1.05);
  transform: scale(1.035);
  transition: filter 0.45s ease-out, transform 2s cubic-bezier(.2, .8, .2, 1);
}
.shot.is-lit::after { box-shadow: inset 0 0 0 1px rgba(226, 200, 154, 0.34); transition-duration: 0.6s; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.75) 0%, rgba(10, 9, 8, 0) 18%),
    linear-gradient(180deg, rgba(10, 9, 8, 0) 34%, rgba(10, 9, 8, 0.82) 62%, var(--noir) 92%);
}
.grain {
  position: absolute;
  inset: -50%;
  z-index: -1;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 -.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.5s steps(4) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
}

.hero-copy {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) calc(var(--safe-b) + clamp(40px, 9vh, 96px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero .display { font-size: clamp(58px, 9.4vw, 148px); max-width: 11em; }
:lang(ja) .hero .display,
:lang(ko) .hero .display,
:lang(zh) .hero .display { font-size: clamp(32px, 6.4vw, 96px); }
.hero .lede { max-width: 28em; }
.hero .stores { margin-top: 6px; }

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-copy { padding-top: 120px; padding-bottom: 60px; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0) 16%),
      linear-gradient(90deg, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.78) 34%, rgba(10, 9, 8, 0.1) 72%, rgba(10, 9, 8, 0.25) 100%),
      linear-gradient(180deg, rgba(10, 9, 8, 0) 70%, var(--noir) 100%);
  }
}

/* entrada da página: uma só sequência */
.hero .display span,
.hero .lede,
.hero .stores {
  animation: rise 1s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .display span:nth-child(1) { animation-delay: 0.15s; }
.hero .display span:nth-child(2) { animation-delay: 0.3s; }
.hero .lede { animation-delay: 0.5s; }
.hero .stores { animation-delay: 0.65s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- secções ---------- */
.ba,
.looks-head,
.car,
.end,
.foot {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- 2. antes / depois ---------- */
.ba {
  display: grid;
  gap: 40px;
  padding-top: clamp(72px, 12vw, 160px);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.ba-copy { display: flex; flex-direction: column; gap: 22px; }
.ba-side { position: relative; }
.ba-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #16130f;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(226, 200, 154, 0.22);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--p));
}
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(244, 239, 232, 0), #f4efe8 18%, #f4efe8 82%, rgba(244, 239, 232, 0));
  filter: drop-shadow(0 0 10px rgba(244, 239, 232, 0.55));
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 9, 8, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px #f4efe8;
}
.ba-handle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #f4efe8;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ba-tag {
  position: absolute;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.ba-tag--before { left: 18px; opacity: clamp(0, calc((var(--pn, 0.5) - 0.18) * 8), 1); }
.ba-tag--after { right: 18px; color: var(--champagne); opacity: clamp(0, calc((0.82 - var(--pn, 0.5)) * 8), 1); }
.ba-tag--after i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 8px rgba(226, 200, 154, 0.8);
}
.ba-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 26px;
  line-height: 1;
  transform: rotate(-3deg);
}
.ba-hint svg {
  width: 46px;
  height: 30px;
  fill: none;
  stroke: var(--champagne);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleY(-1) rotate(-8deg);
}

@media (min-width: 900px) {
  .ba {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
  }
  .ba-frame { max-width: none; max-height: 82vh; width: auto; height: min(82vh, 720px); }
}

/* ---------- 3. looks ---------- */
.looks {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.looks-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
@media (min-width: 900px) {
  .looks-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
  .looks-head .body { padding-bottom: 0.6em; }
}
.looks-row {
  --card: clamp(196px, 22vw, 292px);
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2)) 30px;
  scrollbar-width: none;
  cursor: grab;
}
.looks-row::-webkit-scrollbar { display: none; }
.looks-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.look {
  position: relative;
  flex: none;
  width: var(--card);
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #16130f;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(244, 239, 232, 0.06);
}
.look:nth-child(even) { margin-top: 28px; }
.look img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.look figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0), rgba(10, 9, 8, 0.82));
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* ---------- 4. carrossel ---------- */
.car {
  display: grid;
  gap: 40px;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.car-copy { display: flex; flex-direction: column; gap: 22px; }
.car-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--cream-2);
}
.car-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.car-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--champagne);
  transform: translateY(-0.3em);
}
.car-side {
  position: relative;
  height: clamp(380px, 62vw, 470px);
  margin: 0 calc(var(--gutter) * -1);
}
.car-side::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(226, 200, 154, 0.14), rgba(226, 200, 154, 0) 70%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .car {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
  }
  .car-copy { order: 2; }
  .car-side { order: 1; height: 560px; margin: 0; }
}

/* palco do carrossel (a mesma animação do onboarding da app) */
.cr-stage {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  overflow: hidden;
}
.cr-slide {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.cr-clip {
  position: absolute;
  inset: 0 -1px 0 0;
  overflow: hidden;
  border-radius: var(--rad, 0px);
  background: var(--bone);
  box-shadow:
    0 24px 40px -18px rgba(0, 0, 0, calc(0.85 * var(--lift, 0))),
    inset 0 0 0 calc(1px * var(--lift, 0)) rgba(226, 200, 154, 0.55);
}
.cr-pano-win { position: absolute; inset: 0; }
.cr-pano {
  position: absolute;
  top: 0;
  left: calc(var(--i) * var(--sw) * -1);
  width: calc(var(--sw) * 4);
  height: 100%;
  background:
    radial-gradient(60% 90% at 30% 40%, rgba(255, 252, 245, 0.7), rgba(255, 252, 245, 0) 70%),
    linear-gradient(90deg, #efe8dd, #e9e1d4 50%, #efe8dd);
}
.cr-shade {
  position: absolute;
  inset: 0;
  background: var(--noir);
  opacity: var(--shade, 0);
  pointer-events: none;
}
.cr-it { position: absolute; transform: rotate(var(--r, 0deg)); }
.cr-photo {
  overflow: hidden;
  border-radius: calc(var(--sw) * 0.018);
  box-shadow: 0 calc(var(--sw) * 0.02) calc(var(--sw) * 0.05) rgba(40, 28, 18, 0.28);
}
.cr-photo img,
.cr-pola img { width: 100%; height: 100%; object-fit: cover; }
.cr-pola {
  background: #fbf8f2;
  padding: calc(var(--sw) * 0.026) calc(var(--sw) * 0.026) calc(var(--sw) * 0.1);
  box-shadow: 0 calc(var(--sw) * 0.025) calc(var(--sw) * 0.06) rgba(40, 28, 18, 0.32);
}
.cr-tape {
  position: absolute;
  top: calc(var(--sw) * -0.03);
  left: 50%;
  width: 34%;
  height: calc(var(--sw) * 0.065);
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(240, 228, 205, 0.72);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.cr-hand {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: calc(var(--fs) * var(--sw));
  line-height: 1;
  white-space: nowrap;
  color: #1a1612;
}
.cr-mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: calc(var(--fs) * var(--sw));
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: rgba(26, 22, 18, 0.62);
}
.cr-star svg,
.cr-heart svg { display: block; width: 100%; height: auto; overflow: visible; }
.cr-star svg { fill: #d9b97f; filter: drop-shadow(0 1px 2px rgba(120, 90, 40, 0.35)); }
.cr-heart svg {
  fill: none;
  stroke: #ef8fb0;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cr-stage.is-playing .cr-it { animation: crDrop 0.75s cubic-bezier(.2, .9, .25, 1.15) var(--d, 0s) both; }
@keyframes crDrop {
  from { opacity: 0; transform: translateY(-14%) rotate(calc(var(--r, 0deg) - 9deg)) scale(1.18); }
  to { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
.cr-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(14px * var(--isc, 1));
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateZ(1px);
}
.cr-seam::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(1.6px * var(--isc, 1));
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    rgba(26, 22, 18, 0.72) 0 calc(6px * var(--isc, 1)),
    transparent calc(6px * var(--isc, 1)) calc(11px * var(--isc, 1))
  );
  opacity: var(--so, 0);
  clip-path: inset(0 0 calc((1 - var(--sp, 0)) * 100%) 0);
}
.cr-seam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(214, 170, 96, 0), rgba(214, 170, 96, 0.55) 45%, rgba(255, 240, 210, 0.9) 50%, rgba(214, 170, 96, 0.55) 55%, rgba(214, 170, 96, 0));
  opacity: var(--gl, 0);
  clip-path: inset(0 0 calc((1 - var(--sp, 0)) * 100%) 0);
}
.cr-seam b {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(var(--sp, 0) * 100%);
  width: calc(10px * var(--isc, 1));
  height: calc(10px * var(--isc, 1));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fffaf0 0 30%, #f3d9a4 55%, #d4a85c 100%);
  box-shadow:
    0 0 calc(8px * var(--isc, 1)) calc(2px * var(--isc, 1)) rgba(212, 168, 92, 0.85),
    0 0 calc(24px * var(--isc, 1)) calc(8px * var(--isc, 1)) rgba(226, 200, 154, 0.5);
  opacity: calc((1 - var(--sp, 0) * var(--sp, 0) * var(--sp, 0) * var(--sp, 0)) * var(--so, 0));
}
.cr-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 200;
  display: flex;
  justify-content: center;
  gap: 6px;
  opacity: 0;
}
.cr-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 239, 232, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}
.cr-dots span.is-on { background: var(--champagne); transform: scale(1.15); }

/* ---------- 5. final ---------- */
.end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(80px, 10vw, 150px);
  text-align: center;
}
.end .display { font-size: clamp(48px, 6.4vw, 96px); }
:lang(ja) .end .display,
:lang(ko) .end .display,
:lang(zh) .end .display { font-size: clamp(30px, 5vw, 72px); }
.end .body { margin: 0 auto; }
.end .stores { justify-content: center; margin-top: 6px; }
.end-icon {
  position: relative;
  width: clamp(104px, 11vw, 140px);
  aspect-ratio: 1;
  margin-bottom: 8px;
}
.end-icon img {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.8));
}
.end-bloom {
  position: absolute;
  inset: -120%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 246, 228, 0.9), rgba(226, 200, 154, 0.35) 35%, rgba(226, 200, 154, 0) 70%);
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
}
.end.is-seen .end-bloom { animation: bloom 1.6s cubic-bezier(.2, .7, .2, 1) 0.1s both; }
.end.is-seen .end-icon img { animation: iconIn 1.2s cubic-bezier(.2, .8, .2, 1.1) both; }
@keyframes bloom {
  0% { opacity: 0; transform: scale(0.3); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.15); }
}
@keyframes iconIn {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}

/* ---------- rodapé ---------- */
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: calc(var(--safe-b) + 28px);
  border-top: 1px solid rgba(244, 239, 232, 0.08);
  font-size: 14px;
  color: var(--cream-3);
}
.foot .wordmark { font-size: 22px; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall-track,
  .grain { animation: none; }
  .hero .display span,
  .hero .lede,
  .hero .stores,
  .cr-stage.is-playing .cr-it,
  .end.is-seen .end-bloom,
  .end.is-seen .end-icon img { animation: none; }
}
