/* ============================================================
   samoxy.com — core stylesheet
   Palette is locked. Change these four values and the whole
   site follows.
   ============================================================ */

:root {
  --base:      #2E0A12;   /* page background */
  --primary:   #6E1423;   /* burgundy */
  --accent:    #E8B9A0;   /* warm sand */
  --ink:       #F6E7DE;   /* body text */
  --ink-dim:   #B9968C;   /* secondary text */
  --line:      rgba(232, 185, 160, 0.16);

  --display: "Fraunces", Georgia, serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(1.5rem, 5vw, 6rem);
  --measure: 34rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The bloom. Fixed warm light source behind everything —
   this is what keeps the page from reading as flat dark mode. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle 40rem at 50% -8%,
      rgba(110, 20, 35, 0.55) 0%,
      rgba(110, 20, 35, 0.34) 26%,
      rgba(110, 20, 35, 0.18) 46%,
      rgba(110, 20, 35, 0.08) 66%,
      rgba(110, 20, 35, 0.03) 84%,
      rgba(110, 20, 35, 0) 100%);
  opacity: 1;
}

a { color: inherit; }

::selection { background: var(--accent); color: var(--base); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h1 { font-size: clamp(3rem, 11vw, 8.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; }
h3 { font-size: 1.5rem; line-height: 1.2; }

p { margin: 0 0 1.15em; max-width: var(--measure); }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink);
  line-height: 1.5;
}

.dim { color: var(--ink-dim); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.75rem;
  display: block;
}

/* ---------- Shell ---------- */

.wrap {
  max-width: 78rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 46rem; }

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2rem 0;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }

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

.hero { padding-block: clamp(3rem, 9vh, 5rem) clamp(2rem, 5vh, 3.25rem); }

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  margin-bottom: 1.4rem;
}

.hero .lede { max-width: 32rem; margin-bottom: 0; }

/* ---------- Doors (home nav cards) ---------- */

.doors {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 5rem;
}

.door {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: 1.5rem clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.door:hover, .door:focus-visible {
  border-color: var(--accent);
  background: rgba(110, 20, 35, 0.42);
  transform: translateX(6px) rotate(-0.5deg) scale(1.012);
}

.door:nth-child(even):hover { transform: translateX(6px) rotate(0.5deg) scale(1.012); }

.door:hover .door-title { transform: translateX(2px); }
.door-title { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.5, 1); }

.door-key {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  align-self: start;
}

.door-arrow {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ink-dim);
  flex: none;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.door:hover .door-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--base);
  transform: rotate(360deg) scale(1.12);
}

.door-arrow { transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease,
              transform 0.55s cubic-bezier(0.34, 1.56, 0.5, 1); }

/* ---------- The index of tutorials — the signature ----------
   No photography anywhere on this site, so the words are the
   artwork. Each title is set large and lights from within. */

.lots { border-top: 1px solid var(--line); }

.lot {
  display: block;
  text-decoration: none;
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.lot-word {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  color: var(--ink);
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
  display: block;
}

.lot-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-top: 0.7rem;
  display: block;
  max-width: 40rem;
  text-transform: uppercase;
}

.lot:hover .lot-word,
.lot:focus-visible .lot-word {
  color: var(--accent);
  text-shadow: 0 0 46px rgba(232, 185, 160, 0.42);
  transform: translateX(10px);
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 9vh, 6rem); }

.section + .section { border-top: 1px solid var(--line); }

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

