/* =========================================================
   柚木 湊 Official Website — styles.css
   Claude Design ハンドオフ（hifi）を Vanilla CSS で本実装。
   配色・余白・字間・角丸は :root のCSS変数で一元管理。
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Base tone（既定：neutral）。warm / cool は body.tone-warm / .tone-cool で切替 */
  --bg: #f5f4f1;
  --paper: #fbfbf9;
  --alt: #eae9e4;
  --ink: #1a1a18;
  --muted: #88877f;
  --line: #e4e3dd;

  /* アクセント：1色のみ。罫・番号・強調に使用。 */
  --accent: #9a7c4d;

  /* Typography */
  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Layout */
  --container: 1200px;
  --container-wide: 1280px;
  --header-h: 64px;
  --pad-x: clamp(24px, 6vw, 80px);
  --section-y: clamp(86px, 12vw, 172px);

  /* Radius（基本は角型。チップ・丸ボタンのみ） */
  --radius-chip: 12px;
  --radius-embed: 12px;

  /* Motion */
  --ease: cubic-bezier(.16, .7, .2, 1);
}

body.tone-warm {
  --bg: #f6f3ec; --paper: #fcfaf4; --alt: #ebe4d6;
  --ink: #1c1a16; --muted: #8c8476; --line: #e3dccd;
}
body.tone-cool {
  --bg: #f2f5f5; --paper: #fafcfc; --alt: #e6ebeb;
  --ink: #191f22; --muted: #7c8488; --line: #dde4e4;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: rgba(154, 124, 77, .2); }

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, dl, dd, ul { margin: 0; }

/* ---------- Focus visibility（キーボード操作対応） ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.page-root { position: relative; }

main { position: relative; z-index: 1; }

/* ---------- Background wave canvas ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Scroll progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 300;
}

/* ---------- HUD (desktop only) ---------- */
.hud {
  position: fixed;
  right: clamp(18px, 2.2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: var(--font-mono);
  text-align: right;
  mix-blend-mode: difference;
  color: #fff;
}
.hud-num { font-size: 13px; letter-spacing: .14em; }
.hud-label { font-size: 10px; letter-spacing: .3em; }
.hud-bar { width: 1px; height: 46px; background: currentColor; opacity: .5; }
.hud-pct { font-size: 10px; letter-spacing: .1em; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="x"] { transform: translateX(-34px); }
[data-reveal="r"] { transform: translateX(34px); }
[data-reveal="clip"] {
  opacity: 0;
  transform: none;
  clip-path: inset(0 0 102% 0);
  transition: clip-path 1.15s var(--ease), opacity .7s ease;
}
[data-reveal="clip"].in { opacity: 1; clip-path: inset(0 0 0 0); }

@keyframes eq { 0%, 100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Shared interactive bits ---------- */
.mlink-u {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s cubic-bezier(.2, .7, .2, 1);
  text-decoration: none;
}
.mlink-u:hover { background-size: 100% 1px; }

.mrow { transition: background .4s ease, box-shadow .4s ease; }
.mrow:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }

.mbtn { transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease; }
.mbtn:hover { opacity: .85; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .5); }

.marrow {
  font-family: var(--font-serif);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.mrow:hover .marrow,
.mbtn:hover .marrow,
a:hover > .marrow { transform: translateX(6px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
}
/* 主CTA：塗り（チャコール地・白文字） */
.btn-primary {
  height: 58px;
  padding: 0 38px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14.5px;
  letter-spacing: .12em;
  border: none;
}
/* 副CTA：アウトライン枠 */
.btn-outline {
  height: 56px;
  padding: 0 36px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 14px;
  letter-spacing: .1em;
}

/* ---------- Section heading (index + rule + label) ---------- */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.sec-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--accent);
}
.sec-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  align-self: center;
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: .14em;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--ink);
}
.sec-lead {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2.05;
  max-width: 34em;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
}
.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 64px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-ja {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .26em;
}
.logo-en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.btn-header {
  height: 40px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: .12em;
  gap: 9px;
}

/* hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle-bar { width: 100%; height: 1.5px; background: var(--ink); }

/* mobile menu panel */
.mobile-menu {
  display: none;
  background: var(--bg);
  padding: 8px clamp(22px, 5vw, 64px) 28px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: block; }
.mobile-menu-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-link .mm-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  width: 26px;
}
.mobile-menu-link .mm-ja {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: .12em;
  color: var(--ink);
}
.mobile-menu-link .mm-desc { font-size: 12px; color: var(--muted); }
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  height: 52px;
  padding: 0 30px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: .12em;
  text-decoration: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  flex: 1 1 480px;
  position: relative;
  background: var(--alt);
  min-height: clamp(460px, 72vh, 900px);
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 18%;
  position: absolute;
  inset: 0;
  display: block;
  transform: translateY(0) scale(1.04);
  will-change: transform;
}
.hero-onair {
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  background: rgba(20, 18, 15, .42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.onair-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e8604c;
  animation: pulse 1.6s ease-in-out infinite;
}
.onair-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: #fff;
}
.onair-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  margin-left: 2px;
}
.onair-eq i {
  display: block;
  width: 2.5px;
  height: 100%;
  background: #fff;
  transform-origin: bottom;
  animation: eq .9s ease-in-out infinite;
}
.onair-eq i:nth-child(2) { animation-delay: .18s; }
.onair-eq i:nth-child(3) { animation-delay: .36s; }
.onair-eq i:nth-child(4) { animation-delay: .54s; }

