/* Fonts */
/* Fonts are cut to the characters the site uses; rebuild with scripts/build-light-assets.py. */
@font-face {
  font-family: 'Sawarabi Gothic';
  src: url('/blue/assets/fonts/sawarabi-gothic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Sawarabi draws curly quotes at full width ("I’ m"). Borrow only those four
   marks from a proportional system face; Japanese text uses 「」 and is unaffected. */
@font-face {
  font-family: 'Site Quotes';
  src: local('Helvetica Neue'), local('HelveticaNeue'), local('Roboto'), local('Arial');
  unicode-range: U+2018-201D;
}
:root {
  --site-font: 'Site Quotes', 'Sawarabi Gothic', sans-serif;
}
/* Base layout and controls */
:root {
  --muted: #74786d;
  --green: #baff36;
  --radius: 6px;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: transparent;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img,
video,
canvas {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #426500;
  outline-offset: 6px;
}
::selection {
  background: var(--green);
  color: var(--ink);
}
.page-width {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1600px;
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 16px;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 var(--gutter);
}
.wordmark {
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.site-header nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.site-header nav a {
  position: relative;
  padding: 8px 0;
}
.site-header nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  right: 100%;
  transition: right 0.25s;
}
.site-header nav a:hover::after,
.site-header nav a.is-current::after {
  right: 0;
}
.site-header nav a span {
  margin-left: 6px;
}
.works-section {
  padding-top: 138px;
}
.works-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.works-heading h1 {
  display: flex;
  align-items: start;
  line-height: 1;
}
.works-grid {
  display: grid;
}
.work-card {
  min-width: 0;
}
.work-link {
  display: block;
  text-align: left;
  touch-action: manipulation;
}
.work-media {
  display: block;
  position: relative;
  overflow: hidden;
}
.work-media > img,
.work-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: auto;
}
.work-media > img {
  z-index: 0;
}
.work-media > video {
  z-index: 1;
  opacity: 0;
}
.work-media > video.is-playing {
  opacity: 1;
}
.work-media::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
}
.work-caption {
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding-top: 14px;
}
.work-title {
  font-size: clamp(15px, 1.24vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  max-width: calc(100% - 68px);
}
.work-date {
  padding-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.reveal-title .word {
  display: inline-block;
  white-space: nowrap;
}
.reveal-title .character {
  display: inline-block;
}
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 22% 1fr;
  border-top: 0;
  padding: 52px 0 65px;
  scroll-margin-top: 30px;
}
.section-label {
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.profile-content {
  display: flex;
  align-items: start;
  gap: 34px;
}
.profile-icon {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}
.profile-name {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.profile-name h3 {
  font-size: 32px;
}
.social-links {
  display: flex;
  gap: 25px;
  margin-top: 22px;
}
.social-links a {
  padding: 4px 0;
}
.social-links a:hover {
  text-decoration: underline;
  text-decoration-color: #87bb35;
  text-underline-offset: 5px;
}
.contact-section {
  padding-bottom: 90px;
}
form label {
  display: block;
  font-size: 11px;
  margin-bottom: 24px;
  line-height: 1.5;
}
form label > span {
  font-size: 8px;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 0.06em;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #bfc6b5;
  border-radius: 0;
  background: none;
  color: var(--ink);
  outline: none;
  font-size: 13px;
  resize: vertical;
  transition: border-color 0.25s;
}
input:focus,
textarea:focus {
  border-bottom-color: #487312;
  box-shadow: 0 1px #487312;
}
input::placeholder,
textarea::placeholder {
  color: #919787;
  font-size: 11px;
}
textarea {
  min-height: 86px;
  line-height: 1.8;
}
.form-bottom > p {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.7;
}
.send-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  transition:
    background 0.3s,
    transform 0.3s;
}
.site-footer {
  display: flex;
  align-items: center;
  border-top: 0;
  font-size: 10px;
  color: var(--muted);
}
.no-script {
  padding: 50px 0;
  font-size: 16px;
}
.no-script a {
  text-decoration: underline;
}
body.dialog-open {
  overflow: hidden;
}
dialog {
  position: fixed;
  inset: 0;
  width: min(1120px, calc(100vw - 64px));
  max-width: none;
  max-height: calc(100dvh - 64px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior: contain;
  box-shadow: 0 18px 100px #10170b3d;
}
dialog::backdrop {
  background: #1b221b73;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dialog-close {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.dialog-body {
  padding: 28px;
}
.film-player {
  position: relative;
  aspect-ratio: 16/9;
  background: #141813;
  border-radius: 4px;
  overflow: hidden;
}
.film-player > video,
.film-player > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
}
.film-cover {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
.film-cover > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.82;
}
.film-cover > span {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--green);
  padding: 16px 22px;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 3px;
}
.film-player .play-error {
  position: absolute;
  inset: auto 20px 20px;
  padding: 14px;
  background: var(--paper);
  font-size: 13px;
}
.film-player .play-error a {
  text-decoration: underline;
}
.film-information {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 30px 0;
}
.film-information h3 {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 14px;
}
.film-information p {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.film-information a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
  margin-top: 12px;
}
.film-neighbours {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 0;
  padding-top: 20px;
  font-size: 12px;
}
.film-neighbours button {
  padding: 10px 0;
}
.film-neighbours button:disabled {
  opacity: 0.25;
  cursor: default;
}
html[data-motion='off'] {
  scroll-behavior: auto;
}
html[data-motion='off'] .character {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html[data-motion='off'] .work-media > video.is-playing {
  opacity: 0;
}
html[data-motion='off'] * {
  transition-duration: 0s !important;
}
html[data-motion='off'] .work-card.is-active .work-media > img,
html[data-motion='off'] .work-card.is-active .work-media > video {
  transform: none;
  filter: none;
}
@media (min-width: 1700px) {
  .works-section {
    padding-top: 155px;
  }
  .works-grid {
    gap: 60px 28px;
  }
}
@media (max-width: 1000px) {
  .about-section,
  .contact-section {
    grid-template-columns: 20% 1fr;
  }
  .profile-content {
    gap: 24px;
  }
  .profile-icon {
    width: 84px;
    height: 84px;
  }
}
@media (max-width: 700px) {
  :root {
    --radius: 5px;
  }
  .site-header {
    gap: 15px;
  }
  .site-header nav a span {
    margin-left: 2px;
  }
  .works-section {
    padding-top: 111px;
  }
  .about-section,
  .contact-section {
    display: block;
    padding: 30px 0 44px;
  }
  .section-label {
    margin-bottom: 28px;
  }
  .profile-content {
    gap: 20px;
  }
  .profile-icon {
    width: 65px;
    height: 65px;
  }
  .profile-name {
    display: block;
    margin-bottom: 10px;
  }
  .profile-name h3 {
    font-size: 28px;
    margin-bottom: 3px;
  }
  .social-links {
    gap: 19px;
    margin-top: 17px;
  }
  form label {
    font-size: 10px;
    margin-bottom: 23px;
  }
  input,
  textarea {
    font-size: 16px;
  }
  form label > span {
    font-size: 8px;
  }
  .form-bottom {
    align-items: start;
  }
  .form-bottom > p {
    max-width: 140px;
    font-size: 9px;
  }
  .send-button {
    gap: 22px;
    padding: 13px 14px;
  }
  .site-footer {
    padding: 18px 0 24px;
    font-size: 9px;
  }
  dialog {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .dialog-body {
    padding: 23px 20px;
  }
  .film-information {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px 0;
  }
  .film-cover > span {
    font-size: 12px;
    padding: 13px 18px;
  }
  .film-neighbours {
    font-size: 11px;
  }
  .film-information p {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .works-heading h1 {
    font-size: 42px;
  }
  .profile-content {
    gap: 14px;
  }
  .profile-icon {
    width: 52px;
    height: 52px;
  }
  .social-links {
    gap: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .character {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}
.works-section {
  padding-bottom: 86px;
}
.contact-section > form {
  min-width: 0;
}
.form-status {
  margin-right: auto;
  line-height: 1.8;
  color: var(--muted);
}
.send-button:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (max-width: 700px) {
  .works-section {
    padding-bottom: 54px;
  }
  .form-status {
    max-width: 200px !important;
  }
}
/* Typography, gallery, contact and profile */
:root {
  --ink: #1c201b;
  --line: #c9ccc4;
  font-family: var(--site-font);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.site-header nav {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.site-header nav a::after {
  height: 1px;
  background: var(--ink);
}
.wordmark {
  font-weight: 700;
  letter-spacing: -0.065em;
}
.works-section.page-width {
  width: 84%;
  max-width: 1120px;
}
.works-heading h1 {
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.works-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.work-media {
  aspect-ratio: 16/9;
  border: 1px solid #171b15;
  border-radius: 5px;
  background: #e6e8e1;
  isolation: isolate;
}
.work-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  border-radius: 4px;
  padding: 0;
}
.work-link:focus-visible {
  outline: 2px solid #242c1c;
  outline-offset: -5px;
}
.work-media > img,
.work-media > video {
  transition:
    opacity 0.32s ease,
    filter 0.45s ease,
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-media > video {
  pointer-events: none;
}
.work-card.is-active .work-media > img,
.work-card.is-active .work-media > video {
  filter: blur(2.3px);
  transform: scale(1.025);
}
.work-media::after {
  z-index: 2;
  background: rgba(12, 17, 11, 0.36);
  pointer-events: none;
  transition: opacity 0.4s;
}
.work-card.is-active .work-media::after {
  opacity: 1;
}
.work-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.26s;
  pointer-events: none;
  color: #fff;
}
.work-card.is-active .work-overlay {
  opacity: 1;
}
.hover-title {
  font-family: var(--site-font);
  max-width: 100%;
}
.hover-meta {
  display: flex;
  transform: translateY(5px);
  transition:
    transform 0.35s 0.12s,
    opacity 0.35s;
}
.work-card.is-active .hover-meta {
  transform: none;
}
.work-caption {
  display: none;
}
.js .reveal-title:not(.is-seen) .character {
  opacity: 0;
  transform: translate(var(--dx, 0), var(--dy, 0.25em)) rotate(var(--turn, 0));
  filter: blur(3px);
}
.js .reveal-title.is-seen .character {
  animation: letter-scatter 0.4s cubic-bezier(0.18, 0.72, 0.22, 1) both;
  animation-delay: var(--delay, 0ms);
}
@keyframes letter-scatter {
  0% {
    opacity: 0;
    transform: translate(var(--dx, 0), var(--dy, 0.25em)) rotate(var(--turn, 0));
    filter: blur(3px);
  }
  38% {
    opacity: 0.8;
  }
  52% {
    opacity: 0.45;
    filter: blur(0.6px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
    filter: blur(0);
  }
}
.about-section {
  padding-top: 46px;
}
.section-label h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: 27px;
}
.profile-name h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
}
.social-links {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-section {
  display: block;
  padding: 0;
  border-top: 0;
}
.contact-section .section-label {
  border-bottom: 0;
}
.contact-section .section-label h2 {
  font-size: clamp(48px, 6.7vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-transform: uppercase;
}
.contact-section > form {
  margin: 0 auto;
  border-left: 0;
  border-right: 0;
}
#contact-form label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 31px;
  letter-spacing: -0.015em;
}
#contact-form label > span {
  font-family: var(--site-font);
  font-size: 9px;
  font-weight: 400;
  color: #74796e;
  letter-spacing: 0;
  margin-left: 8px;
}
#contact-form input,
#contact-form textarea {
  margin-top: 12px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 1px;
  line-height: 1.6;
  box-shadow: none;
  color: var(--ink);
  font-weight: 400;
}
#contact-form textarea {
  min-height: 188px;
  resize: vertical;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #90978a;
  font-weight: 400;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #777f6f;
  outline: 1px solid #777f6f;
  outline-offset: 2px;
  box-shadow: none;
}
.form-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 9px;
}
.form-status {
  margin: 0;
  max-width: none !important;
  text-align: center;
  font-size: 12px !important;
}
.form-status:empty {
  display: none;
}
.form-status.is-sent {
  min-width: 280px;
  padding: 14px 30px 16px;
  border: 2px solid var(--ink);
  background: var(--green);
  color: var(--ink);
  font-size: 14px !important;
}
.form-status.is-sent::before {
  content: 'Thank you!';
  display: block;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}
.send-button[hidden] {
  display: none;
}
.send-button {
  background: #1c201b;
  color: #fff;
  border-radius: 50px;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0;
  padding: 15px 30px;
}
.send-button:hover {
  background: #343b2f;
  transform: translateY(-1px);
}
html[data-motion='off'] .work-overlay {
  transition: none;
}
@media (max-width: 1000px) {
  .site-header nav {
    font-size: 14px;
    gap: 28px;
  }
  .works-grid {
    gap: 22px;
  }
  .hover-title {
    font-size: 21px;
  }
  .work-overlay {
    padding: 22px;
  }
  .contact-section > form {
    width: 82%;
    padding-inline: 6%;
  }
}
@media (max-width: 700px) {
  .site-header nav {
    letter-spacing: -0.02em;
  }
  .works-section.page-width {
    width: calc(100% - 40px);
  }
  .works-heading h1 {
    font-size: 44px;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .work-caption {
    display: flex;
    align-items: start;
    gap: 12px;
  }
  .work-title {
    font-weight: 500;
    max-width: calc(100% - 65px);
    line-height: 1.4;
  }
  .work-date {
    padding-top: 3px;
  }
  .about-section {
    padding: 30px 0 42px;
  }
  .section-label h2 {
    font-size: 24px;
  }
  .social-links {
    font-size: 11px;
  }
  .contact-section .section-label {
    padding: 25px 0;
  }
  .contact-section .section-label h2 {
    font-size: 45px;
  }
  .contact-section > form {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }
  #contact-form label {
    font-size: 13px;
    margin-bottom: 25px;
  }
  #contact-form input,
  #contact-form textarea {
    margin-top: 10px;
  }
  #contact-form textarea {
    min-height: 170px;
  }
  .form-bottom {
    padding-top: 6px;
  }
}
@media (max-width: 360px) {
  .hover-title {
    font-size: 19px;
  }
  .hover-meta {
    font-size: 8px;
  }
}
@media (hover: none) {
  .work-caption {
    display: flex;
  }
  .work-overlay {
    opacity: 0;
  }
  .work-card.is-active .work-overlay {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal-title .character {
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
.work-media {
  user-select: none;
  -webkit-user-select: none;
}
#contact-form .publicity-field {
  padding: 0;
  border: 0;
  margin: 0 0 31px;
  min-width: 0;
}
#contact-form .publicity-field legend {
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
#contact-form .publicity-field legend > span {
  font-family: var(--site-font);
  font-size: 9px;
  font-weight: 400;
  color: #74796e;
  letter-spacing: 0;
  margin-left: 8px;
}
#contact-form .form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 10px;
}
#contact-form .form-options label,
#contact-form .form-confirmation {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  cursor: pointer;
  line-height: 1.6;
  padding: 8px 0;
}
#contact-form input[type='radio'],
#contact-form input[type='checkbox'] {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  background: none;
  accent-color: #1c201b;
  cursor: pointer;
}
#contact-form input[type='radio']:focus-visible,
#contact-form input[type='checkbox']:focus-visible {
  outline: 2px solid #777f6f;
  outline-offset: 4px;
}
#contact-form .form-confirmation {
  justify-content: center;
  margin: 8px 0 23px;
}
@media (max-width: 700px) {
  #contact-form .publicity-field {
    margin-bottom: 25px;
  }
  #contact-form .publicity-field legend {
    font-size: 13px;
  }
}
.works-section.page-width,
.about-section.page-width,
.contact-section.page-width {
  width: 84%;
  max-width: 1120px;
}
.works-heading h1,
.about-section .section-label h2,
.contact-section .section-label h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
}
.contact-section .section-label {
  padding: 0;
  margin: 0 0 30px;
}
.contact-section > form {
  padding-top: 28px;
}
.site-footer {
  padding-top: 32px;
  padding-bottom: 32px;
}
.site-header nav a::after {
  display: none;
  content: none;
}
.site-header nav a span {
  margin: 0;
}
.selection-text .word {
  display: inline-block;
  white-space: nowrap;
}
.selection-text .character {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.selection-text .character::before {
  content: '';
  position: absolute;
  inset: 0.015em -0.02em -0.025em;
  background: var(--green);
  z-index: -1;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.js .selection-text.is-seen .character,
.selection-text.is-animating .character {
  animation: selection-letter 0.62s steps(1, end) both;
  animation-delay: var(--delay, 0ms);
}
.js .selection-text.is-seen .character::before,
.selection-text.is-animating .character::before {
  animation: selection-block 0.72s steps(1, end) both;
  animation-delay: var(--delay, 0ms);
}
@keyframes selection-letter {
  0% {
    opacity: 0;
    transform: translate(-0.045em, 0.12em);
    filter: none;
  }
  13% {
    opacity: 1;
    transform: translate(0.025em, -0.035em);
  }
  27% {
    opacity: 0.55;
    transform: translate(-0.015em, 0.025em);
  }
  38% {
    opacity: 1;
    transform: translate(0.025em, 0);
  }
  52% {
    transform: translate(-0.018em, 0);
  }
  66%,
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes selection-block {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  9% {
    opacity: 1;
    transform: scaleX(0.45);
  }
  19% {
    opacity: 1;
    transform: scaleX(1);
  }
  29% {
    opacity: 0.55;
    transform: scaleX(0.66);
  }
  39%,
  62% {
    opacity: 1;
    transform: scaleX(1);
  }
  73% {
    opacity: 0.8;
    transform: scaleX(0.7);
  }
  84% {
    opacity: 0.3;
    transform: scaleX(0.35);
  }
  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}
@media (max-width: 700px) {
  .works-section.page-width,
  .about-section.page-width,
  .contact-section.page-width {
    width: calc(100% - 40px);
  }
  .contact-section > form {
    padding-top: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .selection-text .character,
  .selection-text .character::before {
    animation: none !important;
  }
  .selection-text .character::before {
    display: none;
  }
}
.work-media > video {
  transition:
    opacity 0.18s ease,
    filter 0.4s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about-section {
  display: block;
  padding: 0 0 100px;
}
.about-section .section-label {
  padding: 0;
  margin: 0 0 30px;
}
.about-section .profile-content {
  display: grid;
  align-items: center;
  margin: 0 auto;
}
.about-section .profile-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0;
  border-radius: 6px;
}
.about-section .profile-copy {
  width: 100%;
  min-width: 0;
}
.about-section .profile-name {
  display: block;
  margin: 0 0 24px;
}
.about-section .profile-name h3 {
  line-height: 1.1;
  margin: 0 0 9px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.about-section .social-links {
  font-size: 12px;
}
@media (max-width: 700px) {
  .about-section .profile-name {
    margin-bottom: 18px;
  }
}
.about-section .profile-pronunciation {
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: middle;
  margin-left: 10px;
}
.about-section .profile-name h3 {
  margin-bottom: 0;
}
.about-section .profile-bio p {
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  text-wrap: pretty;
}
.about-section .bio-phrase {
  display: inline-block;
  white-space: nowrap;
  vertical-align: top;
}
.work-media,
.work-link,
.film-player,
#film-dialog {
  border-radius: 0;
}
.work-overlay {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}
.hover-title {
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: pretty;
}
.hover-meta {
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.015em;
  gap: 12px;
  opacity: 0.78;
}
@media (max-width: 700px) {
  .work-overlay {
    padding: 12px;
  }
  .hover-title {
    font-size: 12px;
  }
  .hover-meta {
    font-size: 9px;
  }
}
.heading-visual {
  position: relative;
  display: inline-grid;
  vertical-align: top;
  isolation: isolate;
}
.heading-highlight,
.heading-ink {
  position: relative;
  grid-area: 1/1;
}
.heading-highlight {
  z-index: 0;
  color: transparent;
}
.heading-ink {
  z-index: 1;
  color: var(--ink);
}
.heading-ink .character::before {
  content: none;
}
.js [data-scatter].selection-text:not(.is-seen) .character {
  opacity: 0 !important;
}
.js [data-scatter].selection-text.is-seen .heading-highlight .character {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
}
.js [data-scatter].selection-text.is-seen .heading-highlight .character::before {
  animation: heading-green 0.72s steps(1, end) both;
  animation-delay: var(--delay, 0ms);
}
@keyframes heading-green {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  9% {
    opacity: 1;
    transform: scaleX(0.45);
  }
  19% {
    opacity: 1;
    transform: scaleX(1);
  }
  29% {
    opacity: 0.55;
    transform: scaleX(0.66);
  }
  39%,
  62% {
    opacity: 1;
    transform: scaleX(1);
  }
  73% {
    opacity: 0.85;
    transform: scaleX(0.88);
  }
  84%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
.site-footer:empty {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-scatter].selection-text.is-seen .character::before {
    display: block;
    opacity: 1;
    transform: none;
  }
}
#site-cursor {
  position: fixed;
  inset: 0 auto auto 0;
  width: 52px;
  height: 52px;
  z-index: 2147483647;
  pointer-events: none;
  user-select: none;
  transform: translate(-100px, -100px);
  will-change: transform;
}
#site-cursor[hidden] {
  display: none;
}
#site-cursor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(1px 0 0 #1c201b) drop-shadow(-1px 0 0 #1c201b) drop-shadow(0 1px 0 #1c201b) drop-shadow(0 -1px 0 #1c201b);
}
#site-cursor img[hidden] {
  display: none;
}
#site-cursor::before {
  content: '';
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #ff48be66 0%, #ff48be22 45%, transparent 72%);
  filter: blur(6px);
  opacity: 0;
  pointer-events: none;
}
#site-cursor[data-variant='me'] img:not([hidden]) {
  animation: me-cursor-tick 1.8s steps(1, end) infinite;
  transform-origin: 50% 55%;
}
#site-cursor[data-variant='me']::before {
  animation: me-cursor-glow 1.8s ease-in-out infinite;
}
@keyframes me-cursor-tick {
  0%,
  34%,
  100% {
    transform: none;
  }
  7% {
    transform: translate(1px, -1px) rotate(-4deg) scale(1.04);
  }
  14% {
    transform: translate(-1px, 0) rotate(3deg) scale(0.99);
  }
  21% {
    transform: translate(0, -1px) rotate(-2deg) scale(1.05);
  }
  28% {
    transform: rotate(1deg) scale(1.02);
  }
}
@keyframes me-cursor-glow {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.92);
  }
  20% {
    opacity: 0.7;
    transform: scale(1.08);
  }
  48% {
    opacity: 0.42;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  #site-cursor[data-variant='me'] img:not([hidden]) {
    animation: none;
    transform: none;
  }
  #site-cursor[data-variant='me']::before {
    animation: none;
    opacity: 0.35;
    transform: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  html.has-brand-cursor,
  html.has-brand-cursor * {
    cursor: none !important;
  }
}
@media (hover: none), (pointer: coarse) {
  #site-cursor {
    display: none !important;
  }
}
.profile-monitor {
  width: 100%;
  min-width: 0;
  padding: 0 8px 8px 0;
}
.profile-monitor-body {
  position: relative;
  padding: 17px 17px 0;
  border: 1px solid #b2b5ba;
  border-radius: 20px 20px 24px 20px;
  background:
    radial-gradient(ellipse at 25% 0%, #fafafa80, transparent 60%),
    linear-gradient(115deg, #e5e5e4, #cecfce 65%, #babdbf);
  box-shadow:
    inset 1.5px 1.5px 1px #fff,
    inset -2px -2px 1.5px #a7aaae,
    4px 5px 0 #9da1a5,
    6px 8px 0 #747a80,
    7px 9px 1px #626970,
    0 18px 22px #34384220;
  z-index: 2;
}
.profile-monitor-body::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #ffffff38;
  border-bottom-color: #8b909526;
  border-radius: 15px 15px 19px 15px;
  pointer-events: none;
}
.profile-monitor-bezel {
  padding: 9px;
  border-radius: 14px;
  background: linear-gradient(135deg, #878c91, #b6b9bb 20%, #eceeed 85%);
  box-shadow:
    inset 1.5px 2px 4px #50565f60,
    0 1px 1px #fff;
}
.profile-monitor-chin {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 5px;
}
.profile-monitor-vents {
  margin-left: auto;
  width: 42px;
  height: 11px;
  background: repeating-linear-gradient(
    90deg,
    #81878c 0 1px,
    #a4a9ac 1px 2px,
    #eceeec 2px 3px,
    transparent 3px 5px
  );
}
.profile-monitor-light {
  width: 6px;
  height: 6px;
  border: 1px solid #a3a8b1;
  border-radius: 50%;
  background: #253df4;
  box-shadow: 0 0 3px #253df450;
}
.profile-monitor-foot {
  position: relative;
  width: 44%;
  height: 20px;
  margin: -1px auto 0;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(#888e97, #c6c9cf);
  box-shadow: 2px 4px 0 #999ea7;
  z-index: 1;
}
.profile-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid #40464d;
  border-radius: 9px;
  overflow: hidden;
  isolation: isolate;
  background: #0b0e0f;
  cursor: pointer;
}
.profile-media::before,
.profile-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.profile-media::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at 42% 15%, #ffffff26 0%, #ffffff0a 29%, transparent 53%),
    radial-gradient(circle at 50% 45%, transparent 64%, #03090e1a 87%, #02060845 100%);
}
.profile-media::after {
  z-index: 3;
  box-shadow:
    inset 0 1px 2px #ffffff7a,
    inset 1px 0 1px #ffffff33,
    inset 0 -4px 9px #07121b29;
}
.about-section .profile-media .profile-icon {
  display: block;
  transition: opacity 0.18s ease;
}
.profile-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.profile-media.is-playing .profile-icon {
  opacity: 0;
}
.profile-media.is-playing .profile-video {
  opacity: 1;
}
.profile-media.is-loading:not(.is-playing) .profile-icon {
  opacity: 0.55;
}
.profile-media:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .profile-video,
  .about-section .profile-media .profile-icon {
    transition: none;
  }
}
@font-face {
  font-family: PartnerHand;
  src: url('/blue/assets/fonts/yomogi.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: PartnerPixel;
  src: url('/blue/assets/fonts/dotgothic16.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: PartnerRound;
  src: url('/blue/assets/fonts/zen-maru-gothic-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
.creative-partners {
  --partners-gap: clamp(48px, 6vw, 88px);
  margin: 0 0 104px;
  padding: 0;
  background: transparent;
  min-width: 0;
}
.partners-heading.page-width {
  width: 84%;
  max-width: 1120px;
  margin-bottom: 24px;
  text-align: center;
}
.partners-heading h2 {
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: var(--muted);
}
.partners-viewport {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.partners-track {
  display: flex;
  width: max-content;
}
.partners-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--partners-gap);
  flex: 0 0 auto;
  min-width: 100vw;
  list-style: none;
  margin: 0;
  padding: 0 calc(var(--partners-gap) / 2);
}
.partners-group li {
  flex: 0 0 auto;
}
.partners-group a {
  display: block;
  position: relative;
  white-space: nowrap;
  padding: 10px 0;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-decoration: none;
  -webkit-user-drag: none;
  outline-offset: 8px;
}
.partner-word {
  display: grid;
  align-items: center;
  transform: rotate(var(--partner-tilt, 0deg));
  transition: transform 0.2s ease;
}
.partner-face {
  grid-area: 1/1;
  text-align: center;
  transition: opacity 0.1s;
}
.partner-letter {
  display: inline-block;
  white-space: pre;
  font: inherit;
}
.partner-alt {
  opacity: 0;
  font-family: PartnerPixel, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}
[data-partner-type='round'] .partner-base {
  font-family: PartnerRound, sans-serif;
  font-weight: 500;
}
[data-partner-type='pixel'] .partner-base {
  font-family: PartnerPixel, sans-serif;
  letter-spacing: 0;
}
[data-partner-type='serif'] .partner-base {
  font-family: Georgia, serif;
  font-style: italic;
}
[data-partner-type='hand'] .partner-base {
  font-family: PartnerHand, cursive;
  letter-spacing: -0.06em;
}
[data-partner-type='pixel'] .partner-alt {
  font-family: PartnerHand, cursive;
  letter-spacing: -0.06em;
}
[data-partner-type='hand'] .partner-alt {
  font-family: Georgia, serif;
  font-style: italic;
}
.partners-group a.is-spark .partner-base {
  opacity: 0;
}
.partners-group a.is-spark .partner-alt {
  opacity: 1;
}
.partners-group a.is-spark .partner-alt .partner-letter {
  animation: partner-letter-hop 0.6s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  animation-delay: calc(var(--letter-index) * 30ms);
}
@keyframes partner-letter-hop {
  0% {
    transform: translateY(0) rotate(0);
  }
  30% {
    transform: translateY(-7px) rotate(-6deg);
  }
  60% {
    transform: translateY(2px) rotate(3deg);
  }
  100% {
    transform: none;
  }
}
.creative-partners.is-dragging .partner-word {
  transition: none;
}
.creative-partners.is-dragging .partners-viewport {
  cursor: grabbing;
}
.creative-partners.is-keyboard .partners-track {
  transform: none !important;
}
.creative-partners.is-keyboard .partners-viewport {
  overflow-x: auto;
  mask-image: none;
  -webkit-mask-image: none;
  touch-action: auto;
}
.creative-partners.is-keyboard .partners-copy {
  display: none;
}
.creative-partners:not(.is-enhanced) .partners-track {
  width: 100%;
}
.creative-partners:not(.is-enhanced) .partners-group {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
}
@media (max-width: 700px) {
  .creative-partners {
    --partners-gap: 42px;
  }
  .partners-heading.page-width {
    width: calc(100% - 40px);
    margin-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .creative-partners.is-enhanced .partners-track {
    transform: none !important;
    width: 100%;
  }
  .partners-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    touch-action: auto;
  }
  .partners-group {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 36px;
    padding-inline: 20px;
  }
  .partners-copy {
    display: none;
  }
  .partner-word,
  .partner-face {
    transition: none;
  }
  .partners-group a.is-spark .partner-alt .partner-letter {
    animation: none;
  }
}
/* Paper and stickers */
:root {
  --paper: #faf9f4;
}
body {
  position: relative;
  background-color: #faf9f4;
  background-image:
    linear-gradient(#477fd040 1px, transparent 1px),
    linear-gradient(90deg, #477fd040 1px, transparent 1px);
  background-size: 32px 32px;
}
.work-card,
.profile-monitor {
  position: relative;
}
.sticker-position {
  position: absolute;
  width: calc(var(--sticker-width) * var(--sticker-scale, 1));
  aspect-ratio: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  visibility: hidden;
}
.scroll-sticker {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(var(--sticker-turn));
  transform-origin: 50% 65%;
}
.sticker-grip {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  transform-origin: var(--peel-origin, 50% 65%);
  transition:
    transform 0.22s,
    filter 0.22s;
}
.sticker-grip img {
  display: block;
  pointer-events: none;
  filter: drop-shadow(1px 3px 2px #30323a24);
  transition: filter 0.2s;
}
.sticker-position.is-pasted {
  visibility: visible;
  opacity: 1;
}
.is-pasted .sticker-grip {
  pointer-events: auto;
}
.is-pasted > .scroll-sticker {
  animation: sticker-paste 0.58s cubic-bezier(0.22, 0.75, 0.22, 1) both;
}
.sticker-grip:focus,
.sticker-grip:focus-visible {
  outline: none;
}
.sticker-position:not(.is-lifted) .sticker-grip:focus-visible img {
  filter: drop-shadow(0 4px 4px #30323a55);
}
#sticker-board {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: clip;
}
.is-free > .scroll-sticker {
  animation: none;
}
.is-lifted .sticker-grip {
  cursor: grabbing;
  transform: perspective(380px) rotateX(var(--peel-x)) rotateY(var(--peel-y)) translateY(-5px)
    scale(1.09);
}
.is-lifted img {
  filter: drop-shadow(7px 13px 5px #30323a42);
}
.sticker-in-hand,
.sticker-in-hand * {
  cursor: grabbing !important;
}
.sticker-in-hand {
  user-select: none;
}
.is-restuck:not(.is-lifted) .sticker-grip {
  animation: sticker-press 0.28s ease-out;
}
@keyframes sticker-paste {
  0% {
    opacity: 0;
    transform: translate(5px, -28px) rotate(calc(var(--sticker-turn) - 14deg)) scale(1.18);
  }
  24% {
    opacity: 1;
  }
  67% {
    transform: translate(0, 2px) rotate(var(--sticker-turn)) scale(0.94);
  }
  84% {
    transform: translate(0, -1px) rotate(var(--sticker-turn)) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--sticker-turn));
  }
}
@keyframes sticker-press {
  0% {
    transform: scale(0.93);
  }
  65% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 600px) {
  body {
    background-size: 24px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-pasted > .scroll-sticker,
  .is-restuck .sticker-grip {
    animation: none;
  }
  .sticker-grip,
  .sticker-grip img {
    transition: none;
  }
  .is-lifted .sticker-grip {
    transform: none;
  }
}
/* Film details and handwritten elements */
@font-face {
  font-family: NotebookHand;
  src: url('/blue/assets/fonts/yomogi.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: NotebookShizuru;
  src: url('/blue/assets/fonts/shizuru.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: NotebookRock;
  src: url('/blue/assets/fonts/rock3d.woff2') format('woff2');
  font-display: swap;
}
.partners-group a.is-spark .partner-alt {
  color: var(--partner-color, #b73a68);
}
.private-work-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  margin: 32px 0 0;
  line-height: 1.9;
  color: #646d60;
  text-align: center;
}
.private-work-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #414c39;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.private-work-note a:hover {
  color: #355daf;
}
.about-section .social-links {
  flex-wrap: wrap;
  align-items: center;
}
.about-section .social-links a {
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.about-section .social-links a:hover {
  color: var(--ink);
  text-decoration: none;
}
.profile-monitor-hint {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: #4f5559;
  text-shadow: 0 1px 0 #ffffffb3;
  font: 12px/1 var(--site-font);
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.profile-media,
.profile-monitor-hint {
  touch-action: manipulation;
}
.profile-monitor-light {
  transition:
    background-color 0.25s,
    box-shadow 0.25s;
}
.profile-monitor-body:has(.profile-media.is-loading) .profile-monitor-light,
.profile-monitor-body:has(.profile-media.is-playing) .profile-monitor-light {
  background: #f15aaf;
  box-shadow: 0 0 5px #f15aaf88;
}
.profile-monitor-hint:hover {
  color: #355daf;
}
.profile-monitor-hint:focus-visible {
  outline: 1px solid #355daf;
  outline-offset: 3px;
  border-radius: 3px;
}
#film-dialog {
  max-height: calc(100dvh - 48px);
  background: #faf9f4;
  border-radius: 0;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
#film-dialog::backdrop {
  background: #222a323f;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
#film-dialog .dialog-close {
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #22261f;
  border-radius: 50%;
  background: #faf9f4ed;
  pointer-events: auto;
  outline: none;
  box-shadow: 2px 2px 0 #22261f18;
}
#film-dialog .dialog-close:focus-visible svg {
  stroke-width: 2;
}
.dialog-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.35;
}
#film-date {
  font: inherit;
  font-variant-numeric: tabular-nums;
}
#film-dialog .film-player {
  border: 0;
  border-radius: 0;
}
#film-dialog .film-player::after {
  content: '';
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 1px solid #262b23;
  pointer-events: none;
  z-index: 1;
}
#film-dialog .film-player > video,
#film-dialog .film-player > iframe {
  outline: none;
}
#film-dialog .film-cover > img {
  opacity: 1;
}
#film-dialog .film-play {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
  border: 1px solid #252a23;
  border-radius: 2px;
  background: var(--green);
  color: #252a23;
  padding: 10px 14px;
  letter-spacing: 0;
  box-shadow: 3px 3px 0 #252a23;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.film-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
#film-dialog .film-cover:hover .film-play {
  transform: translate(calc(-50% - 1px), calc(-50% - 1px));
  box-shadow: 4px 4px 0 #252a23;
}
#film-dialog .film-cover:active .film-play {
  transform: translate(calc(-50% + 2px), calc(-50% + 2px));
  box-shadow: 1px 1px 0 #252a23;
}
#film-dialog .film-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: 'meta facts' 'notes facts';
  align-items: start;
  color: #252a23;
  line-height: 1.8;
}
#film-meta {
  grid-area: meta;
  min-width: 0;
}
#film-notes {
  grid-area: notes;
  min-width: 0;
}
#film-facts {
  grid-area: facts;
  min-width: 0;
}
#film-dialog .film-information p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #252a23;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
#film-dialog .film-information h3 {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0;
  color: #252a23;
  margin: 0 0 12px;
}
#film-dialog .film-copy-ja + .film-copy-en {
  margin-top: 14px;
}
.film-team-credit {
  margin-top: 12px;
}
.film-facts {
  display: block;
}
.film-lyrics:not(:first-child) {
  margin-top: 28px;
}
.film-tools dl {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #252a23;
}
.film-tools dl > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 12px;
}
.film-tools dt,
.film-tools dd {
  font-size: 14px;
  font-weight: 400;
  color: #252a23;
}
.film-tools dd {
  margin: 0;
  overflow-wrap: normal;
}
.film-tool-name {
  display: inline-block;
  white-space: nowrap;
}
.film-tool-separator {
  color: #7c8277;
}
.film-recognition {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 0 0 22px;
}
.film-recognition[hidden] {
  display: none;
}
.film-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 14px 8px;
}
.film-tools + .film-awards {
  margin-top: 26px;
}
.film-award {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 270px;
  max-width: 100%;
  aspect-ratio: 26/15;
  transform: rotate(var(--award-turn, -4deg));
  filter: drop-shadow(2px 3px 0 #252a2338);
}
.film-award-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.film-award-shape polygon {
  fill: var(--award-color, var(--green));
  stroke: #252a23;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.film-award-copy {
  position: relative;
  width: 210px;
  max-width: 80%;
  padding: 8px 0;
  text-align: center;
}
.film-award-emblem {
  position: absolute;
  right: -7px;
  top: -27px;
  width: 66px;
  height: auto;
  transform: rotate(18deg);
  filter: drop-shadow(1px 2px 0 #252a2330);
  pointer-events: none;
}
#film-dialog .film-award .film-award-result {
  margin-top: 9px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #172016;
  white-space: normal;
  text-wrap: balance;
}
#film-dialog .film-award .film-award-event {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  color: #172016;
  white-space: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}
