/* =========================================================
   OUTSIDE · 望野工作室
   editorial.css — 黑白、克制、以作品和标志为主
   ========================================================= */

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrainsmono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrainsmono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0a;
  --ink: #f3f1eb;
  --ink-2: #b8b5ad;
  --dim: #7d7a73;
  --line: #252523;
  --line-2: #3b3a36;
  --font: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB',
    'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);

  /* Aliases kept for community.css / feedback.css, which were written
     against main.css tokens. */
  --bg-2: #111110;
  --ink-dim: var(--dim);
  --line-strong: var(--line-2);
  --font-body: var(--font);
  --font-display: var(--font);
  --font-mono: var(--mono);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
}
.skip:focus {
  top: 12px;
}

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

.ed-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.ed-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin-right: auto;
}
.ed-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.ed-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ed-brand__name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ed-brand__cn {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
  white-space: nowrap;
}

.ed-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.ed-nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.25s;
}
.ed-nav a:hover {
  color: var(--ink);
}

/* Language switch. The label is the language you are switching to. */
.ed-lang {
  flex: none;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.ed-lang button {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 7px 6px;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}
.ed-lang button + button {
  border-left: 1px solid var(--line);
}
.ed-lang button:hover {
  color: var(--ink);
}
.ed-lang button.is-on {
  color: var(--bg);
  background: var(--ink);
}
.ed-lang button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}
.ed-lang--float {
  position: fixed;
  top: 18px;
  right: var(--pad);
  z-index: 80;
  background: var(--bg);
}

/* The bilingual H1 already repeats the English name in <em>. */
html[data-lang='en'] .ed-page-hero__title em,
html[data-lang='en'] .ed-card__title em,
html[data-lang='ja'] .ed-page-hero__title em,
html[data-lang='ja'] .ed-card__title em {
  display: none;
}

.ed-menu {
  display: none;
  position: relative;
}
.ed-menu summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.ed-menu summary::-webkit-details-marker {
  display: none;
}
.ed-menu summary::after {
  content: ' +';
}
.ed-menu[open] summary::after {
  content: ' −';
}
.ed-menu[open] summary {
  color: var(--ink);
}
.ed-menu nav {
  position: fixed;
  inset: 68px 0 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  padding: 18px var(--pad) 40px;
  background: var(--bg);
  overflow-y: auto;
}
.ed-menu nav a {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 6.4vw, 28px);
  letter-spacing: 0.02em;
}
.ed-menu nav a:last-child {
  border-bottom: 0;
}
body.is-menu {
  overflow: hidden;
}

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

.ed-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: clamp(30px, 4.4vh, 46px) var(--pad) 0;
  text-align: center;
  isolation: isolate;
  overflow: clip;
}

/* Only the rig lights the room; no ambient wash around the cat. */
.ed-hero__stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Give the cat room under the rig so it sits in the middle of the light. */
  margin-top: clamp(40px, 11vh, 132px);
  isolation: isolate;
}

/* Five spots, evenly hung across the top of the room. */
.ed-spots {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 1040px);
  height: 26px;
  margin-bottom: clamp(6px, 1.6vh, 18px);
  perspective: 900px;
  pointer-events: none;
}
.ed-spot {
  position: relative;
  height: 100%;
}

/* Housing: a small metal can with a bright lens inside. */
.ed-spot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 26px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50% 50% 42% 42% / 60% 60% 40% 40%;
  background:
    radial-gradient(ellipse 46% 40% at 50% 82%, rgba(255, 255, 255, 0.72), rgba(255, 252, 242, 0.22) 52%, transparent 76%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 255, 255, 0.1), transparent 70%),
    linear-gradient(180deg, #3a3933, #131310 56%, #050505);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -3px 4px rgba(0, 0, 0, 0.72),
    0 2px 4px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.65s, filter 0.65s;
}
/* The beam lives in its own wrapper so the blur is applied AFTER the cone is
   clipped. Blurring the clipped shape directly would leave its edges crisp. */
.ed-spot__beam {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 244px;
  height: 660px;
  transform: translateX(-50%) rotate(var(--tilt, 0deg)) rotateX(10deg);
  transform-origin: 50% 0;
  filter: blur(20px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, #000 6%, #000 76%, transparent 99%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, #000 6%, #000 76%, transparent 99%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.ed-spot__beam b,
.ed-spot__beam i {
  position: absolute;
  inset: 0;
  display: block;
}
/* The wide, dim cone. */
.ed-spot__beam b {
  background:
    radial-gradient(ellipse 52% 52% at 50% 2%, rgba(255, 251, 240, 0.22), rgba(255, 248, 228, 0.055) 50%, transparent 80%),
    linear-gradient(180deg, rgba(255, 250, 236, 0.18), rgba(255, 248, 228, 0.055) 34%, rgba(255, 248, 228, 0.016) 66%, transparent 88%);
  clip-path: polygon(49% 0, 51% 0, 96% 100%, 4% 100%);
}
/* A brighter, narrower core inside the cone. */
.ed-spot__beam i {
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.3), rgba(255, 250, 236, 0.09) 36%, rgba(255, 250, 236, 0.022) 68%, transparent 88%);
  clip-path: polygon(47.6% 0, 52.4% 0, 73% 100%, 27% 100%);
}

