:root {
  --paper: #f5f5f2;
  --ink: #171714;
  --muted: #666660;
  --line: #171714;
  --accent: #d95829;
  --pad: clamp(12px, 1vw, 20px);
  --header-height: 60px;
  --stage-height: max(600px, 100svh);
  --intro-travel: 100svh;
  --opening-w: min(74vw, 90svh, 1040px);
  --opening-h: calc(var(--opening-w) * 2 / 3);
  color-scheme: light;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: #e5c1a9; color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: var(--pad); z-index: 30; padding: 14px 20px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); padding: 0 var(--pad); z-index: 10; display: flex; justify-content: space-between; align-items: center; color: var(--ink); background: var(--paper); pointer-events: none; }
.header a { pointer-events: auto; }
.brand { display: flex; align-items: center; min-height: 44px; font-size: 25px; font-weight: 350; letter-spacing: -.055em; }
.header nav { display: flex; gap: clamp(32px, 5vw, 80px); font-size: 14px; font-weight: 550; }
.header nav a { position: relative; display: flex; align-items: center; min-height: 44px; }
.header nav a::after { content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header nav a[aria-current="location"]::after { transform: scaleX(1); }
.header.has-surface { color: var(--ink); background: var(--paper); mix-blend-mode: normal; border-bottom: 1px solid var(--line); }
/* One reversible composition. The light copy is clipped precisely to the image. */
.hero { position: relative; height: var(--stage-height); isolation: isolate; }
html.motion-ready .hero { height: calc(var(--stage-height) + var(--intro-travel)); }
.hero-stage { position: sticky; top: 0; height: var(--stage-height); overflow: hidden; isolation: isolate; background: var(--paper); }
.hero-art { position: absolute; top: var(--art-y, calc(45% - var(--opening-h) / 2)); left: var(--art-x, calc((100% - var(--opening-w)) / 2)); width: var(--art-w, var(--opening-w)); height: var(--art-h, var(--opening-h)); overflow: hidden; }
.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 12%; transform: translate3d(var(--image-x, 0px), var(--image-y, 0px), 0) scale(var(--image-scale, 1)); }
.artist-wordmark { position: absolute; top: var(--type-top, calc(45% + var(--opening-h) * .26)); left: 3%; width: 94%; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--word-space, 0px) minmax(0, 1fr); align-items: center; transform: translateY(-50%); font-size: var(--type-size, clamp(48px, 12vw, 210px)); font-optical-sizing: none; line-height: 1; letter-spacing: -.065em; font-weight: 330; pointer-events: none; user-select: none; }
.word-half { display: flex; align-items: baseline; width: max-content; }
/* Anchor each half to the image slot; optical offsets account for glyph ink. */
.word-half:first-child { justify-self: end; transform: translateX(var(--ha-optical-x, 0px)); }
.word-half:last-child { justify-self: start; transform: translateX(var(--ru-optical-x, 0px)); }
.word-space { display: block; flex-shrink: 0; width: var(--word-space, 0px); }
.letter { display: inline-block; flex-shrink: 0; line-height: 1.08; margin-right: .025em; }
.kanji-mark { position: absolute; top: var(--kanji-top, calc(45% + var(--opening-h) / 2 + 40px)); left: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-family: 'Noto Serif JP', serif; font-size: clamp(18px, 1.65vw, 26px); font-weight: 400; letter-spacing: .16em; pointer-events: none; }
.hero-type-mask { position: absolute; inset: 0; color: var(--paper); pointer-events: none; clip-path: inset(var(--art-y, calc(45% - var(--opening-h) / 2)) calc(100% - var(--art-x, calc((100% - var(--opening-w)) / 2)) - var(--art-w, var(--opening-w))) calc(100% - var(--art-y, calc(45% - var(--opening-h) / 2)) - var(--art-h, var(--opening-h))) var(--art-x, calc((100% - var(--opening-w)) / 2))); }
.hero-bottom { position: absolute; bottom: 12px; left: var(--pad); right: var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 14px; font-weight: 500; }
.hero-bottom a, .motion-toggle { min-height: 44px; display: inline-flex; align-items: center; }
.hero-listen { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; font-size: 16px; font-weight: 450; }
.hero-play-icon { display: inline-flex; align-items: center; justify-content: center; color: currentColor; }
.hero-play-label { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: currentColor; }
.hero-controls { display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 3vw, 48px); }
.motion-toggle { border: 0; padding: 0; background: transparent; color: var(--muted); }
.scroll-link { gap: 12px; }
#opening-end { position: absolute; bottom: 0; left: 0; scroll-margin-top: calc(var(--stage-height) - var(--header-height) - 24px); }
.section { margin: 0; padding: clamp(40px, 4.2vw, 64px) var(--pad); border-top: 1px solid var(--line); }
.sound { background: #c9c9c6; }
.section-label { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(32px, 3.8vw, 58px); font-size: clamp(20px, 1.7vw, 26px); line-height: 1; font-weight: 550; letter-spacing: -.035em; text-transform: uppercase; }
.section-label::before { content: ''; width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }
.recording { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.recording-info h3 { margin: 0 0 18px; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.05; font-weight: 400; letter-spacing: -.045em; }
.recording-meta { margin: 0; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.recording-actions { display: flex; justify-content: flex-end; }
.mix-play { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; width: min(100%, 320px); min-width: 0; padding: 16px 24px; border: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 14px; font-weight: 550; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.icon-pause { display: none; }
[data-playing="true"] .icon-play { display: none; }
[data-playing="true"] .icon-pause { display: block; }
.mix-play[data-playing="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.mix-play[data-playing="true"] svg { color: inherit; }
.direction-icon { display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; vertical-align: middle; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; text-decoration: underline; text-decoration-color: #a3a39a; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.player-area { grid-column: 1 / -1; position: relative; min-width: 0; width: 100%; overflow-anchor: none; padding: 0 clamp(12px, 2vw, 28px) 20px; background: #111; color: #f5f5f2; border: 1px solid var(--ink); }
.player-area:not([hidden]) { animation: player-reveal .45s cubic-bezier(.2,.7,.2,1) both; }
.player-topline { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #484844; margin-bottom: 14px; }
.player-tools { display: flex; align-items: center; gap: 20px; }
.player-close, .mini-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 25px; font-weight: 300; }
.player-live { display: flex; align-items: center; gap: 12px; }
.player-time { color: #b6b6ad; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.play-indicator { display: flex; align-items: center; gap: 3px; height: 20px; }
.play-indicator i { display: block; width: 2px; height: 5px; background: #ddd; transform-origin: center; }
.player-area[data-state="playing"] .play-indicator i { background: #ddd; animation: playback-signal .85s ease-in-out infinite alternate; }
.play-indicator i:nth-child(2) { animation-delay: -.4s!important; }
.play-indicator i:nth-child(3) { animation-delay: -.65s!important; }
.play-indicator i:nth-child(4) { animation-delay: -.2s!important; }
@keyframes playback-signal { to { transform: scaleY(3); } }
@keyframes player-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
#player-slot { scroll-margin-top: calc(var(--header-height) + 24px); }
#player-slot iframe { display: block; width: 100%; height: 170px; border: 0; filter: grayscale(1) invert(1); color-scheme: light; }
#player-slot[aria-busy="true"] { min-height: 170px; }
.player-status { margin: 0; font-size: 14px; line-height: 1.5; }
#retry-player { min-height: 44px; padding: 8px 0; border: 0; background: none; color: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
html.layout-changing { overflow-anchor: none; scroll-behavior: auto; }
.moments-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; column-gap: clamp(32px, 12vw, 180px); }
.moment { min-width: 0; margin: 0; }
.moment img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.moment-day img { object-position: 50% 46%; }
.moment-night { margin-top: clamp(64px, 12vw, 180px); }
.moment-night img { object-position: 52% 46%; }
.moment figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 14px; line-height: 1.5; }
.moment time { color: var(--muted); }
.moment figcaption span + span { color: var(--muted); }
.photo-link { display: block; }
.photo-link img { transition: opacity .2s; }
.photo-link:hover img { opacity: .88; }
.moment-portrait { width: min(100%, 1120px); margin: clamp(64px, 8vw, 120px) auto 0; }
.moment-portrait img { aspect-ratio: auto; object-fit: contain; }
.photo-archive { margin-top: clamp(64px, 8vw, 120px); }
.photo-archive h3 { margin: 0 0 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 400; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: start; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
.photos-open { overflow: hidden; }
.photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px clamp(16px, 3vw, 48px); border: 0; background: #11110f; color: #f5f5f2; }
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; }
.photo-viewer::backdrop { background: #11110f; }
.photo-viewer button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; min-height: 44px; padding: 8px 0; font-size: 14px; }
.photo-viewer-top, .photo-viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.photo-counter { font-size: 13px; font-variant-numeric: tabular-nums; color: #bfbfb7; }
.photo-close { display: flex; align-items: center; gap: 20px; }
.photo-close span { font-size: 26px; }
.photo-viewer-frame { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; margin: 0; gap: 16px; }
.photo-viewer-frame img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-description { text-align: center; color: #bfbfb7; font-size: 13px; line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.bio p { margin: 0 0 24px; max-width: 560px; font-size: clamp(24px, 2vw, 30px); line-height: 1.25; letter-spacing: -.035em; font-weight: 400; }
.bio p a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; text-decoration-color: #a3a39a; }
.bio-location { display: inline-block; max-width: 100%; }
.founder-projects { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 24px; font-size: 14px; line-height: 1.5; letter-spacing: -.015em; }
.founder-projects > :first-child { color: var(--muted); }
.founder-projects a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.booking { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding-top: 0; }
.booking p { margin: 0 0 24px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.booking .text-link { width: auto; min-height: 44px; padding: 0; font-size: 14px; font-weight: 450; text-align: left; text-decoration: underline; }
.booking { justify-content: flex-start; }
body.has-active-player { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.mini-player { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 44px; align-items: center; gap: 12px; min-height: 64px; padding: 4px var(--pad) calc(4px + env(safe-area-inset-bottom)); color: var(--paper); background: #111; box-shadow: 0 -1px #484844; }
.mini-play { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #77776d; border-radius: 50%; background: none; color: inherit; }
.mini-player[data-playing="true"] .mini-play { color: inherit; }
.mini-title { display: flex; align-items: center; gap: 18px; min-height: 44px; min-width: 0; font-size: 14px; }
.mini-title > :first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-status, .mini-time { font-size: 13px; color: #c9c9be; font-variant-numeric: tabular-nums; }
.mini-progress { position: absolute; left: 0; top: -2px; width: var(--play-progress, 0%); height: 2px; background: #f17c4c; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 var(--pad); padding: 10px 0 max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; }
footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
html.motion-off { scroll-behavior: auto; }
html.motion-off .hero { height: var(--stage-height); }
html.motion-off .hero-stage { position: relative; }
@media (hover: hover) {
  .header nav a:hover::after { transform: scaleX(1); }
  .mix-play:hover { color: var(--paper); background: var(--ink); }
  .hero-listen:hover, .booking .text-link:hover { color: currentColor; }
  .player-close:hover, .mini-close:hover { color: #f17c4c; }
  .text-link:hover, .bio p a:hover { text-decoration-color: currentColor; }
  .motion-toggle:hover, footer a:hover { color: var(--ink); }
}
@media (max-width: 800px) {
  .recording, .contact-grid { gap: 24px; }
}
@media (max-width: 600px) {
  :root { --opening-w: min(86vw, 90svh); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --header-height: 60px; --intro-travel: 80svh; }
  .header nav { gap: 24px; }
  .brand { font-size: 24px; }
  .hero-art { top: var(--art-y, 10px); left: var(--art-x, 10px); width: var(--art-w, calc(100% - 20px)); height: var(--art-h, calc(100% - 88px)); }
  .hero-type-mask { clip-path: inset(var(--art-y, 10px) calc(100% - var(--art-x, 10px) - var(--art-w, calc(100% - 20px))) calc(100% - var(--art-y, 10px) - var(--art-h, calc(100% - 88px))) var(--art-x, 10px)); }
  .hero-bottom { grid-template-columns: 1fr auto; font-size: 12px; gap: 2px 10px; }
  .hero-listen { font-size: 14px; }
  .hero-controls { grid-column: 1 / -1; justify-content: space-between; }
  .motion-toggle, .scroll-link { min-height: 36px; }
  .scroll-link { gap: 8px; }
  .section { padding: 40px var(--pad) 44px; }
  .section-label { margin-bottom: 30px; }
  .recording { grid-template-columns: 1fr; gap: 26px; }
  .recording-info h3 { font-size: clamp(34px, 10vw, 48px); }
  .recording-meta { font-size: 14px; }
  .recording-actions { justify-content: stretch; }
  .mix-play { width: 100%; min-height: 60px; }
  .player-topline { min-height: 60px; gap: 8px; }
  .player-live { gap: 8px; }
  .player-time { font-size: 12px; }
  .player-tools { gap: 6px; }
  #player-slot iframe, #player-slot[aria-busy="true"] { height: 180px; min-height: 180px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .moments-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .moment-night { width: 88%; margin: 0 0 0 auto; }
  .bio p { font-size: 26px; max-width: 420px; }
  .booking { padding-top: 0; }
  .booking p { margin-bottom: 18px; }
  .mini-player { gap: 8px; }
  .mini-title { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .mini-status { font-size: 12px; }
  .mini-time { font-size: 12px; }
  footer { padding-top: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero { height: var(--stage-height); }
  .hero-stage { position: relative; }
}
@media print {
  .header, .hero-bottom, .mix-play, footer, .hero-type-mask { display: none; }
  html.motion-ready .hero, html.motion-off .hero, .hero { height: 280px; }
  .hero-stage { position: relative; height: 280px; }
  .hero-art { display: none; }
  .artist-wordmark { top: 45%; font-size: 100px; }
  .word-space { width: 0; }
  .kanji-mark { top: 76%; }
  .section { padding: 30px 0; break-inside: avoid; }
}
