/* EighteenTang 3.0 — hero review
   Static local first screen. Real text + the two supplied transparent cat PNGs.
   The display face is Arial Black, a local Windows font used as the closest
   available stand-in for the unidentified approved-image type. */

:root {
  --bg: #f4f3f1;
  --ink: #080808;
  --orange: #ff6b20;
  --stage-w: min(100vw, 1800px);
  --stage-h: calc(var(--stage-w) * 941 / 1672);
  --cw: min(100vw, 1800px);
  /* six real collection cards need more vertical room than the sample set */
  --ch: calc(var(--cw) * 0.84);
  --mw: min(100vw, 1800px);
  --mh: calc(var(--mw) * 0.57);
  --title-size: calc(var(--stage-w) * 0.1925);
  --tang-size: calc(var(--title-size) * 1.2);
  --display: "Arial Black", "Arial Bold", Arial, sans-serif;
  --ui: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

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

/* #made on initial load/refresh: let the native hash jump land instantly,
   and keep the portal's temporary room out of the arrival frame. */
html.is-made-arrival {
  scroll-behavior: auto;
}

html.is-made-arrival [data-portal] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
}

.stage {
  position: relative;
  width: var(--stage-w);
  height: var(--stage-h);
  isolation: isolate;
}

/* top-left mark */
.mark {
  position: absolute;
  top: 2.7%;
  left: 3.2%;
  z-index: 30;
  width: 8.4%;
  height: auto;
}

/* static navigation, intentionally not links yet */
.top-links {
  position: absolute;
  top: 2.8%;
  right: 2.4%;
  z-index: 30;
  display: flex;
  gap: 1.9em;
  font-size: calc(var(--stage-w) * 0.0155);
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.top-links a {
  text-decoration: none;
}

.top-links a:focus-visible {
  outline-offset: 5px;
}

/* the huge real-text name; one h1, two block spans */
.name {
  position: absolute;
  inset: 0;
  z-index: 15;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.025em;
  font-kerning: normal;
}

.name__line {
  position: absolute;
  display: block;
  line-height: 1;
  white-space: nowrap;
}

/* Position against visible glyphs, not the line box. Tang overlaps the belly;
   the little cat's body cut meets the lowercase shoulders, above the e counter. */
.name__line--eighteen {
  top: calc(20.9% - 0.18em);
  left: calc(4.3% - 0.075em);
  font-size: var(--title-size);
}

.name__line--tang {
  top: calc(56.5% - 0.18em);
  left: calc(4.3% - 0.025em);
  font-size: var(--tang-size);
  letter-spacing: 0.015em;
}

/* cats: supplied art, no shadows, no stretching.
   Oates is one complete transparent asset in front of the title. There is no
   back/front duplicate and no rectangular mask; the repaired silhouette must
   meet the glyphs on its own. */
.cat {
  position: absolute;
  z-index: 20;
  display: block;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.cat--front {
  z-index: 20;
}

.cat--bicolor {
  top: 2.2%;
  left: 75%;
  width: auto;
  height: 32.4%;
}

.cat--ginger {
  top: 32.5%;
  left: 8.8%;
  width: 57%;
  height: auto;
}

/* bottom copy */
.tagline {
  position: absolute;
  bottom: 2.9%;
  left: 2.6%;
  z-index: 30;
  font-family: var(--ui);
  font-size: calc(var(--stage-w) * 0.0155);
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  right: 2.4%;
  bottom: 2.9%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--ui);
  font-size: calc(var(--stage-w) * 0.0102);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.scroll-cue svg {
  width: calc(var(--stage-w) * 0.023);
  height: auto;
}

/* mobile: an independent composition, not a shrunken desktop */
@media (max-width: 820px) {
  :root {
    --stage-w: 100vw;
    /* width-bound composition keeps the cat/Tang contact independent of the
       shorter hero; the old stage height followed the viewport. */
    --stage-h: calc(var(--stage-w) * 2.1653);
  }

  .hero {
    display: block;
    min-height: 0;
    /* the copy is the content: 40px below the scroll cue, then the next screen.
       no viewport-fill height and no reserved 40-80px peek. */
    height: calc(var(--stage-w) * 1.089 + 137px);
  }

  .stage {
    width: 100vw;
    height: var(--stage-h);
  }

  .mark {
    top: 2.4%;
    left: 4.1%;
    width: 8%;
  }

  .top-links {
    top: 2.4%;
    right: 4.1%;
    gap: 1.7em;
    font-size: 13px;
  }

  .name {
    letter-spacing: -0.025em;
  }

  .name__line--eighteen {
    font-size: 19.8vw;
    top: calc(18% - 0.18em);
    left: calc(4.1% - 0.075em);
  }

  .name__line--tang {
    font-size: 29.55vw;
    /* Overlap the visible a/n/g shoulders with the belly, independently of
       the viewport height. The paws and tail stay in front of the letters. */
    top: calc(45% - 0.18em - 17.8vw);
    left: calc(4.1% - 0.025em);
    letter-spacing: 0.07em;
  }

  .cat--bicolor {
    top: 9.3%;
    left: 68.8%;
    width: 27.2%;
    height: auto;
  }

  .cat--ginger {
    top: 27.7%;
    left: 8.2%;
    width: 81%;
    height: auto;
  }

  .cat-pet--little {
    top: 7%;
    left: 68%;
    width: 26%;
    height: 12%;
  }

  .cat-pet--ginger {
    top: 27.7%;
    left: 14%;
    width: 20%;
    height: 16%;
  }

  .cat-feedback--little {
    top: 4.1%;
    left: 64.5%;
  }

  .cat-feedback--ginger {
    top: 24.4%;
    left: 30%;
  }

  .tagline {
    top: calc(var(--stage-w) * 1.089 + 48px);
    bottom: auto;
    left: 4.1%;
    font-size: 12px;
    line-height: 1.35;
  }

  .scroll-cue {
    top: calc(var(--stage-w) * 1.089 + 88px);
    right: auto;
    bottom: auto;
    left: 4.1%;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .scroll-cue svg {
    width: 28px;
  }
}

@media (max-width: 380px) {
  .top-links {
    gap: 1.2em;
    font-size: 12px;
  }

  .tagline {
    font-size: 11px;
  }
}

/* --- cat interaction -----------------------------------------------------
   Invisible-by-default real buttons over a small part of each cat. The cat
   PNGs stay in their original boxes; the buttons and feedback are overlays. */
.cat-pet {
  position: absolute;
  z-index: 21;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cat-pet--little {
  top: 3%;
  left: 74.5%;
  width: 18%;
  height: 27%;
  border-radius: 47% 44% 43% 48%;
}

.cat-pet--ginger {
  top: 32.5%;
  left: 8.8%;
  width: 23.5%;
  height: 23%;
  border-radius: 46% 48% 44% 47%;
}

.cat-pet:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.cat-feedback {
  position: absolute;
  z-index: 26;
  width: max-content;
  max-width: 15em;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  font-family: var(--ui);
  font-size: clamp(12px, calc(var(--stage-w) * 0.0105), 18px);
  line-height: 1;
}

.cat-feedback--little {
  top: 3%;
  left: 72.3%;
}

.cat-feedback--ginger {
  top: 29%;
  left: 23.5%;
}

.cat-feedback.is-playing {
  visibility: visible;
  opacity: 1;
  animation: cat-feedback-life 1.45s ease both;
}

.cat-feedback__bubble {
  position: relative;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.45em 0.65em;
  border: 1px solid var(--ink);
  border-radius: 12px 9px 12px 8px / 9px 12px 8px 11px;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  box-shadow: 1px 2px 0 rgba(8, 8, 8, 0.06);
  transform: rotate(-1.4deg);
}

/* the little cat's bubble points right; the ginger bubble points left */
.cat-feedback--little .cat-feedback__bubble::before,
.cat-feedback--little .cat-feedback__bubble::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.cat-feedback--little .cat-feedback__bubble::before {
  right: -6px;
  border-left: 6px solid var(--ink);
}

.cat-feedback--little .cat-feedback__bubble::after {
  right: -4px;
  top: 10px;
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left: 5px solid #fffdf8;
}

.cat-feedback--ginger .cat-feedback__bubble::before,
.cat-feedback--ginger .cat-feedback__bubble::after {
  content: "";
  position: absolute;
  left: 0.6em;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.cat-feedback--ginger .cat-feedback__bubble::before {
  bottom: -6px;
  border-top: 6px solid var(--ink);
}

.cat-feedback--ginger .cat-feedback__bubble::after {
  bottom: -4px;
  left: calc(0.6em + 1px);
  border-left-width: 4px;
  border-right-width: 4px;
  border-top: 5px solid #fffdf8;
}

.cat-feedback--little .cat-feedback__bubble {
  min-width: 2em;
}

.cat-feedback__question,
.cat-feedback__accept {
  display: grid;
  place-items: center;
  min-height: 1em;
}

.cat-feedback__accept {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 120ms ease;
}

.cat-feedback__accept svg {
  width: 0.9em;
  height: 0.82em;
  color: var(--orange);
}

.cat-feedback--little.is-heart .cat-feedback__question {
  opacity: 0;
}

.cat-feedback--little.is-heart .cat-feedback__accept {
  opacity: 1;
}

.cat-feedback__heart {
  position: absolute;
  left: calc(100% + 0.15em);
  top: 0.7em;
  width: 1.05em;
  height: 0.96em;
  color: var(--orange);
  opacity: 0;
}

.cat-feedback__heart svg {
  width: 100%;
  height: 100%;
}

.cat-feedback.is-playing .cat-feedback__heart {
  opacity: 1;
  animation: cat-heart-rise 1.3s ease-out both;
}

@keyframes cat-feedback-life {
  0% {
    opacity: 0;
    transform: translateY(3px) scale(0.97);
  }
  12% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-1px) scale(1);
  }
}

@keyframes cat-heart-rise {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.85);
  }
  15% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-9px) scale(0.95);
  }
}

