@import url("https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,450;0,6..72,600;1,6..72,450&display=swap");

:root {
  --ink: #16130f;
  --paper: #f3eadc;
  --desk: #c9ad86;
  --orange: #ff5a1f;
  --orange-deep: #c2410c;
  --sea: #128ea0;
  --leaf: #1c7a46;
  --line: rgba(22, 19, 15, 0.14);
  --chrome: #1a1612;
  --shadow: 0 24px 60px rgba(40, 22, 8, 0.28);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --display: "Anton", Impact, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Palatino, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--serif);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 90, 31, 0.18), transparent 50%),
    radial-gradient(900px 500px at 110% 10%, rgba(18, 142, 160, 0.16), transparent 46%),
    var(--desk);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 40px;
  background: var(--paper);
  border: 1px solid #2a2118;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: clip;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  background: var(--chrome);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.dots i:nth-child(1) { background: var(--orange); }
.dots i:nth-child(2) { background: #e2b15a; }
.dots i:nth-child(3) { background: var(--leaf); }
.chrome .host { opacity: 0.72; }
.pair-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(243, 234, 220, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
  color: white;
}
.pair-chip b { color: var(--orange); font-weight: 600; }
.meter {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
  background: #100e0c;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-copy {
  padding: 54px 48px 42px;
  position: relative;
  z-index: 2;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(76px, 9vw, 128px);
  line-height: 0.82;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 span { color: var(--orange); }
.lede {
  font-size: 27px;
  line-height: 1.25;
  max-width: 18ch;
  margin: 22px 0 8px;
}
.lede em { font-style: italic; color: #ffd7c4; }
.fine {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  max-width: 42ch;
  color: rgba(243, 234, 220, 0.72);
}

.uninstall {
  margin-top: 28px;
  width: min(420px, 100%);
  background: #d9d3c7;
  color: #1b1b1b;
  border: 1px solid #8d877c;
  box-shadow: 4px 4px 0 #000;
  font-family: var(--mono);
}
.uninstall header {
  background: linear-gradient(#0b4ea2, #08387a);
  color: white;
  padding: 6px 8px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.uninstall .body { padding: 12px; }
.uninstall .status {
  min-height: 2.4em;
  font-size: 13px;
  margin: 0 0 8px;
}
.bar {
  height: 18px;
  background: #fff;
  border: 1px solid #6d675d;
  padding: 2px;
}
.bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(90deg, #0b4ea2 0 10px, #3c7ed6 10px 12px);
}
.uninstall.done .bar > i { background: var(--orange); }
.uninstall footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 12px 12px;
}
.uninstall button {
  font-family: var(--mono);
  background: #eeeae2;
  border: 1px solid #6d675d;
  box-shadow: inset -1px -1px 0 #fff, 1px 1px 0 #444;
  padding: 4px 14px;
  cursor: pointer;
}

.hero-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.08);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-photo figcaption {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(16, 14, 12, 0.72);
  padding: 6px 8px;
}

.leaves { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.leaf {
  position: absolute;
  top: -40px;
  width: 14px;
  height: 36px;
  background: #1c7a46;
  border-radius: 0 20px 0 20px;
  opacity: 0.75;
  animation: fall linear infinite;
}

.tape {
  background: var(--orange);
  color: #1a100b;
  overflow: hidden;
  border-top: 1px solid #1a100b;
  border-bottom: 1px solid #1a100b;
}
.tape-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  padding: 8px 0;
}
.tape-track span { padding: 0 18px; }

.file { padding: 28px 0 10px; }
.file h2, .yard h2, .kit h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 42px;
  margin: 0 28px 8px;
}
.section-note {
  margin: 0 28px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d5844;
}

.chapter {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 28px 34px;
  border-top: 1px solid var(--line);
}
.chapter:nth-child(even) .shot { order: 2; }
.shot {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 280px;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.chapter.in .shot { transform: none; opacity: 1; }
.shot img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.shot.tall img { height: 460px; object-position: center 20%; }
.chapter .copy h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 8px;
}
.chapter .copy p {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  max-width: 22ch;
}
.chapter .copy p + p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.4;
  max-width: 38ch;
  color: #3c3228;
}

.pair-block {
  margin: 0 28px 36px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  background: #17130f;
  color: var(--paper);
  padding: 22px;
}
.pair-block img {
  width: 100%;
  animation: rock 4.5s ease-in-out infinite;
}
.pair-block h3 {
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.86;
  margin: 0 0 10px;
  font-weight: 400;
}
.pair-block h3 i { color: var(--orange); font-style: normal; }
.pair-block p { margin: 0; font-size: 20px; max-width: 34ch; }

.yard {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), transparent 40%),
    #d7d2c8;
  padding: 28px 0 48px;
  position: relative;
}
.desk-stickers {
  position: relative;
  height: 560px;
  margin: 0 20px;
}
.sticker {
  position: absolute;
  width: min(280px, 42vw);
  cursor: grab;
  user-select: none;
  touch-action: none;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,0.22));
  animation: floaty 6s ease-in-out infinite;
}
.sticker:active { cursor: grabbing; animation: none; }
.sticker img { width: 100%; pointer-events: none; }
.sticker.card {
  background: white;
  padding: 10px 10px 28px;
  width: min(240px, 46vw);
  transform: rotate(-6deg);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}
