/* ==========================================================================
   幸福 · koufuku — minimal, sleek, monospace
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg-elev: #121216;
  --bg-elev-2: #18181d;
  --line: #24242b;
  --line-strong: #34343d;
  --text: #e7e7ea;
  --muted: #8b8b95;
  --faint: #5a5a63;
  --accent: #f2a7c3;
  --accent-2: #9fd3c7;
  --accent-ink: #1a0f14;
  --glow: rgba(242, 167, 195, 0.10);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --mono: "JetBrainsMono NFM", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif-jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fafaf8;
    --bg-elev: #ffffff;
    --bg-elev-2: #f3f3f0;
    --line: #e6e6e1;
    --line-strong: #d4d4cd;
    --text: #18181b;
    --muted: #63636b;
    --faint: #9a9aa2;
    --accent: #c2447a;
    --accent-2: #2f7d6d;
    --accent-ink: #ffffff;
    --glow: rgba(194, 68, 122, 0.08);
    --shadow: 0 10px 30px rgba(20, 20, 30, 0.08);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #fafaf8;
  --bg-elev: #ffffff;
  --bg-elev-2: #f3f3f0;
  --line: #e6e6e1;
  --line-strong: #d4d4cd;
  --text: #18181b;
  --muted: #63636b;
  --faint: #9a9aa2;
  --accent: #c2447a;
  --accent-2: #2f7d6d;
  --accent-ink: #ffffff;
  --glow: rgba(194, 68, 122, 0.08);
  --shadow: 0 10px 30px rgba(20, 20, 30, 0.08);
  color-scheme: light;
}

/* -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

.nf { font-family: var(--mono); font-style: normal; line-height: 1; }
.muted { color: var(--muted); }
.center { display: flex; justify-content: center; margin-top: 28px; }

code, kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.45em;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg-elev-2);
}
kbd { box-shadow: inset 0 -1px 0 var(--line-strong); }

/* background ---------------------------------------------------------------- */

.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

.cursor-glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; left: 0; top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* top bar / tabs ------------------------------------------------------------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: baseline; font-weight: 700; white-space: nowrap; }
.brand-kanji { font-family: var(--serif-jp); font-size: 20px; }
.brand-dot { color: var(--accent); }
.brand-tld { color: var(--muted); font-size: 13px; }

.tabs {
  position: relative;
  display: flex; gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}
.brand, .icon-btn { flex-shrink: 0; }
.tabs::-webkit-scrollbar { display: none; }

.tab {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent-ink); }
.tab .ext { font-size: 10px; opacity: 0.7; }
.tab-ext { color: var(--accent); }
.tab-ext:hover { color: var(--accent); background: var(--bg-elev-2); }

.tab-indicator {
  position: absolute; z-index: 0; top: 4px; left: 0;
  height: calc(100% - 8px); width: 0;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
  opacity: 0;
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  transition: border-color 0.2s, transform 0.3s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); transform: rotate(-15deg); }

.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: inline; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: inline; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: none; }
}

/* layout -------------------------------------------------------------------- */

