/* Nav */
.nav {
  border-bottom: 1px solid var(--color-line);
}

.nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-sign);
}

.nav ul {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
}

.nav a.label {
  color: var(--color-ink);
  text-decoration: none;
}

.nav a.label:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-sign);
  text-decoration-thickness: 2px;
}

/* Hero */
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-block: clamp(48px, 7vw, 96px) var(--space-section);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-kicker .jp {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.hero-kicker .rule {
  width: 24px;
  height: 1px;
  background: var(--color-ink);
}

.hero h1 {
  font-weight: 900;
  font-size: var(--text-hero);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-block: 28px;
}

.hero-intro {
  max-width: 560px;
  font-size: var(--text-lead);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero-photo {
  align-self: start;
  position: relative;
}

.hero-langs {
  grid-column: 2;
  justify-self: end;
}

/* Scrapbook print */
.print {
  position: relative;
  background: var(--color-ground);
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-print);
  transform: rotate(var(--tilt, 0deg));
  transition: transform var(--duration) var(--ease);
}

.print:hover {
  transform: rotate(0deg) scale(1.01);
}

.print figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
}

.tape {
  position: absolute;
  width: 124px;
  height: 34px;
  background: var(--color-tape);
  transform: rotate(var(--tape-tilt, -6deg));
  pointer-events: none;
  z-index: 1;
}

/* Section headers */
.section {
  border-top: 1px solid var(--color-line);
}

.section > .wrap {
  padding-block: clamp(48px, 5vw, 72px) var(--space-section);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: 1;
  letter-spacing: -0.04em;
}

.tag {
  background: var(--color-sign);
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: rotate(-4deg);
}

.section-head .jp {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

/* Work grid */
.work-row {
  display: grid;
  gap: 32px;
  align-items: start;
}

.work-row.feature {
  grid-template-columns: 820fr 460fr;
}

.work-row.feature .work-card:last-child {
  margin-top: 120px;
}

.work-row.trio {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.work-row.trio .work-card:nth-child(2) {
  margin-top: 64px;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: rotate(var(--tilt, 0deg));
}

.work-card .shot {
  border: 10px solid var(--color-ground);
  box-shadow: var(--shadow-print);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.work-card .shot.tall {
  aspect-ratio: 4 / 5;
}

.work-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.work-card h3 {
  font-weight: 800;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
}

.work-card p {
  color: var(--color-muted);
  max-width: 600px;
}

.work-card .label {
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border: 10px solid var(--color-ground);
  box-shadow: var(--shadow-print);
  background: var(--color-ink);
  color: var(--color-sign);
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 26px;
}

.placeholder.sign {
  background: var(--color-sign);
  color: var(--color-ink);
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.play {
  width: 56px;
  height: 56px;
}

.video-thumb {
  position: relative;
  display: block;
}

.video-thumb .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--duration) var(--ease);
}

.video-thumb:hover .play {
  transform: translate(-50%, -50%) scale(1.12);
}

.sticky {
  position: absolute;
  right: -20px;
  top: -24px;
  background: var(--color-sign);
  padding: 6px 14px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  text-decoration: none;
  transform: rotate(5deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

/* Photo strip */
.strip {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  padding-block: 8px var(--space-section);
}

.strip img {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid var(--color-ground);
  border-bottom-width: 34px;
  box-shadow: var(--shadow-print);
  transform: rotate(var(--tilt, 0deg));
}

.strip img:nth-child(2) {
  aspect-ratio: 1;
}

/* About */
.about-body {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 80px;
  align-items: start;
}

.collage {
  position: relative;
  height: 600px;
}

.collage .card {
  position: absolute;
  left: 40px;
  top: 40px;
  width: 380px;
  height: 440px;
  background: var(--color-sign);
  transform: rotate(-2deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.collage .card img {
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 400px;
}

.collage .polaroid {
  position: absolute;
  left: 300px;
  top: 330px;
  width: 200px;
  --tilt: 6deg;
}

.collage .polaroid img {
  aspect-ratio: 176 / 200;
  object-fit: cover;
}

.collage .polaroid figcaption {
  justify-content: center;
  font-family: var(--font-hand-jp);
  font-size: 18px;
}

.collage .note {
  position: absolute;
  left: 24px;
  top: 500px;
  width: 280px;
  font-size: 30px;
  line-height: 1.05;
  transform: rotate(-3deg);
}

.collage .note small {
  display: block;
  font-size: 24px;
  color: var(--color-muted);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 720px;
}

.about-text .big {
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.toward {
  border-left: 4px solid var(--color-sign);
  padding-left: 24px;
}

.toward .label {
  display: block;
  margin-bottom: 12px;
}

/* Contact */
.contact {
  background: var(--color-ink);
  color: var(--color-ground);
}

.contact .wrap {
  padding-block: var(--space-section) 48px;
}

.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.contact h2 {
  font-weight: 900;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-top: 20px;
}

.contact .jp {
  color: #bdbdbd;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-left: 16px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-weight: 600;
  font-size: 20px;
}

.contact-links a {
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-sign);
}

.contact-links .email {
  color: var(--color-sign);
}

.contact-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #333333;
  margin-top: 56px;
  padding-top: 24px;
}

.contact-foot .label {
  color: #bdbdbd;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap,
  .work-row.feature,
  .work-row.trio,
  .about-body {
    grid-template-columns: 1fr;
  }

  .hero-langs {
    grid-column: 1;
    justify-self: start;
  }

  .work-row.feature .work-card:last-child,
  .work-row.trio .work-card:nth-child(2) {
    margin-top: 0;
  }

  .collage {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .nav ul {
    display: none;
  }

  .section-head .jp {
    display: none;
  }

  .strip {
    flex-wrap: wrap;
  }

  .strip img {
    flex-basis: calc(50% - 8px);
  }

  .collage {
    height: 600px;
    transform: scale(0.68);
    transform-origin: top left;
    margin-bottom: -180px;
  }

  .sticky {
    right: -6px;
    font-size: 22px;
  }

  .contact-links {
    align-items: flex-start;
  }
}
