﻿/* ==========================================================================
   SOLCAT — official site
   Neo-brutalist: hard borders, no radii, heavy display type, one accent.
   ========================================================================== */

:root {
  /* Brand */
  --purple:      #9945FF;  /* large fills only: wordmark, blocks, sections   */
  --purple-ink:  #7526D3;  /* small text on light backgrounds (6.4:1)        */
  --purple-soft: #c9a6ff;  /* small text on ink backgrounds (10:1)           */
  --green:       #14F195;  /* secondary accent — dark backgrounds ONLY       */

  /* Surfaces */
  --ink:   #080808;
  --paper: #f6f6f0;
  --white: #ffffff;

  /* Structure */
  --line: 3px;

  /* Type */
  --font-display: "Arial Black", "Arial Bold", "Helvetica Neue", Arial, sans-serif;
  --font-body:    Arial, Helvetica, sans-serif;
  --font-mono:    "Courier New", Courier, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 4px solid var(--purple);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* --- Shared display type -------------------------------------------------- */

.hero h1,
.steps-section h2,
.story-section h2,
.meme-section h2,
.pfp-section h2,
.links-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--purple-ink);
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--purple-soft); }

.section-number {
  position: absolute;
  top: 28px;
  right: 36px;
  color: var(--purple);
  font: 900 clamp(70px, 10vw, 150px)/1 var(--font-display);
  letter-spacing: -0.07em;
}

/* --- Safety tape ---------------------------------------------------------- */

.safety-tape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 0 28px;
  background: var(--ink);
  color: var(--white);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.safety-tape span[aria-hidden="true"] { color: var(--green); }

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: var(--paper);
  border-bottom: var(--line) solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--purple);
  color: var(--white);
  font: 900 14px/1 var(--font-display);
  transform: rotate(-4deg);
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 48px);
}