main { max-width: 1040px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.section { padding: 96px 0 24px; }
.section-title {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title .num { font-size: 13px; color: var(--accent); font-weight: 400; letter-spacing: 0; }
.section-title .accent { color: var(--accent); }
.section-sub { margin: 0 0 28px; color: var(--muted); }
.section-sub a { color: var(--accent); border-bottom: 1px dashed currentColor; }

/* hero ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 0 96px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin: 0 0 28px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 var(--accent-2);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 60%, transparent); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 22px; line-height: 1; }
.kanji {
  position: relative;
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(84px, 17vw, 168px);
  letter-spacing: 0.02em;
  cursor: default;
}
.kanji::before, .kanji::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
}
.kanji:hover::before { opacity: 0.7; color: var(--accent); animation: glitch-a 0.6s steps(2) infinite; }
.kanji:hover::after { opacity: 0.6; color: var(--accent-2); animation: glitch-b 0.6s steps(2) infinite; }
@keyframes glitch-a {
  0% { transform: translate(2px, -1px); clip-path: inset(0 0 60% 0); }
  50% { transform: translate(-2px, 1px); clip-path: inset(40% 0 20% 0); }
  100% { transform: translate(1px, 0); clip-path: inset(70% 0 0 0); }
}
@keyframes glitch-b {
  0% { transform: translate(-2px, 1px); clip-path: inset(60% 0 0 0); }
  50% { transform: translate(2px, -1px); clip-path: inset(10% 0 50% 0); }
  100% { transform: translate(-1px, 0); clip-path: inset(0 0 75% 0); }
}
.romaji { font-size: clamp(22px, 4vw, 34px); color: var(--muted); font-weight: 400; }

.hero-role { margin: 26px 0 0; font-size: clamp(17px, 2.4vw, 21px); }
.hero-role .prompt { color: var(--accent); }
.caret { color: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-lede { max-width: 58ch; margin: 18px 0 0; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.hint { margin: 28px 0 0; font-size: 12px; color: var(--faint); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  color: var(--faint); font-size: 22px;
  animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* buttons ------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  font: inherit; font-size: 14px;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.2s, background-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }

/* cards + spotlight --------------------------------------------------------- */

.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.spot { overflow: hidden; }
.spot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: var(--line-strong); }

/* about --------------------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.about-text p { margin: 0 0 16px; }
.about-text strong { color: var(--accent); font-weight: 700; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.facts li:hover { transform: translateX(4px); }
.fact-icon { color: var(--accent); font-size: 18px; width: 22px; text-align: center; }
.facts div { display: flex; flex-direction: column; line-height: 1.4; }
.fact-k { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.fact-v { font-size: 14px; }

.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  padding: 4px 12px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.chip:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* terminal ------------------------------------------------------------------ */

.terminal {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev-2);
}
.term-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.terminal:hover .dot.r { background: #ff5f57; }
.terminal:hover .dot.y { background: #febc2e; }
.terminal:hover .dot.g { background: #28c840; }
.term-title { margin-left: 10px; font-size: 12px; color: var(--muted); }

.term-body {
  height: 360px;
  padding: 14px 16px 18px;
  overflow-y: auto;
  font-size: 13.5px;
  line-height: 1.65;
  cursor: text;
}
.term-out > div { white-space: pre-wrap; word-break: break-word; }
.term-out .cmd { color: var(--text); }
.term-out .dim { color: var(--muted); }
.term-out .acc { color: var(--accent); }
.term-out .acc2 { color: var(--accent-2); }
.term-out .err { color: #ff7b7b; }
.term-out a { color: var(--accent-2); border-bottom: 1px dashed currentColor; }

.term-line { display: flex; align-items: center; gap: 9px; }
.term-prompt { white-space: nowrap; color: var(--muted); }
.term-prompt .u { color: var(--accent); }
.term-prompt .h { color: var(--accent-2); }
.term-prompt .p { color: var(--text); }
.term-input {
  flex: 1; min-width: 0;
  border: 0; outline: 0 !important;
  background: transparent;
  color: var(--text);
  font: inherit;
  caret-color: var(--accent);
  padding: 0;
}

/* repos --------------------------------------------------------------------- */

.repo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.repo { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 150px; }
.repo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.repo-head { display: flex; align-items: center; gap: 10px; }
.repo-head .nf { color: var(--accent); }
.repo-name { font-weight: 700; word-break: break-word; }
.repo-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.repo:hover .repo-link { color: var(--accent); }
.badge {
  margin-left: auto;
  padding: 1px 9px;
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--muted); white-space: nowrap;
}
.badge-contributor { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 45%, transparent); }
.badge-author { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.repo-owner { margin: -6px 0 0; font-size: 11.5px; color: var(--faint); word-break: break-all; }
.repo-desc { flex: 1; margin: 0; font-size: 13px; color: var(--muted); }
.repo-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.repo-stack span { padding: 1px 8px; font-size: 11px; color: var(--muted); background: var(--bg-elev-2); border-radius: 6px; }
.repo-meta b { font-weight: 400; }
.repo-live { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--accent-2); }
.repo-live:hover { text-decoration: underline; }
.repo-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--faint); }
.repo-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lang-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); }
.repo-empty { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--muted); }
.repo-empty a { color: var(--accent); }

.skeleton { overflow: hidden; }
.skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, var(--bg-elev-2) 50%, transparent 80%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

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

.contact-card {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 26px 28px;
}
.mail {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(18px, 3.2vw, 26px);
  font-weight: 700;
  word-break: break-all;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.mail .nf { color: var(--accent); }
.mail:hover { color: var(--accent); background-size: 100% 2px; }

.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color 0.2s; }
.socials a:hover { color: var(--accent); }

