:root {
  color-scheme: dark;
  --ink: #fff9f1;
  --muted: #c2b8d4;
  --night: #100e1a;
  --accent: #f9fd9d;
  --line: #ffffff26;
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: radial-gradient(ellipse at 80% 10%, #362364, transparent 43rem), var(--night); color: var(--ink); font: 16px/1.55 "DM Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1310px, calc(100% - 96px)); margin-inline: auto; }
.top, footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.brand { font: 700 25px/1 var(--display); letter-spacing: -.075em; }
.brand span { margin-left: 5px; color: var(--accent); font-size: .65em; vertical-align: super; }
nav { display: flex; gap: 24px; }
.nav, footer > a:last-child { font-size: 13px; color: var(--muted); }
.nav:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--line); padding: 9px 13px; border-radius: 30px; color: var(--ink); white-space: nowrap; }
.hero { min-height: clamp(514px, 49vw, 692px); display: grid; align-items: center; isolation: isolate; position: relative; }
.hero-copy { width: min(660px, 58%); position: relative; z-index: 2; padding-block: 60px; animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 17px var(--accent); animation: signal 2.6s infinite; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.085em; line-height: .91; }
h1 { font-size: clamp(70px, 9.3vw, 140px); }
h1 em { font-style: normal; color: #ded4ff; } h1 em span { color: var(--accent); }
.intro { max-width: 350px; color: var(--muted); margin: 21px 0 24px; }
.hero-art { position: absolute; inset: 0 0 0 42%; perspective: 950px; }
.hero-art::before { content: ""; position: absolute; inset: 6% 0; border-radius: 50%; background: radial-gradient(ellipse, #8f54f692, #ab55ee20 44%, transparent 72%); animation: signal 8s infinite; transform: translate(var(--glow-x,0),var(--glow-y,0)); transition: transform .35s ease-out; }
.frame { position: absolute; overflow: hidden; border: 1px solid #ffffff70; border-radius: 20px; background: #392b53; box-shadow: 0 28px 85px #0b0617aa; animation: float 7s ease-in-out infinite; }
.frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.frame-back { inset: 12% 29% 17% 7%; --angle: -12deg; animation-delay: -2s; }
.frame-back img { filter: saturate(1.14) brightness(.83); object-position: 45% center; }
.frame-front { z-index: 1; inset: 9% 13% 12% 30%; --angle: 6deg; animation-delay: -3s; }
.frame-front img { object-position: 49% 32%; }
.frame-front > span { position: absolute; bottom: 0; inset-inline: 0; padding: 14px; background: linear-gradient(transparent,#160e27c9); font: 500 10px var(--mono); color: #fff; }
.frame-side { z-index: 2; inset: 49% 0 11% 69%; --angle: -10deg; animation-delay: -5s; }
.frame-side img { object-position: center 23%; }
.art-price { position: absolute; z-index: 3; top: 11%; right: .5%; display: grid; place-content: center; text-align: center; width: clamp(88px, 12vw, 164px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #171423; box-shadow: 0 9px 45px #16102780; transform: rotate(10deg); }
.art-price strong { font: 700 clamp(34px, 5.4vw, 78px)/.88 var(--display); letter-spacing: -.1em; }
.art-price strong span { font-size: .57em; }
.art-price small { font: 600 clamp(9px, 1vw, 13px)/1.9 var(--mono); }
.hero-art::after { content: ""; position: absolute; z-index: -1; inset: 18% 12% 12% 3%; border: 1px solid #c4a9ff28; border-radius: 50%; transform: rotate(-24deg); box-shadow: 0 0 36px #933cf451; animation: orbit-breathe 7s ease-in-out infinite; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 9px; background: #ffffff08; color: var(--ink); font: 700 13px/1.4 "DM Sans", sans-serif; transition: background .2s, color .2s, transform .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: var(--accent); color: #171423; }
.primary { background: var(--accent); color: #171423; padding: 13px 17px; }
.primary:hover { background: white; }
.deadline { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 25px; border: 1px solid #bda6ff68; border-radius: 16px; background: linear-gradient(110deg,#2b204a,#1a172a); box-shadow: 0 12px 45px #08061055; }
.deadline .eyebrow { margin: 0 0 4px; }.deadline time { font: 600 clamp(14px,2vw,21px) var(--display); }
.timer { display: flex; align-items: flex-start; gap: 8px; color: var(--accent); text-align: center; }
.timer span { min-width: clamp(45px,6vw,68px); padding: 5px 4px; border: 1px solid #ffffff20; border-radius: 7px; background: #100d1d9e; }
.timer b { display: block; font: 600 clamp(20px,3vw,34px)/1 var(--mono); font-variant-numeric: tabular-nums; }
.timer small { color: var(--muted); text-transform: uppercase; font: 500 8px var(--mono); }.timer i { display: none; }
.offers, .lab { padding-block: clamp(53px,7vw,88px) 0; scroll-margin-top: 20px; }.lab { padding-bottom: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 21px; }
h2 { font-size: clamp(40px,6.2vw,86px); }
.filters { display: flex; flex-wrap: wrap; gap: 5px; }
.filters button { border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; padding: 7px 10px; border-radius: 30px; cursor: pointer; }
.filters button:hover, .filters button[aria-pressed=true] { background: var(--ink); color: var(--night); }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.grid.is-filtered { grid-template-columns: minmax(0,700px); }
.card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(145deg,#242037,#181526 80%); transition: border-color .25s, translate .3s, box-shadow .3s; animation: rise .5s both; }
.card:hover { border-color: #d5c1ff85; }
@media (hover:hover) {
  .card:hover { translate: 0 -5px; box-shadow: 0 16px 40px #08061480; }
  .card-art::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(112deg,transparent 32%,#eedbff40 48%,transparent 64%); transform: translateX(-100%); transition: transform .8s cubic-bezier(.2,.8,.3,1); }
  .card:hover .card-art::before { transform: translateX(100%); }
}
.card-art { height: clamp(155px,20vw,264px); overflow: hidden; position: relative; background: #33284e; }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.2,.8,.3,1); object-position: center 37%; }
.art-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.art-pair img { min-height: 0; object-position: center 22%; }
.card:hover .card-art img { transform: scale(1.055); }
.card-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(12deg,#110d24aa,transparent 55%); }
.card-art > span { position: absolute; z-index: 1; left: 14px; bottom: 12px; border: 1px solid #ffffff50; border-radius: 30px; background: #1b142cdb; padding: 5px 9px; font: 500 10px var(--mono); }
.studio .card-art img { object-position: center 45%; }.lora .card-art img { object-position: center 19%; }
.card-copy { padding: clamp(17px,3vw,30px); }.card-copy h3 { font-size: clamp(38px,5vw,63px); }
.card-copy > p:not(.eyebrow) { max-width: 480px; color: var(--muted); margin: 12px 0 17px; }.card-copy del { font-size: .54em; color: var(--muted); }
.plans { list-style: none; padding: 0; margin: 15px 0 0; }.plans a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }.plans strong { color: var(--accent); text-align: right; }.plans a:hover strong { text-decoration: underline; }
.copy { margin: 5px 0 0 5px; }.copy-status { display: block; color: var(--accent); font-size: 12px; }.copy-status:not(:empty) { margin-top: 5px; }
.terms { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.lab-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; }
.workspace-visual, .workspaces { border: 1px solid var(--line); border-radius: 18px; background: #1d192c; }
.workspace-visual { margin: 0; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.72; }
.workspace-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 40%; transition: transform .65s ease; }
.workspace-visual:hover img { transform: scale(1.04); }
.workspace-visual figcaption { position: absolute; inset: auto 0 0; margin: 0; padding: 24px 14px 12px; background: linear-gradient(transparent,#130f20d9); color: var(--ink); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.workspaces { display: grid; gap: 6px; align-content: center; padding: 14px; }
.workspace { display: grid; grid-template-columns: 55px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 9px; transition: background .2s; }.workspace:hover { background: #ffffff14; }
.workspace img { width: 55px; height: 55px; border-radius: 7px; object-fit: cover; }.workspace strong, .workspace small { display: block; }.workspace small { color: var(--muted); font-size: 12px; }.workspace b { color: var(--accent); text-align: right; font-size: 13px; white-space: nowrap; }
.ended { padding-top: clamp(42px,7vw,85px); }.ended p { color: var(--muted); }.ended-links { display: flex; gap: 8px; flex-wrap: wrap; }
footer { border-top: 1px solid var(--line); border-bottom: 0; }
[aria-disabled=true] { opacity: .53; cursor: default; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--angle)); } 50% { transform: translateY(-12px) rotate(calc(var(--angle) + 2deg)); } }
@keyframes signal { 50% { opacity: .62; } }
@keyframes orbit-breathe { 50% { transform: rotate(-31deg) scale(1.08); opacity: .62; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .workspace-visual, .workspaces { animation: market-reveal both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
  }
}
@keyframes market-reveal { from { opacity: .48; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@media(max-width: 960px) {
  .wrap { width: calc(100% - 54px); }.section-head { align-items: start; flex-direction: column; }
}
@media(max-width: 680px) {
  .wrap { width: calc(100% - 32px); }.top { padding-block: 14px; }.top nav { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }.hero-copy { width: 100%; padding: 32px 0 4px; }.hero-copy .eyebrow { margin-bottom: 8px; }
  h1 { font-size: clamp(54px, 13.7vw, 90px); }.intro { font-size: 14px; margin: 13px 0 14px; }.hero-art { position: relative; inset: auto; height: clamp(224px,67vw,390px); width: calc(100% - 20px); align-self: center; }.art-price { top: 6%; }
  .deadline { padding: 12px; flex-wrap: wrap; }.timer { gap: 5px; }.timer span { min-width: 39px; }
  .grid, .grid.is-filtered, .lab-grid { grid-template-columns: minmax(0,1fr); }.card-art { height: clamp(164px,54vw,260px); }.filters { gap: 4px; }.filters button { padding: 6px 8px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .frame { transform: rotate(var(--angle)); }
  .card:hover { translate: none; }
}
