@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #29152d;
  --violet: #7827d9;
  --pink: #f2a4df;
  --paper: #fff8ff;
  --glass: rgba(255, 255, 255, 0.32);
  --line: rgba(79, 27, 87, 0.16);
  --mx: 50%;
  --my: 50%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #edb3e3;
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.78) 0 4%, rgba(255,255,255,0) 24%),
    linear-gradient(125deg, #f6c8e8 0%, #df95da 44%, #f9dce9 72%, #d7b8ff 100%);
}

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

a, button { color: inherit; font: inherit; }
a { text-decoration: none; }
button { -webkit-tap-highlight-color: transparent; }

#sparkles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.scene { position: relative; min-height: 100svh; padding: 24px clamp(22px, 4vw, 68px) 20px; overflow: hidden; }
.topbar, footer { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 8; }
.brand { display: flex; gap: 9px; align-items: center; font-weight: 700; letter-spacing: -.04em; font-size: 1.05rem; }
.brand-star { color: var(--violet); filter: drop-shadow(0 0 8px white); animation: spin 8s linear infinite; }
nav { display: flex; align-items: center; gap: 7px; }
.nav-link {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 15px;
  font-family: "DM Mono", monospace;
  font-size: .76rem;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  transition: background .25s, color .25s, border-color .25s;
}
.nav-link span { display: inline-block; margin-left: 4px; transition: transform .25s; }
.nav-link:hover, .nav-link:focus-visible { background: var(--ink); color: white; border-color: var(--ink); outline: none; }
.nav-link:hover span, .nav-link:focus-visible span { transform: translate(3px,-3px); }

.hero { min-height: calc(100svh - 110px); display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(12px, 4vw, 80px); max-width: 1440px; margin: -10px auto 0; }
.copy-block { position: relative; z-index: 7; padding-left: clamp(0px, 3vw, 42px); }
.eyebrow { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; display: flex; align-items: center; gap: 9px; margin: 0 0 20px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #8f38dc; box-shadow: 0 0 0 5px rgba(255,255,255,.35), 0 0 18px #fff; }
h1 { font-size: clamp(5.4rem, 10.5vw, 10.5rem); line-height: .72; letter-spacing: -.095em; margin: 0 0 18px -9px; font-weight: 600; text-shadow: 0 2px 0 rgba(255,255,255,.8), 0 13px 35px rgba(89,21,92,.16); }
h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); text-shadow: 0 0 20px rgba(255,255,255,.9); }
.ticker { display: inline-block; margin: 0 0 34px; padding: 7px 12px; border: 1px solid rgba(67,19,75,.22); border-radius: 99px; font: 500 .77rem "DM Mono", monospace; letter-spacing: .08em; background: rgba(255,255,255,.27); }
.intro { margin: 0 0 34px; max-width: 430px; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.5; letter-spacing: -.025em; }
.contract-wrap { display: flex; flex-direction: column; gap: 7px; max-width: 390px; }
.contract-label { font: .67rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }
.copy-button { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; width: 100%; padding: 12px 13px 12px 18px; border: 1px solid rgba(61,20,69,.2); border-radius: 15px; background: rgba(255,255,255,.34); backdrop-filter: blur(18px); cursor: pointer; box-shadow: inset 0 1px rgba(255,255,255,.65), 0 12px 40px rgba(84,31,91,.1); transition: box-shadow .25s, background .25s; }
.copy-button:hover, .copy-button:focus-visible { background: rgba(255,255,255,.6); box-shadow: inset 0 1px #fff, 0 14px 42px rgba(84,31,91,.18); outline: 2px solid transparent; }
.ca { text-align: left; font: 500 .88rem "DM Mono", monospace; }
.copy-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; }
.copy-icon svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.copy-status { min-width: 43px; font: .69rem "DM Mono", monospace; text-transform: uppercase; }

