@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --bg: #0d0d0d;
  --text: #f4f4f4;
  --muted: #8b8b8b;
  --line: #292929;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 38px;
  background: rgba(13, 13, 13, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
}

.site-nav {
  display: flex;
  gap: 28px;
  order: -1;
}

.site-nav a {
  position: relative;
  color: #8f8f8f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #fff;
}

section {
  max-width: 1640px;
  margin: 0 auto;
  padding: 110px 5.2vw;
}

.section-heading {
  margin-bottom: 42px;
}

.section-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: .16em;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .03em;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(52px, 8vw, 120px);
  line-height: .9;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.work-card {
  cursor: pointer;
  overflow: hidden;
}

.thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b1b1b;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.work-card:hover .thumbnail img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 35%, rgba(0,0,0,.8));
  opacity: 0;
  transition: opacity .35s ease;
}

.work-card:hover .card-overlay {
  opacity: 1;
}

.card-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
}

.card-overlay h2 {
  font-size: clamp(28px, 3vw, 32px);
  line-height: 1;
  text-shadow: 1px 1px 8px #000000;
}

.card-overlay p {
  margin-top: 10px;
  color: #ccc;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
}

.view-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
}

.profile-section,
.contact-section {
  border-top: 1px solid var(--line);
}

.profile-layout {
  display: inline ;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}


.profile-name {
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  letter-spacing: .15em;
}


.profile-intro h3 {
  margin: 24px 0;
  font-size: clamp(24px, 2vw, 48px);
  line-height: 1.25;
}

.profile-intro h3 span {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.profile-intro > p:last-child {
  max-width: 600px;
  color: #aaa;
  font-size: 15px;
}

.profile-info{
  margin-top: 80px;
}

.info-block {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.info-block h4 {
  margin-bottom: 20px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  letter-spacing: .15em;
}

.info-block li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #1d1d1d;
  list-style: none;
}

.info-block li span {
  font-weight: 700;
}

.info-block li small {
  color: #777;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: right;
}

.qualification-list li {
  display: block;
}

.contact-content {
  padding: 20px 0 40px;
}

.contact-content > p {
  color: #aaa;
}

.email-link {
  display: inline-block;
  margin-top: 35px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  font-size: clamp(20px, 3vw, 42px);
  font-weight: 700;
  transition: opacity .25s ease;
}

.email-link:hover {
  opacity: .6;
}

.email-link span {
  display: inline-block;
  margin-left: 10px;
  font-size: .7em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 38px;
  border-top: 1px solid var(--line);
  color: #777;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  overflow-y: auto;
  padding: 60px 20px;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  background: #151515;
  border: 1px solid #303030;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  font-weight: 200;
  cursor: pointer;
}

.modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  overflow: hidden;
}

.modal-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .15em;
}

.video-placeholder span {
  font-size: 32px;
}

.video-placeholder small {
  margin-top: 10px;
  color: #777;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

.modal-info {
  padding: 25px;
}

.modal-number {
  color: #777;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .15em;
}

.modal-info h2 {
  margin: 8px 0 22px;
  font-size: clamp(40px, 6vw, 40px);
  line-height: .95;
}

.modal-info > p:not(.modal-number) {
  max-width: 700px;
  color: #aaa;
}

.modal-details {
  display:block ;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 25px;
  border-top: 1px solid #333;
}

.modal-details span {
  color: #777;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .12em;
}

.modal-details p {
  margin-top: 8px;
  color: #ddd;
}

.modal-space{
  margin-top: 40px;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 70px;
    padding: 0 20px;
  }

  .site-logo {
    font-size: 14px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 15px;
  }

  section {
    padding: 75px 20px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .card-overlay {
    opacity: 1;
    padding: 18px;
  }

  .card-overlay h2 {
    font-size: 18px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .info-block li {
    display: block;
  }

  .info-block li small {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .modal {
    padding: 20px 10px;
  }

  .modal-info {
    padding: 30px 22px;
  }

  .modal-info h2 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.5;
}

  .modal-details {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .site-footer {
    display: block;
    padding: 20px;
  }

  .site-footer a {
    display: block;
    margin-top: 10px;
  }
}