.ed-hero.is-lit .ed-spot::before {
  filter: brightness(1.18);
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 16px 3px rgba(255, 250, 236, 0.42),
    0 0 38px 5px rgba(255, 250, 236, 0.13);
}
/* Each can switches on a beat after the last, like a real rig. */
.ed-spot:nth-child(1) .ed-spot__beam { transition-delay: 0.26s; }
.ed-spot:nth-child(2) .ed-spot__beam { transition-delay: 0.18s; }
.ed-spot:nth-child(3) .ed-spot__beam { transition-delay: 0.1s; }
.ed-spot:nth-child(4) .ed-spot__beam { transition-delay: 0.02s; }
.ed-spot:nth-child(5) .ed-spot__beam { transition-delay: 0s; }
.ed-hero.is-lit .ed-spot__beam {
  opacity: 1;
}

.ed-hero__mark {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(220px, 27vw, 360px);
  aspect-ratio: 1;
  margin-top: -6px;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
  transform-origin: 50% 78%;
}
.ed-hero__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ed-hero__line {
  mix-blend-mode: lighten;
}
/* When the rig comes on the two cream eyes turn red; the glow is kept tight
   to the eyes so the rest of the line drawing stays plain white. */
.ed-hero__eyes {
  opacity: 0;
  filter:
    drop-shadow(0 0 3px rgba(255, 54, 38, 0.95))
    drop-shadow(0 0 9px rgba(226, 24, 14, 0.68))
    drop-shadow(0 0 20px rgba(184, 10, 6, 0.34));
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.ed-hero.is-lit .ed-hero__eyes {
  opacity: 1;
}
.ed-hero__mark.is-warping img {
  animation: cat-wobble 0.95s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.ed-hero__mark.is-warping {
  /* The displacement itself is applied from JS: a url(#…) reference inside an
     external stylesheet resolves against the stylesheet, not the document. */
  will-change: filter, transform;
}
@keyframes cat-wobble {
  0% { transform: scale(1, 1) rotate(0deg); }
  14% { transform: scale(1.07, 0.93) rotate(-1.4deg); }
  30% { transform: scale(0.94, 1.06) rotate(1.1deg); }
  46% { transform: scale(1.04, 0.97) rotate(-0.8deg); }
  62% { transform: scale(0.98, 1.02) rotate(0.45deg); }
  80% { transform: scale(1.012, 0.99) rotate(-0.2deg); }
  100% { transform: scale(1, 1) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-hero__mark.is-warping img {
    animation: none;
  }
}
.ed-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.ed-hero__mark:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 10px;
}

.ed-hero__name {
  position: relative;
  isolation: isolate;
  margin-top: clamp(30px, 4.6vh, 48px);
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  /* balance the trailing letter-space so the name sits optically centred */
  text-indent: 0.24em;
  color: rgba(243, 241, 235, 0.84);
  transition: color 1.1s var(--ease), text-shadow 1.1s var(--ease);
}
/* A defocused crimson copy sits behind the name: the red reads as light
   diffusing through frosted glass rather than as a hard neon outline. */
.ed-hero__name::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(255, 44, 32, 0.62);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.ed-hero.is-lit .ed-hero__name {
  color: #fff1ec;
  text-shadow:
    0 0 1px rgba(255, 230, 224, 0.9),
    0 0 12px rgba(255, 96, 78, 0.55),
    0 0 34px rgba(226, 38, 30, 0.42),
    0 0 86px rgba(176, 16, 12, 0.3);
}
.ed-hero.is-lit .ed-hero__name::before {
  opacity: 1;
}

.ed-hero__cn {
  margin-top: 14px;
  font-size: clamp(12px, 1.05vw, 14px);
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  color: var(--ink-2);
  transition: color 1.1s var(--ease), text-shadow 1.1s var(--ease);
}

.ed-hero.is-lit .ed-hero__cn {
  color: #ffe9e4;
  text-shadow:
    0 0 10px rgba(255, 78, 62, 0.5),
    0 0 30px rgba(196, 24, 18, 0.32);
}

.ed-hero__tags {
  margin-top: clamp(18px, 2.6vh, 26px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

.ed-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin-top: auto;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.ed-hero__meta a {
  transition: color 0.25s;
}
.ed-hero__meta a:hover {
  color: var(--ink);
}

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

.ed-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 138px) var(--pad);
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px;
}

.ed-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(38px, 4.5vw, 62px);
}

.ed-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.ed-note {
  justify-self: end;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  text-align: right;
}

/* ---------- Selected work ---------- */

.ed-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 64px) clamp(20px, 3vw, 36px);
}