.cat-stamp {
  position: absolute;
  z-index: 30;
  left: 31%;
  bottom: 2.9%;
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0;
  padding: 0.35em 0.6em;
  border: 1px solid var(--ink);
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--ui);
  font-size: clamp(9px, calc(var(--stage-w) * 0.0068), 12px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: rotate(-1.2deg);
  transform-origin: left center;
  box-shadow: 1px 2px 0 rgba(8, 8, 8, 0.06);
}

.cat-stamp.is-visible {
  visibility: visible;
  opacity: 1;
  animation: cat-stamp-life 2s ease both;
}

.cat-stamp__dot {
  width: 0.55em;
  height: 0.55em;
  flex: 0 0 auto;
  background: var(--orange);
  transform: rotate(45deg);
}

@keyframes cat-stamp-life {
  0% {
    opacity: 0;
    transform: rotate(-1.2deg) translateY(3px);
  }
  12% {
    opacity: 1;
    transform: rotate(-1.2deg) translateY(0);
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-1.2deg) translateY(-1px);
  }
}

.cat-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .cat-pet--ginger {
    top: 26%;
    left: 10%;
    width: 33%;
    height: 24%;
  }

  .cat-feedback {
    font-size: 12px;
  }

  .cat-feedback--ginger {
    top: 33%;
    left: 42.5%;
  }

  .cat-feedback--ginger .cat-feedback__bubble::before,
  .cat-feedback--ginger .cat-feedback__bubble::after {
    bottom: auto;
    top: 9px;
    left: auto;
  }

  .cat-feedback--ginger .cat-feedback__bubble::before {
    left: -6px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid var(--ink);
  }

  .cat-feedback--ginger .cat-feedback__bubble::after {
    left: -4px;
    top: 10px;
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-right: 5px solid #fffdf8;
  }

  .cat-stamp {
    top: calc(var(--stage-w) * 1.089 + 67px);
    left: 4.1%;
    bottom: auto;
    font-size: 8px;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-feedback.is-playing {
    animation: cat-feedback-fade 1.45s linear both;
  }

  .cat-feedback.is-playing .cat-feedback__heart {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cat-feedback__bubble,
  .cat-feedback__heart,
  .cat-stamp {
    transform: none;
  }

  .cat-feedback__accept {
    transition: none;
  }

  .cat-stamp.is-visible {
    animation: cat-stamp-fade 2s linear both;
  }
}

@keyframes cat-feedback-fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes cat-stamp-fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* =========================================================================
   02 · COLLECTED
   A window onto a collection canvas. Sharp paper cards, a large black word
   behind them, and one orange-edged preview of the next room.
   ========================================================================= */

.collected {
  position: relative;
  z-index: 1;
}

.collected__stage {
  position: relative;
  width: var(--cw);
  height: max(var(--ch), 1100px);
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
}

.collected__top {
  position: absolute;
  top: 2.7%;
  right: 2.4%;
  left: 2.5%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.collected__mark {
  width: 6.5%;
  height: auto;
}

.collected__nav {
  display: flex;
  gap: 1.9em;
  font-family: var(--ui);
  font-size: calc(var(--cw) * 0.0155);
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  pointer-events: auto;
}

.collected__nav a {
  text-decoration: none;
}

.collected__nav a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

.collected__word {
  position: absolute;
  top: 3.5%;
  left: 2.5%;
  z-index: 1;
  font-family: var(--display);
  font-size: calc(var(--cw) * 0.12);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.collected__sample {
  position: absolute;
  top: 2.9%;
  left: 11%;
  z-index: 5;
  font-family: var(--ui);
  font-size: calc(var(--cw) * 0.0068);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4e4b46;
  white-space: nowrap;
}

.sample-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.sample-card {
  position: absolute;
  display: block;
  background: #fffdf8;
  border: 1px solid rgba(8, 8, 8, 0.08);
  box-shadow: 0 6px 18px rgba(8, 8, 8, 0.10);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sample-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

/* A visual inner layer so drift/parallax never writes the card layout box. */
.sample-card.has-card-motion {
  background: none;
  border: 0;
  box-shadow: none;
}

.sample-card__motion {
  position: relative;
  background: #fffdf8;
  border: 1px solid rgba(8, 8, 8, 0.08);
  box-shadow: 0 6px 18px rgba(8, 8, 8, 0.10);
}

.sample-card__cover {
  position: relative;
  overflow: hidden;
  background: #dedbd4;
}

.sample-card__cover > svg,
.sample-card__cover > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Every collection cover is an illustration, never the article's own image. */
.cover-note {
  position: absolute;
  right: 6%;
  bottom: 6%;
  z-index: 3;
  padding: 4px 6px;
  background: rgba(255, 253, 248, 0.86);
  color: #4a4640;
  font-family: var(--ui);
  font-size: max(8px, calc(var(--cw) * 0.0058));
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sample-card__body {
  padding: calc(var(--cw) * 0.0108) calc(var(--cw) * 0.0118);
}

.sample-card__title {
  font-family: var(--display);
  font-size: calc(var(--cw) * 0.0178);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.sample-card__summary {
  margin-top: calc(var(--cw) * 0.008);
  font-family: var(--ui);
  font-size: max(12px, calc(var(--cw) * 0.0088));
  line-height: 1.4;
  color: #3e3b36;
}

.sample-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  margin-top: calc(var(--cw) * 0.009);
  font-family: var(--ui);
  font-size: max(12px, calc(var(--cw) * 0.009));
  line-height: 1.45;
  color: #35332f;
}

.sample-card__author,
.sample-card__theme {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sample-card__theme {
  color: #5f5b54;
}

.sample-card__saved {
  margin-top: 1px;
  color: #7b766e;
  white-space: nowrap;
}

/* desktop card geometry: the 3:4 portal sits centre-right; three cards
   stack on each side and the wide reading card sits below the portal. */
.sample-card--tools {
  top: 18%;
  left: 1.2%;
  width: 21.5%;
}

.sample-card--tools .sample-card__cover {
  aspect-ratio: 4 / 3;
}

.sample-card--systems {
  top: 22.5%;
  left: 24.5%;
  width: 14.8%;
}

.sample-card--systems .sample-card__cover {
  aspect-ratio: 4 / 3;
}

.sample-card--outside {
  top: 56.8%;
  left: 2%;
  width: 22%;
}

.sample-card--outside .sample-card__cover {
  aspect-ratio: 4 / 3;
}

.sample-card--reading {
  top: 68%;
  left: 42%;
  width: 22%;
}

.sample-card--reading .sample-card__cover {
  aspect-ratio: 16 / 9;
}

.sample-card--making {
  top: 18%;
  left: 77%;
  width: 20%;
}

.sample-card--making .sample-card__cover {
  aspect-ratio: 4 / 3;
}

.sample-card--internet {
  top: 55%;
  left: 73%;
  width: 27%;
}

.sample-card--internet .sample-card__cover {
  aspect-ratio: 2.2 / 1;
}

/* the typographic cover is deliberately image-free */
.cover--type {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  background: #f7f3e9;
}

.cover-type__aa {
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(var(--cw) * 0.1);
  font-style: italic;
  line-height: 0.8;
}

.cover-type__cjk {
  margin-left: 0.04em;
  font-family: "Songti SC", SimSun, "Times New Roman", serif;
  font-size: calc(var(--cw) * 0.084);
  line-height: 0.9;
}

.cover-type__rule {
  position: absolute;
  bottom: 12%;
  left: 12%;
  width: 25%;
  height: 2px;
  background: var(--orange);
}

/* image-free editorial cover used between photographic/typographic covers */
.cover--plain {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8% 10%;
  overflow: hidden;
  background: #f2eee5;
}

.cover--plain::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 10%;
  width: 1px;
  height: 34%;
  background: var(--orange);
}

.cover-plain__index {
  font-family: var(--display);
  font-size: calc(var(--cw) * 0.072);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.cover-plain__label {
  max-width: 78%;
  margin-top: 9%;
  font-family: var(--ui);
  font-size: max(8px, calc(var(--cw) * 0.0068));
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4640;
}

/* small interface schematic cover */
.cover--ui {
  display: flex;
  align-items: center;
  background: #e6e3de;
  padding: 7%;
}

.cover-ui {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 86%;
  border: 1px solid #c9c6c0;
  background: #faf8f3;
  box-shadow: 0 9px 18px rgba(8, 8, 8, 0.1);
}

.cover-ui__bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 17%;
  padding: 0 5%;
  border-bottom: 1px solid #dcd9d2;
}

.cover-ui__bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b8b4ad;
}

.cover-ui__bar i {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--orange);
}

.cover-ui__body {
  display: flex;
  flex: 1;
}

.cover-ui__side {
  display: flex;
  flex-direction: column;
  gap: 13%;
  width: 25%;
  padding: 12% 17%;
  border-right: 1px solid #dcd9d2;
}

.cover-ui__side span {
  height: 2px;
  background: #aca8a0;
}

.cover-ui__main {
  display: grid;
  flex: 1;
  place-items: center;
}

.cover-ui__play {
  position: relative;
  width: 33%;
  aspect-ratio: 1;
  background: var(--orange);
}

.cover-ui__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 56%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 17px solid #fffdf8;
  transform: translate(-50%, -50%);
}

/* flat blue/orange internet cover */
.cover--internet {
  position: relative;
  overflow: hidden;
  background: #213ac7;
}

.cover-web__circle {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
}

.cover-web__circle--one {
  top: -26%;
  right: -14%;
  width: 58%;
  aspect-ratio: 1;
}

.cover-web__circle--two {
  bottom: -34%;
  left: -12%;
  width: 44%;
  aspect-ratio: 1;
  background: #ff8a4d;
}

.cover-web__circle--three {
  top: 20%;
  left: 32%;
  width: 17%;
  aspect-ratio: 1;
  background: transparent;
  border: 2px solid var(--orange);
}

.cover-web__label {
  position: absolute;
  bottom: 8%;
  left: 7%;
  color: #f7f4ec;
  font-family: var(--ui);
  font-size: calc(var(--cw) * 0.0074);
  line-height: 1;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

/* orange-edged micro-scene of the next room; same four images as MADE */
.universe-entry {
  position: absolute;
  top: 15%;
  left: 42%;
  z-index: 3;
  display: block;
  width: 27%;
  color: inherit;
  text-decoration: none;
}

.universe-entry:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}

.universe-entry__frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid var(--orange);
  background: #f3f1ec;
}

.entry-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f3f1ec;
}

