/* 90TYTEES — ORIGEM
   Chrome / drop energy · tipografia como herói · one viewport, no scroll */

:root {
  --bg: #050505;
  --ink: #f2f0ea;
  --muted: #7d7b74;
  --line: rgba(242, 240, 234, 0.14);
  --chrome-1: #f7f7f5;
  --chrome-2: #9a9a96;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --pad: clamp(0.75rem, 2.2vw, 1.5rem);
  --font-ui: "Syne", system-ui, sans-serif;
  --lx: 50%;
  --ly: 38%;
  --px: 0px;
  --py: 0px;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

body {
  min-height: 100svh;
  min-height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  overflow: hidden;
  font-family: var(--font-ui);
  background:
    radial-gradient(92% 68% at 50% 32%, #1c1c1c 0%, #0a0a0a 42%, var(--bg) 72%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;
  touch-action: manipulation;
}

body.has-cursor {
  cursor: none;
}

body.has-cursor a,
body.has-cursor button,
body.has-cursor [role="button"] {
  cursor: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  pointer-events: none;
  opacity: 0;
  translate: var(--cx, -100px) var(--cy, -100px);
  transition: opacity 0.2s ease;
}

body.has-cursor .cursor {
  opacity: 1;
}

.cursor span {
  position: absolute;
  background: #f2f0ea;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.cursor span:first-child {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  translate: -50% 0;
}

.cursor span:last-child {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  translate: 0 -50%;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    58% 48% at var(--lx) var(--ly),
    rgba(242, 240, 234, 0.13) 0%,
    transparent 60%
  );
  transition: background 0.15s ease;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.045;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: soft-light;
}

.corners {
  position: fixed;
  inset: clamp(0.65rem, 1.8vw, 1.15rem);
  z-index: 6;
  pointer-events: none;
}

.corners span {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid rgba(242, 240, 234, 0.28);
}

.corners span:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.corners span:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.corners span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.corners span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

/* —— Opening intro —— */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.intro__bg {
  position: absolute;
  inset: 0;
  background: #000;
  transform-origin: center;
}

.intro__noise {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.intro__veil {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at center, transparent 18%, #000 62%);
  opacity: 0;
  transform: scale(1.35);
}

.intro__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 2.4vh, 1.35rem);
}

.intro__mark {
  --mark: min(40vmin, 250px);
  position: relative;
  width: var(--mark);
  height: var(--mark);
  display: grid;
  place-items: center;
}

.intro__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(0.88);
}

.intro__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  border: 1px solid rgba(242, 240, 234, 0.22);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  pointer-events: none;
}

.intro__ring--a {
  width: 100%;
  height: 100%;
}

.intro__ring--b {
  width: 124%;
  height: 124%;
  border-color: rgba(242, 240, 234, 0.12);
  transform: translate(-50%, -50%) scale(0.78);
}

