@font-face {
  font-family: "Kenshin Mincho";
  src: url("assets/jp-serif-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Kenshin Gothic";
  src: url("assets/jp-sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kenshin Roman";
  src: url("assets/roman-light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}

:root {
  --ink: #121114;
  --surface: #211d20;
  --white: #f3efe9;
  --muted: #c1b7b9;
  --line: #41383d;
  --vermilion: #ff8172;
  --washi: url("assets/washi-fibers.webp");
  --margin: clamp(24px, 6vw, 112px);
  --display: "Inter", "Helvetica Neue", Arial, "Kenshin Gothic", sans-serif;
  --sans: "Inter", "Kenshin Gothic", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
  --serif-ja: "Kenshin Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--white);
  background: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html[lang="ja"] [lang="en"]:not(.wordmark-text):not(.profile-roman),
html[lang="en"] [lang="ja"] { display: none; }
body, h1, h2, h3, p, figure, ul, form { margin: 0; }
body { min-width: 280px; }

.scroll-portfolio {
  --page-edge-inset: clamp(7px, 1.15vw, 19px);
  position: relative;
  isolation: isolate;
  background: var(--ink);
}
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--vermilion); }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.frame {
  width: min(calc(100% - 2 * var(--margin)), 1420px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: var(--ink);
  border-bottom: 1px solid transparent;
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    background: rgb(18 17 20 / .91);
    backdrop-filter: blur(16px) saturate(125%);
  }
}

.header-inner {
  width: min(calc(100% - 2 * var(--margin)), 1420px);
  min-height: 73px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(17px, 4.2vw, 63px);
}

.header-credentials {
  display: grid;
  gap: 3px;
  justify-self: start;
  padding-block: 6px;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.38;
  letter-spacing: .065em;
}
.header-credentials span:nth-child(even) { color: var(--muted); }

.wordmark {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.seal {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  background: var(--vermilion);
  color: var(--ink);
  font: 700 19px/1 var(--serif-ja);
}
.wordmark-text {
  font: 700 19px/1 var(--display);
  letter-spacing: .075em;
}

.site-nav { display: flex; align-items: center; gap: clamp(19px, 3.15vw, 50px); }
.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: #dddee2;
  font: 500 13px/1 var(--display);
}
.site-nav a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  bottom: 4px;
  left: 0;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav .mobile-contact, .menu-button { display: none; }

.header-actions { display: flex; justify-content: end; align-items: center; gap: clamp(14px, 2vw, 31px); }
.language { display: flex; align-items: center; gap: 4px; color: var(--muted); font: 400 11px/1 var(--mono); }
.language button { min-height: 40px; padding: 0 5px; border: 0; background: transparent; cursor: pointer; }
.language button[aria-pressed="true"] { color: var(--vermilion); font-weight: 700; }

.header-contact {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #4a4b55;
  font: 500 13px/1 var(--display);
  transition: background-color .24s ease, border-color .24s ease;
}
.header-contact span { color: var(--vermilion); }
.header-contact:hover { background: var(--surface); border-color: var(--vermilion); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(620px, calc(100svh - 100px), 840px);
  overflow: hidden;
  background: radial-gradient(ellipse at 0% 87%, #281e21, transparent 64%), var(--ink);
}

.hero-visual {
  position: absolute;
  inset: 0;
}
.hero-video-wrap {
  position: absolute;
  inset: 0 0 71px 20%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero-video-wrap.is-letterboxed .hero-video {
  /* The first two films have a black matte encoded in the frame. Keep the caption area in view. */
  inset-block-start: -12%;
  height: 113%;
  object-position: 58% bottom;
}

.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink), transparent 14%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 12%, rgb(18 17 20 / .92) 22%, rgb(18 17 20 / .48) 34%, transparent 54%),
    linear-gradient(0deg, var(--ink) 0%, transparent 14%);
  pointer-events: none;
}

.hero-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 52% at var(--light-x, 73%) var(--light-y, 49%), rgb(187 160 148 / .1), transparent 84%),
    radial-gradient(ellipse 41% 72% at 3% 85%, rgb(132 51 44 / .31), transparent 85%);
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--washi) repeat;
  mix-blend-mode: soft-light;
  opacity: .36;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-block: 32px 100px;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }

.hero-branding {
  display: grid;
  justify-items: center;
  width: fit-content;
}

.eyebrow::before {
  content: "";
  flex: 0 0 21px;
  height: 1px;
  background: var(--vermilion);
}

.artist-name {
  display: grid;
  justify-items: center;
  gap: clamp(6px, 1vw, 13px);
  margin-bottom: clamp(10px, 1.4vw, 20px);
  filter: drop-shadow(0 3px 17px rgb(8 6 8 / .62));
}

.artist-kanji {
  width: clamp(172px, 21vw, 303px);
}
.artist-kanji-stage { position: relative; display: block; width: fit-content; }
.artist-sand {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .artist-kanji-stage.is-assembling .artist-kanji { opacity: var(--kanji-ink, 0); }
  .hero.is-sand-assembling .artist-sand { display: block; }
}


.artist-roman {
  color: var(--white);
  font: 300 clamp(22px, 3.1vw, 45px)/1 "Kenshin Roman", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .22em;
  padding-inline-start: .22em;
}

.hero-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #696872;
  padding: 0 11px 0 0;
  font-size: 13px;
  letter-spacing: .075em;
  transition: border-color .2s ease;
}
.hero-action:hover { border-color: var(--vermilion); }

.hero-arrow {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  margin-inline-start: 4px;
  border-radius: 50%;
  background: var(--vermilion);
  color: var(--ink);
  font: 700 16px/1 var(--display);
  transition: transform .25s ease;
}
.hero-action:hover .hero-arrow { transform: translateY(3px); }