.sticker.card img { height: 220px; object-fit: cover; }
.sticker.card em {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.s1 { left: 4%; top: 30px; animation-delay: 0s; }
.s2 { left: 34%; top: 80px; animation-delay: -1.4s; }
.s3 { right: 6%; top: 24px; animation-delay: -2.2s; }
.s4 { left: 18%; bottom: 20px; animation-delay: -3s; }
.s5 { right: 18%; bottom: 36px; animation-delay: -0.8s; }

.banner-wrap { padding: 8px 28px 36px; background: var(--paper); }
.banner-wrap figure { margin: 0; }
.banner-wrap img {
  width: 100%;
  height: auto;
  border: 1px solid #2a2118;
}
.banner-wrap figcaption {
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 8px;
  color: #6d5844;
}

.kit { padding: 10px 0 28px; }
.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 28px;
}
.kit a {
  text-decoration: none;
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 8px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease;
}
.kit a:hover { transform: translateY(-4px); }
.kit a img { height: 120px; width: 100%; object-fit: cover; background: #111; }
.kit a span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer.colophon {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: #5c4c3d;
}
footer.colophon strong { color: var(--ink); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-2%, -1%, 0); }
}
@keyframes fall {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); }
  100% { transform: translate3d(40px, 110vh, 0) rotate(220deg); }
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes rock {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}
.shell.booting { animation: shake 0.45s linear; }

@media (max-width: 860px) {
  .shell { width: calc(100% - 12px); margin: 8px auto 20px; }
  .chrome { grid-template-columns: auto 1fr; }
  .pair-chip { display: none; }
  .hero, .chapter, .pair-block, .kit-grid { grid-template-columns: 1fr; }
  .chapter:nth-child(even) .shot { order: 0; }
  .hero-copy { padding: 32px 20px 24px; }
  h1 { font-size: 78px; }
  .lede { font-size: 22px; }
  .file h2, .yard h2, .kit h2 { margin-left: 20px; font-size: 34px; }
  .section-note, .banner-wrap, .kit-grid, footer.colophon { margin-left: 0; }
  .section-note { margin: 0 20px 16px; }
  .chapter { padding: 18px 20px 26px; }
  .shot img, .shot.tall img { height: 280px; }
  .pair-block { margin: 0 16px 24px; }
  .pair-block h3 { font-size: 46px; }
  .desk-stickers { height: 760px; }
  .banner-wrap { padding: 8px 16px 24px; }
  .kit-grid { grid-template-columns: 1fr 1fr; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .shot { opacity: 1; transform: none; }
}