@media (max-width: 720px) {
  .pair { grid-template-columns: 1fr; }
  .door { grid-template-columns: 1fr; gap: 0.5rem; }
  .door-arrow { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: var(--accent);
  color: var(--base);
  box-shadow: 0 0 40px rgba(232, 185, 160, 0.28);
}

.btn-solid {
  background: var(--accent);
  color: var(--base);
}

.btn-solid:hover {
  box-shadow: 0 0 46px rgba(232, 185, 160, 0.4);
}

/* ---------- Tutorial body ---------- */

.tut-header { padding-block: clamp(3.5rem, 10vh, 6rem) 2.5rem; }

.tut-header h1 {
  text-transform: lowercase;
  font-size: clamp(3.5rem, 13vw, 9rem);
  margin-bottom: 1.5rem;
}

.tut-body { padding-bottom: 6rem; max-width: 42rem; }

.tut-body h2 { margin: 3rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }

.tut-body ul { padding-left: 1.1rem; max-width: var(--measure); }
.tut-body li { margin-bottom: 0.5rem; }

/* Copy-this block */
.copy {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: rgba(0, 0, 0, 0.22);
  padding: 1.4rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 1.5rem 0;
}

/* Why-annotation */
.why {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-dim);
  line-height: 1.6;
  padding-left: 1.4rem;
  text-indent: -1.4rem;
  margin: 0 0 1.5rem;
  max-width: var(--measure);
}

.why::before { content: "↳  "; color: var(--accent); }

.drill {
  border-top: 1px solid var(--line);
  margin-top: 3.5rem;
  padding-top: 2rem;
}

/* ---------- Email gate ---------- */

.gate {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: clamp(1.75rem, 5vw, 3rem);
  max-width: 34rem;
  margin-block: 2rem 5rem;
}

.gate h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }

.gate p { font-size: 0.95rem; }

.gate-embed { margin-top: 1.5rem; }

