:root {
  --paper: #e8e2d4;
  --ink: #171715;
  --orange: #fa4b16;
  --acid: #d7ec23;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }

.landing {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 3vw, 48px) clamp(22px, 4vw, 72px) clamp(20px, 2.5vw, 36px);
  background:
    radial-gradient(circle at 72% 45%, rgba(255,255,255,.68), transparent 27%),
    linear-gradient(118deg, transparent 58%, rgba(23,23,21,.035));
}

.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.grid { position: absolute; inset: -15%; z-index: -2; pointer-events: none; }
.grid--fine {
  opacity: .18;
  background-image:
    linear-gradient(rgba(23,23,21,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,21,.24) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: grid-drift 34s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.5) 32%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.5) 32%, #000 100%);
}
.grid--wide {
  opacity: .12;
  background-image:
    linear-gradient(rgba(23,23,21,.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,21,.42) 1px, transparent 1px);
  background-size: 176px 176px;
  transform: rotate(-2deg) scale(1.08);
  animation: grid-breathe 15s ease-in-out infinite alternate;
}

.masthead { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(23,23,21,.55); }
.wordmark { font-size: clamp(.95rem, 1.25vw, 1.2rem); font-weight: 900; letter-spacing: -.07em; }
.wordmark span { color: var(--orange); padding: 0 .08em; }
.edition { text-align: right; font: 600 clamp(.48rem, .55vw, .58rem)/1.65 var(--font-geist-mono), monospace; letter-spacing: .16em; }

.statement { min-height: 0; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; position: relative; }
.statement__copy { z-index: 3; padding: 4vh 0; }
.kicker { margin: 0 0 clamp(22px, 4vh, 48px); font: 600 clamp(.5rem, .6vw, .65rem)/1 var(--font-geist-mono), monospace; letter-spacing: .22em; }
h1 { margin: 0; font-size: clamp(5.4rem, 11.8vw, 12rem); line-height: .68; letter-spacing: -.095em; font-weight: 900; transform: scaleX(.82); transform-origin: left center; }
.rule { width: min(92%, 660px); height: clamp(5px, .65vw, 10px); margin: clamp(24px, 3.5vh, 44px) 0 clamp(18px, 2.4vh, 30px); background: var(--orange); transform-origin: left; animation: rule-pulse 9s ease-in-out infinite; }
h2 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 3rem); line-height: .92; letter-spacing: -.055em; font-weight: 850; }
.description { margin: clamp(18px, 3vh, 34px) 0 0; max-width: 320px; font: italic 400 clamp(.8rem, 1vw, 1rem)/1.45 Georgia, serif; }

.object { min-width: 0; height: 100%; display: grid; place-items: center; position: relative; perspective: 1400px; }
.orbit { position: absolute; border: 1px solid rgba(23,23,21,.22); border-radius: 50%; aspect-ratio: 1; animation: orbit-turn 40s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 9%; left: 20%; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px var(--paper); }
.orbit--outer { width: min(50vw, 760px); }
.orbit--inner { width: min(36vw, 520px); animation-direction: reverse; animation-duration: 29s; }

