:root {
  --bg: #f4efe3;
  --bg-2: #e9dfca;
  --paper: #fffaf0;
  --paper-2: #f2e9d7;
  --ink: #111111;
  --ink-soft: #343434;
  --fur-dark: #4e4744;
  --fur-light: #ded7ca;
  --mask: #111111;
  --shirt: #d7e6f3;
  --accent: #7d746d;
  --accent-2: #bcae95;
  --max: 1160px;
  --outline: 4px solid var(--ink);
  --shadow: 0 7px 0 rgba(17, 17, 17, 0.92);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.5), transparent 18%),
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.45), transparent 15%),
    linear-gradient(180deg, var(--bg) 0%, #efe5d3 50%, var(--bg-2) 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath d='M16 44c14-11 31-12 45-3M27 74c16-8 34-7 48 2M177 31c16 0 28 6 36 18M170 67c21-1 34 6 46 18M68 183c9-12 24-18 43-17M153 183c12-11 27-15 46-11M110 18c4 8 4 15 0 22M116 201c7 6 9 15 6 24' fill='none' stroke='%23111111' stroke-opacity='.18' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: var(--outline);
  box-shadow: var(--shadow);
  font-weight: 900;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.grain, .cursor-glow { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(calc(100% - 20px), 1120px);
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border: var(--outline);
  border-radius: 22px 28px 20px 24px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  transition: transform 160ms ease, background 160ms ease;
}
.site-header.scrolled {
  transform: translateY(2px);
  background: rgba(255, 250, 240, 0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 16px 19px 13px 18px;
  background: linear-gradient(180deg, var(--fur-light), #cfc4b3);
  color: var(--ink);
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.08em;
  box-shadow: 3px 4px 0 var(--ink);
  transform: rotate(-5deg);
}
.brand-copy {
  font-size: 12px;
  line-height: 0.95;
  font-weight: 1000;
  letter-spacing: 0.1em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 150ms ease, background 150ms ease;
}
nav a:nth-child(2) { transform: rotate(-2deg); }
nav a:nth-child(3) { transform: rotate(2deg); }
nav a:hover, nav a:focus-visible {
  transform: translateY(-3px) rotate(-1deg);
  background: #fff;
}

main {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 18px 72px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0;
  font-size: clamp(54px, 11vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  font-weight: 1000;
  text-transform: uppercase;
}
h1 span {
  display: block;
  color: var(--paper);
  text-shadow:
    -3px -3px 0 var(--ink),
    3px -3px 0 var(--ink),
    -3px 3px 0 var(--ink),
    3px 3px 0 var(--ink),
    0 8px 0 rgba(17,17,17,0.18);
}
h1 span:last-child {
  color: #d3e3f1;
  transform: rotate(-1.1deg);
}

.hero-stage {
  position: relative;
  width: min(760px, 96vw);
  height: clamp(390px, 60vw, 670px);
  margin-top: 14px;
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% 11% 12%;
  border: var(--outline);
  border-radius: 44% 56% 43% 57% / 49% 41% 59% 51%;
  background: radial-gradient(circle at 50% 35%, #fffefb 0%, #f2ead9 62%, #e4d5bb 100%);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 60%;
  height: 12%;
  transform: translateX(-50%);
  background: rgba(17,17,17,.18);
  filter: blur(16px);
  border-radius: 50%;
}

.jimothy {
  position: relative;
  z-index: 3;
  width: min(560px, 82vw);
  height: auto;
  object-fit: contain;
  animation: floaty 5.2s ease-in-out infinite;
  transform-origin: 50% 78%;
  filter: drop-shadow(0 10px 0 rgba(17,17,17,.15));
}
@keyframes floaty {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.orbit {
  position: absolute;
  border: 3px dashed rgba(17,17,17,.35);
  border-radius: 50%;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}
.orbit-one {
  width: 82%;
  aspect-ratio: 1;
  transform: rotate(8deg);
}
.orbit-one::after { top: 12%; left: 14%; }
.orbit-two {
  width: 62%;
  aspect-ratio: 1;
  border-style: solid;
  border-color: rgba(17,17,17,.16);
  transform: rotate(-10deg);
}
.orbit-two::after {
  right: 6%;
  top: 48%;
  background: var(--shirt);
}

.side-note {
  position: absolute;
  z-index: 4;
  margin: 0;
  max-width: 150px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 18px 20px 14px 18px;
  background: #fff;
  box-shadow: 0 5px 0 var(--ink);
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.side-note::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #fff;
}
.side-note-left {
  left: 2%;
  top: 35%;
  transform: rotate(-8deg);
}
.side-note-left::after {
  right: -8px;
  bottom: 20px;
  transform: rotate(-16deg);
}
.side-note-right {
  right: 2%;
  top: 25%;
  transform: rotate(7deg);
}
.side-note-right::after {
  left: -8px;
  bottom: 28px;
  transform: rotate(110deg);
}

.hero-copy {
  max-width: 760px;
  margin: 14px auto 28px;
  padding: 18px 22px;
  border: var(--outline);
  border-radius: 20px 24px 18px 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.social-grid {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.social-button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 0 16px;
  border: var(--outline);
  background: linear-gradient(180deg, #fffdf8 0%, #efe6d5 100%);
  border-radius: 20px 24px 18px 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  text-align: left;
  transition: transform 150ms ease;
}
.social-button:nth-child(1) { transform: rotate(-2deg); }
.social-button:nth-child(2) { transform: rotate(1.4deg); }
.social-button:nth-child(3) { transform: rotate(-1.3deg); }
.social-button:nth-child(4) { transform: rotate(2deg); }
.social-button::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(17,17,17,.22);
  border-radius: 14px 18px 12px 16px;
  pointer-events: none;
}
.social-button span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--shirt);
  font-size: 10px;
  font-weight: 1000;
}
.social-button strong {
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 1000;
  letter-spacing: .08em;
}
.social-button i {
  font-style: normal;
  font-size: 24px;
  line-height: 1;
}
.social-button:hover, .social-button:focus-visible {
  transform: translateY(-4px) rotate(0deg);
}

.ca-wrap {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 88px 1fr;
  margin-top: 22px;
  border: var(--outline);
  border-radius: 20px 24px 18px 22px;
  overflow: hidden;
  background: #fffaf2;
  box-shadow: var(--shadow);
}
.ca-label {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-right: 4px solid var(--ink);
  background: linear-gradient(180deg, #d6e5f1, #bfd2e0);
  color: var(--ink);
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.ca-button {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.ca-button code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
}
.copy-state {
  padding: 8px 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.ca-button:hover .copy-state, .ca-button:focus-visible .copy-state {
  background: #fff;
}
.microcopy {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.microcopy code {
  color: var(--ink);
  font-weight: 900;
}

section:not(.hero) {
  width: min(var(--max), calc(100% - 28px));
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 88px);
}
.section-heading {
  margin-bottom: 28px;
  text-align: left;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 7vw, 88px);
  line-height: .9;
  letter-spacing: -.05em;
  font-weight: 1000;
}

.lore-section,
.faq-section,
.disclaimer-section {
  position: relative;
}

.lore-section::before,
.faq-section::before,
.disclaimer-section::before {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 18px;
  background: repeating-linear-gradient(90deg, transparent 0 20px, rgba(17,17,17,.1) 20px 22px, transparent 22px 34px);
  opacity: .45;
  pointer-events: none;
}

.lore-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.lore-card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  border: var(--outline);
  border-radius: 26px 30px 24px 28px;
  background: linear-gradient(180deg, #fffdf8 0%, #f1e8d7 100%);
  box-shadow: var(--shadow);
  position: relative;
}
.lore-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 26px;
  width: 62px;
  height: 20px;
  border: 3px solid rgba(17,17,17,.6);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(215,230,243,.75);
  transform: rotate(-4deg);
}
.lore-main {
  grid-row: span 2;
  min-height: 476px;
  background: linear-gradient(180deg, #fffaf0 0%, #ebddc4 100%);
}
.card-index {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.lore-card p {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}
.lore-card p:last-child { margin-bottom: 0; }
.lore-card h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.lore-card:not(.lore-main) p { font-size: 15px; }
.manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.manifesto span {
  padding: 18px;
  text-align: center;
  border: var(--outline);
  border-radius: 18px 22px 16px 20px;
  background: #fff;
  box-shadow: 0 6px 0 var(--ink);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.manifesto span:nth-child(1) { transform: rotate(-2deg); }
.manifesto span:nth-child(2) { transform: rotate(1.3deg); }
.manifesto span:nth-child(3) { transform: rotate(-1deg); }

.faq-list {
  display: grid;
  gap: 14px;
}
details {
  border: var(--outline);
  border-radius: 22px 26px 20px 24px;
  background: rgba(255, 251, 243, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}
details:nth-child(odd) { transform: rotate(-.45deg); }
details:nth-child(even) { transform: rotate(.45deg); }
summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 22px;
  cursor: pointer;
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 900;
  letter-spacing: -.02em;
}
summary::-webkit-details-marker { display: none; }
summary i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  font-style: normal;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}
details[open] summary i {
  transform: rotate(45deg);
  background: #fff;
}
details p {
  max-width: 820px;
  padding: 0 22px 22px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.disclaimer-section {
  display: grid;
  grid-template-columns: minmax(170px, .5fr) 1.5fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  border: var(--outline);
  border-radius: 28px 32px 24px 30px;
  background: linear-gradient(180deg, #fffdf7 0%, #efe2ca 100%);
  box-shadow: var(--shadow);
  padding: clamp(30px, 4vw, 42px);
}
.disclaimer-section h2 { margin-bottom: 18px; }
.disclaimer-section p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.disclaimer-stamp {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 4px dashed var(--ink);
  border-radius: 50%;
  background: rgba(215,230,243,.5);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 1000;
  letter-spacing: -.03em;
  transform: rotate(-9deg);
}

footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: var(--outline);
  border-radius: 20px 24px 18px 22px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translate(-50%, 30px) rotate(-2deg);
  padding: 14px 18px;
  border: var(--outline);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-2deg);
}

:focus-visible {
  outline: 3px dashed var(--ink);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-main { grid-row: auto; min-height: 360px; }
  .manifesto { grid-template-columns: 1fr; }
  .disclaimer-section { grid-template-columns: 1fr; }
  .disclaimer-stamp { width: min(220px, 60vw); }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 16px);
    margin-top: 10px;
    padding: 12px 14px;
  }
  nav { display: none; }
  .hero { padding-top: 22px; }
  .hero-stage { height: clamp(340px, 98vw, 560px); }
  .side-note { display: none; }
  .ca-wrap { grid-template-columns: 1fr; }
  .ca-label {
    min-height: 54px;
    border-right: 0;
    border-bottom: 4px solid var(--ink);
  }
  .ca-button {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .social-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(48px, 18vw, 84px); }
  h2 { font-size: clamp(34px, 13vw, 54px); }
  .hero-copy { font-size: 15px; }
  summary { padding: 18px 18px; }
  details p { padding: 0 18px 18px; }
}