.gate-manual {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.gate-manual input {
  flex: 1 1 15rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.95rem 1rem;
}

.gate-manual input::placeholder { color: var(--ink-dim); }
.gate-manual input:focus { border-color: var(--accent); outline: none; }

.gate-error {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.9rem;
  min-height: 1.2em;
}

[hidden] { display: none !important; }

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

.foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* ---------- Motion ---------- */

.rise {
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.rise-2 { animation-delay: 0.12s; }
.rise-3 { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

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

/* ============================================================
   MOTION AND MARK — added Aug 2026
   The site had no movement and nothing to look at. Everything
   below is typography, the cat, and motion. Still no imagery.
   ============================================================ */

/* --- the mark ------------------------------------------------ */

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.mark-cat {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: block;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.mark:hover .mark-cat { transform: rotate(-8deg) scale(1.06); }

/* --- numbered nav, lifted from the reference ----------------- */

.nav-links a { position: relative; }

.nav-links a sup {
  font-size: 0.58em;
  margin-left: 0.15em;
  color: var(--ink-dim);
  opacity: 0.65;
  vertical-align: super;
}

/* --- the marquee --------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-block: 1.15rem;
  margin-bottom: 6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
  flex: none;
}

.marquee-group span {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

.marquee-group img {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  flex: none;
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- the spinning seal --------------------------------------- */

.seal {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  width: 6.4rem;
  height: 6.4rem;
  z-index: 40;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.5, 1);
  pointer-events: none;
}

.seal.on { opacity: 1; transform: scale(1); pointer-events: auto; }
.seal:hover { transform: scale(1.07); }

.seal svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.seal:hover svg { animation-duration: 7s; }
.seal text { font-family: var(--mono); font-size: 8.8px; letter-spacing: 0.26em; fill: var(--accent); text-transform: uppercase; }

.seal img {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- scroll reveal ------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.5, 1),
              transform 0.9s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.reveal.seen { opacity: 1; transform: none; }

/* --- the prompt bench (interactive) --------------------------- */

.bench { margin-bottom: 6rem; }

.bench-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.bench-head h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  margin: 0;
}

.bench-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.4rem 2rem;
  margin-bottom: 2rem;
}

.bench-row > p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 0.6rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.chip {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.chip:hover { color: var(--ink); border-color: var(--accent); }

.chip[aria-pressed="true"] {
  color: var(--base);
  background: var(--accent);
  border-color: var(--accent);
}

.bench-out { position: relative; }

.bench-out .copy { margin: 0; min-height: 7.5rem; }

.bench-copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.bench-copy:hover { color: var(--accent); border-color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .seal svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- drifting dust, cursor-reactive ------------------------- */

#dust {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block;
}

@media (prefers-reduced-motion: reduce) { #dust { display: none; } }

/* --- the garble. Type misbehaving like a bad render. -------- */

.garble span { display: inline-block; will-change: transform; }

.garble span.off {
  animation: slip 0.42s cubic-bezier(0.3, 0, 0.2, 1);
}

@keyframes slip {
  0%   { transform: none; opacity: 1; }
  18%  { transform: translate(0.055em, -0.02em) skewX(-9deg) scaleX(1.13); opacity: 0.62; }
  34%  { transform: translate(-0.045em, 0.015em) skewX(5deg) scaleY(0.9); opacity: 0.85; }
  56%  { transform: translate(0.02em, 0) skewX(-3deg); opacity: 0.7; }
  100% { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .garble span.off { animation: none; }
}

/* ============================================================
   WHIMSY PASS — the cat smokes, so the site should have a
   sense of humour. Bounce, tilt, stickers.
   ============================================================ */

/* the mark gets a proper wobble */
.mark:hover .mark-cat {
  animation: wobble 0.6s cubic-bezier(0.34, 1.56, 0.5, 1);
}

@keyframes wobble {
  0%   { transform: rotate(0) scale(1); }
  25%  { transform: rotate(-13deg) scale(1.14); }
  55%  { transform: rotate(9deg) scale(1.08); }
  80%  { transform: rotate(-4deg) scale(1.03); }
  100% { transform: rotate(0) scale(1.04); }
}

/* stickers — rotated, hand-slapped-on labels */
.sticker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--base);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  transform: rotate(-4deg);
  margin-left: 0.55rem;
  vertical-align: middle;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.door:hover .sticker { transform: rotate(6deg) scale(1.1); }

.sticker-quiet {
  color: var(--accent);
  background: transparent;
  border: 1px dashed var(--line);
}

/* inline links get a wavy underline */
.tut-body a:not(.btn), .pair a:not(.btn), .narrow a:not(.btn), .bench a {
  text-decoration: underline wavy var(--accent);
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}

/* the giant tutorial words tilt when you touch them */
.lot-word { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.5, 1), color 0.35s ease; display: inline-block; }
.lot:hover .lot-word { transform: rotate(-1.4deg) translateX(0.6rem) scale(1.03); }
.lot:nth-child(even):hover .lot-word { transform: rotate(1.4deg) translateX(0.6rem) scale(1.03); }

/* chips pop */
.chip:hover { transform: rotate(-2deg) scale(1.06); }
.chip { transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.5, 1); }
.chip[aria-pressed="true"] { transform: rotate(-1.5deg); }

/* the marquee cats tumble */
.marquee-group img { animation: tumble 9s ease-in-out infinite; }
.marquee-group img:nth-child(4n) { animation-delay: -3s; }
.marquee-group img:nth-child(6n) { animation-delay: -6s; }

@keyframes tumble {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}

/* buttons bounce */
.btn { transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease,
       transform 0.4s cubic-bezier(0.34, 1.56, 0.5, 1); }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }

@media (prefers-reduced-motion: reduce) {
  .marquee-group img, .mark:hover .mark-cat { animation: none; }
  .door:hover, .lot:hover .lot-word, .btn:hover, .chip:hover { transform: none; }
}

/* ============================================================
   THE DESK — /desk concept page.
   A top-down studio desk at 2am. Every object is a door.
   ============================================================ */

.desk-wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 var(--gutter) 5rem;
}

.desk-hint {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 1rem;
}