.ed-card {
  display: block;
}

.ed-card__art {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
.ed-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease), opacity 0.6s;
}
.ed-card:hover .ed-card__art img {
  transform: scale(1.015);
  opacity: 0.86;
}

.ed-card__row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: baseline;
  margin-top: 15px;
}
.ed-card__num,
.ed-card__arrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.ed-card__arrow {
  text-align: right;
  transition: transform 0.35s var(--ease), color 0.35s;
}
.ed-card:hover .ed-card__arrow {
  transform: translate(2px, -2px);
  color: var(--ink);
}
.ed-card__title {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.ed-card__title em {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.ed-card__meta {
  display: block;
  margin-top: 11px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.ed-card__desc {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- Index ---------- */

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

.ed-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1.05fr) minmax(0, 1.35fr) 22px;
  gap: clamp(12px, 2.5vw, 32px);
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ed-row__num,
.ed-row__arrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.ed-row__arrow {
  text-align: right;
  transition: transform 0.35s var(--ease), color 0.35s;
}
.ed-row:hover .ed-row__arrow {
  transform: translate(2px, -2px);
  color: var(--ink);
}
.ed-row__name {
  font-size: 17px;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.ed-row:hover .ed-row__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.ed-row__desc {
  font-size: 13px;
  color: var(--dim);
}

/* ---------- Studio ---------- */

.ed-studio__grid {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 176px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.ed-studio__mark {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
}

.ed-studio h2 {
  text-wrap: balance;
  max-width: 20ch;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.ed-studio__copy > p {
  max-width: 52ch;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}

.ed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 36px;
}
.ed-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 5px;
  transition: color 0.25s, border-color 0.25s;
}
.ed-links a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Contact ---------- */

.ed-contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 138px) var(--pad);
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px;
}

.ed-contact h2 {
  text-wrap: balance;
  margin-top: 24px;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.ed-mail {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-2);
  font-size: clamp(17px, 2.1vw, 27px);
  letter-spacing: 0.01em;
  transition: border-color 0.25s;
}
.ed-mail:hover {
  border-color: var(--ink);
}

.ed-contact__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--dim);
}

.ed-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: clamp(40px, 6vw, 64px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.ed-contact__links a,
.ed-contact__links button {
  transition: color 0.25s;
}
.ed-contact__links a:hover,
.ed-contact__links button:hover {
  color: var(--ink);
}

/* ---------- Side quest + footer ---------- */

.ed-sidequest {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 30px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--pad);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}
.ed-sidequest p span {
  margin-right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ed-sidequest a {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.ed-sidequest a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.ed-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 30px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad) 42px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.ed-foot a {
  transition: color 0.25s;
}
.ed-foot a:hover {
  color: var(--ink);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s, transform 0.25s;
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .ed-nav {
    display: none;
  }
  .ed-menu {
    display: block;
  }
  .ed-brand__cn {
    display: none;
  }

  .ed-hero {
    min-height: auto;
    padding-top: 54px;
  }
  .ed-hero__meta {
    margin-top: 64px;
  }

  .ed-section__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ed-note {
    justify-self: start;
    text-align: left;
  }

  .ed-work {
    gap: 40px 18px;
  }

  .ed-row {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 6px 14px;
    padding: 17px 0;
  }
  .ed-row__desc {
    grid-column: 2 / 3;
    margin-top: 4px;
  }

  .ed-studio__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ed-studio__mark {
    width: 142px;
  }
}

@media (max-width: 620px) {
  .ed-hero {
    min-height: auto;
    padding-top: 44px;
  }
  .ed-hero__meta {
    margin-top: 64px;
  }
  .ed-hero__name {
    font-size: clamp(22px, 8vw, 32px);
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
  .ed-hero__cn {
    letter-spacing: 0.4em;
    text-indent: 0.4em;
  }
  .ed-spots {
    height: 20px;
    width: 100%;
  }
  .ed-spot::before {
    width: 20px;
    height: 9px;
  }
  .ed-spot__beam {
    top: 8px;
    width: 164px;
    height: 520px;
    filter: blur(14px);
  }

  .ed-work {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .ed-card__art {
    aspect-ratio: 5 / 6;
  }

  .ed-contact h2 {
    font-size: clamp(36px, 11vw, 54px);
  }
  .ed-mail {
    word-break: break-all;
  }

  .ed-sidequest,
  .ed-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

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