/* WHITE MONSTER — the site is the can.
   White and silver lead. Graphite is for the claw and the lettering only. No accent color. */

:root {
  --white: #ffffff;
  --paper: #f4f6f8;
  --frost: #e5e9ec;
  --silver: #c3c9cf;
  --steel: #646b72;   /* small text; 4.8:1 on the paper background */
  --slate: #3a3f45;
  --graphite: #1f2226;
  --ink: #121416;
  --warn: #8a1f1f;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f7f8fa 0%, #f3f5f7 50%, #eef1f4 100%) fixed, var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--graphite); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid var(--silver);
  background: linear-gradient(180deg, #ffffff, #eceff2);
  color: var(--graphite); font-weight: 600; font-size: 15px; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: linear-gradient(180deg, #f7f8f9, #dde1e5); border-color: var(--steel); }
.btn:active { background: linear-gradient(180deg, #e6e9ec, #d3d8dc); }
.btn-ink { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.btn-ink:hover { background: var(--ink); border-color: var(--ink); }
.btn-ink:active { background: #000; }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-danger { color: var(--warn); }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ---------- rim band (the top of the can) ---------- */
.rim {
  height: 30px; overflow: hidden;
  background: linear-gradient(180deg, #cfd4d9 0%, #eef0f2 45%, #d9dde1 70%, #b9bfc5 100%);
  border-bottom: 1px solid #a6adb4;
  box-shadow: inset 0 1px 0 #fff;
}
.rim-text {
  display: flex; align-items: center; justify-content: center; gap: 26px; height: 100%;
  white-space: nowrap; font-weight: 700; font-stretch: 125%; font-size: 11px; letter-spacing: .22em;
  color: #41464c; text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.rim-claw { width: 10px; height: 16px; fill: #41464c; flex: none; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 18px var(--gutter); max-width: var(--max); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-claw { width: 22px; height: 37px; fill: var(--graphite); }
.brand-name { font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { border-bottom-color: var(--graphite); }
.nav-buy { border: 1.5px solid var(--silver) !important; border-radius: 999px; padding: 8px 16px !important; }
.nav-buy:hover { border-color: var(--graphite) !important; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0;
  min-height: min(calc(100vh - 110px), 900px);
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 48px; }
.wordmark {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(76px, 13.2vw, 200px); line-height: .86; letter-spacing: -.005em; text-transform: uppercase;
}
.wordmark span { display: block; }
.wordmark span:first-child { color: #fff; -webkit-text-stroke: 2px var(--graphite); paint-order: stroke fill; text-shadow: 0 2px 0 rgba(29,32,36,.06); }
.tagline { margin: 30px 0 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; color: var(--slate); max-width: 30ch; line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-count { margin: 22px 0 0; font-size: 15px; color: var(--steel); }
.hero-count a { color: var(--slate); text-decoration-color: var(--silver); text-underline-offset: 3px; }
.hero-count a:hover { text-decoration-color: var(--graphite); }
.hero-count strong { color: var(--graphite); font-weight: 700; }

.hero-can {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  height: min(88vh, 820px); min-height: 520px;
}
.floor {
  position: absolute; left: -40%; right: -40%; bottom: 0; height: 48%;
  background-image:
    linear-gradient(to right, rgba(31,34,38,.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,34,38,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(560px) rotateX(66deg);
  transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 52% 95% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 52% 95% at 50% 0%, #000 25%, transparent 78%);
}
.can-glow {
  position: absolute; left: 10%; right: 10%; top: 5%; bottom: 10%;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,1) 0%, rgba(255,255,255,.7) 35%, rgba(255,255,255,0) 70%);
}
.can {
  position: relative; z-index: 1; height: 92%; width: auto;
  filter: drop-shadow(0 34px 38px rgba(31,34,38,.18)) drop-shadow(0 2px 3px rgba(31,34,38,.14));
}
.can-shadow {
  position: absolute; bottom: 1%; left: 50%; transform: translateX(-50%);
  width: 44%; height: 16px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(31,34,38,.34), rgba(31,34,38,0) 70%);
  filter: blur(5px);
}
/* lettering on the can */
.can-band { font-family: var(--sans); font-weight: 700; font-stretch: 125%; font-size: 13px; letter-spacing: 5px; fill: #3b4045; }
.can-word { font-family: var(--display); fill: var(--graphite); }
.can-word-1 { font-size: 80px; letter-spacing: 1px; }
.can-word-2 { font-size: 56px; letter-spacing: 2.5px; }
.can-outline { font-family: var(--sans); font-weight: 800; font-stretch: 125%; font-size: 19px; letter-spacing: 6px; fill: none; stroke: #4a5056; stroke-width: .9; }
.can-ultra { font-family: var(--sans); font-weight: 800; font-stretch: 125%; font-style: italic; font-size: 18px; letter-spacing: 2px; fill: #2a2e33; }
.can-tiny { font-family: var(--sans); font-weight: 600; font-size: 9px; letter-spacing: 1px; fill: #6b7278; }

/* ---------- sections ---------- */
section { scroll-margin-top: 16px; }
.ritual, .pages, .facts-wrap, .lore {
  max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vh, 112px) var(--gutter);
  border-top: 1px solid var(--frost);
}
.h-display { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6vw, 88px); line-height: .95; letter-spacing: .004em; text-transform: uppercase; }
.lede { margin: 16px 0 0; font-size: 18px; color: var(--slate); max-width: 46ch; }

/* ritual */
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--graphite); counter-increment: step; display: flex; flex-direction: column; align-items: flex-start; }
.step::before { content: counter(step); font-family: var(--display); font-size: 34px; line-height: 1; margin-bottom: 18px; }
.step h3 { margin: 20px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin: 0 0 20px; color: var(--slate); max-width: 36ch; }
.step .btn { margin-top: auto; }
.step-visual { width: 100%; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--frost); border: 1px solid #dde1e5; }
.pfp-preview { width: 132px; height: 132px; background: #fff; border: 1px solid var(--silver); box-shadow: 0 10px 24px rgba(31,34,38,.1); }
.pfp-caption { font-size: 12.5px; color: var(--steel); }
.mock-post { width: 230px; padding: 14px; background: #fff; border: 1px solid var(--silver); display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 24px rgba(31,34,38,.1); }
.mock-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--graphite); flex: none; }
.mock-lines { flex: 1; display: grid; gap: 8px; }
.mock-lines i { display: block; height: 10px; background: var(--frost); }
.mock-lines i:last-child { width: 60%; }
.step-visual-roll { flex-direction: row; gap: 8px; }
.step-visual-roll span { width: 40px; height: 40px; background: #fff; border: 1px solid var(--silver); }
.step-visual-roll .you { border: 2px solid var(--graphite); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

/* the white pages */
.pages-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px; align-items: end; }
.pages-count { margin: 14px 0 0; font-size: 18px; font-weight: 600; }
.pages-note { margin: 0; font-size: 14px; color: var(--steel); line-height: 1.5; }
.pages-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 40px; }
.search { flex: 1 1 240px; max-width: 440px; }
.search input {
  width: 100%; height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--silver); background: #fff;
  font: inherit; font-size: 16px; color: var(--graphite);
}
.search input:focus { border-color: var(--graphite); outline: none; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.mine { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; padding: 14px 18px; background: #fff; border: 1.5px solid var(--graphite); }
.mine-square { width: 36px; height: 36px; background: #fff; border: 1.5px solid var(--graphite); flex: none; }
.mine-text { margin: 0; flex: 1 1 260px; font-size: 15px; }
.mine-actions { display: flex; gap: 8px; }

.roll { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; }
.member { min-width: 0; }
.member-square { position: relative; display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--silver); transition: border-color .15s, transform .15s; }
.member-square:hover { border-color: var(--graphite); }
.member-claw { position: absolute; right: 8px; bottom: 8px; width: 14px; height: 24px; fill: var(--graphite); opacity: .12; }
.member-handle { display: block; margin-top: 10px; font-weight: 700; font-size: 15px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-handle:hover { text-decoration: underline; text-underline-offset: 3px; }
.member-meta { margin: 4px 0 0; font-size: 12.5px; color: var(--steel); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.member-meta > * { white-space: nowrap; }
.member-meta a { color: var(--slate); text-underline-offset: 3px; }
.member-note { margin: 4px 0 0; font-size: 13px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member.skeleton .member-square { background: var(--frost); border-color: var(--frost); }
.member.skeleton .member-handle { height: 14px; width: 70%; background: var(--frost); margin-top: 12px; }
.member.skeleton .member-meta { height: 10px; width: 45%; background: var(--frost); margin-top: 8px; }
.member.is-you .member-square { border: 2px solid var(--graphite); }
.member.ghost .member-square { border: 1px dashed var(--silver); background: transparent; }
.member.ghost .member-square.open { border: 2px solid var(--graphite); background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }

.roll-state { padding: 56px 16px; text-align: center; color: var(--slate); font-size: 17px; }
.roll-state:empty { display: none; }
.roll-state strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 400; text-transform: uppercase; margin-bottom: 8px; color: var(--graphite); }
.roll-state .btn { margin-top: 16px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.pager-label { font-size: 14px; color: var(--steel); min-width: 9ch; text-align: center; }

/* facts: the back of the can */
.facts-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.facts-wrap::before {
  content: "Everything a stranger needs to check us. Same contract on every link.";
  font-family: var(--display); font-size: clamp(36px, 4.6vw, 64px); line-height: .98; text-transform: uppercase; max-width: 14ch;
}
.facts { background: #fff; border: 2px solid var(--graphite); padding: 16px 18px 18px; max-width: 560px; justify-self: end; width: 100%; }
.facts-title { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; text-transform: uppercase; padding-bottom: 6px; border-bottom: 10px solid var(--graphite); }
.facts-serving { margin: 0; padding: 6px 0 8px; font-size: 14px; font-weight: 600; border-bottom: 4px solid var(--graphite); }
.facts-serving span { display: block; font-weight: 400; color: var(--slate); }
.facts-list { margin: 0; }
.facts-list div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--silver); font-size: 15px; }
.facts-list dt { font-weight: 700; flex: none; }
.facts-list dd { margin: 0; text-align: right; }
.contract { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; padding: 12px 0 12px; border-bottom: 4px solid var(--graphite); }
.contract-label { font-weight: 700; font-size: 15px; }
.contract-value {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.4; word-break: break-all; user-select: all; -webkit-user-select: all;
  background: var(--paper); border: 1px solid var(--silver); padding: 8px 10px; color: var(--graphite);
}
.copy-status { grid-column: 1 / -1; font-size: 13px; min-height: 1.3em; color: var(--slate); }
.copy-status[data-state="ok"] { color: #245c2b; font-weight: 600; }
.copy-status[data-state="err"] { color: var(--warn); font-weight: 600; }
.facts-links { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: 15px; }
.facts-links a { text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.facts-fine { margin: 14px 0 0; font-size: 12px; color: var(--steel); }

/* lore */
.lore { display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: 56px; align-items: start; }
.lore-art { margin: 0; }
.lore-art img { width: 256px; height: 256px; border: 1px solid var(--silver); background: #fff; }
.lore-art figcaption { margin-top: 10px; font-size: 13px; color: var(--steel); max-width: 256px; }
.lore-text p { margin: 18px 0 0; font-size: 17px; line-height: 1.55; max-width: 58ch; color: var(--slate); }
.lore-text a { color: var(--graphite); text-underline-offset: 3px; }
.lore-text blockquote { margin: 26px 0 0; padding-left: 20px; border-left: 3px solid var(--silver); }
.lore-text blockquote p { margin: 0 0 14px; font-size: 20px; font-style: italic; font-weight: 500; color: var(--graphite); max-width: 40ch; }
.lore-text cite { display: block; font-style: normal; font-size: 14px; color: var(--steel); }

/* footer */
.foot { border-top: 1px solid var(--frost); max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 64px; }
.foot-row { display: flex; gap: 18px; align-items: flex-start; }
.foot-claw { width: 20px; height: 34px; fill: var(--silver); flex: none; }
.foot p { margin: 0; font-size: 13px; color: var(--steel); max-width: 72ch; line-height: 1.5; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0 0 0 38px; font-size: 14px; font-weight: 600; }
.foot-links a { text-underline-offset: 3px; }

/* ---------- dialog ---------- */
.join { border: 2px solid var(--graphite); background: #fff; padding: 0; width: min(580px, calc(100% - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 70px rgba(31,34,38,.22); color: var(--graphite); }
.join::backdrop { background: rgba(244,246,248,.82); backdrop-filter: blur(6px); }
.join-form { padding: 26px 28px 24px; }
.join-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.join-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; }
.close { width: 36px; height: 36px; border: 1.5px solid var(--silver); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }
.close:hover { border-color: var(--graphite); }
.join-lede { margin: 12px 0 0; color: var(--slate); font-size: 15px; }
.field { margin-top: 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field .optional { font-weight: 400; color: var(--steel); }
.field input[type="text"], .field input[type="url"] { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--silver); background: #fff; font: inherit; font-size: 16px; color: var(--graphite); }
.field input[type="text"]:focus, .field input[type="url"]:focus { outline: none; border-color: var(--graphite); }
.handle-wrap { display: flex; align-items: center; border: 1.5px solid var(--silver); background: #fff; padding-left: 12px; }
.handle-wrap span { color: var(--steel); font-weight: 600; }
.handle-wrap input[type="text"] { border: 0 !important; height: 43px; flex: 1; padding-left: 4px; }
.handle-wrap:focus-within { border-color: var(--graphite); }
.field-hint { margin: 6px 0 0; font-size: 13px; color: var(--steel); }
.field-error { margin: 6px 0 0; font-size: 13px; color: var(--warn); font-weight: 600; }
.field-error:empty { display: none; }
[aria-invalid="true"], .handle-wrap.invalid { border-color: var(--warn) !important; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border: 1.5px solid var(--silver); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.kinds label:has(:checked) { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.kinds label:has(:focus-visible) { outline: 3px solid var(--graphite); outline-offset: 3px; }
.kinds input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.45; cursor: pointer; }
.field-check input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--graphite); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 18px 0 0; color: var(--warn); font-weight: 600; font-size: 14px; }
.form-error:empty { display: none; }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.join-fine { margin: 14px 0 0; font-size: 12px; color: var(--steel); }
.join-done { padding: 36px 28px 32px; text-align: center; }
.done-square { display: block; width: 120px; height: 120px; margin: 0 auto 20px; background: #fff; border: 2px solid var(--graphite); box-shadow: 0 16px 30px rgba(31,34,38,.12); }
.join-done h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 44px; text-transform: uppercase; line-height: 1; }
.join-done p { margin: 12px auto 0; color: var(--slate); max-width: 40ch; }
.join-done .join-actions { justify-content: center; }

/* ---------- entrance ---------- */
.entrance { position: fixed; inset: 0; z-index: 50; background: var(--paper); transition: transform .65s cubic-bezier(.7, 0, .3, 1); will-change: transform; }
.entrance.open { transform: translateY(-103%); }
.entrance-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.lid-button { background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 22px; padding: 20px; border-radius: 12px; }
.lid { width: min(250px, 56vw); height: auto; filter: drop-shadow(0 20px 34px rgba(31,34,38,.2)); }
.lid-button:focus-visible { outline: 2px solid var(--steel); outline-offset: 8px; }
.lid .tab { transform-origin: 150px 150px; transition: transform .4s cubic-bezier(.6, 0, .2, 1); }
.lid-button.pulled .tab { transform: rotate(-38deg) translate(-6px, -4px) scale(1.06); }
.lid .mouth { transition: fill .3s, stroke .3s; }
.lid-button.pulled .mouth { fill: #41464c; stroke: #41464c; }
.sprite { position: absolute; }
.lid-label { font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: .03em; color: var(--graphite); line-height: 1; }
.skip { position: absolute; right: 24px; bottom: 24px; background: #fff; border: 1.5px solid var(--silver); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.skip:hover { border-color: var(--graphite); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 8px; }
  .wordmark { font-size: clamp(68px, 19.5vw, 150px); }
  .hero-can { height: min(78vw, 560px); min-height: 420px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-visual { height: 170px; }
  .pages-head { grid-template-columns: 1fr; gap: 16px; }
  .facts-wrap { grid-template-columns: 1fr; gap: 28px; }
  .facts { justify-self: start; }
  .lore { grid-template-columns: 1fr; gap: 28px; }
  .lore-art img { width: 200px; height: 200px; }
}
@media (max-width: 560px) {
  .rim-text { gap: 18px; font-size: 10px; letter-spacing: .16em; }
  .top { padding-top: 14px; padding-bottom: 10px; }
  .nav { gap: 14px; font-size: 14px; }
  .brand-name { font-size: 20px; }
  .hero-actions .btn { width: 100%; }
  .roll { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 12px; }
  .pages-tools .btn { width: 100%; }
  .search { max-width: none; }
  .facts-title { font-size: 36px; }
  .contract { grid-template-columns: 1fr; }
  .join-form { padding: 20px 18px; }
  .join-actions .btn { flex: 1 1 auto; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