.hero-video-controls {
  position: absolute;
  z-index: 4;
  inset-inline: var(--margin);
  bottom: clamp(21px, 4vh, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.hero-video-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  border: 1px solid #565762;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.hero-video-controls button:hover { border-color: var(--vermilion); }
.hero-film-options { display: flex; grid-column: 2; gap: 2px; }
.hero-transport-controls { display: flex; grid-column: 3; justify-self: end; }
.hero-film-options button {
  position: relative;
  inline-size: 44px;
  font: 700 17px/1 var(--serif-ja);
}
.hero-film-options button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset-block-end: 7px;
  inset-inline-start: 50%;
  inline-size: 1.12em;
  block-size: 2px;
  border-radius: 1px;
  background: #f1483e;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-play-symbol, .hero-stop-symbol { display: block; background: currentColor; }
.hero-play-symbol { width: 12px; height: 14px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hero-stop-symbol {
  width: 11px;
  height: 13px;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 8px, currentColor 8px);
}
.hero-speaker-symbol {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-hero-sound][aria-pressed="false"] .speaker-waves,
[data-hero-sound][aria-pressed="true"] .speaker-muted { display: none; }

.has-scroll-reveal [data-scroll-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1), transform .78s cubic-bezier(.22, 1, .36, 1);
}
.has-scroll-reveal [data-scroll-reveal="after"] { transition-delay: .09s; }
.has-scroll-reveal [data-scroll-reveal].is-visible,
.has-scroll-reveal [data-scroll-reveal]:focus-within { opacity: 1; transform: none; }
.has-scroll-reveal [data-scroll-reveal]:focus-within { transition: none; }

.section { padding-block: clamp(70px, 8.1vw, 136px); }
.section-heading, .career-heading { display: grid; gap: clamp(8px, 1.1vw, 16px); align-content: start; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .155em;
}
.eyebrow::before { flex-basis: 17px; }
.section-heading h2, .career-heading h2 {
  font: 700 clamp(54px, 8.1vw, 134px)/.94 var(--display);
  letter-spacing: -.08em;
}

[data-title-reveal] {
  --brush-art: url("assets/telop-brush-work.webp");
  --brush-opacity: .96;
  --brush-feather: clamp(.6px, .34cqi, 2px);
  --brush-haze: clamp(3px, 1.85cqi, 11px);
  --brush-haze-opacity: .26;
  --brush-edge: .60;
  --brush-fill: .50;
  position: relative;
  isolation: isolate;
  z-index: 2;
  inline-size: min(100%, 590px);
  max-inline-size: 100%;
  min-inline-size: 0;
}

#news-title { --brush-art: url("assets/telop-brush-news.webp"); }
#message-title { --brush-art: url("assets/telop-brush-message.webp"); }
#profile-title { --brush-art: url("assets/telop-brush-profile.webp"); }
#career-title { --brush-art: url("assets/telop-brush-projects.webp"); }
#contact-title { --brush-art: url("assets/telop-brush-contact.webp"); }

[data-brush-style="fog"] [data-title-reveal] {
  --brush-opacity: .92;
  --brush-feather: clamp(1.5px, .83cqi, 5px);
  --brush-haze: clamp(5px, 3.4cqi, 20px);
  --brush-haze-opacity: .36;
  --brush-edge: .44;
  --brush-fill: .68;
}

[data-brush-style="dry"] [data-title-reveal] {
  --brush-opacity: .96;
  --brush-feather: clamp(.35px, .19cqi, 1.1px);
  --brush-haze: clamp(2px, 1.1cqi, 7px);
  --brush-haze-opacity: .17;
  --brush-edge: .66;
  --brush-fill: .25;
}

.title-telop {
  --brush-bleed: 0%;
  position: relative;
  display: block;
  inline-size: 100%;
  aspect-ratio: 3;
  container-type: inline-size;
  transform-origin: right center;
}

.title-telop::before,
.title-brush {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(var(--brush-bleed));
}

.title-telop::before {
  content: "";
  background: var(--brush-art) center / 100% 100% no-repeat;
  filter: blur(var(--brush-haze));
  opacity: var(--brush-haze-opacity);
}

.title-brush {
  background: var(--brush-art) center / 100% 100% no-repeat;
  filter: blur(var(--brush-feather));
  opacity: var(--brush-opacity);
  mask-image:
    radial-gradient(ellipse 67% 71% at 43% 56%, #000 38%, rgb(0 0 0 / .97) 55%, rgb(0 0 0 / var(--brush-edge)) 78%, transparent 100%),
    url("assets/heading-brush-fibers.svg"),
    linear-gradient(rgb(0 0 0 / var(--brush-fill)) 0 0);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: intersect, add;
}

.title-lettering {
  position: absolute;
  z-index: 1;
  inset-inline-start: 49.22%;
  inset-block-start: 56.55%;
  transform: translate(-50%, -50%) scaleX(.73);
  color: #08080a;
  font: 900 clamp(20px, 4vw, 76px)/1 var(--display);
  font-size: 15.1cqi;
  letter-spacing: -.057em;
  -webkit-text-stroke: .045em currentColor;
  white-space: nowrap;
}

.title-telop--wide .title-lettering {
  font-size: clamp(15px, 2.6vw, 46px);
  font-size: 9.65cqi;
}

.title-splash {
  position: absolute;
  inset-inline-end: 6%;
  inset-block-start: 52%;
  pointer-events: none;
  --ink-throw: 1;
}

.title-splash > i {
  position: absolute;
  width: var(--drop-width);
  height: var(--drop-height);
  border-radius: 22% 71% 58% 66% / 42% 68% 45% 61%;
  background: #b8a17e;
  filter: blur(1.3px);
  --throw-x: calc(var(--drop-x) * var(--ink-throw));
  --throw-y: calc(var(--drop-y) * var(--ink-throw));
  opacity: 0;
}

[data-motion-state="waiting"] > .title-telop { opacity: 0; }

[data-motion-state="playing"] > .title-telop {
  animation: heading-brush-sweep 560ms both !important;
}

[data-motion-state="playing"] > .title-splash > i {
  animation: heading-ink-flick 640ms both !important;
}

@keyframes heading-brush-sweep {
  0% {
    opacity: 0;
    transform: translate3d(var(--title-entry-x), 3px, 0) skewX(-9deg) scaleX(1.06);
    animation-timing-function: cubic-bezier(.24, .04, .56, .63);
  }
  49% {
    opacity: .85;
    transform: translate3d(4px, 0, 0) skewX(-2deg);
    animation-timing-function: cubic-bezier(.18, .72, .3, 1);
  }
  100% { opacity: 1; transform: none; }
}

@keyframes heading-ink-flick {
  0%, 39% { opacity: 0; transform: translate3d(0, 0, 0) rotate(var(--drop-angle)) scale(.28); }
  53% {
    opacity: calc(var(--drop-opacity) * .42);
    transform: translate3d(calc(var(--throw-x) * .61), calc(var(--throw-y) * .61), 0)
      rotate(var(--drop-angle)) scale(1.08);
    animation-timing-function: cubic-bezier(.2, .63, .35, 1);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--throw-x), var(--throw-y), 0) rotate(var(--drop-angle)) scale(.54);
  }
}