.site-header nav a {
  position: relative;
  color: var(--ink);
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 100%;
  height: 3px;
  background: var(--purple);
  transition: right 0.18s;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { right: 0; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: calc(100svh - 126px);
  padding: clamp(52px, 8vh, 104px) clamp(20px, 5vw, 76px) 0;
}

.hero-word {
  position: absolute;
  top: 49%;
  left: 49%;
  z-index: -3;
  transform: translate(-50%, -50%);
  color: var(--purple);
  font: 900 clamp(140px, 21vw, 380px)/0.7 var(--font-display);
  letter-spacing: -0.08em;
  white-space: nowrap;
  user-select: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  min-width: 0;
  max-width: 620px;
  padding: 24px 0 56px;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(64px, 8.2vw, 136px);
  line-height: 0.78;
}

.hero-lede {
  max-width: 530px;
  margin: 30px 0 0;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
}

.action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 196px;
  min-height: 58px;
  padding: 0 20px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  font: 900 14px/1 var(--font-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.action-primary { background: var(--ink); color: var(--white); }
.action-secondary {
  margin-left: calc(var(--line) * -1);
  background: var(--white);
  color: var(--ink);
}
/* Third action wraps to its own row and spans the full width — the PFP tool
   is four sections down, so it needs to announce itself up here. */
.action-accent {
  flex: 1 0 100%;
  margin-top: calc(var(--line) * -1);
  background: var(--purple);
  color: var(--white);
}
.action:hover,
.action:focus-visible {
  position: relative;
  z-index: 2;
  background: var(--purple);
  color: var(--white);
  outline: 4px solid var(--ink);
  outline-offset: -8px;
}
.action-accent:hover,
.action-accent:focus-visible { background: var(--ink); }

.ownership-note {
  margin: 18px 0 0;
  font: 700 12px/1.45 var(--font-mono);
}

/* Mascot */

.mascot-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: center;
  place-self: end center;
  width: min(48vw, 680px);
  height: min(68vh, 700px);
}

.mascot {
  position: relative;
  z-index: 3;
  width: min(45vw, 590px);
  height: auto;
  transform-origin: bottom;
  filter: drop-shadow(20px 22px rgba(8, 8, 8, 0.18));
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Sized against the cat, not the stage: the mascot art is a tall narrow
   figure sitting left of centre in its canvas, so the slab has to come in
   from the stage edge to stay behind it. */
.accent-block {
  position: absolute;
  bottom: 1.5%;
  right: 31%;
  z-index: 1;
  width: 35%;
  height: 46%;
  background: var(--purple);
  transform: rotate(3deg);
}

.thought-cloud {
  position: absolute;
  top: 2%;
  right: -4%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: clamp(180px, 20vw, 300px);
  min-height: 130px;
  padding: 24px 28px;
  border: 5px solid var(--ink);
  border-radius: 49% 43% 54% 40% / 41% 54% 39% 50%;
  background: var(--white);
  color: var(--ink);
  font: 900 clamp(18px, 2vw, 29px)/0.95 var(--font-display);
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(5deg);
  transition: background 0.24s, color 0.24s;
}
.thought-cloud::before,
.thought-cloud::after {
  content: "";
  position: absolute;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}
.thought-cloud::before { bottom: -34px; left: 20%; width: 31px; height: 25px; }
.thought-cloud::after  { bottom: -57px; left: 12%; width: 15px; height: 12px; }

/* Contract dock — full-bleed strip closing the hero */

.contract-dock {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  width: calc(100% + clamp(40px, 10vw, 152px));
  min-height: 112px;
  margin-left: calc(-1 * clamp(20px, 5vw, 76px));
  padding: 20px clamp(20px, 5vw, 76px);
  border: 0;
  border-top: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.contract-dock:hover,
.contract-dock:focus-visible {
  background: var(--purple);
  color: var(--white);
  outline: 6px solid var(--ink);
  outline-offset: -10px;
}

.contract-label,
.contract-command {
  font: 700 11px/1.25 var(--font-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contract-dock code {
  overflow: hidden;
  font: 800 clamp(14px, 1.55vw, 24px)/1 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mint not configured yet — see CONFIG in main.js */
.contract-dock.is-unset {
  background: repeating-linear-gradient(
    -45deg, #ededea 0 12px, var(--white) 12px 24px
  );
  color: #6b6b66;
  cursor: not-allowed;
}
.contract-dock.is-unset:hover,
.contract-dock.is-unset:focus-visible {
  background: repeating-linear-gradient(
    -45deg, #ededea 0 12px, var(--white) 12px 24px
  );
  color: #6b6b66;
  outline: 6px solid var(--ink);
  outline-offset: -10px;
}

/* --- 01 How to buy --------------------------------------------------------- */

.steps-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(90px, 12vw, 180px) clamp(20px, 6vw, 92px);
  background: var(--ink);
  color: var(--white);
}

.steps-message h2,
.story-section h2,
.meme-section h2,
.pfp-section h2,
.links-section h2 {
  font-size: clamp(54px, 6.8vw, 112px);
  line-height: 0.82;
}

.steps-message > p:last-child {
  max-width: 630px;
  margin: 34px 0 0;
  color: #cfcfc8;
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.45;
}

.steps-list {
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-list li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-top: 2px solid #444;
}
.steps-list li:last-child { border-bottom: 2px solid #444; }
.steps-list span,
.steps-list p {
  margin: 0;
  color: #8f8f8a;
  font: 700 12px/1.25 var(--font-mono);
  text-transform: uppercase;
}
.steps-list strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 25px);
  text-transform: uppercase;
}
.steps-list code { color: var(--white); font: inherit; }

/* --- 02 Story ------------------------------------------------------------- */

.story-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(60px, 10vw, 160px);
  padding: clamp(90px, 12vw, 180px) clamp(20px, 6vw, 92px);
  background: var(--paper);
  border-bottom: var(--line) solid var(--ink);
}

.story-heading { position: relative; }
.story-heading .section-number {
  top: -70px;
  left: -14px;
  right: auto;
  opacity: 0.12;
}

.story-copy {
  align-self: end;
  padding-bottom: 6px;
}
.story-copy p {
  margin: 0;
  padding: 23px 0;
  border-top: 2px solid var(--ink);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}
.story-copy p:last-child { border-bottom: 2px solid var(--ink); }
.story-copy .story-lede {
  color: var(--purple-ink);
  font-size: clamp(22px, 2.25vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* --- Memes ---------------------------------------------------------------- */

.meme-section {
  overflow: hidden;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 76px) clamp(110px, 12vw, 180px);
  background: var(--white);
}

.meme-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.meme-note {
  margin: 0 4% 10px 0;
  color: var(--purple-ink);
  font: 700 clamp(16px, 1.5vw, 22px)/1.15 "Comic Sans MS", "Comic Sans", cursive;
  transform: rotate(-5deg);
}

.meme-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  max-width: 1320px;
  margin: clamp(60px, 8vw, 110px) auto 0;
  padding: 0 3vw;
}

.meme {
  position: relative;
  margin: 0;
  border: 5px solid var(--ink);
  background: var(--white);
  box-shadow: 14px 15px 0 var(--ink);
}
.meme img { display: block; width: 100%; height: auto; }
.meme figcaption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 7px 9px;
  background: var(--white);
  color: var(--ink);
  font: 700 10px/1 var(--font-mono);
  text-transform: uppercase;
}

.meme-one   { grid-column: 1 / span 5; z-index: 1; transform: rotate(-5deg); }
.meme-two   { grid-column: 5 / span 5; z-index: 3; margin-top: 78px; transform: rotate(3deg); }
.meme-three { grid-column: 9 / span 4; z-index: 2; transform: rotate(-2deg); }

/* --- 03 PFP builder -------------------------------------------------------- */

/* Sits between the story and the meme wall, both of which it shares a colour
   or an edge with. The rule goes on the bottom: the story section already
   draws a bottom border above, and doubling them reads as a 6px seam. */
.pfp-section {
  position: relative;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 76px);
  background: var(--paper);
  border-bottom: var(--line) solid var(--ink);
}

.pfp-intro {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.pfp-lede {
  max-width: 580px;
  margin: 26px 0 0;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}

.pfp-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: start;
  gap: clamp(28px, 4vw, 60px);
  max-width: 1180px;
}

/* Checkerboard shows through when the background is set to none, so the
   transparency in the exported PNG is visible before downloading. */
.pfp-stage {
  position: relative;
  aspect-ratio: 1;
  border: var(--line) solid var(--ink);
  box-shadow: 14px 15px 0 var(--ink);
  background: repeating-conic-gradient(#e7e7e1 0% 25%, var(--white) 0% 50%) 0 0 / 34px 34px;
}
.pfp-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.pfp-stage canvas:active { cursor: grabbing; }
.pfp-stage.is-dragover { outline: 6px solid var(--purple); outline-offset: -10px; }

.pfp-drop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(246, 246, 240, 0.94);
  color: var(--ink);
  font: 700 12px/1.6 var(--font-mono);
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.pfp-drop b {
  display: block;
  margin-bottom: 8px;
  font: 900 clamp(22px, 2.6vw, 34px)/1.05 var(--font-display);
  letter-spacing: -0.05em;
}
.pfp-stage.has-photo .pfp-drop { display: none; }

.pfp-controls {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.pfp-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pfp-label {
  margin: 0;
  color: var(--purple-ink);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pfp-label b { color: var(--ink); }

.pfp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pfp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 900 12px/1 var(--font-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  cursor: pointer;
}
.pfp-chip:hover,
.pfp-chip:focus-visible { background: var(--purple); color: var(--white); }
.pfp-chip.is-on { background: var(--ink); color: var(--white); }
.pfp-chip.is-selected {
  outline: 4px solid var(--purple);
  outline-offset: -8px;
}

.pfp-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.pfp-slider > span {
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pfp-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--white);
  cursor: pointer;
}
.pfp-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 26px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--purple);
}
.pfp-slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 26px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--purple);
}

