/* Yosuke Kawata portfolio — simple, white, small type */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #222;
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
}

.brand { text-decoration: none; letter-spacing: 0.2em; line-height: 1.4; }
.brand-name { display: block; font-size: 15px; }
.brand-sub  { display: block; font-size: 10px; letter-spacing: 0.1em; color: #555; }

.site-nav { display: flex; flex-wrap: wrap; gap: 6px 36px; font-size: 11px; }
.site-nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: #999; }
.site-nav a[aria-current="page"] { border-bottom-color: #222; }

.social { display: flex; gap: 12px; align-items: center; }
.social img { width: 15px; height: 15px; }
.social a:hover { opacity: 0.6; }

/* ---------- main ---------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  min-height: 55vh;
}

h1, h2, h3 { font-weight: 400; margin: 0; }

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* home */
.home-item { margin-bottom: 72px; }
.home-item .caption { text-align: center; margin-top: 10px; font-size: 12px; }
.home-item .caption a { text-decoration: none; }
.home-item .caption a:hover { text-decoration: underline; }

/* film */
.work { margin-bottom: 96px; }
.work-media { margin-bottom: 20px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
}

.work-title { font-size: 20px; margin-bottom: 14px; }
.meta p, .credits { margin: 0 0 14px; font-size: 12px; }
.credits dt { float: left; clear: left; width: 4.8em; }
.credits dd { margin: 0; }

.festivals h3 { font-size: 15px; margin: 30px 0 14px; }
.festivals ul { list-style: none; margin: 0; padding: 0; font-size: 11.5px; line-height: 1.5; }
.festivals li { margin-bottom: 16px; }
.festivals a { text-decoration: none; display: block; }
.festivals a:hover { text-decoration: underline; }

.statement p { margin: 0 0 1em; font-size: 12px; }
.statement .en { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px dashed #bbb; }

/* about */
.about .profile-photo { width: 100%; max-width: 360px; margin-bottom: 36px; }
.about .name { font-size: 12px; letter-spacing: 0.15em; margin-bottom: 18px; }
.about .bio p { margin: 0 0 1em; font-size: 12px; }
.about .bio .en { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px dashed #bbb; }
.about .filmography h2 { font-size: 15px; margin-bottom: 16px; }
.about .filmography h3 { font-size: 12px; font-weight: 600; margin: 22px 0 12px; }
.about .filmography h3:first-of-type { margin-top: 0; }

/* contact / gallery */
.simple-list dt { margin-top: 26px; }
.simple-list dt:first-child { margin-top: 0; }
.simple-list dd { margin: 0; word-break: break-all; }

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

.site-footer { text-align: center; padding: 20px 24px 40px; font-size: 10px; }
.site-footer .social { justify-content: center; gap: 30px; margin-bottom: 20px; }
.site-footer .social img { width: 20px; height: 20px; }

/* ---------- phones ---------- */

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .site-header .social { display: none; }   /* footer has them */
  .site-nav { gap: 6px 20px; font-size: 12px; }
  main { padding: 24px 16px 48px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .work { margin-bottom: 64px; }
  .about .profile-photo { max-width: 100%; }
}