html { overflow-x: clip; }

@media (prefers-reduced-motion:no-preference){
  /* Illuminate the original transparent calligraphy asset, without redrawing it. */
  .artist-kanji.is-lit {
    animation: kanji-light 1100ms ease-out 160ms both;
  }
  @keyframes kanji-light {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgb(255 236 200 / 0)); }
    24% { filter: brightness(1.18) drop-shadow(0 0 8px rgb(255 236 200 / .5)); }
    52% { filter: brightness(1.07) drop-shadow(0 0 14px rgb(255 236 200 / .19)); }
  }
}

.works { position: relative; overflow-x: clip; }
.works .section-heading { padding-bottom: clamp(20px, 3vw, 42px); }

.exhibition-photos {
  --gallery-gap: clamp(20px, 3.65vw, 59px);
  display: grid;
  grid-template-columns: .8fr 1.13fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
  margin-top: clamp(30px, 4.2vw, 65px);
}
.work-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.work-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -65px -22% -32px;
  background: radial-gradient(ellipse 56% 40% at 50% 38%,
    rgb(245 227 201 / .24), rgb(245 227 201 / .10) 49%, transparent 88%);
  pointer-events: none;
}
.work-flag { margin-top: clamp(25px, 5vw, 81px); }
.work-daruma { margin-top: clamp(12px, 2.8vw, 48px); }
.work-image {
  display: block;
  position: relative;
  overflow: hidden;
  padding: clamp(6px, 1.05vw, 18px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #2c2428, #1e1a1d 66%);
  cursor: zoom-in;
}
.work-image img {
  transform-origin: center;
  transition: transform .45s cubic-bezier(.2,.65,.25,1);
}
.work-image:hover img { transform: scale(1.027); }
.works .work-image {
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
}
.works .work-image img {
  box-shadow: 1px 3px 6px rgb(0 0 0 / .36), 9px 20px 32px -15px rgb(0 0 0 / .80);
}
.work-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: #fff;
  background: rgb(13 14 20 / .86);
  border: 1px solid rgb(255 255 255 / .32);
  font: 400 17px/1 var(--display);
  transition: background-color .22s ease, color .22s ease;
}
.work-image:hover .work-zoom, .work-image:focus-visible .work-zoom { background: var(--vermilion); color: var(--ink); }

.work-card figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.work-card h3 { font: 650 clamp(18px, 1.9vw, 30px)/1.12 var(--display); letter-spacing: -.035em; }
.work-card h3 [lang="ja"] { font: 700 .84em/1.5 var(--serif-ja); letter-spacing: .04em; }
.work-card figcaption p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.work-card figcaption .work-event { margin-top: 8px; color: var(--white); font-family: var(--mono); }
.work-card figcaption .work-story { margin-top: 11px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }

.news-layout, .career-layout {
  display: grid;
  grid-template-columns: minmax(207px, .98fr) minmax(0, 1.9fr);
  gap: clamp(35px, 7vw, 108px);
}
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 8.55em minmax(0, 1fr) 17px;
  gap: 15px;
  align-items: center;
  min-height: 71px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(13px, 1.15vw, 16px);
  transition: color .2s ease;
}
.news-list time { color: var(--muted); font: 400 12px/1.2 var(--mono); }
.news-arrow { color: var(--vermilion); font-size: 16px; }
.news-list a:hover { color: var(--vermilion); }