.cassette {
  width: min(48vw, 760px);
  aspect-ratio: 1.56;
  position: relative;
  z-index: 2;
  padding: 6.3% 7.5%;
  border-radius: clamp(12px, 1.6vw, 25px);
  background: linear-gradient(145deg, #343532, #111210 72%);
  transform: rotate(-7deg) rotateX(5deg) translateX(2vw);
  box-shadow: 2.5vw 3.8vw 4vw rgba(25,21,16,.32), inset 4px 4px 2px rgba(255,255,255,.17), inset -6px -7px 13px #000;
  animation: cassette-float 8s ease-in-out infinite;
}
.cassette::before { content: ""; position: absolute; inset: 3.2%; border-radius: 72% 28% 70% 30% / 7% 7% 93% 93%; border: 1px solid rgba(255,255,255,.12); }
.label { height: 71%; padding: 4.5% 6%; position: relative; z-index: 1; overflow: hidden; border-radius: 7px 7px 2px 2px; background: var(--orange); box-shadow: inset 0 3px rgba(255,255,255,.22); }
.label::before { content: ""; position: absolute; width: 130%; height: 22%; top: 14%; left: -12%; background: rgba(255,255,255,.06); transform: rotate(-7deg); }
.label__micro { display: flex; justify-content: space-between; font: 700 clamp(.38rem, .52vw, .58rem)/1 var(--font-geist-mono), monospace; letter-spacing: .11em; }
.label__window { position: absolute; left: 10%; right: 10%; bottom: 24%; height: 34%; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; border: clamp(3px, .45vw, 7px) solid #ded8cb; border-radius: 999px; background: #afa99c; box-shadow: inset 0 5px 10px rgba(0,0,0,.28); }
.reel { width: clamp(28px, 3.8vw, 60px); aspect-ratio: 1; border-radius: 50%; position: relative; background: #e7e1d4; box-shadow: 0 0 0 3px #252623; animation: reel-turn 12s linear infinite; }
.reel i { position: absolute; width: 8%; height: 24%; left: 46%; background: #252623; transform-origin: 50% 208%; }
.reel i:nth-child(2) { transform: rotate(60deg); }.reel i:nth-child(3) { transform: rotate(120deg); }.reel i:nth-child(4) { transform: rotate(180deg); }.reel i:nth-child(5) { transform: rotate(240deg); }.reel i:nth-child(6) { transform: rotate(300deg); }
.tape { flex: 1; height: 62%; margin: 0 -3px; display: grid; place-items: center; background: #262724; }
.tape span { width: 45%; height: 58%; border-radius: 2px; background: #aaa598; }
.label__footer { position: absolute; left: 7%; right: 7%; bottom: 5%; display: flex; align-items: center; gap: 12px; font-size: clamp(.5rem, .75vw, .8rem); font-weight: 900; }
.label__footer span { margin-left: auto; letter-spacing: -.04em; }
.cassette__base { position: absolute; z-index: 2; left: 23%; right: 23%; bottom: 4%; height: 18%; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 14% 5%; background: #0b0c0b; clip-path: polygon(8% 0,92% 0,100% 100%,0 100%); }
.cassette__base span { width: clamp(7px, .75vw, 12px); aspect-ratio: 1; border-radius: 50%; background: #a5a197; box-shadow: inset 2px 2px 2px #4b4d47; }
.screw { position: absolute; z-index: 3; width: clamp(7px, .75vw, 12px); aspect-ratio: 1; border-radius: 50%; background: #a7a49b; box-shadow: inset 2px 2px 2px #222; }
.screw--one { top: 5%; left: 5%; }.screw--two { top: 5%; right: 5%; }.screw--three { bottom: 5%; left: 5%; }.screw--four { bottom: 5%; right: 5%; }
.signal { position: absolute; z-index: 4; right: 9%; bottom: 22%; width: clamp(20px, 3vw, 48px); aspect-ratio: 1; border-radius: 50%; background: var(--acid); border: 1px solid rgba(23,23,21,.7); }

.registration { position: absolute; inset: 0; pointer-events: none; }
.registration i { position: absolute; width: 24px; height: 24px; }
.registration i::before, .registration i::after { content: ""; position: absolute; background: rgba(23,23,21,.55); }
.registration i::before { width: 1px; height: 100%; left: 50%; }.registration i::after { height: 1px; width: 100%; top: 50%; }
.registration i:nth-child(1) { top: 16%; left: 2%; }.registration i:nth-child(2) { top: 52%; left: 2%; }.registration i:nth-child(3) { right: 2%; top: 18%; }.registration i:nth-child(4) { right: 2%; bottom: 8%; }
.footerline { border-top: 1px solid rgba(23,23,21,.55); padding-top: 16px; display: flex; justify-content: space-between; font: 600 clamp(.42rem, .52vw, .56rem)/1 var(--font-geist-mono), monospace; letter-spacing: .14em; }

@keyframes grid-drift { to { transform: translate3d(44px,44px,0); } }
@keyframes grid-breathe { from { transform: rotate(-2deg) scale(1.05); } to { transform: rotate(-1.4deg) scale(1.1); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes reel-turn { to { transform: rotate(360deg); } }
@keyframes cassette-float { 50% { transform: rotate(-6.3deg) rotateX(4deg) translate(2vw,-8px); } }
@keyframes rule-pulse { 50% { transform: scaleX(.88); opacity: .82; } }

@media (max-width: 820px) {
  .landing { min-height: 100svh; padding: 22px; }
  .statement { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; }
  .statement__copy { padding: 5vh 0 0; }
  .kicker { margin-bottom: 3vh; }
  h1 { font-size: clamp(4.8rem, 23vw, 8rem); line-height: .7; }
  .rule { width: 72%; margin: 2.5vh 0 2vh; }
  h2 { font-size: clamp(1.2rem, 5vw, 2rem); }
  .description { margin-top: 1.7vh; }
  .object { position: absolute; right: -18%; bottom: 2%; width: 92%; height: 48%; }
  .cassette { width: min(84vw, 620px); transform: rotate(-8deg); }
  .orbit--outer { width: 78vw; }.orbit--inner { width: 56vw; }
  .edition { font-size: .42rem; }
  .footerline span:nth-child(2) { display: none; }
}

@media (max-width: 520px) {
  .landing { padding: 18px; }
  .masthead { padding-bottom: 13px; }
  .edition { display: none; }
  .statement__copy { padding-top: 4.5vh; }
  h1 { font-size: min(25vw, 7rem); }
  h2 { font-size: 1.05rem; }
  .description { max-width: 190px; font-size: .72rem; }
  .object { width: 112%; right: -34%; bottom: 4%; height: 43%; }
  .cassette { width: 96vw; }
  .footerline span:last-child { margin-left: auto; }
}

@media (max-height: 700px) and (min-width: 821px) {
  h1 { font-size: min(10vw, 8rem); }
  .kicker { margin-bottom: 3vh; }
  .cassette { width: min(44vw, 650px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