.film-screening p {
  font-size: 14px;
  line-height: 1.8;
  color: #252a23;
}
.film-screening p + p {
  margin-top: 4px;
}
#film-dialog .film-information .film-tool-link {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-decoration-color: #252a2370;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
#film-dialog .film-information .film-tool-link:hover {
  color: #355daf;
  text-decoration-color: currentColor;
}
.film-tool-link:focus-visible {
  outline: 1px solid #355daf;
  outline-offset: 3px;
}
#film-dialog .film-neighbours button {
  min-height: 44px;
}
.film-neighbours button:not(:disabled):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.about-section {
  position: relative;
}
.about-doodles {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.doodle {
  position: absolute;
  color: #355daf;
  transform: rotate(var(--turn, -6deg));
  font-family: PartnerHand, NotebookHand, cursive;
  font-size: 18px;
  line-height: 1.5;
}
.doodle svg {
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doodle .doodle-text {
  display: block;
}
.doodle-letter {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateY(var(--letter-y, 0)) rotate(var(--letter-turn, 0deg));
}
.doodle-left-top {
  top: 50px;
  width: 140px;
  --turn: -7deg;
  font-size: 20px;
}
.doodle-left-top svg {
  width: 64px;
  margin: 8px 0 0 36px;
}
.doodle-right-mid {
  right: 24px;
  top: 230px;
  width: 90px;
  color: #7d8184;
  --turn: 6deg;
}
.doodle-right-mid .doodle-text {
  font-family: NotebookShizuru, cursive;
  font-size: 18px;
}
.doodle-right-mid svg {
  display: block;
  width: 54px;
  height: 42px;
  margin: 6px auto 0;
}
.doodle-play {
  position: absolute;
  left: -24px;
  top: 210px;
  pointer-events: none;
  user-select: none;
  margin: 0;
  width: max-content;
  color: #c06c94;
  --turn: -5deg;
  font-family: NotebookRock, NotebookHand, cursive;
  font-size: 26px;
  line-height: 1.4;
  white-space: nowrap;
}
.doodle-play .doodle-space {
  width: 0.22em;
}
.doodle-right-top {
  top: 38px;
  width: 172px;
  color: #418c51;
  --turn: 5deg;
  font-family: NotebookShizuru, cursive;
  font-size: 19px;
  line-height: 1.65;
}
.site-footer {
  justify-content: center;
}
@media (max-width: 1250px) {
  .about-doodles {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(100%, 420px);
    gap: 14px 36px;
    margin: 32px auto 0;
    align-items: start;
  }
  .doodle {
    position: relative;
    inset: auto;
    justify-self: center;
  }
  .doodle-left-top {
    grid-area: 1/1;
    padding-top: 8px;
  }
  .doodle-right-top {
    grid-area: 1/2;
  }
  .doodle-right-mid {
    grid-area: 2/2;
    justify-self: end;
    margin-right: 0;
  }
  .doodle-play {
    position: relative;
    inset: auto;
    grid-area: 2/1;
    justify-self: start;
    margin: 14px 0 0 -4px;
  }
}
@media (max-width: 700px) {
  #film-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
  }
  #film-dialog .film-play {
    padding: 10px 12px;
    gap: 7px;
  }
  .film-play svg {
    width: 17px;
    height: 17px;
  }
  #film-dialog .film-information {
    display: flex;
    flex-direction: column;
  }
  #film-meta,
  #film-notes,
  #film-facts {
    width: 100%;
  }
  #film-facts {
    display: contents;
  }
  #film-notes.is-empty,
  #film-facts.is-empty {
    display: none;
  }
  #film-meta {
    order: 1;
  }
  .film-awards {
    order: 2;
  }
  #film-notes {
    order: 3;
  }
  .film-tools {
    order: 4;
    width: 100%;
  }
  .film-awards {
    width: 100%;
    padding: 14px 8px 2px;
    gap: 18px;
    justify-content: flex-end;
  }
  .film-tools + .film-awards {
    margin-top: -6px;
  }
  .film-award {
    width: 256px;
  }
  .film-award-copy {
    width: 202px;
  }
  .film-award-emblem {
    width: 62px;
    right: -5px;
    top: -25px;
  }
  #film-dialog .film-award .film-award-result {
    font-size: 19px;
  }
  .film-recognition {
    gap: 12px;
  }
  .about-doodles {
    width: min(100%, 340px);
    gap: 14px 18px;
    margin-top: 38px;
  }
  .doodle-left-top {
    font-size: 19px;
    width: 132px;
  }
  .doodle-right-mid {
    width: 82px;
  }
  .doodle-right-mid .doodle-text {
    font-size: 17px;
  }
  .doodle-left-top svg {
    width: 58px;
    margin-top: 8px;
  }
  .doodle-right-top {
    font-size: 18px;
    width: 156px;
  }
  .doodle-play {
    font-size: 25px;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .film-award {
    transform-origin: 65% 15%;
  }
  .film-award.is-awaiting-paste {
    opacity: 0;
    transform: translate(-16px, -16px) rotate(calc(var(--award-turn, -4deg) - 5deg)) scale(1.05);
  }
  .film-award.is-pasted {
    animation: award-paste 0.94s cubic-bezier(0.22, 0.75, 0.22, 1) both;
  }
}
@keyframes award-paste {
  0% {
    opacity: 0;
    transform: translate(-16px, -16px) rotate(calc(var(--award-turn, -4deg) - 5deg)) scale(1.05);
  }
  20% {
    opacity: 1;
  }
  62% {
    transform: translate(0, 2px) rotate(calc(var(--award-turn, -4deg) + 2deg)) scale(0.96);
  }
  82% {
    transform: translate(0, -1px) rotate(calc(var(--award-turn, -4deg) - 1deg)) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--award-turn, -4deg));
  }
}
@media (max-width: 360px) {
  .about-doodles {
    column-gap: 12px;
  }
  .doodle-left-top {
    width: 118px;
    font-size: 18px;
  }
  .doodle-right-top {
    width: 138px;
    font-size: 17px;
  }
  .doodle-play {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .doodle-letter {
    opacity: 1;
    clip-path: none;
  }
}
.film-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  width: 202px;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid #5f739c55;
  border-radius: 8px;
  background: #edf1f34a;
  color: #5c6c89;
  transition:
    background 0.2s,
    transform 0.2s;
}
.film-banner img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}
.film-banner svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.3;
  flex: none;
}
.film-screening .film-banner {
  margin-top: 12px;
}
.film-banner:hover {
  background: #e5ebf680;
  transform: translateY(-2px);
}
.work-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 3px;
  min-width: 0;
  flex: 1;
}
.work-title-group .work-title {
  max-width: 100%;
}
.work-genre {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #656b61;
  white-space: nowrap;
}
.work-caption .work-date {
  flex: none;
}
html {
  scrollbar-gutter: stable;
}
html.dialog-open {
  overflow: hidden;
}
body.dialog-open > header *,
body.dialog-open > main *,
body.dialog-open > footer *,
body.dialog-open > #sticker-board * {
  animation-play-state: paused !important;
}
body.dialog-open > main .work-media > img,
body.dialog-open > main .work-media > video {
  transition: none;
}
@media (max-width: 700px) {
  html {
    scrollbar-gutter: auto;
  }
  .work-card.is-active .work-overlay {
    opacity: 0;
  }
  #film-dialog::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
/* Responsive layout */
:root {
  --gutter: clamp(24px, 2.6vw, 64px);
  --header: 86px;
}
.works-section.page-width,
.about-section.page-width,
.contact-section.page-width,
.partners-heading.page-width {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1840px;
}
.wordmark {
  font-size: 42px;
}
.site-header nav {
  font-size: 17px;
  gap: 40px;
}
.works-section.page-width {
  padding-top: 142px;
  padding-bottom: 116px;
}
.works-heading {
  margin-bottom: 42px;
}
.works-heading h1,
.about-section .section-label h2,
.contact-section .section-label h2 {
  font-size: clamp(54px, 7.2vw, 112px);
  line-height: 1.08;
}
.works-grid {
  column-gap: clamp(24px, 2.2vw, 42px);
  row-gap: 40px;
}
.work-overlay {
  padding: 22px;
  gap: 8px;
}
.hover-title {
  font-size: clamp(15px, 1.2vw, 20px);
}
.hover-meta {
  font-size: 11px;
}
.private-work-note {
  margin-top: 50px;
  font-size: 14px;
}
.sticker-position {
  --sticker-width: 100px;
}
.sticker-grip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-section {
  padding-bottom: 120px;
}
.about-section .section-label {
  margin-bottom: 52px;
}
.about-section {
  --monitor-size: clamp(400px, 34vw, 480px);
  --profile-width: calc(var(--monitor-size) + 468px);
}
.about-section .profile-content {
  width: min(100%, var(--profile-width));
  grid-template-columns: var(--monitor-size) minmax(0, 388px);
  gap: 80px;
  padding-top: 16px;
}
.about-section .profile-name h3 {
  font-size: 48px;
}
.about-section .profile-pronunciation {
  font-size: 15px;
}
.about-section .profile-bio p {
  font-size: 17px;
  line-height: 1.95;
}
.about-section .profile-bio-en {
  margin-top: 24px;
}
.about-section .profile-bio-en p {
  font-size: 16px;
  line-height: 1.8;
}
.about-section .social-links a {
  font-size: 15px;
}
.about-doodles {
  inset: 160px 0 90px;
}
.doodle-left-top {
  left: 0;
}
.doodle-right-top {
  right: 0;
}
.creative-partners {
  margin-bottom: 132px;
}
.partners-heading h2 {
  font-size: 14px;
}
.partners-group a {
  font-size: clamp(36px, 3.8vw, 60px);
}
.contact-section .section-label {
  margin-bottom: 50px;
}
.contact-section > form {
  width: min(100%, 1000px);
  max-width: none;
  padding: 20px 0 76px;
}
#contact-form label,
#contact-form .publicity-field legend {
  font-size: 17px;
}
#contact-form input,
#contact-form textarea {
  font-size: 18px;
  padding: 20px 22px;
}
#contact-form input {
  min-height: 66px;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
  font-size: 15px;
}
#contact-form .form-options label,
#contact-form .form-confirmation {
  font-size: 16px;
}
.send-button {
  min-width: 280px;
  min-height: 62px;
  font-size: 16px;
}
#film-dialog {
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  max-width: none;
  margin: 0;
  border: 0;
  box-shadow: none;
  background-color: #faf9f4;
  background-image:
    linear-gradient(#477fd040 1px, transparent 1px),
    linear-gradient(90deg, #477fd040 1px, transparent 1px);
  background-size: 32px 32px;
}
#film-dialog .film-site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
}
#film-dialog .dialog-body {
  padding: 30px var(--gutter) 40px;
}
#film-dialog .dialog-close {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
#film-dialog .film-stage,
#film-dialog .film-information,
#film-dialog .film-recognition,
#film-dialog .film-neighbours {
  width: min(100%, var(--film-column-width, 100%));
  margin-inline: auto;
}
.film-stage {
  container-type: inline-size;
}
.film-heading {
  padding-right: 0;
  margin-bottom: 28px;
}
#film-title {
  font-family: var(--site-font);
  font-size: clamp(32px, 6.5cqw, 90px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
#film-dialog .film-player {
  width: 100%;
  margin-inline: auto;
}
#film-dialog.is-portrait .film-player {
  width: min(100%, calc(var(--film-height, 60dvh) * 608 / 1080));
  aspect-ratio: 608 / 1080;
  margin-inline: auto;
}
#film-dialog .film-play {
  width: 110px;
  height: 50px;
  font-size: 16px;
}
#film-dialog .film-information {
  gap: 32px clamp(48px, 6vw, 112px);
  padding: 34px 0 46px;
  font-size: 16px;
}
#film-dialog .film-information p,
#film-dialog .film-information h3,
#film-dialog .film-tools dl,
#film-dialog .film-tools dt,
#film-dialog .film-tools dd,
#film-dialog .film-screening p {
  font-size: 16px;
  line-height: 1.9;
}
#film-dialog .film-tools dl > div {
  grid-template-columns: 62px minmax(0, 1fr);
}
#film-dialog .film-neighbours {
  font-size: 16px;
  padding-top: 22px;
  border-top: 0;
}
@media (min-width: 1280px) {
  .about-doodles {
    position: absolute;
    inset: 190px auto 110px 50%;
    transform: translateX(-50%);
    display: block;
    width: min(100%, calc(var(--profile-width) + 320px));
    margin: 0;
  }
  .about-doodles .doodle {
    position: absolute;
    grid-area: auto;
    margin: 0;
  }
  .doodle-left-top {
    left: 0;
    top: 10px;
  }
  .doodle-play {
    left: 5px;
    top: 280px;
    font-size: 23px;
  }
  .doodle-right-top {
    right: 0;
    top: 55px;
    width: 160px;
  }
  .doodle-right-mid {
    right: 30px;
    top: 325px;
  }
}
@media (min-width: 701px) and (max-width: 1279px) {
  .about-section .profile-content {
    width: min(100%, 940px);
    gap: 54px;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  }
  .about-section .profile-bio p {
    font-size: 15px;
  }
  .about-section .profile-bio-en p {
    font-size: 14px;
  }
  .about-doodles {
    position: relative;
    inset: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 780px);
    gap: 28px;
    margin: 48px auto 0;
  }
  .about-doodles .doodle {
    position: relative;
    inset: auto;
    grid-area: auto;
    justify-self: center;
    margin: 0;
  }
  .doodle-play {
    font-size: 22px;
  }
}
@media (min-width: 701px) and (max-width: 850px) {
  .about-doodles {
    width: min(100%, 520px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 16px;
    --header: 70px;
  }
  .wordmark {
    font-size: 32px;
  }
  .site-header nav {
    font-size: 12px;
  }
  /* 44px touch area around 12px words, without moving them. */
  .site-header nav a {
    padding: 14px 6px;
    margin: 0 -6px;
  }
  .works-section.page-width {
    padding-top: 108px;
    padding-bottom: 76px;
  }
  .works-heading {
    margin-bottom: 30px;
  }
  .works-heading h1,
  .about-section .section-label h2,
  .contact-section .section-label h2 {
    font-size: clamp(46px, 13vw, 64px);
  }
  .works-grid {
    row-gap: 28px;
  }
  .work-caption {
    padding-top: 12px;
  }
  .work-title {
    font-size: 17px;
  }
  .work-genre {
    font-size: 11px;
  }
  .work-date {
    font-size: 10px;
  }
  .private-work-note {
    margin-top: 36px;
    font-size: 12px;
  }
  .sticker-position {
    --sticker-width: 78px;
  }
  .about-section {
    padding-bottom: 88px;
  }
  .about-section .section-label {
    margin-bottom: 34px;
  }
  .about-section .profile-content {
    width: min(100%, 340px);
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 8px;
  }
  .about-section .profile-name h3 {
    font-size: 38px;
  }
  .about-section .profile-pronunciation {
    font-size: 13px;
  }
  .about-section .profile-bio p {
    font-size: 15px;
  }
  .about-section .profile-bio-en p {
    font-size: 14px;
  }
  .about-section .social-links a {
    font-size: 14px;
  }
  .about-doodles {
    inset: auto;
    transform: none;
  }
  .creative-partners {
    margin-bottom: 90px;
  }
  .partners-heading h2 {
    font-size: 12px;
  }
  .partners-group a {
    font-size: 34px;
  }
  .contact-section .section-label {
    margin-bottom: 32px;
  }
  .contact-section > form {
    padding: 8px 0 54px;
  }
  #contact-form label,
  #contact-form .publicity-field legend {
    font-size: 15px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 16px;
    padding: 16px;
  }
  #contact-form input {
    min-height: 59px;
  }
  #contact-form input::placeholder,
  #contact-form textarea::placeholder {
    font-size: 13px;
  }
  #contact-form .form-options label,
  #contact-form .form-confirmation {
    font-size: 13px;
  }
  .send-button {
    min-width: 240px;
    min-height: 56px;
    font-size: 15px;
  }
  #film-dialog .dialog-body {
    padding: 22px 16px 28px;
  }
  #film-dialog .film-site-header {
    gap: 14px;
  }
  #film-dialog .film-site-header nav {
    gap: 16px;
  }
  #film-dialog .dialog-close {
    width: 34px;
    height: 34px;
    padding: 7px;
  }
  .film-heading {
    padding-right: 0;
    margin-bottom: 24px;
  }
  #film-title {
    font-size: clamp(32px, 10cqw, 54px);
    line-height: 1.15;
  }
  #film-dialog .film-player {
    width: 100%;
    margin-inline: auto;
  }
  #film-dialog .film-play {
    width: 94px;
    height: 46px;
    font-size: 14px;
  }
  #film-dialog .film-information {
    gap: 22px;
    padding: 20px 0 30px;
  }
  .film-awards {
    padding-inline: 12px;
  }
  #film-dialog .film-information p,
  #film-dialog .film-information h3,
  #film-dialog .film-tools dl,
  #film-dialog .film-tools dt,
  #film-dialog .film-tools dd,
  #film-dialog .film-screening p {
    font-size: 15px;
  }
  #film-dialog .film-tools dl > div {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  #film-dialog .film-neighbours {
    font-size: 15px;
  }
}
@media (max-width: 360px) {
  .site-header nav {
    gap: 16px;
  }
  .work-title {
    font-size: 16px;
  }
  .about-section .profile-bio p {
    font-size: 14px;
  }
  .about-section .profile-bio-en p {
    font-size: 13px;
  }
  #film-title {
    font-size: 32px;
  }
  #film-dialog .film-site-header {
    gap: 10px;
  }
  #film-dialog .film-site-header nav {
    gap: 10px;
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  #film-dialog {
    background-size: 24px 24px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  #film-dialog .film-site-header {
    height: 54px;
  }
  #film-dialog .dialog-body {
    padding-top: 16px;
  }
  .film-heading {
    margin-bottom: 18px;
  }
  #film-title {
    font-size: 28px;
  }
}
/* Interactive pencil */
#paper-ink {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
body > main,
body > .site-footer {
  position: relative;
  z-index: 1;
}
#paper-tools {
  position: absolute;
  right: auto;
  z-index: 21;
  width: 180px;
  transform: rotate(-13deg);
  pointer-events: none;
}
#paper-pen {
  position: relative;
  display: block;
  width: 180px;
  height: 52px;
  padding: 0;
  touch-action: none;
  pointer-events: auto;
  filter: drop-shadow(1px 2px 1px #30344b3d);
  transition: filter 0.18s ease;
  cursor: grab !important;
}
#paper-pen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
#paper-pen:hover {
  filter: drop-shadow(1px 2px 1px #30344b3d);
}
#paper-pen:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 3px #253df499);
}
#paper-tools.is-held,
#paper-tools.is-awaiting-about {
  visibility: hidden;
}
#paper-tools[data-entrance='rolling'] {
  z-index: 0;
}
#paper-tools[data-entrance='rolling'] #paper-pen {
  pointer-events: none;
}
.pencil-rolling-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
#paper-tools.is-parked {
  right: auto;
  transform: translate(-3%, -50%) rotate(-35deg);
  transform-origin: 3% 50%;
}
#paper-pencil-layer {
  position: fixed;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 2147483646;
  display: none;
}
#paper-pencil-layer.is-held.has-pointer {
  display: block;
}
#paper-pencil-object {
  position: absolute;
  width: 180px;
  aspect-ratio: 180/44;
  transform: translate(-3%, -50%) rotate(-35deg);
  transform-origin: 3% 50%;
  filter: drop-shadow(3px 6px 2px #30344b38);
  pointer-events: none;
}
#paper-pencil-object > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.paper-pen-active,
html.paper-pen-active * {
  cursor: none !important;
}
html.paper-pen-active #site-cursor {
  display: none !important;
}
html.paper-pen-active a,
html.paper-pen-active input,
html.paper-pen-active textarea,
html.paper-pen-active select {
  cursor: pointer !important;
}
html.paper-pen-active .sticker-position,
html.paper-pen-active .sticker-grip {
  pointer-events: none !important;
}
html.paper-pen-active main,
html.paper-pen-active body > .site-header {
  user-select: none;
  -webkit-user-select: none;
}
body.dialog-open #paper-tools,
body.dialog-open #paper-pencil-layer {
  display: none;
}
@media (max-width: 700px) {
  #paper-tools {
    width: 128px;
  }
  #paper-pen {
    width: 128px;
    height: 44px;
  }
  #paper-pencil-object {
    width: 128px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #paper-pen {
    transition: none;
  }
}