.pfp-hint {
  margin: 0;
  color: #6b6b66;
  font: 700 11px/1.45 var(--font-mono);
}

.pfp-download {
  width: 100%;
  margin-top: 4px;
}

/* --- 04 Links ------------------------------------------------------------- */

.links-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
  background: var(--purple);
  color: var(--white);
}

.links-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 620px;
  padding: clamp(70px, 8vw, 120px) clamp(30px, 5vw, 76px);
  border-right: var(--line) solid var(--ink);
}
.links-intro .section-number { color: var(--ink); opacity: 0.22; }
.links-intro .eyebrow { color: var(--white); }

.link-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.link-list > a,
.link-list > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 24px;
  min-height: 125px;
  padding: 20px clamp(24px, 4vw, 64px);
  border-bottom: var(--line) solid var(--ink);
  color: var(--white);
  text-decoration: none;
}
.link-list > :first-child { border-top: var(--line) solid var(--ink); }
.link-list > a:hover,
.link-list > a:focus-visible {
  background: var(--white);
  color: var(--ink);
  outline: none;
}
.link-list > a > span,
.link-list > span > span {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 66px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.link-list small {
  font: 700 11px/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}
.link-list b { font-size: 30px; text-align: right; }

.pending-link {
  color: rgba(255, 255, 255, 0.7) !important;
  cursor: not-allowed;
}

/* Applied by main.js to the hero chart button while CONFIG.mint is unset. */
.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 40px;
  min-height: 185px;
  padding: 38px clamp(20px, 5vw, 76px);
  border-top: var(--line) solid var(--ink);
  background: var(--ink);
  color: var(--white);
}
.site-footer > div { display: flex; flex-direction: column; gap: 5px; }
.site-footer strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.04em;
}
.site-footer p,
.site-footer span {
  margin: 0;
  color: #aaa;
  font: 700 11px/1.45 var(--font-mono);
}