.intro__line {
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(90deg, transparent, #f2f0ea, transparent);
  opacity: 0;
  pointer-events: none;
}

.intro__line--h {
  width: 148%;
  height: 1px;
  transform: translate(-50%, -50%) scaleX(0);
}

.intro__line--v {
  width: 1px;
  height: 148%;
  background: linear-gradient(180deg, transparent, #f2f0ea, transparent);
  transform: translate(-50%, -50%) scaleY(0);
}

.intro__title {
  margin: 0;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.8em;
  text-indent: 0.8em;
  text-transform: uppercase;
  color: #f2f0ea;
  opacity: 0;
  transform: translateY(14px);
}

.intro__sub {
  margin: 0;
  font-size: clamp(0.58rem, 1.4vw, 0.7rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #8f8c84;
  opacity: 0;
  transform: translateY(8px);
}

.intro__flash {
  position: absolute;
  inset: 0;
  background: #f2f0ea;
  opacity: 0;
  mix-blend-mode: soft-light;
}

body.is-intro .intro__veil {
  animation: introVeil 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

body.is-intro .intro__line--h {
  animation: introLineH 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

body.is-intro .intro__line--v {
  animation: introLineV 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

body.is-intro .intro__ring--a {
  animation:
    introRingIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
    introRingPulse 1.35s ease-out 1.35s forwards;
}

body.is-intro .intro__ring--b {
  animation:
    introRingIn 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards,
    introRingPulse 1.5s ease-out 1.45s forwards;
}

body.is-intro .intro__logo {
  animation: introLogoIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

body.is-intro .intro__title {
  animation: introTitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}

body.is-intro .intro__sub {
  animation: introFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}

body.is-intro .intro__flash {
  animation: introFlash 0.48s ease-out 2.35s forwards;
}

body.is-intro .intro {
  animation: introOut 0.95s cubic-bezier(0.4, 0, 0.2, 1) 2.55s forwards;
}

body.is-intro .stage {
  opacity: 0;
}

body:not(.is-intro) .intro {
  display: none;
}

body:not(.is-intro) .stage {
  animation: stageReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flash {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: #f2f0ea;
  opacity: 0;
  mix-blend-mode: soft-light;
}

.flash.is-on {
  animation: flashBang 0.42s ease-out;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.09;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 16%, transparent 78%, rgba(0, 0, 0, 0.62) 100%);
}

.stage {
  position: relative;
  z-index: 1;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding:
    calc(var(--pad) + var(--safe-t))
    calc(var(--pad) + var(--safe-r))
    calc(0.55rem + var(--safe-b))
    calc(var(--pad) + var(--safe-l));
  gap: clamp(0.35rem, 1.2vh, 0.85rem);
  overflow: hidden;
}

.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: clamp(3.2rem, 7vh, 4.5rem);
  opacity: 0;
}

body.is-ready .top {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.top__brand {
  justify-self: start;
  width: clamp(3.25rem, 7.5vw, 4.75rem);
  height: clamp(3.25rem, 7.5vw, 4.75rem);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.35s ease, filter 0.35s ease;
  box-shadow: 0 0 0 1px rgba(242, 240, 234, 0.12);
}

.top__brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top__brand:hover,
.top__brand:focus-visible {
  transform: rotate(-10deg) scale(1.05);
  filter: brightness(1.12);
  outline: none;
}

.top__meta {
  margin: 0;
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.top__link {
  justify-self: end;
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.top__link:hover,
.top__link:focus-visible {
  color: var(--ink);
}

.frame {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
}

.rail {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  transform: translateY(-50%);
  opacity: 0.55;
}

.rail span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #9a9890;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.rail--right {
  left: auto;
  right: 0;
}

.rail--right span {
  transform: none;
}

/* Origem — Win95 chrome */
.origem {
  --w95-face: #1c1c1c;
  --w95-light: #d8d6cf;
  --w95-mid: #8a8882;
  --w95-shadow: #0a0a0a;
  --w95-dark: #000000;
  position: absolute;
  z-index: 4;
  left: clamp(0rem, 2vw, 1rem);
  top: clamp(0.25rem, 2vh, 1.25rem);
  width: min(17.5rem, 44vw);
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--w95-face);
  border: 2px solid;
  border-color: var(--w95-light) var(--w95-dark) var(--w95-dark) var(--w95-light);
  box-shadow:
    inset -1px -1px 0 var(--w95-mid),
    inset 1px 1px 0 rgba(255, 255, 255, 0.18),
    4px 6px 0 rgba(0, 0, 0, 0.55);
  opacity: 0;
}

body.is-ready .origem {
  animation: winIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.origem.is-closed {
  display: none;
}

.origem__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 3px;
  padding: 0.28rem 0.3rem 0.28rem 0.45rem;
  background: linear-gradient(90deg, #2a2a2a 0%, #5c5c58 45%, #9a9a94 100%);
  user-select: none;
  cursor: grab;
}

.origem__bar:active {
  cursor: grabbing;
}

.origem__file {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2f0ea;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.origem__close {
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  line-height: 1;
  color: #0a0a0a;
  background: var(--w95-face);
  border: 2px solid;
  border-color: var(--w95-light) var(--w95-dark) var(--w95-dark) var(--w95-light);
  box-shadow: inset -1px -1px 0 var(--w95-mid);
}

.origem__close:hover,
.origem__close:focus-visible {
  background: #2a2a2a;
  color: #f2f0ea;
  outline: none;
}

.origem__close:active {
  border-color: var(--w95-dark) var(--w95-light) var(--w95-light) var(--w95-dark);
  box-shadow: inset 1px 1px 0 var(--w95-mid);
}

.origem__body {
  margin: 0 3px 3px;
  padding: 0.65rem 0.7rem 0.75rem;
  background: #0b0b0b;
  border: 2px solid;
  border-color: var(--w95-shadow) var(--w95-light) var(--w95-light) var(--w95-shadow);
  box-shadow: inset 1px 1px 0 #000;
  font-size: 0.76rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #c4c1b8;
  min-height: 7.2rem;
}

.origem__body p {
  margin: 0 0 0.45rem;
}

.origem__body p:last-child {
  margin-bottom: 0;
}

.origem__body[data-typewriter] p:not(.is-done):not(.is-typing) {
  visibility: hidden;
}

.origem__body[data-typewriter] p.is-typing::after {
  content: "_";
  margin-left: 1px;
  animation: blink 1s steps(1) infinite;
  color: #c4c1b8;
}

.origem__end {
  margin-top: 0.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f7f7f5, #bdbdb7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.origem__end.is-typing {
  background: none;
  color: #c4c1b8;
  -webkit-text-fill-color: #c4c1b8;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.origem__end.is-done {
  background: linear-gradient(180deg, #f7f7f5, #bdbdb7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.origem__end.is-typing::after {
  color: #c4c1b8;
  -webkit-text-fill-color: #c4c1b8;
}

@keyframes winIn {
  from {
    opacity: 0;
    transform: translate(-8px, 10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* product */
.product {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(46vh, 48vw, 420px);
  max-height: 100%;
  display: grid;
  place-items: center;
  perspective: 900px;
  opacity: 0;
  translate: calc(var(--px) * 0.22) calc(var(--py) * 0.16);
  transition: translate 0.18s ease-out;
}

body.is-ready .product {
  animation: productIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product.is-switching .product__ring {
  animation: ringFlash 0.55s ease-out;
}

.product__logo {
  position: absolute;
  z-index: 0;
  width: min(135%, 560px);
  max-width: none;
  height: auto;
  left: 50%;
  top: 48%;
  opacity: 0;
  pointer-events: none;
  filter: grayscale(1) contrast(1.08);
  transform: translate(-50%, -50%);
}

body.is-ready .product__logo {
  opacity: 0.38;
  animation: logoBehindIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-ready .product[data-color="black"] .product__logo {
  opacity: 0.52;
}

body.is-ready .product[data-color="white"] .product__logo {
  opacity: 0.32;
}

.product__glow {
  position: absolute;
  width: 78%;
  height: 38%;
  bottom: 8%;
  left: 50%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.16), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease;
}

.product__ring {
  position: absolute;
  width: 72%;
  height: 72%;
  left: 50%;
  top: 46%;
  translate: -50% -50%;
  border: 1px solid rgba(242, 240, 234, 0);
  pointer-events: none;
  z-index: 0;
  transform: rotate(12deg) scale(0.92);
}

.product__reflect {
  position: absolute;
  width: 72%;
  height: 28%;
  bottom: -2%;
  left: 50%;
  translate: -50% 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background: linear-gradient(180deg, rgba(242, 240, 234, 0.18), transparent 70%);
  filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.product__shadow {
  position: absolute;
  width: 62%;
  height: 8%;
  bottom: 4%;
  left: 50%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: shadowPulse 4.8s ease-in-out infinite;
}

.product__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: floatY 5s ease-in-out infinite;
  will-change: transform;
}

.product__img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  max-height: min(58dvh, 620px);
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  pointer-events: none;
  transform: none;
}

.product__img.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.product[data-color="white"] .product__img.is-active {
  transform: none;
}

.product__img[data-variant="white"] {
  filter: drop-shadow(0 0 0.6px rgba(0, 0, 0, 0.95)) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

.product__img[data-variant="black"] {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.product[data-color="white"] .product__glow {
  opacity: 0.25;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06), transparent 70%);
}

.buy {
  position: relative;
  z-index: 3;
  width: min(100%, 820px);
  justify-self: center;
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 0 0;
  border-top: 1px solid var(--line);
  opacity: 0;
}

body.is-ready .buy {
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.buy__kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8a69f;
}

.buy__drop {
  color: #e8e6df;
  letter-spacing: 0.2em;
}

.buy__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.buy__title {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(
    100deg,
    #8f8c84 0%,
    #f7f7f5 28%,
    #bdbdb7 48%,
    #ffffff 52%,
    #bdbdb7 58%,
    #8f8c84 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShimmer 4.8s ease-in-out infinite;
}

.buy__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.buy__price {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #f2f0ea;
  flex-shrink: 0;
}

.buy__note {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #a8a69f;
}

.buy__pickers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.buy__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.buy__soon {
  margin: 0;
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(180deg, #f7f7f5 0%, #cfcfc9 100%);
  padding: 0 0.75rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.buy__sub {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #c4c1b8;
}

.swatch,
.sizes {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  gap: 0.35rem;
  min-width: 0;
}

.swatch__btn,
.size {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 240, 234, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: #e8e6df;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.swatch__btn:hover,
.size:hover {
  border-color: rgba(242, 240, 234, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.swatch__btn:focus-visible,
.size:focus-visible {
  outline: 1px solid #f2f0ea;
  outline-offset: 2px;
}

.swatch__btn.is-active {
  border-color: #f2f0ea;
  box-shadow: inset 0 0 0 1px rgba(242, 240, 234, 0.35);
}

.size.is-active {
  border-color: #f2f0ea;
  background: #f2f0ea;
  color: #0a0a0a;
}

.size:disabled,
.size.is-unavailable {
  opacity: 0.28;
  cursor: not-allowed;
  border-color: rgba(242, 240, 234, 0.12);
  background: rgba(255, 255, 255, 0.015);
  color: #6f6d66;
}

.swatch__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(242, 240, 234, 0.35);
}

.swatch__dot--black {
  background: #0d0d0d;
}

.swatch__dot--white {
  background: #f4f2ea;
}

.size {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cta {
  --cta-x: 0px;
  --cta-y: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: end;
  min-width: 11rem;
  height: 2.55rem;
  padding: 0 1.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(180deg, #f7f7f5 0%, #d2d2cc 48%, #a8a8a2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transform: translate(var(--cta-x), var(--cta-y));
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.cta__chrome {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: chromeSweep 3.2s ease-in-out 1.2s infinite;
  pointer-events: none;
  z-index: 0;
}

.cta__label,
.cta__arrow {
  position: relative;
  z-index: 1;
}

.cta__arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.cta:hover {
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 12px 32px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(242, 240, 234, 0.1);
}

.cta:hover .cta__arrow {
  transform: translateX(3px);
}

.cta:active {
  filter: brightness(0.96);
}

.cta.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.35);
  pointer-events: none;
  cursor: not-allowed;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f8c84;
  opacity: 0;
}

body.is-ready .foot {
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.foot p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introVeil {
  0% {
    opacity: 0;
    transform: scale(1.4);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
}

@keyframes introLineH {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1);
  }
}

@keyframes introLineV {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(1);
  }
}

@keyframes introRingIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes introRingPulse {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

@keyframes introLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introTitleIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    letter-spacing: 0.72em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.46em;
    text-indent: 0.46em;
  }
}

@keyframes introFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFlash {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 0.45;
  }
  100% {
    opacity: 0;
  }
}

@keyframes logoBehindIn {
  from {
    transform: translate(-50%, -50%) scale(0.86);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes introOut {
  0% {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
    visibility: hidden;
  }
}

@keyframes stageReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes flashBang {
  0% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
  }
}

@keyframes teePunch {
  0% {
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
  }
  40% {
    transform: rotateX(var(--tilt-x)) rotateY(calc(var(--tilt-y) + 6deg)) scale(0.97);
  }
  100% {
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
  }
}

@keyframes ringFlash {
  0% {
    border-color: rgba(242, 240, 234, 0);
    opacity: 0;
    transform: rotate(12deg) scale(0.85);
  }
  35% {
    border-color: rgba(242, 240, 234, 0.45);
    opacity: 1;
    transform: rotate(8deg) scale(1.05);
  }
  100% {
    border-color: rgba(242, 240, 234, 0);
    opacity: 0;
    transform: rotate(4deg) scale(1.18);
  }
}

@keyframes chromeShimmer {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

@keyframes productIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  }
  50% {
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
  }
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.85;
  }
  50% {
    transform: scaleX(0.88);
    opacity: 0.55;
  }
}

@keyframes chromeSweep {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 720px) {
  .top {
    min-height: 2.75rem;
    gap: 0.4rem;
  }

  .top__brand {
    width: 2.75rem;
    height: 2.75rem;
  }

  .top__meta {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .top__link {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .rail {
    display: none;
  }

  .intro__mark {
    --mark: min(46vmin, 200px);
  }

  .intro__title {
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    font-size: 0.95rem;
  }

  .intro__sub {
    letter-spacing: 0.28em;
  }

  .origem {
    width: min(11.5rem, 46vw);
    left: 0;
    top: 0;
    font-size: 0.9em;
  }

  .origem__body {
    font-size: 0.68rem;
    padding: 0.45rem 0.5rem 0.55rem;
    min-height: 0;
  }

  .origem__body p:nth-child(1),
  .origem__body p:nth-child(2) {
    display: none;
  }

  .frame {
    overflow: hidden;
  }

  .product {
    width: min(62vw, 52vh, 280px);
  }

  .product__logo {
    width: min(120%, 340px);
  }

  .product__img {
    max-height: min(42dvh, 380px);
  }

  .buy {
    width: 100%;
    gap: 0.4rem;
    padding-top: 0.7rem;
  }

  .buy__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .buy__title {
    font-size: 1.45rem;
    letter-spacing: 0.14em;
  }

  .buy__price {
    font-size: 1.35rem;
  }

  .buy__note {
    font-size: 0.68rem;
  }

  .buy__pickers {
    width: 100%;
    justify-content: space-between;
  }

  .buy__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cta {
    width: 100%;
    height: 2.35rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .buy__sub {
    font-size: 0.72rem;
  }

  .foot {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .foot__hint {
    display: none;
  }

  .corners {
    inset: 0.4rem;
  }

  .corners span {
    width: 0.85rem;
    height: 0.85rem;
  }
}

@media (max-height: 700px) {
  .product {
    width: min(36vh, 42vw, 280px);
  }

  .product__img {
    max-height: min(40dvh, 340px);
  }

  .buy {
    gap: 0.45rem;
    padding-top: 0.45rem;
  }

  .buy__title {
    font-size: 1.2rem;
  }

  .buy__sub {
    font-size: 0.72rem;
  }

  .buy__soon {
    height: 2.2rem;
  }

  .swatch__btn,
  .size {
    height: 2.2rem;
    width: 2.2rem;
  }

  .origem {
    width: min(13.5rem, 36vw);
  }

  .origem__body p:nth-child(2) {
    display: none;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .stage {
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    grid-template-areas:
      "top top"
      "frame buy"
      "foot foot";
  }

  .top {
    grid-area: top;
  }

  .frame {
    grid-area: frame;
  }

  .buy {
    grid-area: buy;
    width: 100%;
    align-self: center;
    border-top: 0;
    padding-top: 0;
  }

  .foot {
    grid-area: foot;
  }

  .product {
    width: min(58vh, 280px);
  }

  .product__img {
    max-height: min(68dvh, 360px);
  }

  .origem {
    width: min(12.5rem, 34vw);
  }

  .rail {
    display: none;
  }
}

@media (min-width: 960px) {
  .top__brand {
    width: clamp(4rem, 6vw, 5.25rem);
    height: clamp(4rem, 6vw, 5.25rem);
  }

  .origem {
    width: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product__stage,
  .buy__title,
  .cta__chrome,
  .product__shadow {
    animation: none !important;
  }

  .product__stage {
    transform: none !important;
  }

  .spotlight,
  .flash,
  .scanlines,
  .product__ring,
  .cursor,
  .particles {
    display: none;
  }

  .origem__body[data-typewriter] p {
    /* typewriter still ok as content reveal */
  }
}