.desk-stage {
  position: relative;
  aspect-ratio: 16 / 9.6;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.desk-top {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(91deg, rgba(0,0,0,0.16) 0 2px, transparent 2px 7px),
    linear-gradient(168deg, #3a1018 0%, #2a0910 58%, #1f070c 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* every object on the desk */
.obj {
  position: absolute;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.5, 1);
  will-change: transform;
}

a.obj { cursor: pointer; }

.obj .tag {
  position: absolute;
  left: 50%;
  bottom: -1.75rem;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--base);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

a.obj:hover .tag, a.obj:focus-visible .tag {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- the scrap of paper with the line --- */

.obj-scrap { left: 4%; top: 8%; width: 42%; }

.scrap {
  display: block;
  padding: 1.4rem 1.5rem 1.6rem;
  background: rgba(246, 231, 222, 0.055);
  border: 1px solid var(--line);
  border-radius: 2px;
  transform: rotate(-1.2deg);
}

.scrap-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.7rem;
}

.scrap-line {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.scrap-sub {
  display: block;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  line-height: 1.6;
  color: var(--ink-dim);
}

/* --- contact sheet --- */

.obj-sheet { left: 6%; bottom: 9%; width: 27%; }

.sheet {
  display: block;
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  border-radius: 2px;
  transform: rotate(2.4deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.5, 1), border-color 0.4s ease;
}

.obj-sheet:hover .sheet { transform: rotate(-1deg) scale(1.05); border-color: var(--accent); }

.sheet-head {
  display: block;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  margin-bottom: 0.55rem;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.sheet-grid i {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(232, 185, 160, 0.4);
  border-radius: 1px;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.obj-sheet:hover .sheet-grid i { border-color: var(--accent); }
.obj-sheet:hover .sheet-grid i:nth-child(3) { background: rgba(232, 185, 160, 0.13); }

/* --- sticky note --- */

.obj-note { right: 8%; top: 12%; width: 15%; min-width: 108px; }

.note {
  display: grid;
  place-content: center;
  gap: 0.1rem;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(4deg);
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.obj-note:hover .note { transform: rotate(-3deg) scale(1.08); }

.note-line {
  font-family: var(--display);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  line-height: 1.05;
  color: var(--base);
}

.note-arrow {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--base);
  margin-top: 0.35rem;
}

.tag-dark { background: var(--ink); }

/* --- lens --- */

.obj-lens { right: 13%; bottom: 14%; width: 15%; min-width: 92px; }

.lens { display: block; position: relative; }

.lens-ring {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid rgba(232, 185, 160, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(232,185,160,0.16), rgba(0,0,0,0.5) 70%);
  transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.lens-glass {
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(232, 185, 160, 0.35);
  background: rgba(110, 20, 35, 0.5);
}

.obj-lens:hover .lens-ring { border-color: var(--accent); transform: rotate(18deg) scale(1.07); }

.lens-mm {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

/* --- the cat --- */

.obj-cat { left: 41%; bottom: 6%; width: 17%; min-width: 100px; }

.obj-cat img {
  display: block;
  width: 100%;
  border-radius: 50%;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.5, 1);
}

.obj-cat:hover img { transform: rotate(-7deg) scale(1.07); }

.smoke {
  position: absolute;
  left: 62%;
  bottom: 72%;
  width: 2px;
  height: 5rem;
}

.smoke i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(246, 231, 222, 0.5);
  animation: rise 5.5s ease-in infinite;
}

.smoke i:nth-child(2) { animation-delay: 1.8s; }
.smoke i:nth-child(3) { animation-delay: 3.6s; }

@keyframes rise {
  0%   { transform: translate(0, 0) scale(0.7); opacity: 0; }
  14%  { opacity: 0.55; }
  100% { transform: translate(14px, -5rem) scale(2.4); opacity: 0; }
}

/* --- furniture --- */

.obj-tray { left: 61%; bottom: 30%; width: 11%; min-width: 68px; }

.tray {
  display: grid;
  place-items: center;
  aspect-ratio: 2.4;
  border: 1px solid rgba(232, 185, 160, 0.22);
  border-radius: 50%;
}

.ash {
  width: 42%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ink) 60%, #5a1a10 60%);
  transform: rotate(-14deg);
}

.obj-ring {
  left: 33%;
  top: 22%;
  width: 8%;
  min-width: 52px;
  aspect-ratio: 1;
  border: 1px solid rgba(232, 185, 160, 0.13);
  border-radius: 50%;
}

.desk-fallback { display: none; margin-top: 2rem; }

@media (max-width: 860px) {
  .desk-stage { display: none; }
  .desk-hint { display: none; }
  .desk-fallback { display: flex; gap: 0.6rem; flex-wrap: wrap; }
  .desk-page .doors { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .smoke i { animation: none; opacity: 0; }
  .obj { transition: none; }
}