/* --- Copy toast + copied state -------------------------------------------- */

.copy-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  max-width: calc(100vw - 40px);
  padding: 16px 20px;
  border: var(--line) solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 900 13px/1.2 var(--font-display);
  text-transform: uppercase;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.22s;
}
body.is-toasting .copy-toast { transform: translateY(0); }

body.is-copied .mascot { transform: translateY(-12px) rotate(-1deg); }
body.is-copied .thought-cloud { background: var(--purple); color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-word { font-size: 22vw; }
  .mascot-stage { width: 50vw; }

  .steps-section,
  .story-section { grid-template-columns: 1fr; }
  .steps-list { margin-top: 10px; }
  .story-copy { max-width: 720px; }

  .pfp-tool { grid-template-columns: minmax(0, 1fr); }
  .pfp-stage { max-width: 540px; }

  .links-section { grid-template-columns: 1fr; }
  .links-intro {
    min-height: 420px;
    border-right: 0;
    border-bottom: var(--line) solid var(--ink);
  }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > span { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .safety-tape {
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    font-size: 9px;
  }
  .safety-tape span:nth-child(n + 4) { display: none; }

  .site-header { min-height: 70px; padding: 0 16px; }
  .site-header nav { display: none; }
  .brand-mark { width: 36px; height: 36px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    width: 100%;
    max-width: 100vw;
    min-height: calc(100svh - 108px);
    padding: 44px 18px 0;
  }
  .hero-word {
    top: 45%;
    left: 49%;
    font-size: 34vw;
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 100%; font-size: clamp(55px, 17.5vw, 74px); line-height: 0.82; }
  .hero-lede { max-width: 93%; margin-top: 20px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; }
  .action { min-width: 0; min-height: 54px; padding: 0 14px; font-size: 12px; gap: 8px; }
  .action-secondary { margin-left: -3px; }
  .action-accent { grid-column: 1 / -1; margin-top: -3px; }
  .ownership-note { max-width: 88%; font-size: 10px; }

  .mascot-stage { width: 100%; height: 390px; margin-top: -8px; }
  .mascot { width: min(84vw, 410px); filter: drop-shadow(10px 12px rgba(8, 8, 8, 0.18)); }
  .accent-block { width: 33%; height: 42%; right: 32%; }
  .thought-cloud {
    top: 3%;
    right: 0;
    width: 148px;
    min-height: 88px;
    padding: 18px;
    border-width: 4px;
    font-size: 17px;
  }

  .contract-dock {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    width: auto;
    min-width: 0;
    min-height: 92px;
    margin: 0 -18px;
    padding: 14px 18px;
  }
  .contract-label { grid-column: 1 / -1; }
  .contract-dock code { font-size: 12px; }
  .contract-command { font-size: 9px; }

  .steps-section,
  .story-section { padding: 88px 18px; }
  .section-number { top: 18px; right: 18px; font-size: 74px; }
  .steps-message h2,
  .story-section h2,
  .meme-section h2,
  .links-section h2 { font-size: clamp(48px, 16vw, 72px); }
  .steps-list li { grid-template-columns: 32px 1fr; gap: 12px; }
  .steps-list li p { grid-column: 2; }

  .story-section { gap: 52px; }
  .story-heading .section-number { top: -48px; }

  .meme-section { padding: 80px 18px 110px; }
  .meme-heading { align-items: start; }
  .meme-note { margin-right: 0; font-size: 13px; }
  .meme-wall {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 60px;
    padding: 0 9vw;
  }
  .meme { width: 100%; margin: 0; box-shadow: 9px 10px 0 var(--ink); }
  .meme-two { margin-top: -10px; }
  .meme-three { margin-top: -6px; }

  .pfp-section { padding: 80px 18px; }
  .pfp-stage { box-shadow: 9px 10px 0 var(--ink); }
  .pfp-chip { min-height: 44px; padding: 0 11px; font-size: 11px; }

  .links-intro { min-height: 380px; padding: 70px 18px 50px; }
  .link-list > a,
  .link-list > span {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
    min-height: 96px;
    padding: 16px 18px;
  }
  .link-list small { display: none; }
  .link-list > a > span,
  .link-list > span > span { font-size: 34px; }

  .site-footer { grid-template-columns: 1fr; gap: 26px; padding: 42px 18px; }
  .site-footer > span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