.message-lead {
  margin-top: clamp(23px, 4vw, 46px);
  font: 650 clamp(26px, 4vw, 58px)/1.13 var(--display);
  letter-spacing: -.058em;
}
.message-lead [lang="ja"] {
  font: 700 .78em/1.47 var(--serif-ja);
  letter-spacing: .065em;
}
.body-text { max-width: 40em; margin-top: 17px; color: var(--muted); font-size: 15px; line-height: 1.9; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  margin-top: 24px;
  padding-inline: 1px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.text-link > span[aria-hidden="true"]:last-child { color: var(--vermilion); }
.text-link:hover { border-color: var(--vermilion); }

.profile-name { margin-top: 31px; font: 700 clamp(30px, 4.1vw, 55px)/1.2 var(--serif-ja); }
.profile-name .profile-roman {
  display: inline-block;
  margin-left: 8px;
  font: 700 clamp(14px, 1.75vw, 25px)/1 var(--display);
  letter-spacing: .07em;
}

.career-heading h2 { font-size: clamp(38px, 5.4vw, 76px); line-height: .96; }
.career-list { border-top: 1px solid var(--line); }
.career-list details { border-bottom: 1px solid var(--line); }
.career-list summary {
  display: grid;
  min-height: 63px;
  grid-template-columns: 4.3em minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  padding: 10px 4px 10px 0;
  list-style: none;
  font-size: 14px;
  cursor: pointer;
}
.career-list summary::-webkit-details-marker { display: none; }
.career-list summary:hover { color: var(--vermilion); }
.career-list summary time { color: var(--muted); font: 400 13px/1.2 var(--mono); }

.expand-icon { position: relative; width: 14px; height: 14px; color: var(--vermilion); }
.expand-icon::before, .expand-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 12px;
  height: 1px;
  background: currentColor;
}
.expand-icon::after { transform: rotate(90deg); }
.career-list details[open] .expand-icon::after { transform: none; }
.career-detail { padding: 0 25px 20px calc(4.3 * 14px + 14px); color: var(--muted); font-size: 13px; line-height: 1.9; }
.career-detail a { display: inline-block; margin-top: 5px; color: var(--vermilion); text-decoration: underline; text-underline-offset: 3px; }
.career-links { display: flex; flex-wrap: wrap; column-gap: 18px; margin-top: 4px; }
.career-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 0; }
.career-link-fallback {
  margin-block: 6px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.career-link-fallback-controls { display: flex; gap: 8px; margin-top: 6px; }
.career-link-fallback input, .career-link-fallback button {
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--white);
  background: var(--ink);
}
.career-link-fallback input { flex: 1; min-width: 0; font: 400 16px/1.4 var(--sans); }
.career-link-fallback button { background: var(--surface); cursor: pointer; }
.career-link-fallback output { display: block; }
.career-gallery { margin-block: 16px 6px; }
.career-gallery--pair { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(9px, 1.3vw, 20px); }
.career-gallery--single { max-width: 540px; }
.career-gallery--uprising { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(9px, 1.3vw, 20px); align-items: start; }
.career-photo { min-width: 0; }
.career-photo .work-image { display: block; margin-top: 0; padding: 0; }
.career-gallery--uprising .work-image { aspect-ratio: 4 / 5; background: #fff; }
.career-gallery--uprising img { height: 100%; object-fit: contain; }
.career-gallery--uprising .uprising-logo { padding: 9%; }
.career-photo-frame { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.career-video { display: block; width: 100%; height: auto; background: var(--ink); }
.exhibition-film-stack { touch-action: pan-y; }
.exhibition-film + .exhibition-film { margin-top: 14px; }
.exhibition-film-stack.is-carousel .exhibition-film { margin-top: 0; }
.exhibition-film-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 10px;
}
.exhibition-film-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  cursor: pointer;
}
.exhibition-film-controls button:hover { border-color: var(--vermilion); }
.exhibition-film-position {
  min-width: 42px;
  color: var(--muted);
  font: 400 12px/1 var(--mono);
  text-align: center;
}
.career-gallery--pair .career-photo-frame { height: clamp(150px, 21vw, 280px); }
.career-gallery--pair img { height: 100%; object-fit: cover; object-position: center 46%; }
.career-photo-frame--daruma {
  background: #23384b;
  padding: clamp(7px, 1.25vw, 16px);
}
.career-gallery--pair .career-photo-frame--daruma img {
  object-fit: contain;
  object-position: center;
}
.career-photo figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.career-gallery--daia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.career-gallery--daia .career-photo-frame { height: auto; aspect-ratio: 3 / 2; }
.career-gallery--daia img { object-fit: contain; }
.career-gallery--daia figcaption a { margin-top: 0; color: inherit; }

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 0;
  color: #fff9f5;
}
.contact::after {
  content: "";
  position: absolute;
  inset: auto var(--page-edge-inset) 0;
  height: 11px;
  border-block: 1px solid #5c554c;
  background: #211e1b;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .28);
  pointer-events: none;
}
.contact .eyebrow, .contact .body-text { color: #fff1ec; }
.contact .eyebrow::before { background: #fff1ec; }
.contact :focus-visible { outline-color: #fff5ee; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  align-items: end;
  gap: 39px;
  margin-bottom: clamp(55px, 8vw, 112px);
}
.contact-copy .body-text { margin-top: 0; }
.contact-copy address { display: grid; gap: 9px; margin-top: 21px; font-style: normal; }
.management { color: #fff1ec; font-size: 12px; letter-spacing: .135em; }
.contact-copy address a {
  width: max-content;
  max-width: 100%;
  padding-bottom: 3px;
  border-bottom: 1px solid rgb(255 249 245 / .65);
  font: 650 clamp(23px, 3.2vw, 48px)/1.13 var(--display);
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.contact-copy address a span { color: #fff5eb; font: 400 17px/1 var(--display); }
.contact-copy address a:hover { border-color: #fff9f5; }

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(17px, 3.2vw, 49px);
  min-height: 83px;
  border-top: 1px solid rgb(255 249 245 / .52);
  font-size: 13px;
}
.footer-bar .seal { width: 26px; height: 26px; background: #fff9f5; color: #a92925; font-size: 17px; }
.footer-bar .wordmark-text { font-size: 17px; }
.footer-instagram { display: inline-flex; min-height: 44px; align-items: center; gap: 4px; }
.footer-bar > a:hover { text-decoration: underline; text-underline-offset: 4px; }

.viewer {
  position: fixed;
  max-width: min(94vw, 940px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid #565561;
  color: var(--white);
  background: #17181e;
}
.viewer::backdrop { background: rgb(7 7 11 / .87); backdrop-filter: blur(8px); }
.viewer-inner { position: relative; padding: 53px clamp(14px, 2.2vw, 27px) 18px; }
.viewer-close {
  position: absolute;
  top: 7px;
  right: 10px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  width: 39px;
  height: 39px;
  border: 1px solid #777782;
  background: transparent;
  font: 27px/1 Arial, sans-serif;
  cursor: pointer;
}
.viewer-close:hover { border-color: var(--vermilion); }

.work-viewer { width: max-content; max-width: min(94vw, 1280px); }
.work-viewer img {
  width: auto;
  max-width: 100%;
  max-height: calc(90vh - 102px);
  max-height: calc(90dvh - 102px);
  margin-inline: auto;
  object-fit: contain;
}
.work-viewer figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; }

@media (max-width: 850px) {
  :root { scroll-padding-top: 65px; }
  .header-inner { min-height: 64px; gap: 15px; }
  .site-nav { gap: 20px; }
  .hero { min-height: clamp(500px, 75svh, 680px); }
  .hero-video-wrap { left: 12%; }
  .hero-visual::after {
    background:
      linear-gradient(90deg, var(--ink) 6%, rgb(18 17 20 / .88) 17%, rgb(18 17 20 / .46) 33%, transparent 55%),
      linear-gradient(0deg, var(--ink) 0%, transparent 17%);
  }
  .news-layout, .career-layout { grid-template-columns: minmax(145px, .75fr) minmax(0, 1.75fr); gap: 32px; }
  .news .section-heading h2 { font-size: clamp(48px, 7.2vw, 66px); }
  .news-list a { grid-template-columns: 6.7em minmax(0, 1fr) 15px; gap: 10px; }
}

@media (max-width: 790px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-contact { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 7px var(--margin) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
  }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav .mobile-contact { display: flex; }
  .site-nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { content: none; }
  .menu-button {
    display: grid;
    width: 43px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 0;
    border: 1px solid #52535d;
    background: transparent;
    cursor: pointer;
  }
  .menu-button span { width: 17px; height: 1px; background: var(--white); transition: transform .22s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

@media (max-width: 620px) and (orientation: portrait) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { padding-block: clamp(8px, 2.5vw, 14px) 0; }
  .hero-branding { margin-inline: auto; }
  .hero-visual { position: relative; margin-top: 3px; padding-bottom: 9px; }
  .hero-video-wrap { position: relative; inset: auto; aspect-ratio: 11 / 10; }
  .hero-video-wrap::after { content: none; }
  .hero-visual::after { background: linear-gradient(180deg, var(--ink) 0%, transparent 6%, transparent 83%, var(--ink) 95%); }
  .hero-video-controls {
    position: relative;
    inset: auto;
    margin-inline: 12px;
  }
  .artist-name { gap: 3px; margin-bottom: 3px; }
  .artist-kanji { width: clamp(86px, 26vw, 143px); }
  .artist-roman { font-size: clamp(15px, 4.4vw, 23px); }
  .hero-action { min-height: 38px; font-size: 12px; }
  .hero-arrow { width: 23px; height: 23px; font-size: 14px; }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 1024px) {
  .hero {
    grid-template-columns: clamp(138px, 24vw, 224px) minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
  }
  .hero-copy { width: 100%; display: grid; place-items: center; padding: 12px; }
  .artist-name { gap: 4px; margin-bottom: 6px; }
  .artist-kanji { width: clamp(86px, 15vw, 153px); }
  .artist-roman { font-size: clamp(15px, 2.8vw, 26px); }
  .hero-action { min-height: 38px; gap: 8px; font-size: 11px; white-space: nowrap; }
  .hero-arrow { width: 22px; height: 22px; font-size: 14px; }
  .hero-visual {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 214px;
    height: calc(100svh - 65px);
  }
  .hero-video-wrap { position: relative; inset: auto; }
  .hero-visual::after { content: none; }
  .hero-video-controls { position: relative; inset: auto; margin: 5px 12px 7px; }
}

@media (max-width: 620px) {
  :root { --margin: 22px; }
  .section { padding-block: 66px; }
  .section-heading h2, .news .section-heading h2 { font-size: clamp(58px, 17vw, 86px); }
  [data-title-reveal] { inline-size: min(100%, 430px); }
  /* The left wedge bleeds off screen while the short hanging drips stay in view. */
  .title-telop { --brush-bleed: -21%; }
  .title-lettering {
    inset-inline-start: 0;
    transform: translateY(-50%) scaleX(.76);
    transform-origin: left center;
    font-size: 13.2cqi;
  }
  .title-telop--wide .title-lettering { font-size: 8.5cqi; }
  .title-splash { --ink-throw: .65; inset-inline-end: 35%; }
  .eyebrow { font-size: 11px; }
  .works .section-heading { padding-bottom: 22px; }
  .exhibition-photos { grid-template-columns: minmax(0, 1fr); gap: 39px; margin-top: 27px; }
  .work-flag, .work-daruma { margin-top: 0; }
  .work-scroll { width: min(78%, 325px); justify-self: center; }
  .work-daruma { width: min(94%, 416px); justify-self: center; }
  .work-card figcaption { margin-top: 10px; padding-top: 9px; }
  .work-card h3 { font-size: 23px; }

  .news-layout, .career-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .news-layout, .career-layout { gap: 26px; }
  .news-list a { min-height: 64px; grid-template-columns: 6.1em minmax(0, 1fr) 13px; gap: 9px; font-size: 13px; }
  .news-list time { font-size: 11px; }
  .news-arrow { font-size: 14px; }
  .message-lead { margin-top: 25px; font-size: 34px; }
  .body-text { font-size: 14px; }
  .profile-name { margin-top: 23px; }
  .career-heading h2 { font-size: clamp(40px, 9.5vw, 56px); }
  .career-list summary { gap: 10px; grid-template-columns: 3.3em minmax(0, 1fr) 15px; }
  .career-detail { padding-left: calc(3.3 * 14px + 10px); }
  .career-with-image { padding-inline: 0; }
  .career-gallery--pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .career-gallery--pair .career-photo-frame { height: auto; aspect-ratio: 1.35; }
  .career-gallery--pair .career-photo-frame--daruma { aspect-ratio: 1.56; }

  .contact { padding-bottom: 0; }
  .contact-layout { gap: 24px; margin-bottom: 45px; }
  .footer-bar { gap: 12px; min-height: 67px; font-size: 11px; }
  .footer-bar .wordmark { gap: 5px; }
  .footer-bar .seal { width: 21px; height: 21px; font-size: 14px; }
  .footer-bar .wordmark-text { font-size: 13px; }
}

@media (max-width: 340px) {
  .section-heading h2, .news .section-heading h2 { font-size: clamp(47px, 16vw, 54px); }
  .hero-video-controls { display: flex; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .work-image:hover img, .hero-action:hover .hero-arrow { transform: none; }
  .has-scroll-reveal [data-scroll-reveal],
  .has-title-reveal [data-title-reveal] > span { opacity: 1; transform: none; }
}

/* This owner-only action preview deliberately plays the requested motion.
   The visible ON/OFF control affects this page only, never device settings. */
.preview-motion-enabled:not(.preview-motion-paused) .artist-kanji-stage.is-assembling .artist-kanji{opacity:var(--kanji-ink,0);}
.preview-motion-enabled:not(.preview-motion-paused) .hero.is-sand-assembling .artist-sand{display:block;}
.preview-motion-enabled:not(.preview-motion-paused) .artist-kanji.is-lit{animation:kanji-light 1100ms ease-out 160ms both !important;}
@keyframes kanji-light{
  0%,100%{filter:brightness(1) drop-shadow(0 0 0 rgb(255 236 200 / 0));}
  24%{filter:brightness(1.18) drop-shadow(0 0 8px rgb(255 236 200 / .5));}
  52%{filter:brightness(1.07) drop-shadow(0 0 14px rgb(255 236 200 / .19));}
}
.preview-motion-paused .artist-sand{display:none !important;}
.preview-motion-paused .artist-kanji{animation:none !important;opacity:1 !important;}

/* Ceremony notice and clearly labelled related footage. */
.ceremony-organizers{margin-top:14px;}
.ceremony-related-film{margin-top:20px;}
.ceremony-related-film figcaption{margin-bottom:10px;color:var(--white);font-size:13px;line-height:1.7;}
.ceremony-related-film iframe{display:block;width:100%;aspect-ratio:16/9;border:1px solid var(--line);background:#000;}
.ceremony-related-film>a{min-height:44px;padding-block:8px;}

.ceremony-related-film .ceremony-youtube-card{display:flex;align-items:center;gap:18px;width:100%;min-height:150px;padding:24px;border:1px solid #55474e;background:linear-gradient(115deg,#252024,#121114);color:var(--white);text-decoration:none;}
.ceremony-youtube-card:hover{border-color:var(--vermilion);background:#2d2229;}
.ceremony-play-icon{display:grid;place-items:center;flex:none;width:56px;height:40px;border-radius:9px;background:#f00;color:#fff;font-size:19px;}
.ceremony-youtube-label{display:grid;gap:5px;min-width:0;line-height:1.6;}
.ceremony-youtube-label strong{font:700 18px/1.2 var(--sans);}
.ceremony-video-arrow{margin-left:auto;color:var(--vermilion);font-size:24px;}
@media(max-width:620px){.ceremony-related-film .ceremony-youtube-card{min-height:130px;gap:12px;padding:18px 14px;}.ceremony-play-icon{width:45px;height:34px;font-size:16px;}}