/* footer -------------------------------------------------------------------- */

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  max-width: 1040px; margin: 96px auto 0;
  padding: 24px clamp(16px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

/* toast --------------------------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 20px);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Resume page
   ========================================================================== */

.resume-page main { max-width: 860px; }

.resume-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin: 36px 0 20px;
}
.resume-toolbar .crumbs { font-size: 13px; color: var(--muted); }
.resume-toolbar .crumbs a { color: var(--accent); }
.resume-toolbar .actions { display: flex; flex-wrap: wrap; gap: 8px; }

.resume {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}

.r-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.r-name { margin: 0; display: flex; align-items: baseline; gap: 14px; line-height: 1; }
.r-name .kanji-sm { font-family: var(--serif-jp); font-size: 46px; font-weight: 700; }
.r-name .romaji-sm { font-size: 20px; color: var(--muted); font-weight: 400; }
.r-title { margin: 12px 0 0; color: var(--accent); font-size: 14px; letter-spacing: 0.02em; }
.r-contact { list-style: none; margin: 0; padding: 0; font-size: 13px; text-align: right; }
.r-contact li { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.r-contact a:hover { color: var(--accent); }
.r-contact .nf { color: var(--accent); width: 16px; text-align: center; }

.r-section { margin-top: 30px; }
.r-section h2 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
}
.r-section h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.r-section h2 .nf { color: var(--accent); font-size: 14px; }
.r-section p { margin: 0; }

.r-item + .r-item { margin-top: 20px; }
.r-item-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.r-item-title { margin: 0; font-size: 15px; font-weight: 700; }
.r-item-org { color: var(--accent-2); font-weight: 400; }
.r-item-date { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.r-item ul { margin: 8px 0 0; padding-left: 18px; }
.r-item li { margin: 3px 0; }
.r-item li::marker { color: var(--accent); }

.r-skills { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; }
.r-skills dt { color: var(--muted); font-size: 13px; }
.r-skills dd { margin: 0; }

.resume-note { margin: 18px 0 0; font-size: 12px; color: var(--faint); text-align: center; }

/* responsive ---------------------------------------------------------------- */

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .topbar { gap: 10px; }
  .brand-tld, .brand-dot { display: none; }
  .tabs { margin: 0 0 0 auto; }
  .icon-btn { width: 36px; height: 36px; }
  .tab { padding: 7px 10px; }
  .tab .tab-label, .tab .ext { display: none; }
  .tab-ext .tab-label { display: inline; }
  .section { padding-top: 72px; }
  .term-body { height: 320px; font-size: 12.5px; }
  .r-head { flex-direction: column; align-items: flex-start; }
  .r-contact { text-align: left; }
  .r-contact li { justify-content: flex-start; }
  .r-skills { grid-template-columns: 1fr; gap: 2px; }
  .r-skills dd { margin-bottom: 10px; }
}

@media (max-width: 420px) {
  .term-prompt .h, .term-prompt .at { display: none; }
}

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

/* print (resume) ------------------------------------------------------------ */

@media print {
  @page { size: A4; margin: 12mm 14mm; }
  :root, :root[data-theme] {
    --bg: #fff; --bg-elev: #fff; --bg-elev-2: #fff;
    --line: #ddd; --line-strong: #ccc;
    --text: #111; --muted: #555; --faint: #888;
    --accent: #b03a6c; --accent-2: #2a6f61;
    color-scheme: light;
  }
  body { font-size: 9.6pt; line-height: 1.45; background: #fff; }
  .r-head { padding-bottom: 14px; }
  .r-name .kanji-sm { font-size: 38px; }
  .r-section h2 { margin-bottom: 8px; }
  .r-item + .r-item { margin-top: 10px; }
  .r-item ul { margin-top: 4px; }
  .r-item li { margin: 1px 0; }
  .r-skills { gap: 3px 20px; }
  .topbar, .bg-grid, .cursor-glow, .resume-toolbar, .resume-note, .footer, .toast { display: none !important; }
  main { padding: 0; max-width: none; }
  .resume { border: 0; box-shadow: none; padding: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .r-section { break-inside: avoid; margin-top: 14px; }
  a { color: inherit; }
}