.portrait-wrap { position: relative; width: min(54vw, 700px); justify-self: center; perspective: 1100px; z-index: 3; }
.image-shell { position: relative; overflow: hidden; border-radius: 48% 52% 43% 57% / 51% 43% 57% 49%; transform: rotate(-1.5deg); box-shadow: 0 42px 90px rgba(80,21,88,.24), inset 0 0 0 1px rgba(255,255,255,.9); isolation: isolate; animation: morph 10s ease-in-out infinite alternate; }
.image-shell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 70px rgba(255,255,255,.45); pointer-events: none; }
.image-shell picture { display: block; }
.image-shell img { width: 100%; height: auto; display: block; transform: scale(1.015); transition: transform .15s ease-out; }
.shine { position: absolute; inset: -40%; z-index: 2; background: linear-gradient(110deg, transparent 37%, rgba(255,255,255,.68) 49%, transparent 61%); transform: translateX(-62%) rotate(10deg); animation: sweep 6s ease-in-out infinite; mix-blend-mode: screen; pointer-events: none; }
.orbit { position: absolute; inset: -5%; z-index: 4; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; pointer-events: none; animation: orbit 14s linear infinite; }
.orbit span { position: absolute; top: 20%; left: 1%; color: white; font-size: 2.5rem; text-shadow: 0 0 12px #8122d4; }
.orbit-two { inset: 8% -9%; transform: rotate(72deg); animation-direction: reverse; animation-duration: 18s; border-color: rgba(120,39,217,.24); }
.orbit-two span { top: 79%; left: 92%; font-size: 1.8rem; color: #862dda; }
.drag-note { position: absolute; bottom: 5%; right: -2%; z-index: 5; margin: 0; padding: 8px 11px; border-radius: 99px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); font: .65rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; transform: rotate(-6deg); }
.aurora { position: absolute; border-radius: 50%; filter: blur(18px); opacity: .45; pointer-events: none; }
.aurora-one { width: 420px; height: 150px; left: -80px; bottom: 2%; background: #fff; transform: rotate(20deg); }
.aurora-two { width: 360px; height: 120px; right: -120px; top: 12%; background: #a854e9; transform: rotate(-30deg); opacity: .16; }
footer { font: .65rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin-top: -26px; }
.coordinates { font-size: .9rem; }
.cursor-dot, .cursor-ring { position: fixed; z-index: 30; top: 0; left: 0; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); }
.cursor-dot { width: 5px; height: 5px; background: var(--ink); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(41,21,45,.45); transition: width .2s, height .2s, background .2s; }
.cursor-ring.active { width: 54px; height: 54px; background: rgba(255,255,255,.22); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep { 0%,30% { transform: translateX(-62%) rotate(10deg); } 65%,100% { transform: translateX(62%) rotate(10deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes morph { 0% { border-radius: 48% 52% 43% 57% / 51% 43% 57% 49%; } 100% { border-radius: 53% 47% 56% 44% / 45% 58% 42% 55%; } }

@media (max-width: 800px) {
  .cursor-dot, .cursor-ring { display: none; }
  .scene { padding: 18px 18px 16px; }
  .topbar { align-items: flex-start; }
  nav { gap: 4px; }
  .nav-link { padding: 8px 10px; font-size: .65rem; }
  .hero { grid-template-columns: 1fr; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 56px 0 62px; }
  .copy-block { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .eyebrow { font-size: .58rem; margin-bottom: 17px; }
  h1 { font-size: clamp(5rem, 24vw, 8rem); margin-left: -5px; }
  .ticker { margin-bottom: 22px; }
  .intro { font-size: 1rem; margin-bottom: 24px; }
  .contract-wrap { width: min(100%, 390px); text-align: left; }
  .portrait-wrap { width: min(92vw, 590px); order: -1; margin-top: 16px; }
  .image-shell { border-radius: 45% 55% 48% 52% / 55% 43% 57% 45%; }
  .orbit { inset: -3%; }
  .drag-note { right: 2%; }
  footer { margin-top: 0; }
}

@media (max-width: 430px) {
  .brand span:last-child { display: none; }
  h1 { font-size: 5.25rem; }
  .portrait-wrap { width: 96vw; }
  .hero { padding-top: 38px; }
  .copy-button { grid-template-columns: 1fr auto auto; }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
