/* Layout: one left-aligned column. Each section = label column + content column; stacks on phones.
   Boldness lives in one place only: the "Your Enemy." line and its red caret. */
:root {
  --bg: #f6f4f4;
  --ink: #141111;
  --mute: #6d6666;
  --line: #d8d2d2;
  --red: #d3121c;
  --font-latin: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --col-label: 10rem;
  --max: 68rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121010; --ink: #edeaea; --mute: #948c8c; --line: #2f2a2a; --red: #ff3c40;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121010; --ink: #edeaea; --mute: #948c8c; --line: #2f2a2a; --red: #ff3c40;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-latin), var(--font-ja);
  font-size: 1rem;
  line-height: 1.85;
  font-feature-settings: "palt" 0;
}
:lang(ja) body, body:lang(ja) { font-family: var(--font-ja); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---- top bar ---- */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: .8125rem;
  color: var(--mute);
}
.bar a:hover { color: var(--ink); }
.prose a.inline { border-bottom: 1px solid var(--red); }
.prose a.inline:hover { color: var(--red); }
.lang { margin-left: auto; display: flex; gap: .75rem; font-family: var(--font-latin); letter-spacing: .02em; }
.lang [aria-current="page"] { color: var(--ink); }

/* ---- hero ---- */
.hero { padding-block: clamp(4rem, 12vw, 9rem) clamp(3.5rem, 9vw, 7rem); }
.hero .name {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  letter-spacing: .04em;
  line-height: 1.4;
}
.hero .name .sep { color: var(--mute); font-weight: 400; margin-inline: .35em; }
.hero .enemy {
  margin: .15em 0 0;
  font-family: var(--font-latin);
  font-weight: 800;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-size: clamp(4.5rem, 17vw, 13.5rem);
  line-height: .86;
  letter-spacing: -.015em;
  text-transform: none;
}
.caret {
  display: inline-block;
  width: .09em;
  height: .72em;
  margin-left: .06em;
  background: var(--red);
  vertical-align: baseline;
  animation: blink 1.1s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

.roles {
  margin: 1.75rem 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: .06em;
  line-height: 1.5;
}
.roles .slash { color: var(--red); margin-inline: .5em; font-family: var(--font-latin); }

/* ---- sections ---- */
.sec {
  display: grid;
  grid-template-columns: var(--col-label) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding-block: 3.25rem;
  border-top: 1px solid var(--line);
}
.sec > h2 {
  margin: 0;
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: .01em;
}
.sec > .body { min-width: 0; }
.prose { max-width: 38em; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }

/* rows: writing / music / radio share one row shape */
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem 1.5rem;
  align-items: baseline;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}
.row:first-child { padding-top: 0; }
.row:last-child { border-bottom: 0; padding-bottom: 0; }
.row .k {
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
  color: var(--mute);
  font-size: .875rem;
}
.row .t { min-width: 0; line-height: 1.65; }
.row .m { color: var(--mute); font-size: .8125rem; text-align: right; white-space: nowrap; }
.row .m .g { color: var(--ink); margin-left: .75em; }

a.title {
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .25s ease;
}
a.title:hover, a.title:focus-visible { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) { a.title { transition: none; } }

/* music rows: name column is wider */
.rows.music .row { grid-template-columns: 9rem minmax(0, 1fr) auto; }
.rows.music .k { color: var(--ink); font-size: 1rem; font-weight: 600; }
.rows.music .t { color: var(--mute); font-size: .9375rem; }
.links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: flex-end; font-size: .875rem; }
.links a { border-bottom: 1px solid var(--line); }
.links a:hover { border-color: var(--red); }

/* work */
.work { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; max-width: 40em; }
.work h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.work p { margin: .15rem 0 0; color: var(--mute); }

/* contact */
.mail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.25rem;
  font-family: var(--font-latin);
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.mail .addr { user-select: all; overflow-wrap: anywhere; }
.copy {
  font: inherit;
  font-family: var(--font-ja);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mute);
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .3rem .7rem;
  cursor: pointer;
}
.copy:hover { color: var(--ink); border-color: var(--ink); }
.contact-note { margin: 1rem 0 0; color: var(--mute); font-size: .9375rem; }
.contact-links { margin: 1.25rem 0 0; display: flex; gap: 1.25rem; font-size: .9375rem; }
.contact-links a { border-bottom: 1px solid var(--line); }
.contact-links a:hover { border-color: var(--red); }

footer {
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: .8125rem;
  font-family: var(--font-latin);
}

/* ---- phones ---- */
@media (max-width: 720px) {
  .sec { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 2.5rem; }
  .row, .rows.music .row { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .row .m { text-align: left; white-space: normal; }
  .row .m .g { margin-left: .75em; }
  .links { justify-content: flex-start; }
  .row .k { order: 0; }
}