/* flat, shallow room: back wall, side walls, ceiling and floor */
.entry-room {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.entry-room__back {
  position: absolute;
  inset: 12% 16% 24%;
  background: #f8f6f1;
  box-shadow: inset 0 -1px 0 rgba(8, 8, 8, 0.045);
}

.entry-room__ceiling {
  position: absolute;
  inset: 0;
  background: #f5f2ec;
  clip-path: polygon(0 0, 16% 12%, 84% 12%, 100% 0);
}

.entry-room__left {
  position: absolute;
  inset: 0;
  background: #ebe7df;
  clip-path: polygon(0 0, 16% 12%, 16% 76%, 0 100%);
}

.entry-room__right {
  position: absolute;
  inset: 0;
  background: #f0ece5;
  clip-path: polygon(100% 0, 84% 12%, 84% 76%, 100% 100%);
}

.entry-room__floor {
  position: absolute;
  inset: 0;
  background: #e8e3db;
  clip-path: polygon(0 100%, 16% 76%, 84% 76%, 100% 100%);
}

.entry-scene__item {
  position: absolute;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 4px 7px rgba(8, 8, 8, 0.10));
}

.entry-scene__item--translator {
  top: 23%;
  left: 3%;
  z-index: 1;
  width: 35%;
}

.entry-scene__item--xnewfish {
  top: 6%;
  right: 3%;
  z-index: 2;
  width: 43%;
}

.entry-scene__item--bridge {
  top: 51%;
  left: 14%;
  z-index: 3;
  width: 57%;
}

.entry-scene__item--toolbox {
  top: 71%;
  right: 6%;
  z-index: 4;
  width: 25%;
}

.universe-entry__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: calc(var(--cw) * 0.0075);
}