.hero-vertical {
  position: absolute;
  left: clamp(20px, 3vw, 38px);
  bottom: clamp(22px, 4vw, 44px);
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: .42em;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}

.hero-content {
  flex: 1 1 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 104px) clamp(26px, 6vw, 92px);
  position: relative;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 34px;
}
.hero-eyebrow .accent { color: var(--accent); }

.hero-name { margin: 0; }
.hero-name-ja {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.6rem, 8.5vw, 6.2rem);
  letter-spacing: .22em;
  line-height: 1;
  color: var(--ink);
}
.hero-name-ja .gap { display: inline-block; width: .42em; }
.hero-name-en {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(.74rem, 1.5vw, .92rem);
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 30px;
  transition-delay: .25s;
}

.hero-catch {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 34px;
  transition-delay: .15s;
}
.hero-catch .rule { width: 40px; height: 1px; background: var(--accent); flex: 0 0 auto; }
.hero-catch p {
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .14em;
  color: var(--ink);
  margin: 0;
}

.hero-intro {
  font-size: 14px;
  line-height: 2.15;
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 44px;
  transition-delay: .2s;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
  transition-delay: .28s;
}
.hero-cta-sub {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
}

.hero-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
  transition-delay: .34s;
}
.hero-social-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-social-rule { flex: 0 0 24px; height: 1px; background: var(--line); }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}

/* =========================================================
   FEATURED NOTE
   ========================================================= */
.featured-note {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line);
  padding: var(--section-y) 0;
}
.featured-note .sec-lead { margin: 0 0 clamp(48px, 6vw, 76px); transition-delay: .08s; }

.note-article {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}
.note-thumb-col {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
}
.note-thumb-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--alt);
  border: 1px solid var(--line);
  overflow: hidden;
}
.note-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
  display: block;
}
.note-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  padding: 8px 16px;
}

.note-detail {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  transition-delay: .12s;
}
.note-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.note-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.9vw, 2.05rem);
  line-height: 1.6;
  letter-spacing: .08em;
  color: var(--ink);
  margin: 0 0 20px;
}
.note-desc {
  font-size: 14px;
  line-height: 2.1;
  color: var(--muted);
  margin: 0 0 24px;
}

.note-pricebar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-left: 2px solid var(--accent);
  margin: 0 0 34px;
}
.price-main {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--ink);
}
.price-div { width: 1px; height: 16px; background: var(--line); }
.price-limit {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent);
}
.price-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.note-points {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  margin-bottom: 38px;
}
.note-point-col { flex: 1 1 190px; }
.note-point-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}
.note-point-list { list-style: none; margin: 0; padding: 0; }
.note-point-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 10px;
}
.note-point-list li:last-child { margin-bottom: 0; }
.note-point-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.note-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: auto;
}
.btn-note {
  height: 56px;
  padding: 0 36px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14.5px;
  letter-spacing: .12em;
  border: none;
}
.note-actions-sub {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: var(--section-y) 0; background: transparent; }
.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(44px, 6vw, 96px);
  align-items: flex-start;
}
.about-media { flex: 1 1 300px; max-width: 440px; }
.about-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--alt);
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
}
.about-content { flex: 1 1 440px; }
.about-content .sec-title { margin: 0 0 34px; }
.about-text {
  font-size: 14.5px;
  line-height: 2.3;
  margin: 0 0 22px;
}
.about-text.lead { color: var(--ink); }
.about-text.muted { color: var(--muted); }
.about-text.muted.last { margin-bottom: 42px; }