/* Paper interactions: one material language for updates, links and navigation. */
.news-section.page-width {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1840px;
  padding: 0 0 112px;
  scroll-margin-top: 30px;
}
.news-section .section-label { margin-bottom: 48px; }
.news-section .section-label h2 {
  font-size: clamp(54px, 7.2vw, 112px);
  line-height: 1.08;
}
.news-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0 10px;
  list-style: none;
}
.news-list li {
  --paper-turn: -0.6deg;
  --paste-drop: 40px;
  transform: rotate(var(--paper-turn));
  transform-origin: 12% 50%;
  transition: transform 280ms cubic-bezier(.34, 1.56, .64, 1);
}
.news-list li:nth-child(2) { --paper-turn: 0.55deg; --i: 1; }
.news-list li:nth-child(3) { --paper-turn: -0.35deg; --i: 2; }
.news-list li:nth-child(4) { --paper-turn: 0.4deg; --i: 3; }
.news-list li:nth-child(5) { --paper-turn: -0.5deg; --i: 4; }
/* Only the five newest announcements are shown. */
.news-list li:nth-child(n + 6) { display: none; }
.news-link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 40px;
  align-items: center;
  gap: 40px;
  min-height: 84px;
  padding: 18px 28px;
  border: 1px solid #20251e;
  border-radius: 2px;
  background: #fffef9;
  line-height: 1.8;
  transition: transform 120ms ease;
}
/* The pointer runs the same marker green across the strip that marks the headings. */
.news-link::before,
.project-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 340ms cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.news-link time {
  color: #355daf;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.news-title {
  font-size: clamp(16px, 1.35vw, 21px);
  overflow-wrap: anywhere;
  /* Break at Japanese phrase boundaries where supported, never leaving one character alone. */
  word-break: auto-phrase;
  text-wrap: pretty;
}
.news-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 28px;
  line-height: 1;
  transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1);
}
.news-link:focus-visible,
.project-links a:focus-visible {
  outline: 2px solid #355daf;
  outline-offset: 5px;
}
.news-link:focus-visible::before,
.project-links a:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}
.news-link:active { transform: translateY(2px); }
/* Header links get the same marker, drawn under the word. */
.site-header nav a::before {
  content: '';
  position: absolute;
  inset: auto -4px 9px;
  z-index: -1;
  height: 0.62em;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.site-header nav a { isolation: isolate; }
@media (hover: hover) {
  .news-list li:hover { transform: rotate(0deg); }
  .news-link:hover::before,
  .project-links a:hover::before,
  .site-header nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
  }
  .news-link:hover .news-arrow,
  .project-links a:hover .project-arrow { transform: translate(4px, -4px) scale(1.25); }
}
@media (prefers-reduced-motion: no-preference) {
  .news-list li.will-paste:not(.is-pasted) {
    transform: translateY(var(--paste-drop)) rotate(calc(var(--paper-turn) - 1.5deg));
  }
  .news-list li.will-paste.is-pasted {
    animation: news-paste 640ms cubic-bezier(.3, .7, .3, 1) calc(var(--i, 0) * 80ms) backwards;
  }
  /* On a phone each strip follows the finger: --p runs 0 to 1, with a slight overshoot, as it rises into view. */
  .news-list li.will-scrub {
    transition: none;
    transform: translateY(calc((1 - var(--p, 1)) * var(--paste-drop))) rotate(calc(var(--paper-turn) - (1 - var(--p, 1)) * 1.5deg));
  }
  /* A title cut short on a phone slides once to show its end, then returns; one strip at a time. */
  .news-title.is-rolling {
    text-overflow: clip;
    animation: news-roll var(--roll-time, 4s) ease-in-out 1 both;
  }
}
@keyframes news-paste {
  0% { transform: translateY(var(--paste-drop)) rotate(calc(var(--paper-turn) - 1.5deg)); }
  50% { transform: translateY(-7px) rotate(calc(var(--paper-turn) + 0.3deg)) scale(1, 1.04); }
  72% { transform: translateY(1px) rotate(var(--paper-turn)) scale(1.006, 0.97); }
  100% { transform: rotate(var(--paper-turn)); }
}
@keyframes news-roll {
  0%, 10% { text-indent: 0; }
  55%, 78% { text-indent: var(--roll, 0px); }
  100% { text-indent: 0; }
}
.about-section .social-links {
  gap: 18px;
  margin-top: 32px;
}
.about-section .social-links a {
  --social-paper: #fffef9;
  --social-turn: -4deg;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  height: 64px;
  padding: 16px;
  background: var(--social-paper);
  border: 1px solid #20251e;
  border-radius: 15px;
  box-shadow: 2px 3px 0 #20251e26;
  transform: rotate(var(--social-turn));
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.about-section .social-links a:nth-child(2) { --social-turn: 3deg; }
.about-section .social-links a:nth-child(3) { --social-turn: -2deg; }
.social-links svg { display: block; width: 28px; height: 28px; }
.about-section .social-links a:focus-visible {
  outline: 2px solid #355daf;
  outline-offset: 5px;
}
.about-section .social-links a:active {
  transform: translate(2px, 3px) rotate(0deg);
  box-shadow: 0 0 0 #20251e26;
}
/* Other projects sit under the social icons as small strips cut from the news paper. */
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.project-links li:nth-child(1) { transform: rotate(-1.2deg); }
.project-links li:nth-child(2) { transform: rotate(0.9deg); }
.project-links a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px 8px 16px;
  border: 1px solid #20251e;
  border-radius: 2px;
  background: #fffef9;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.project-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1);
}
.project-links a:active { transform: translateY(2px); }
@media (hover: hover) {
  .about-section .social-links a:hover {
    --social-paper: #e3ff9c;
    transform: translateY(-5px) rotate(0deg);
    box-shadow: 3px 7px 0 #20251e20;
  }
}
.site-footer { padding: 4px 0 72px; }
.back-to-top {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 168px;
  min-height: 128px;
  margin-inline: auto;
  color: #355daf;
  font: 20px/1.4 PartnerHand, NotebookHand, cursive;
}
.back-to-top .top-arrow {
  width: 33px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1);
}
/* Pointing at it circles the words with the marker used on the news strips. */
.back-to-top .top-ring {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--green);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.02;
  transition: stroke-dashoffset 480ms cubic-bezier(.3, .6, .2, 1);
}
.back-to-top:focus-visible { outline: 2px solid #355daf; outline-offset: 6px; }
.back-to-top:focus-visible .top-ring { stroke-dashoffset: 0; }
@media (hover: hover) {
  .back-to-top:hover .top-ring { stroke-dashoffset: 0; }
  .back-to-top:hover .top-arrow { animation: none; transform: translateY(-6px) scale(1.15); }
}
@media (prefers-reduced-motion: no-preference) {
  .back-to-top .top-arrow { animation: top-hop 2.6s ease-out 1s infinite; }
}
@keyframes top-hop {
  0%, 24%, 100% { transform: translateY(0) scale(1); }
  6% { transform: translateY(2px) scale(1.08, .9); }
  13% { transform: translateY(-9px) scale(.94, 1.08); }
  19% { transform: translateY(1px) scale(1.04, .95); }
}
@media (max-width: 700px) {
  .site-header nav { gap: clamp(12px, 3.6vw, 22px); }
  .news-section.page-width { padding-bottom: 80px; }
  .news-section .section-label { margin-bottom: 36px; }
  .news-section .section-label h2 { font-size: clamp(46px, 13vw, 64px); }
  .news-list { gap: 10px; padding: 0 4px; }
  .news-list li { --paste-drop: 26px; }
  .news-link {
    grid-template-columns: auto minmax(0, 1fr) 16px;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    line-height: 1.5;
  }
  .news-link time { font-size: 10.5px; letter-spacing: 0; }
  .news-title {
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .news-arrow { width: 16px; height: 16px; font-size: 17px; }
  .about-section .social-links { gap: 18px; margin-top: 28px; }
  .about-section .social-links a { width: 58px; min-width: 58px; height: 58px; flex-basis: 58px; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-list li { transform: none; }
  .news-list li, .news-link, .news-link::before, .news-arrow, .news-title,
  .project-links a::before, .project-arrow,
  .about-section .social-links a, .site-header nav a::before,
  .back-to-top .top-arrow, .back-to-top .top-ring { transition: none; animation: none; }
}

.profile-monitor-hint { min-height: 44px; }