.universe-entry__title {
  font-family: var(--display);
  font-size: calc(var(--cw) * 0.0104);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.universe-entry__explore {
  font-family: var(--ui);
  font-size: calc(var(--cw) * 0.0072);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================================================
   03 · MADE
   Four sample objects, their real captions, a back-layer word and five small
   field notes. No cards, no detail view, no extra navigation.
   ========================================================================= */

.made {
  position: relative;
  z-index: 2;
  min-height: 100svh;
}

.made__stage {
  position: relative;
  width: var(--mw);
  height: var(--mh);
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
}

.made__title {
  position: absolute;
  top: 1.5%;
  left: 2.5%;
  z-index: 1;
  font-family: var(--display);
  font-size: calc(var(--mw) * 0.18);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.made__works {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.made-work {
  position: absolute;
  margin: 0;
}

.made-work__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.made-work__button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}

.made-work__art {
  display: block;
  width: 100%;
}

.made-work__art img {
  width: 100%;
  height: auto;
  max-width: none;
}

.made-work__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.45em;
  row-gap: 2px;
  margin-top: calc(var(--mw) * 0.008);
  font-family: var(--ui);
  font-size: max(14px, calc(var(--mw) * 0.0097));
  line-height: 1.35;
  color: var(--ink);
}

.made-work__num {
  color: #4f4b45;
  font-size: max(14px, calc(var(--mw) * 0.0097));
  letter-spacing: 0.02em;
}

.made-work__name {
  font-family: var(--display);
  font-size: max(16px, calc(var(--mw) * 0.0146));
  line-height: 1;
  letter-spacing: -0.02em;
}

.made-work__sub {
  flex-basis: 100%;
  font-size: max(14px, calc(var(--mw) * 0.0097));
  line-height: 1.35;
  color: #4f4b45;
}

.made-work--translator {
  top: 21%;
  left: 3.5%;
  width: 38%;
}

.made-work--xnewfish {
  top: 3%;
  left: 59%;
  width: 38%;
}

.made-work--bridge {
  top: 58%;
  left: 28%;
  width: 35%;
}

.made-work--toolbox {
  top: 52.4%;
  left: 72%;
  width: 25%;
}

.made__interests {
  position: absolute;
  left: 2.5%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 58%;
  font-family: var(--ui);
  color: #716d66;
}

.made__interests-label {
  font-size: calc(var(--mw) * 0.0076);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a857d;
}

.made__interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: calc(var(--mw) * 0.0076);
  line-height: 1.3;
}

/* =========================================================================
   04 · CONTACT
   A compact closing strip in the same warm paper space as MADE.
   ========================================================================= */

.contact {
  position: relative;
  z-index: 2;
  padding: clamp(52px, 7vh, 88px) 0 calc(44px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.contact__inner {
  width: var(--mw);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 2.5%;
}

.contact__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.11);
}

.contact__title {
  font-family: var(--ui);
  font-size: max(11px, calc(var(--mw) * 0.0078));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__note {
  font-family: var(--ui);
  font-size: max(11px, calc(var(--mw) * 0.0072));
  line-height: 1;
  letter-spacing: 0.04em;
  color: #7b766e;
}

.contact__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact__item {
  flex: 1 1 220px;
  min-width: 0;
}

.contact__item--empty-group {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  pointer-events: none;
}

.contact__item--empty-group .contact__empty {
  width: 64px;
  min-height: 64px;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 8, 8, 0.12);
  color: inherit;
  text-decoration: none;
}

.contact__channel:hover {
  border-color: rgba(8, 8, 8, 0.3);
}

.contact__channel:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.contact__mark {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.contact__mark svg {
  width: 22px;
  height: 22px;
}

.contact__mark--x {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

.contact__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.contact__label {
  font-family: var(--ui);
  font-size: max(10px, calc(var(--mw) * 0.0072));
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #77726a;
}

.contact__value {
  font-family: var(--ui);
  font-size: max(13px, calc(var(--mw) * 0.0092));
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact__out {
  margin-left: auto;
  align-self: flex-start;
  font-size: 14px;
  line-height: 1;
  color: #77726a;
}

.contact__empty {
  display: block;
  min-height: 64px;
  border: 1px dashed rgba(8, 8, 8, 0.16);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* native work detail dialog; background is the browser's modal backdrop */
html.work-dialog-open {
  overflow: hidden;
}

.work-dialog {
  width: min(92vw, 560px);
  max-height: min(86svh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overflow-wrap: anywhere;
  scrollbar-gutter: stable;
  border: 1px solid rgba(8, 8, 8, 0.12);
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--ui);
}

.work-dialog::backdrop {
  background: rgba(244, 243, 241, 0.78);
}

.work-dialog__panel {
  position: relative;
  padding: 28px 30px 26px;
}

.work-dialog__close {
  position: sticky;
  top: 0;
  z-index: 3;
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid rgba(8, 8, 8, 0.14);
  border-radius: 50%;
  background: #fffdf8;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.work-dialog__close:hover {
  border-color: var(--orange);
}

.work-dialog__close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.work-dialog__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.work-dialog__thumb {
  width: 72px;
  height: 58px;
  object-fit: contain;
  flex: none;
}

.work-dialog__kind {
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6f6b64;
}

.work-dialog__title {
  font-family: var(--display);
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.work-dialog__summary {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.35;
}

.work-dialog__features {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(8, 8, 8, 0.12);
}

.work-dialog__label {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6f6b64;
}

.work-dialog__feature-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.work-dialog__feature-list li + li {
  margin-top: 6px;
}

.work-dialog__repo {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--orange);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.work-dialog__repo:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.work-dialog__external {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #6f6b64;
}

[hidden] {
  display: none !important;
}

/* Desktop scroll-driven passage from the COLLECTED window into MADE.
   The layer is non-interactive; only the real MADE buttons are interactive. */
.portal-transition {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
}

.portal-transition__scrim {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
}

.portal-transition__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  overflow: hidden;
  border: 2px solid var(--orange);
  background: #f3f1ec;
  transform-origin: 0 0;
  will-change: transform, opacity;
}

.portal-transition__room {
  position: absolute;
  inset: 0;
}

.portal-transition__back {
  position: absolute;
  inset: 12% 16% 24%;
  background: #f8f6f1;
  box-shadow: inset 0 -1px 0 rgba(8, 8, 8, 0.045);
}

.portal-transition__ceiling {
  position: absolute;
  inset: 0;
  background: #f5f2ec;
  clip-path: polygon(0 0, 16% 12%, 84% 12%, 100% 0);
}

.portal-transition__left {
  position: absolute;
  inset: 0;
  background: #ebe7df;
  clip-path: polygon(0 0, 16% 12%, 16% 76%, 0 100%);
}

.portal-transition__right {
  position: absolute;
  inset: 0;
  background: #f0ece5;
  clip-path: polygon(100% 0, 84% 12%, 84% 76%, 100% 100%);
}

.portal-transition__floor {
  position: absolute;
  inset: 0;
  background: #e8e3db;
  clip-path: polygon(0 100%, 16% 76%, 84% 76%, 100% 100%);
}

.portal-transition__title {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-family: var(--display);
  font-size: calc(var(--cw) * 0.0104);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform, opacity;
}

.portal-transition__objects {
  position: absolute;
  inset: 0;
}

.portal-transition__object {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
}

.portal-transition__object img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.portal-transition__object--translator { z-index: 1; }
.portal-transition__object--xnewfish { z-index: 2; }
.portal-transition__object--bridge { z-index: 3; }
.portal-transition__object--toolbox { z-index: 4; }

html.is-portal .universe-entry__frame,
html.is-portal .universe-entry__caption {
  opacity: 0;
}

html.is-portal .universe-entry {
  pointer-events: none;
}

html.is-portal .made-work__art img {
  opacity: 0;
}

html.is-portal .made__title,
html.is-portal .made-work__caption,
html.is-portal .made__interests {
  opacity: var(--portal-made-reveal, 0);
}

html.is-portal .made-work {
  pointer-events: none;
}

@media (max-width: 1099px), (prefers-reduced-motion: reduce) {
  .portal-transition {
    display: none !important;
  }
}

/* mobile collected canvas: a readable vertical sequence, not a shrunken desktop */
@media (max-width: 820px) {
  .collected__stage {
    width: 100%;
    height: auto;
    padding-top: 24px;
    overflow: visible;
  }

  .collected__top {
    display: none;
  }

  .collected__word {
    position: relative;
    top: auto;
    left: 4.1%;
    width: max-content;
    margin: 0;
    font-size: 12.1vw;
    line-height: 0.9;
    letter-spacing: -0.03em;
  }

  .collected__sample {
    position: absolute;
    top: 0;
    left: 4.1%;
    z-index: 5;
    margin: 0;
    padding: 4px 6px;
    background: var(--bg);
    font-size: 9px;
  }

  .sample-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 2px;
    padding: 0 4.1%;
  }

  .sample-card {
    position: relative;
    width: 100%;
    box-shadow: 0 6px 16px rgba(8, 8, 8, 0.10);
  }

  .sample-card__motion {
    box-shadow: 0 6px 16px rgba(8, 8, 8, 0.10);
  }

  .sample-card.has-card-motion {
    box-shadow: none;
  }

  .sample-card--tools {
    top: auto;
    left: auto;
  }

  .sample-card--systems {
    top: auto;
    left: auto;
    width: calc(100% - 14px);
    margin-left: 14px;
  }

  .sample-card--outside {
    top: auto;
    left: auto;
  }

  .sample-card--reading {
    top: auto;
    left: auto;
    width: calc(100% - 20px);
    margin-left: auto;
  }

  .sample-card--making {
    top: auto;
    left: auto;
    width: calc(100% - 8px);
    margin-left: 10px;
  }

  .sample-card--internet {
    top: auto;
    left: auto;
    width: calc(100% - 4px);
    margin-left: auto;
  }

  .sample-card__body {
    padding: 15px 16px 16px;
  }

  .sample-card__title {
    font-size: clamp(22px, 6.2vw, 28px);
  }

  .sample-card__summary {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .sample-card__meta {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .cover-note {
    font-size: 8px;
  }

  .cover-type__aa {
    font-size: 25vw;
  }

  .cover-type__cjk {
    font-size: 21vw;
  }

  .cover-web__label {
    font-size: 8px;
  }

  .universe-entry {
    position: relative;
    top: auto;
    left: auto;
    width: calc((100% - 8.2%) * 0.9);
    margin: 46px auto 0;
  }

  .universe-entry__caption {
    margin-top: 10px;
  }

  .universe-entry__title {
    font-size: 22px;
  }

  .universe-entry__explore {
    font-size: 12px;
  }

  .collected {
    padding-bottom: 62px;
  }

  /* MADE on mobile: a vertical sequence of groups, not four white cards */
  .made__stage {
    width: 100%;
    height: auto;
    padding: 26px 4.1% 64px;
    overflow: visible;
  }

  .made__title {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 0 4px;
    font-size: 22vw;
    line-height: 0.85;
  }

  .made__works {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 46px;
  }

  .made-work {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 0;
  }

  .made-work--translator {
    width: 90%;
    margin-left: 0;
  }

  .made-work--xnewfish {
    width: 92%;
    margin-left: auto;
  }

  .made-work--bridge {
    width: 95%;
    margin-left: 0;
  }

  .made-work--toolbox {
    width: 82%;
    margin-left: auto;
    margin-right: 4%;
  }

  .made__interests {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    max-width: none;
    margin: 40px 0 0;
  }

  .made__interests-label {
    display: block;
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.3;
  }

  .made__interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 13px;
    line-height: 1.45;
    color: #6f6b64;
  }

  .made-work__caption {
    margin-top: 10px;
    row-gap: 4px;
    font-size: 14px;
    line-height: 1.4;
  }

  .made-work__num {
    font-size: 14px;
  }

  .made-work__name {
    font-size: clamp(20px, 5.6vw, 22px);
  }

  .made-work__sub {
    font-size: 14px;
  }

  .work-dialog {
    width: calc(100vw - 24px);
    max-height: 92svh;
  }

  .work-dialog__panel {
    padding: 20px 20px 22px;
  }

  .work-dialog__close {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .work-dialog__head {
    gap: 12px;
    min-height: 56px;
  }

  .work-dialog__thumb {
    width: 58px;
    height: 48px;
  }

  .work-dialog__title {
    font-size: 26px;
  }

  .work-dialog__summary {
    margin-top: 18px;
    font-size: 16px;
  }

  .work-dialog__feature-list {
    font-size: 13px;
  }

  .work-dialog__repo {
    font-size: 13px;
  }

  .contact {
    padding: 46px 0 calc(42px + env(safe-area-inset-bottom));
  }

  .contact__inner {
    width: 100%;
    padding-inline: 4.1%;
  }

  .contact__head {
    padding-bottom: 13px;
  }

  .contact__title,
  .contact__note {
    font-size: 11px;
  }

  .contact__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .contact__item {
    grid-column: 1 / -1;
  }

  .contact__item--empty-group {
    grid-column: 1 / -1;
    display: flex;
    justify-self: start;
    gap: 12px;
    width: auto;
  }

  .contact__item--empty-group .contact__empty {
    width: 54px;
    min-height: 44px;
  }

  .contact__channel {
    min-height: 60px;
    padding: 11px 12px;
  }

}

@media (max-width: 380px) {
  .collected__stage {
    padding-top: 22px;
  }

  .collected__word {
    margin-top: 0;
    font-size: 12.1vw;
  }

  .collected__sample {
    top: 0;
    font-size: 9px;
  }

  .sample-card__title {
    font-size: 21px;
  }

  .sample-card__meta {
    font-size: 13px;
    line-height: 1.45;
  }

  .universe-entry__title {
    font-size: 20px;
  }

  .universe-entry__explore {
    font-size: 11px;
  }

  .made__title {
    font-size: 22vw;
  }

  .made-work__caption {
    font-size: 14px;
  }

  .made-work__num,
  .made-work__sub {
    font-size: 14px;
  }

  .made-work__name {
    font-size: 20px;
  }

  .work-dialog__panel {
    padding: 16px 16px 20px;
  }

  .work-dialog__title {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================================
   05 · COLLECTION CANVAS (2026-11-14)
   The six links are the same content in every mode. Without the canvas
   enhancement they form a finite horizontal track; the desktop canvas
   positions the originals plus aria-hidden visual repeats.
   ========================================================================= */

.collected {
  padding: 0;
}

.collected__stage {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-inline: auto;
  padding: 24px 4.1% 54px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.collected__top {
  position: relative;
  inset: auto;
  order: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.collected__mark {
  width: 36px;
}

.collected__nav {
  font-size: 13px;
}

.collected__nav a {
  pointer-events: auto;
}

.collected__word {
  position: relative;
  top: auto;
  left: auto;
  order: 1;
  width: max-content;
  margin: 12px 0 2px;
  font-size: 12vw;
  line-height: 0.9;
}

.collected__sample {
  position: relative;
  top: auto;
  left: auto;
  order: 2;
  margin: 0 0 14px;
  font-size: 9px;
  white-space: nowrap;
}

.collection-window {
  position: relative;
  order: 3;
  width: 100%;
  min-width: 0;
  background: #fbf8f1;
  border: 1px solid #d9d2c6;
  box-shadow: 0 3px 12px rgba(8, 8, 8, 0.055);
}

.collection-track {
  display: flex;
  gap: 16px;
  padding: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 8, 8, 0.22) transparent;
}

.collection-card {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: min(78vw, 320px);
  background: #fffdf8;
  border: 1px solid #d8d2c7;
  box-shadow: 0 3px 9px rgba(8, 8, 8, 0.065);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.collection-card img {
  -webkit-user-drag: none;
}

.collection-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.collection-card .sample-card__cover {
  aspect-ratio: 16 / 9;
}

.collection-card .sample-card__body {
  padding: 11px 12px 12px;
}

.collection-card .sample-card__title {
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.04;
}

.collection-card .sample-card__summary {
  margin-top: 7px;
  font-size: max(11px, 0.72vw);
  line-height: 1.4;
}

.collection-card .sample-card__meta {
  margin-top: 8px;
  font-size: max(11px, 0.66vw);
  line-height: 1.4;
}

.collection-card .cover-type__aa {
  font-size: calc(var(--cw) * 0.086);
}

.collection-card .cover-type__cjk {
  font-size: calc(var(--cw) * 0.07);
}

.collection-card .cover-note {
  font-size: max(8px, calc(var(--cw) * 0.0054));
}

.collection-toolbar {
  order: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px 0;
}

.collection-hint {
  font-family: var(--ui);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #7a746b;
}

.collection-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #cfc8bc;
  background: #fbf8f1;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.collection-toggle[hidden] {
  display: none;
}

.collection-toggle:hover {
  border-color: #9f978a;
}

.collection-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.collection-toggle__icon {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
}

.collection-toggle__icon::before,
.collection-toggle__icon::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 2px;
  height: 8px;
  background: currentColor;
}

.collection-toggle__icon::before {
  left: 2px;
}

.collection-toggle__icon::after {
  right: 2px;
}

.collection-toggle.is-paused .collection-toggle__icon::before {
  top: 0;
  left: 1px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  background: none;
}

.collection-toggle.is-paused .collection-toggle__icon::after {
  display: none;
}

.collected__foreground {
  order: 5;
  width: min(82%, 360px);
  margin: 28px auto 0;
}

.universe-entry {
  position: relative;
  inset: auto;
  z-index: 3;
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.universe-entry__frame {
  border: 2px solid var(--orange);
  box-shadow: inset 0 0 0 5px #fbf8f1, 0 7px 18px rgba(8, 8, 8, 0.07);
}

/* Desktop canvas state is added only when JS + wide + motion are available. */
.collected.is-canvas .collected__stage {
  height: 100svh;
  min-height: 620px;
  padding: 0;
  display: block;
  overflow: hidden;
}

.collected.is-canvas .collected__top {
  position: absolute;
  top: 2.7%;
  left: 2.5%;
  right: 2.4%;
  width: auto;
  z-index: 8;
}

.collected.is-canvas .collected__mark {
  width: 6.5%;
}

.collected.is-canvas .collected__nav {
  font-size: calc(var(--cw) * 0.0155);
}

.collected.is-canvas .collected__word {
  position: absolute;
  top: 3.5%;
  left: 2.5%;
  z-index: 1;
  margin: 0;
  font-size: calc(var(--cw) * 0.12);
  line-height: 1;
}

.collected.is-canvas .collected__sample {
  position: absolute;
  top: 2.9%;
  left: 11%;
  z-index: 8;
  margin: 0;
  font-size: calc(var(--cw) * 0.0068);
}

.collected.is-canvas .collection-window {
  position: absolute;
  top: 27%;
  bottom: 3%;
  left: 2.5%;
  width: 60%;
  overflow: hidden;
  background: #fbf8f1;
  border: 1px solid #d4ccbf;
  box-shadow: inset 0 0 0 5px rgba(255, 253, 248, 0.55), 0 5px 18px rgba(8, 8, 8, 0.05);
}

.collected.is-canvas .collection-track {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  padding: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.collected.is-canvas .collection-card {
  position: absolute;
  width: var(--collection-card-w, 244px);
  margin: 0;
}

.collected.is-canvas .collection-card.is-clone {
  cursor: pointer;
}

.collected.is-canvas .collection-toolbar {
  position: absolute;
  top: 23.2%;
  left: 2.5%;
  right: 40%;
  z-index: 8;
  padding: 0;
}

.collected.is-canvas .collection-hint {
  font-size: max(10px, calc(var(--cw) * 0.007));
}

.collected.is-canvas .collected__foreground {
  position: absolute;
  top: 27%;
  right: 2.5%;
  z-index: 6;
  width: 27%;
  margin: 0;
}

/* Second-pass canvas composition: no boxed shelf, varied card widths and
   deterministic vertical offsets. The entry stays a separate right column. */
.collected.is-canvas .collection-window {
  top: 23%;
  bottom: 0.5%;
  left: 0;
  width: 70%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.collected.is-canvas .collection-toolbar {
  top: 7%;
  left: auto;
  right: 2.5%;
  width: auto;
  padding: 0;
  gap: 14px;
}

.collected.is-canvas .collection-hint {
  font-size: max(10px, calc(var(--cw) * 0.0072));
  color: #6d675e;
}

.collected.is-canvas .collection-toggle {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: max(11px, calc(var(--cw) * 0.0078));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.collected.is-canvas .collection-toggle:hover {
  text-decoration-thickness: 2px;
}

.collected.is-canvas .collection-toggle__icon {
  display: none;
}

.collected.is-canvas .collection-card .sample-card__body {
  padding: 13px 14px 14px;
}

.collected.is-canvas .collected__foreground::before {
  content: "";
  position: absolute;
  inset: -18px -18px -22px -18px;
  z-index: -1;
  background: var(--bg);
}

.collected.is-canvas .universe-entry {
  width: 100%;
}

/* Tablet / phone / reduced-motion / no-JS use the finite horizontal track. */
@media (max-width: 820px) {
  .collected__stage {
    padding: 24px 4.1% 48px;
  }

  .collected__top {
    display: flex;
    top: auto;
    left: auto;
    right: auto;
  }

  .collected__mark {
    width: 34px;
  }

  .collected__nav {
    font-size: 13px;
  }

  .collected__word {
    left: auto;
    margin-top: 10px;
    font-size: 12.1vw;
  }

  .collected__sample {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .collection-window {
    background: #fbf8f1;
  }

  .collection-track {
    gap: 14px;
    padding: 12px;
  }

  .collection-card {
    width: min(78vw, 320px);
  }

  .collection-card .sample-card__cover {
    aspect-ratio: 16 / 9;
  }

  .collection-card .sample-card__title {
    font-size: 22px;
  }

  .collection-card .sample-card__summary {
    font-size: 13px;
  }

  .collection-card .sample-card__meta {
    font-size: 13px;
  }

  .collected__foreground {
    width: min(82%, 360px);
    margin-top: 28px;
  }

  .universe-entry {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0 auto;
  }

  .universe-entry__caption {
    margin-top: 10px;
  }

  .universe-entry__title {
    font-size: 22px;
  }

  .universe-entry__explore {
    font-size: 12px;
  }

  .collection-toolbar {
    padding-top: 10px;
  }

  .collection-toggle {
    display: none;
  }
}

@media (max-width: 380px) {
  .collection-card .sample-card__title {
    font-size: 21px;
  }

  .collection-card .sample-card__meta {
    font-size: 12px;
  }
}

/* =========================================================================
   06 · MADE breathing, summaries, beyond-work tags, CONTACT ending
   ========================================================================= */

.made {
  padding-top: clamp(56px, 7vh, 88px);
}

.made__stage {
  height: calc(var(--mw) * 0.60);
}

.made-work__summary {
  flex-basis: 100%;
  font-family: var(--ui);
  font-size: max(13px, calc(var(--mw) * 0.0085));
  line-height: 1.35;
  color: #4a463f;
}

.made__beyond {
  position: absolute;
  left: 2.5%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 74%;
  font-family: var(--ui);
}

.made__beyond-title {
  font-size: calc(var(--mw) * 0.0076);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a857d;
  white-space: nowrap;
}

.made__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.made__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 8px 4px 6px;
  border: 1px solid #d8d2c7;
  background: #fbf8f1;
  color: #5f5a51;
  font-size: max(11px, calc(var(--mw) * 0.0074));
  line-height: 1;
  white-space: nowrap;
  cursor: default;
}

.made__tag-icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: #6c665c;
}

.made__tag-icon svg {
  width: 17px;
  height: 17px;
}

.contact {
  padding: clamp(70px, 9vh, 108px) 0 calc(58px + env(safe-area-inset-bottom));
}

.contact__head {
  padding-bottom: 18px;
}

.contact__list {
  margin-top: 28px;
  gap: 16px 32px;
}

.contact__item--slot[hidden] {
  display: none;
}

.contact__top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 36px;
  font-family: var(--ui);
  font-size: max(11px, calc(var(--mw) * 0.0078));
  line-height: 1;
  letter-spacing: 0.04em;
  color: #5d5850;
  text-decoration: none;
}

.contact__top-arrow {
  display: block;
  width: 15px;
  height: 15px;
}

.contact__top-arrow svg {
  width: 15px;
  height: 15px;
}

.contact__top:hover {
  color: var(--ink);
}

.contact__top:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .made {
    padding-top: 32px;
  }

  .made__stage {
    height: auto;
  }

  .made-work__summary {
    font-size: 14px;
    line-height: 1.35;
  }

  .made__beyond {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    max-width: none;
    margin: 38px 0 0;
  }

  .made__beyond-title {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .made__tag-list {
    gap: 7px 8px;
  }

  .made__tag {
    font-size: 12px;
    min-height: 30px;
  }

  .contact {
    padding: 56px 0 calc(46px + env(safe-area-inset-bottom));
  }

  .contact__head {
    padding-bottom: 14px;
  }

  .contact__list {
    margin-top: 22px;
  }

  .contact__top {
    margin-top: 30px;
    font-size: 12px;
  }
}

/* Phone landscape / short narrow desktop: keep MADE in its vertical reading
   sequence so the small tags cannot collide with the four work labels. */
@media (min-width: 821px) and (max-width: 900px) {
  .made {
    padding-top: 32px;
  }

  .made__stage {
    width: 100%;
    height: auto;
    padding: 26px 4.1% 64px;
    overflow: visible;
  }

  .made__title {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 0 4px;
    font-size: 22vw;
    line-height: 0.85;
  }

  .made__works {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 46px;
  }

  .made-work {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 0;
  }

  .made-work--translator {
    width: 90%;
    margin-left: 0;
  }

  .made-work--xnewfish {
    width: 92%;
    margin-left: auto;
  }

  .made-work--bridge {
    width: 95%;
    margin-left: 0;
  }

  .made-work--toolbox {
    width: 82%;
    margin-left: auto;
    margin-right: 4%;
  }

  .made-work__caption {
    margin-top: 10px;
    row-gap: 4px;
    font-size: 14px;
    line-height: 1.4;
  }

  .made-work__num {
    font-size: 14px;
  }

  .made-work__name {
    font-size: clamp(20px, 5.6vw, 22px);
  }

  .made-work__sub {
    font-size: 14px;
  }

  .made-work__summary {
    font-size: 14px;
    line-height: 1.35;
  }

  .made__beyond {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    max-width: none;
    margin: 38px 0 0;
  }

  .made__beyond-title {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .made__tag-list {
    gap: 7px 8px;
  }

  .made__tag {
    min-height: 30px;
    font-size: 12px;
  }
}

/* =========================================================================
   07 · Collection covers and content typography
   Two real project-preview cards, nine self-made concept diagrams, nine
   text-only cards. Content type uses an explicit UI/CJK stack; the display
   face remains reserved for the hero and the COLLECTED/MADE titles.
   ========================================================================= */

:root {
  --ui: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans GB", sans-serif;
  --text: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans GB", sans-serif;
}

.collection-track {
  align-items: flex-start;
}

.collection-card .sample-card__body {
  padding: 15px 15px 14px;
}

.collection-card .sample-card__title {
  font-family: var(--text);
  font-size: clamp(20px, 1.48vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.collection-card .sample-card__summary {
  margin-top: 8px;
  font-family: var(--text);
  font-size: clamp(14px, 0.9vw, 15px);
  font-weight: 400;
  line-height: 1.58;
  color: #49453e;
}

.collection-card .sample-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid #e8e2d7;
  font-family: var(--text);
  font-size: clamp(12px, 0.82vw, 13px);
  line-height: 1.45;
  color: #5f5a51;
}

.collection-card .sample-card__author {
  grid-column: 1 / -1;
  min-width: 0;
  color: #2f2c28;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.collection-card .sample-card__theme {
  grid-column: 1;
  min-width: 0;
  color: #6b665e;
  overflow-wrap: anywhere;
}

.collection-card .sample-card__saved {
  grid-column: 2;
  margin-top: 0;
  color: #837d73;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.collection-card .sample-card__kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  font-family: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b756b;
}

.collection-card .sample-card__kicker::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 1px;
  background: var(--orange);
}

.collection-card .sample-card__cover {
  background: #f1ece3;
}

.collection-card[data-cover="image"] .sample-card__cover {
  aspect-ratio: 2 / 1;
}

.collection-card[data-cover="image"] .sample-card__cover img {
  object-fit: cover;
}

.collection-card[data-cover="diagram"] .sample-card__cover {
  aspect-ratio: 2.35 / 1;
  display: flex;
  align-items: center;
  padding: 0 8px;
  background: #f4efe5;
}

.collection-card[data-cover="diagram"] .sample-card__cover img {
  object-fit: contain;
}

.collection-card .cover-note {
  right: 8px;
  bottom: 7px;
  padding: 3px 5px;
  border: 1px solid rgba(8, 8, 8, 0.08);
  background: rgba(255, 253, 248, 0.9);
  color: #5a554e;
  font-family: var(--text);
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.collection-card--text .sample-card__body {
  padding-top: 17px;
}

.made-work__caption {
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.45;
  row-gap: 4px;
}

.made-work__num {
  font-family: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5b5650;
}

.made-work__name {
  font-family: var(--text);
  font-size: clamp(22px, 1.55vw, 26px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

.made-work__summary {
  margin-top: 2px;
  font-family: var(--text);
  font-size: clamp(15px, 0.98vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: #4a463f;
}

.contact__value {
  font-family: var(--text);
  font-size: max(15px, calc(var(--mw) * 0.0092));
}

@media (max-width: 820px) {
  .collection-card {
    width: min(84vw, 340px);
  }

  .collection-card .sample-card__body {
    padding: 15px 15px 14px;
  }

  .collection-card .sample-card__title {
    font-size: 21px;
    line-height: 1.3;
  }

  .collection-card .sample-card__summary {
    font-size: 14px;
    line-height: 1.58;
  }

  .collection-card .sample-card__meta {
    font-size: 12.5px;
  }

  .collection-card .sample-card__kicker {
    font-size: 10px;
  }

  .made-work__caption {
    font-size: 15px;
  }

  .made-work__num {
    font-size: 12.5px;
  }

  .made-work__name {
    font-size: 22px;
  }

  .made-work__summary {
    font-size: 15px;
  }

  .contact__value {
    font-size: 16px;
  }
}

/* =========================================================================
   08 · Collection modes, topics, mobile controls, X-Newfish preview,
   contact copy/bookmark, and compact collection room chrome
   ========================================================================= */

/* The display word gets a little more room for the collection toolbar. */
.collected.is-canvas .collected__word {
  font-size: calc(var(--cw) * 0.098);
}

.collection-mobile-nav {
  display: none;
}

.collection-index[hidden],
.collection-mobile-nav[hidden],
.xnewfish-preview[hidden],
.work-dialog__demo[hidden] {
  display: none !important;
}

.collection-toolbar {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8d2c7;
  background: #fbf8f1;
  box-shadow: 0 3px 10px rgba(8, 8, 8, 0.045);
}

.collection-toolbar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}

.collection-count {
  min-width: max-content;
  color: #686258;
  font-family: var(--text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.collection-modes {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8d2c7;
  background: #fffdf8;
}

.collection-mode {
  min-height: 27px;
  padding: 4px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #746d63;
  font-family: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.collection-mode + .collection-mode {
  border-left: 1px solid #d8d2c7;
}

.collection-mode:hover {
  color: var(--ink);
}

.collection-mode.is-active {
  border-bottom-color: var(--orange);
  background: #fffaf1;
  color: var(--ink);
}

.collection-mode:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.collection-toggle {
  min-height: 27px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #5f5a51;
  font-family: var(--text);
  font-size: 10.5px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.collection-toggle:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.collection-toggle__icon {
  display: none;
}

.collection-toolbar__filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #e8e2d7;
}

.collection-topic-label {
  flex: 0 0 auto;
  color: #777167;
  font-family: var(--text);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.collection-topic {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 27px;
  padding: 2px 22px 2px 0;
  border: 0;
  border-bottom: 1px solid #cfc7ba;
  border-radius: 0;
  background: transparent;
  color: #302d29;
  font-family: var(--text);
  font-size: 11.5px;
  line-height: 1.2;
  cursor: pointer;
}

.collection-topic:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.collection-hint {
  margin: 0;
  color: #817a6f;
  font-family: var(--text);
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.collected.is-canvas .collection-toolbar {
  position: absolute;
  top: 7%;
  right: 2.5%;
  left: auto;
  z-index: 8;
  width: min(27%, 360px);
  padding: 10px 11px;
  order: initial;
  gap: 7px;
  background: rgba(251, 248, 241, 0.96);
  box-shadow: 0 4px 12px rgba(8, 8, 8, 0.05);
}

.collected.is-canvas .collection-toolbar__meta {
  gap: 5px 8px;
}

.collected.is-canvas .collection-count {
  font-size: 9.5px;
}

.collected.is-canvas .collection-mode {
  font-size: 10px;
  padding-inline: 7px;
}

.collected.is-canvas .collection-toggle {
  font-size: 10px;
}

.collected.is-canvas .collection-hint {
  font-size: 9px;
}

.collected.is-canvas .collection-toolbar__filter {
  padding-top: 6px;
}

/* Index is a static directory generated from the same 20 anchors. */
.collection-index {
  position: relative;
  padding: 12px;
  background: #fbf8f1;
}

.collected.is-canvas .collection-index {
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 12px 14px;
}

.collection-index__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collection-index__item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 8px;
  align-content: start;
  min-height: 69px;
  padding: 10px 10px 10px 9px;
  border-top: 1px solid #e1dbd0;
  color: inherit;
  text-decoration: none;
}

.collection-index__item:hover {
  background: #fffdf8;
}

.collection-index__item:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.collection-index__num {
  color: #8a8378;
  font-family: var(--text);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.collection-index__main {
  min-width: 0;
}

.collection-index__title {
  display: block;
  color: #24211d;
  font-family: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.collection-index__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-top: 5px;
  color: #716b61;
  font-family: var(--text);
  font-size: 10.5px;
  line-height: 1.35;
}

.collection-index__author {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.collection-index__theme {
  color: #8a8378;
}

.collection-index__empty {
  padding: 20px 4px;
  color: #716b61;
  font-family: var(--text);
  font-size: 13px;
}

.collected.is-index .collection-track {
  display: none;
}

.collected.is-index .collection-index {
  display: block;
}

.collection-mobile-nav {
  order: 5;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 2px 0;
}

.collection-mobile-nav__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #cfc7ba;
  background: #fbf8f1;
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.collection-mobile-nav__button:hover {
  border-color: #9f978a;
}

.collection-mobile-nav__button:disabled {
  opacity: 0.35;
  cursor: default;
}

.collection-mobile-nav__button:focus-visible,
.contact__copy:focus-visible,
.collection-topic:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.collection-mobile-nav__position {
  min-width: 70px;
  color: #625c53;
  font-family: var(--text);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

/* Typographic contact rows, with the email copy control outside the mailto link. */
.contact__list {
  gap: 0 30px;
  align-items: start;
}

.contact__item {
  flex: 1 1 220px;
  min-width: 0;
  padding-top: 13px;
  border-top: 1px solid #dcd5c9;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.contact__channel {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  padding: 7px 0 12px;
  border: 0;
  color: inherit;
  text-decoration: none;
}

.contact__channel:hover .contact__value {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact__channel:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.contact__value {
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.3;
}

.contact__copy {
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid #cfc7ba;
  background: transparent;
  color: #5c564e;
  font-family: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.contact__copy:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.contact__copy.is-copied {
  border-color: var(--orange);
  color: var(--ink);
}

.contact__copy-status {
  display: block;
  min-height: 16px;
  margin-top: 1px;
  color: #716b61;
  font-family: var(--text);
  font-size: 10.5px;
  line-height: 1.35;
}

.contact__copy-status.is-error {
  color: #9c4c23;
}

.contact__top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 34px;
  padding: 5px 0;
  color: #5d5850;
  font-family: var(--text);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.contact__top-mark {
  display: grid;
  place-items: center;
  width: 21px;
  height: 27px;
  padding: 5px 3px 7px;
  border: 1px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  background: #fffdf8;
}

.contact__top-mark svg {
  width: 15px;
  height: 12px;
}

.contact__top-arrow {
  transition: transform 160ms ease;
}

.contact__top:hover {
  color: var(--ink);
}

.contact__top:hover .contact__top-arrow,
.contact__top:focus-visible .contact__top-arrow {
  transform: translateY(-2px);
}

.contact__top:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.contact__top-label {
  white-space: nowrap;
}

/* X-Newfish functional preview, on the stage and in the detail dialog. */
.xnewfish-preview {
  position: absolute;
  top: 33%;
  left: 43.5%;
  z-index: 3;
  width: 14.5%;
  padding: 9px;
  border: 1px solid #d8d2c7;
  background: #fbf8f1;
  box-shadow: 0 4px 12px rgba(8, 8, 8, 0.045);
}

.xnewfish-preview:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.xnewfish-preview__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  font-family: var(--text);
  font-size: 8.5px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xnewfish-preview__head strong {
  color: var(--ink);
  font-weight: 700;
}

.xnewfish-preview__head span {
  color: #837c71;
}

.xnewfish-preview .xfeed {
  gap: 4px;
}

.xnewfish-preview .xfeed-row {
  min-height: 28px;
  padding: 5px 6px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 6px;
}

.xnewfish-preview .xfeed-avatar {
  width: 16px;
  height: 16px;
}

.xnewfish-preview .xfeed-lines i {
  height: 2px;
}

.xnewfish-preview .xfeed-tag {
  font-size: 7px;
}

.xnewfish-preview__note {
  margin-top: 6px;
  color: #8a8378;
  font-family: var(--text);
  font-size: 8px;
  line-height: 1.35;
}

.work-dialog__demo {
  margin-top: 18px;
  padding: 13px;
  border: 1px solid #ddd6ca;
  background: #fbf8f1;
}

.work-dialog__demo .xfeed {
  gap: 6px;
}

.work-dialog__demo .xfeed-row {
  min-height: 44px;
  padding: 8px 9px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 9px;
}

.work-dialog__demo .xfeed-avatar {
  width: 22px;
  height: 22px;
}

.work-dialog__demo .xfeed-tag {
  font-size: 9px;
}

.work-dialog__demo .xfeed-note {
  font-size: 11px;
}

.xfeed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xfeed-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  max-height: 60px;
  padding: 8px;
  border: 1px solid #e3ddd2;
  background: #fffdf8;
  overflow: hidden;
  transition: opacity 300ms ease, max-height 360ms ease, padding 360ms ease, border-width 300ms ease, margin 360ms ease, background-color 220ms ease;
}

.xfeed-avatar {
  width: 20px;
  height: 20px;
  border: 1px solid #d4ccbf;
  border-radius: 50%;
  background: #eee7dc;
}

.xfeed-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.xfeed-lines i {
  display: block;
  height: 2px;
  background: #b9b1a5;
}

.xfeed-lines i:first-child {
  width: 78%;
}

.xfeed-lines i:last-child {
  width: 48%;
}

.xfeed-tag {
  padding: 3px 4px;
  border: 1px solid #ded7cb;
  color: #8a8378;
  font-family: var(--text);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.xfeed-row.is-noise {
  border-color: #e5c9b7;
}

.xfeed-row.is-noise .xfeed-tag {
  border-color: #e5c9b7;
  color: #a2572f;
}

.xfeed-row.is-marked {
  border-color: var(--orange);
  background: #fff4e9;
}

.xfeed-row.is-removing {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -6px;
  border-top-width: 0;
  border-bottom-width: 0;
  opacity: 0;
}

.xfeed-row.is-hidden {
  display: none;
}

.xfeed-status {
  min-height: 14px;
  margin-top: 6px;
  color: #716b61;
  font-family: var(--text);
  font-size: 10px;
  line-height: 1.35;
}

.xfeed-status.is-done {
  color: #5f5a51;
}

.xfeed-note {
  margin-top: 3px;
  color: #8a8378;
  font-family: var(--text);
  font-size: 9px;
  line-height: 1.4;
}

.work-dialog__demo .xfeed-status {
  font-size: 12px;
}

.work-dialog__demo .xfeed-note {
  font-size: 10px;
}

.xfeed-replay {
  margin-top: 8px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #cfc7ba;
  background: transparent;
  color: #5c564e;
  font-family: var(--text);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}

.xfeed-replay:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.xfeed-replay:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.xfeed.is-reduced .is-noise {
  display: none;
}

.xfeed.is-reduced .xfeed-row.is-removing {
  opacity: 1;
  max-height: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 0;
  border-width: 1px;
}

@media (min-width: 1200px) {
  .xnewfish-preview {
    display: block;
  }
}

@media (max-width: 1199px) {
  .xnewfish-preview {
    display: none !important;
  }
}

/* Static Index on narrow screens, and the mobile position controls. */
@media (max-width: 820px) {
  .collection-toolbar {
    order: 3;
    padding: 10px 11px;
    margin-bottom: 12px;
  }

  .collection-window {
    order: 4;
  }

  .collection-mobile-nav:not([hidden]) {
    display: flex;
  }

  .collection-index {
    padding: 8px 10px 10px;
  }

  .collection-index__list {
    grid-template-columns: 1fr;
  }

  .collection-index__item {
    min-height: 64px;
    padding: 10px 4px;
  }

  .collection-index__title {
    font-size: 15px;
  }

  .collection-index__meta {
    font-size: 11px;
  }

  .collected__foreground {
    order: 6;
  }

  .contact__list {
    gap: 0;
  }

  .contact__item {
    flex-basis: 100%;
    padding-top: 12px;
  }

  .contact__channel {
    min-height: 64px;
    padding: 6px 0 10px;
  }

  .contact__value {
    font-size: 16px;
  }

  .contact__copy {
    min-width: 62px;
    min-height: 44px;
  }

  .contact__top {
    margin-top: 26px;
  }

  .xnewfish-preview {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__top-arrow {
    transition: none;
  }

  .xfeed-row {
    transition: none;
  }
}

html:not(.has-js) .collection-toolbar,
html:not(.has-js) .collection-mobile-nav,
html:not(.has-js) .collection-index,
html:not(.has-js) .xnewfish-preview,
html:not(.has-js) .contact__copy,
html:not(.has-js) .contact__copy-status {
  display: none !important;
}

.collection-card.is-topic-hidden {
  display: none !important;
}

.xnewfish-preview .xfeed-status {
  font-size: 8px;
}

.work-dialog__demo .xnewfish-preview__head {
  font-size: 10px;
}

.work-dialog__demo .xfeed-note {
  font-size: 10px;
}

@media (max-width: 820px) {
  .collection-card {
    width: min(82vw, 330px);
  }
}

/* Index is a directory, not a padded empty stage: on the desktop canvas the
   collection window hugs its rows instead of stretching to the room bottom. */
.collected.is-canvas.is-index .collection-window {
  bottom: auto;
  height: auto;
  max-height: calc(100svh - 24%);
}

.collected.is-canvas.is-index .collection-index {
  position: relative;
  inset: auto;
  max-height: calc(100svh - 24%);
  overflow: auto;
}

.collection-toolbar {
  max-width: 560px;
}

/* X-Newfish keyword preview: the matched row shows the configured keyword. */
.xfeed-rule {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #8a8378;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xfeed-rule code {
  padding: 1px 4px;
  border: 1px solid #e2cdbd;
  background: #fff5ea;
  color: #a04f24;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.xfeed-rule-count {
  margin-left: auto;
  color: #b0a79b;
  letter-spacing: 0.04em;
}

.xfeed-row.is-matched {
  border-color: #e5c9b7;
}

.xfeed-row.is-matched .xfeed-tag {
  border-color: #e5c9b7;
  color: #a2572f;
}

.xfeed-keyword {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0 3px;
  border-bottom: 1px solid #d98a54;
  background: #fff2e5;
  color: #9d4f25;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.35;
}

.xfeed.is-reduced .is-matched {
  display: none;
}

.contact__copy-status {
  min-height: 2.8em;
}

.collection-modes {
  gap: 8px;
  border: 0;
  background: transparent;
}

.collection-mode {
  min-height: 30px;
  padding: 2px 1px;
}

.collection-mode + .collection-mode {
  border-left: 0;
}

.collection-mode.is-active {
  background: transparent;
}

.collected.is-canvas .collection-mode {
  padding-inline: 1px;
}

@media (max-width: 820px) {
  .xfeed-rule {
    font-size: 8.5px;
  }
  .xfeed-keyword {
    font-size: 8.5px;
  }
  .contact__copy-status {
    min-height: 3.2em;
  }
}

.work-dialog__demo .xfeed-rule {
  gap: 8px;
  font-size: 10px;
}

.work-dialog__demo .xfeed-rule code {
  padding: 2px 5px;
  font-size: 11px;
}

.work-dialog__demo .xfeed-rule-count {
  font-size: 9px;
}

.work-dialog__demo .xfeed-keyword {
  font-size: 10px;
}

.collection-toggle[hidden] {
  display: none !important;
}

/* Author round: scattered salon canvas. The window stays clipped; the whole
   field moves as one camera, not as individual cards. */
.collection-hud {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 8px;
  background: rgba(244, 243, 241, 0.86);
  color: #655f56;
  font-family: var(--text);
  font-size: 11px;
  line-height: 1;
}

.collection-hud[hidden],
.collection-hud__toggle[hidden] {
  display: none !important;
}

.collection-hud__hint {
  letter-spacing: 0.02em;
  pointer-events: none;
}

.collection-hud__toggle {
  appearance: none;
  -webkit-appearance: none;
  min-height: 32px;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.collection-hud__toggle:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.collection-hud__toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.collection-hud__icon {
  display: none;
}

.collected.is-scatter .collection-window {
  cursor: grab;
}

.collected.is-scatter .collection-window.is-dragging {
  cursor: grabbing;
}

.collected.is-scatter .collection-window.is-dragging .collection-card {
  user-select: none;
}

.collected.is-scatter .collection-track {
  overflow: hidden;
}

.collected.is-scatter .collection-card {
  cursor: inherit;
}

.collected.is-scatter .collection-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .collection-hud {
    display: none !important;
  }
}

html:not(.has-js) .collection-hud {
  display: none !important;
}

/* Give the canvas HUD its own strip below the moving field. */
.collected.is-scatter .collection-window {
  bottom: 62px;
}

/* Author round: cat contact points, tried against the actual silhouettes. */
.cat--ginger {
  top: 30.6%;
}

.cat-pet--ginger {
  top: 30.6%;
}

.cat-feedback--ginger {
  top: 27.1%;
}

/* Author round: contact cards as the three closing objects. */
.contact {
  padding: clamp(78px, 10vh, 126px) 0 calc(58px + env(safe-area-inset-bottom));
}

.contact__inner {
  width: var(--mw);
}

.contact__head {
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.16);
}

.contact__title {
  font-family: var(--display);
  font-size: clamp(34px, 3.25vw, 54px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.contact__note {
  padding-bottom: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.contact__list {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 18px 20px;
  margin-top: 28px;
}

.contact__item {
  position: relative;
  flex: none;
  min-width: 0;
  padding: 19px 18px 15px;
  border: 1px solid #d8d2c7;
  background: #fffdf8;
  box-shadow: 0 12px 26px rgba(8, 8, 8, 0.055);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact__item:nth-child(2) {
  margin-top: 26px;
}

.contact__item:nth-child(3) {
  margin-top: 11px;
}

.contact__item:hover,
.contact__item:focus-within {
  transform: translateY(-3px);
  border-color: #bdb3a5;
  box-shadow: 0 17px 32px rgba(8, 8, 8, 0.075);
}

.contact__channel {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 72px;
  padding: 0;
  border: 0;
  color: inherit;
  text-decoration: none;
}

.contact__channel:hover {
  border: 0;
}

.contact__channel:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.contact__mark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-top: 2px;
}

.contact__mark svg {
  width: 26px;
  height: 26px;
}

.contact__mark--x {
  font-family: var(--display);
  font-size: 27px;
  line-height: 0.9;
  border-bottom: 2px solid var(--orange);
}

.contact__text {
  gap: 5px;
}

.contact__label {
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.contact__value {
  font-family: var(--text);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.25;
}

.contact__out {
  position: absolute;
  top: 17px;
  right: 16px;
  margin: 0;
  color: #91897c;
}

.contact__item--email .contact__row {
  align-items: flex-start;
  gap: 12px;
  padding-right: 0;
}

.contact__item--email .contact__channel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 64px;
}

.contact__copy {
  flex: 0 0 auto;
  min-width: 60px;
  min-height: 40px;
  padding: 5px 9px;
  border: 1px solid #cfc7ba;
  background: #fbf8f1;
  color: #615b52;
  font-size: 10.5px;
}

.contact__copy:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.contact__copy.is-copied {
  border-color: var(--orange);
  background: #fff2e5;
  color: #9d4f25;
}

.contact__copy-status {
  display: block;
  min-height: 34px;
  margin-top: 9px;
  font-size: 10.5px;
  line-height: 1.3;
}

.contact__copy-status.is-copied {
  display: flex;
  align-items: center;
  width: max-content;
  height: 34px;
  padding: 0 7px;
  border: 1px solid #d98a54;
  background: #fff2e5;
  color: #a04f24;
  font-family: var(--text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.contact__copy-status.is-error {
  color: #93451f;
}

.contact__item--instagram .contact__frame {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 60px;
  height: 60px;
  border: 1px solid #d8d2c7;
  background: #f6f2e9;
  pointer-events: none;
}

.contact__item--instagram .contact__frame::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 13px;
  height: 25px;
  background: #ff6b20;
  opacity: 0.72;
  clip-path: polygon(0 100%, 32% 50%, 48% 67%, 68% 25%, 100% 100%);
}

.contact__item--instagram .contact__frame::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b20;
}

.contact__item--instagram .contact__channel {
  padding-right: 72px;
}

.contact__top {
  margin-top: 34px;
  padding-top: 17px;
  border-top: 1px solid rgba(8, 8, 8, 0.12);
}

.contact__top-mark {
  width: 22px;
  height: 29px;
}

.contact__top-label {
  font-size: 12px;
}

.contact__top-arrow {
  width: 17px;
  height: 17px;
}

@media (max-width: 820px) {
  .cat--ginger {
    top: 26.4%;
  }

  .cat-pet--ginger {
    top: 26.4%;
  }

  .cat-feedback--ginger {
    top: 23.1%;
  }

  .contact {
    padding: 68px 0 calc(42px + env(safe-area-inset-bottom));
  }

  .contact__head {
    align-items: baseline;
    padding-bottom: 18px;
  }

  .contact__title {
    font-size: 34px;
  }

  .contact__note {
    font-size: 10px;
  }

  .contact__list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .contact__item {
    margin-top: 0 !important;
    padding: 16px 15px 13px;
  }

  .contact__channel {
    min-height: 64px;
    gap: 12px;
  }

  .contact__value {
    font-size: 17px;
  }

  .contact__copy {
    min-width: 62px;
    min-height: 40px;
  }

  .contact__copy-status {
    min-height: 36px;
    margin-top: 8px;
  }

  .contact__item--instagram .contact__frame {
    right: 14px;
    bottom: 13px;
    width: 54px;
    height: 54px;
  }

  .contact__item--instagram .contact__frame::before {
    height: 22px;
  }

  .contact__item--instagram .contact__channel {
    padding-right: 62px;
  }

  .contact__top {
    margin-top: 28px;
    padding-top: 15px;
  }
}

/* Author round: contact-card identity details and the Instagram frame. */
.contact-card--gmail::before {
  content: "";
  position: absolute;
  right: 23px;
  bottom: 20px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset 0 0 0 3px #fff0e3, 0 2px 4px rgba(8, 8, 8, 0.12);
}

.contact-card--gmail::after {
  content: "MAIL / 18";
  position: absolute;
  right: 17px;
  bottom: 56px;
  color: #a39a8d;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.contact-card--x {
  border-top: 3px solid var(--ink);
}

.contact-card--x .contact__label::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
}

.contact-card--instagram .contact__frame {
  display: block;
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  width: 60px;
  height: 60px;
  border: 1px solid #d8d2c7;
  background: #f6f2e9;
  pointer-events: none;
}

.contact-card--instagram .contact__frame::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 13px;
  height: 25px;
  background: #ff6b20;
  opacity: 0.72;
  clip-path: polygon(0 100%, 32% 50%, 48% 67%, 68% 25%, 100% 100%);
}

.contact-card--instagram .contact__frame::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b20;
}

.contact-card--instagram .contact__channel {
  padding-right: 72px;
}

@media (max-width: 820px) {
  .contact-card--gmail::before {
    right: 17px;
    bottom: 15px;
    width: 27px;
    height: 27px;
  }

  .contact-card--gmail::after {
    right: 13px;
    bottom: 46px;
    font-size: 7px;
  }

  .contact-card--instagram .contact__frame {
    right: 14px;
    bottom: 13px;
    width: 54px;
    height: 54px;
  }

  .contact-card--instagram .contact__frame::before {
    height: 22px;
  }

  .contact-card--instagram .contact__channel {
    padding-right: 62px;
  }
}

@media (max-width: 820px) {
  .contact__copy-status.is-copied {
    height: 36px;
  }
}

/* Author round 2: one contact-card system for all three channels. */
.contact__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 28px;
}

.contact__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  margin-top: 0 !important;
  padding: 20px 18px 14px;
  border: 1px solid #d8d2c7;
  border-radius: 2px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(8, 8, 8, 0.055);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact__item:hover,
.contact__item:focus-within {
  transform: translateY(-3px);
  border-color: #bdb3a5;
  box-shadow: 0 16px 30px rgba(8, 8, 8, 0.075);
}

.contact__accent {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.contact__channel {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  flex: 1 1 auto;
  min-height: 78px;
  padding: 0;
  border: 0;
  color: inherit;
  text-decoration: none;
}

.contact__channel:hover {
  border: 0;
}

.contact__mark {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--ink);
}

.contact__mark svg {
  width: 25px;
  height: 25px;
}

.contact__mark--x {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  border-bottom: 0;
}

.contact__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.contact__label {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #77726a;
}

.contact__value {
  font-family: var(--text);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 41px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid #e8e2d7;
}

.contact__footer-note {
  min-width: 0;
}

.contact__copy-status {
  min-height: 22px;
  margin: 0;
  color: #8a4a25;
  font-family: var(--text);
  font-size: 10.5px;
  line-height: 1.35;
}

.contact__copy-status.is-copied {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a04f24;
  font-family: var(--text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  transform: none;
}

.contact__copy-status.is-error {
  color: #93451f;
}

.contact__copy {
  flex: 0 0 auto;
  min-width: 60px;
  min-height: 40px;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid #cfc7ba;
  border-radius: 0;
  background: #fbf8f1;
  color: #615b52;
  font-family: var(--text);
  font-size: 10.5px;
  line-height: 1;
  cursor: pointer;
}

.contact__copy:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.contact__out {
  position: static;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid #cfc7ba;
  color: #615b52;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.contact__out:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.contact__copy:focus-visible,
.contact__out:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .contact__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact__item {
    min-height: 168px;
    padding: 17px 15px 13px;
  }

  .contact__channel {
    min-height: 70px;
  }

  .contact__footer {
    min-height: 39px;
    margin-top: 13px;
    padding-top: 10px;
  }

  .contact__copy {
    min-width: 62px;
  }

  .contact__out {
    width: 40px;
    height: 39px;
  }
}

@media (min-width: 821px) {
  .contact__item {
    min-height: 168px;
  }
}

@media (max-width: 820px) {
  .contact__item {
    min-height: 156px;
  }
}

@media (max-width: 820px) {
  .contact__item {
    min-height: 166px;
  }
}

/* Mobile Oates interaction must follow the desktop base rules above. */
@media (max-width: 820px) {
  .cat-pet--little {
    top: 7%;
    left: 68%;
    width: 26%;
    height: 12%;
  }

  .cat-feedback--little {
    top: 4.1%;
    left: 64.5%;
  }
}