.about-dl {
  margin: 0 0 38px;
  border-top: 1px solid var(--line);
  transition-delay: .18s;
}
.about-dl-row {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.about-dl-row dt {
  flex: 0 0 92px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.about-dl-row dd { margin: 0; font-size: 14.5px; color: var(--ink); }

.about-tags {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 2.1;
  color: var(--muted);
  margin: 0;
  transition-delay: .22s;
}

/* =========================================================
   CONTENTS / SOCIAL
   ========================================================= */
.contents {
  padding: var(--section-y) 0;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contents .sec-lead { margin: 0 0 clamp(40px, 5vw, 64px); transition-delay: .08s; }

.content-list { border-top: 1px solid var(--line); }
.content-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: clamp(28px, 3.5vw, 44px) clamp(8px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.content-row .row-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  width: 32px;
  padding-top: 6px;
}
.row-id {
  flex: 0 0 188px;
  min-width: 158px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.row-chip {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  color: var(--ink);
  background: var(--bg);
}
.row-platform {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 5px;
}
.row-category {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.row-body { flex: 1 1 280px; min-width: 220px; }
.row-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 10px;
}
.row-desc { font-size: 13px; line-height: 1.95; color: var(--muted); margin: 0; }
.row-action {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink);
}

/* note row — primary, tinted band */
.content-row.is-primary {
  padding: clamp(36px, 4.5vw, 56px) clamp(8px, 2vw, 28px);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow: inset 3px 0 0 var(--accent);
}
.content-row.is-primary .row-num { font-weight: 700; }
.content-row.is-primary .row-chip { border-color: var(--accent); color: var(--accent); }
.content-row.is-primary .row-platform { font-weight: 700; color: var(--accent); }
.content-row.is-primary .row-title {
  font-weight: 600;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  line-height: 1.55;
  margin-bottom: 12px;
}
.content-row.is-primary .row-desc { font-size: 13.5px; line-height: 2; }
.content-row.is-primary .row-action {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
}

/* =========================================================
   LATEST
   ========================================================= */
.latest { padding: var(--section-y) 0; background: transparent; }
.latest-note {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
  margin: 0 0 clamp(40px, 5vw, 60px);
  max-width: 54em;
  transition-delay: .08s;
}
.latest-auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.latest-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.latest-head.with-gap { margin-bottom: 16px; }
.latest-head-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.latest-head-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
}
.latest-auto {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--accent);
}
.latest-auto-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
/* note RSS skeleton */
.skeleton-row {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.skeleton-bar { background: var(--alt); height: 14px; }
.skeleton-bar.sm { height: 10px; margin-bottom: 12px; }
.note-feed-item {
  display: block;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.note-feed-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 8px;
}
.note-feed-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .04em;
  color: var(--ink);
}

.spotify-embed {
  border: 0;
  border-radius: var(--radius-embed);
  display: block;
  width: 100%;
}

.latest-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 clamp(40px, 5vw, 72px);
}
.latest-profile-row {
  display: flex;
  gap: 22px;
  padding: 26px 12px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.latest-profile-thumb {
  flex: 0 0 72px;
  height: 72px;
  background: var(--alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.latest-profile-body { flex: 1; min-width: 0; }
.latest-profile-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.latest-profile-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 8px;
}
.latest-profile-meta { font-size: 11.5px; color: var(--muted); }

/* =========================================================
   WORK
   ========================================================= */
.work {
  padding: var(--section-y) 0;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work .sec-lead { margin: 0 0 clamp(48px, 6vw, 72px); max-width: 42em; transition-delay: .08s; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  column-gap: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(52px, 6vw, 80px);
}
.work-item {
  display: flex;
  gap: 22px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
}
.work-item-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 4px;
}
.work-item-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 8px;
}
.work-item-desc { font-size: 12.5px; line-height: 1.85; color: var(--muted); margin: 0; }

.work-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  justify-content: space-between;
}
.work-foot p {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: var(--section-y) 0; background: transparent; }
.contact-inner {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 64px);
  text-align: center;
}
.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.contact-inner .sec-title { margin: 0 0 20px; transition-delay: .05s; }
.contact-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2.05;
  margin: 0 0 48px;
  transition-delay: .1s;
}
.contact-card {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 60px) clamp(20px, 4vw, 44px);
  transition-delay: .14s;
}
.contact-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 8px;
}
.contact-card-sub { font-size: 13px; color: var(--muted); margin: 0 0 32px; }
.btn-contact {
  justify-content: center;
  width: 100%;
  max-width: 340px;
  height: 56px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  letter-spacing: .08em;
  border: none;
}
.contact-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
  padding-top: 18px;
  margin: 28px 0 0;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 14vw, 200px) 0;
  background: var(--ink);
  text-align: center;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(26px, 6vw, 64px);
}
.final-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 64%, #fff);
  margin: 0 0 30px;
}
.final-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.95rem, 4.6vw, 3.1rem);
  letter-spacing: .16em;
  line-height: 1.75;
  color: #fff;
  margin: 0 0 24px;
  transition-delay: .06s;
}
.final-desc {
  font-size: 14.5px;
  line-height: 2.05;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 48px;
  transition-delay: .12s;
}
.final-cta-actions { transition-delay: .18s; }
.btn-final {
  height: 62px;
  padding: 0 48px;
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  letter-spacing: .12em;
  border: none;
}
.final-sub { margin-top: 32px; }
.final-sub a {
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  padding-bottom: 2px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: clamp(48px, 7vw, 72px) 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 30px 44px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.footer-logo-ja {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .26em;
  color: #fff;
}
.footer-logo-en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: center;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
}
.footer-link .footer-ico { display: inline-flex; color: rgba(255, 255, 255, .82); }
.footer-copy {
  max-width: var(--container);
  margin: 36px auto 0;
  padding: 0 var(--pad-x);
  color: rgba(255, 255, 255, .34);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* =========================================================
   RESPONSIVE — breakpoint 860px（JS isDesktop と一致）
   ========================================================= */
@media (max-width: 859px) {
  .header-nav,
  .btn-header,
  .hud { display: none; }
  .menu-toggle { display: flex; }
}

/* =========================================================
   prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .onair-dot,
  .onair-eq i,
  .latest-auto-dot { animation: none; }
  .hero-image { transform: scale(1.04) !important; }
}
