
:root{
  --navy:#0c2b50;
  --navy-2:#153f6d;
  --blue:#527fa5;
  --ice:#edf3f7;
  --paper:#f7f8f9;
  --white:#fff;
  --ink:#202b35;
  --muted:#687582;
  --line:rgba(12,43,80,.13);
  --shadow:0 22px 55px rgba(12,43,80,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:#fff;line-height:1.9;line-break:strict;word-break:normal;overflow-wrap:break-word}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.wrap{width:min(1180px,calc(100% - 42px));margin:auto}
.site-header{position:fixed;z-index:100;top:0;left:0;right:0;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center;gap:13px;color:var(--navy);font-weight:700;font-size:14px}
.brand img{width:42px;height:42px;object-fit:contain}
.brand small{display:block;font-size:9px;letter-spacing:.14em;color:var(--muted);font-weight:700}
.menu{display:flex;gap:25px;align-items:center;font-size:13px}
.menu a:hover{color:var(--blue)}
.nav-cta{padding:10px 18px;border:1px solid var(--navy);border-radius:999px}
.hero{min-height:94vh;position:relative;display:grid;align-items:end;color:white;background:center/cover no-repeat}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,18,38,.86),rgba(4,18,38,.38) 67%,rgba(4,18,38,.14))}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(4,18,38,.60),transparent 50%)}
.hero-home{background-image:url("assets/manpuku-light-1.jpg")}
.hero-content{position:relative;z-index:2;padding:170px 0 88px;max-width:1120px}
.kicker{font-size:11px;letter-spacing:.25em;text-transform:uppercase;font-weight:800;color:var(--blue)}
.hero .kicker{color:#d7e7f3}
h1,h2,h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;text-wrap:balance}
h1{font-size:clamp(40px,5.8vw,74px);line-height:1.38;letter-spacing:-.02em;margin:15px 0 24px}
.display-line{display:block}
.hero-title .display-line,.hero-subtitle .display-line{white-space:nowrap}
.hero-subtitle{font-size:clamp(15px,1.7vw,20px);line-height:2;max-width:1120px;color:rgba(255,255,255,.88);text-wrap:pretty}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:999px;font-size:13px;border:1px solid transparent;transition:.25s}
.btn:hover{transform:translateY(-2px)}
.btn-light{background:#fff;color:var(--navy)}
.btn-outline{border-color:rgba(255,255,255,.65);color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-line{border-color:var(--navy);color:var(--navy)}
section{padding:104px 0}
.soft{background:var(--paper)}
.section-head{display:grid;grid-template-columns:.78fr 1.22fr;gap:52px;align-items:start;margin-bottom:44px}
.section-title{font-size:clamp(34px,4vw,54px);line-height:1.45;color:var(--navy);margin:8px 0 0}
.section-copy{font-size:17px;color:#4d5a68;max-width:760px;text-wrap:pretty}
.about-grid,.message-grid,.publication{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.feature-img{border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.feature-img img{width:100%;height:550px;object-fit:cover}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}
.stat{border-top:1px solid var(--line);padding-top:15px}
.stat strong{display:block;font-family:Georgia,serif;font-size:28px;color:var(--navy)}
.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 12px 35px rgba(12,43,80,.05)}
.card img{width:100%;height:235px;object-fit:cover}
.card-body{padding:24px}
.card h3{font-size:23px;color:var(--navy);margin:0 0 9px}
.card p{margin:0;color:var(--muted);font-size:14px}
.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.project-card{position:relative;min-height:475px;border-radius:26px;overflow:hidden;color:#fff;background:#345}
.project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.45s}
.project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(3,17,34,.92),rgba(3,17,34,.04) 72%)}
.project-card:hover img{transform:scale(1.025)}
.project-content{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:32px}
.project-content small{letter-spacing:.14em;opacity:.82}
.project-content h3{font-size:29px;line-height:1.45;margin:8px 0}
.project-content p{font-size:14px;color:rgba(255,255,255,.82);margin:0}
.message{background:var(--navy);color:#fff}
.profile-card{background:#fff;border-radius:28px;padding:18px}
.profile-card img{width:100%;height:480px;object-fit:cover;object-position:center 20%;border-radius:18px}
.message .section-title{color:#fff}
.message p{color:rgba(255,255,255,.82)}
.signature{font-size:18px;margin-top:26px}
.book-cover{max-width:390px;margin:auto;box-shadow:var(--shadow)}
.book-cover img{width:100%;height:auto}
.page-hero{padding:165px 0 82px;background:var(--navy);color:#fff}
.page-hero h1{font-size:clamp(42px,5.8vw,70px);margin-bottom:15px}
.page-hero p{max-width:760px;color:rgba(255,255,255,.82)}
.works-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.work-card{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 14px 36px rgba(12,43,80,.06)}
.work-card img{width:100%;height:300px;object-fit:cover}
.work-card .contain{object-fit:contain;background:#eef2f5;padding:20px}
.work-body{padding:27px}
.meta{font-size:11px;letter-spacing:.14em;color:var(--blue);font-weight:800}
.work-card h2{font-size:28px;line-height:1.45;color:var(--navy);margin:8px 0 12px}
.work-card p{color:#566473;font-size:14px}
.detail-hero{min-height:72vh;position:relative;display:flex;align-items:end;color:#fff;background:center/cover no-repeat}
.detail-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(4,18,36,.91),rgba(4,18,36,.12))}
.detail-inner{position:relative;z-index:2;padding:150px 0 66px}
.detail-inner h1{font-size:clamp(38px,5.2vw,66px)}
.project-info{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--paper);padding:26px;border-radius:22px;margin-bottom:54px}
.info-block{padding:4px 14px;border-right:1px solid var(--line)}
.info-block:last-child{border-right:0}
.info-label{font-size:10px;letter-spacing:.17em;color:var(--blue);font-weight:800}
.info-value{margin-top:5px}
.detail-copy{max-width:860px;margin:auto}
.detail-copy h2{font-size:36px;color:var(--navy);margin:0 0 18px}
.detail-copy h3{font-size:27px;color:var(--navy);margin:48px 0 16px}
.detail-copy p{color:#4f5d6b;text-wrap:pretty}
.bullets{display:grid;grid-template-columns:1fr 1fr;gap:8px 32px;padding-left:20px}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
.gallery-item{border-radius:18px;overflow:hidden;background:#edf1f4;aspect-ratio:4/3}
.gallery-item img{width:100%;height:100%;object-fit:cover}
.gallery-item.portrait{aspect-ratio:3/4}
.gallery-item.poster{aspect-ratio:3/4}
.gallery-item.poster img{object-fit:contain;padding:14px;background:#eef2f5}
.gallery-item.wide{grid-column:span 2;aspect-ratio:16/9}
.about-info{background:var(--paper);padding:34px;border-radius:24px}
.timeline{border-left:1px solid var(--line);padding-left:28px}
.timeline-item{position:relative;margin-bottom:24px}
.timeline-item:before{content:"";position:absolute;left:-34px;top:.7em;width:11px;height:11px;border-radius:50%;background:var(--blue)}
.timeline-item strong{color:var(--navy)}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:58px}
.contact-card{background:var(--paper);padding:32px;border-radius:22px}
form{display:grid;gap:16px}
label{font-size:13px;color:var(--navy);font-weight:700}
input,textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 14px}
textarea{min-height:160px}
.site-footer{background:#071b34;color:rgba(255,255,255,.72);padding:46px 0;font-size:13px}
.footer-grid{display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap}

@media(max-width:980px){
 .menu{display:none}
 .hero-title .display-line,.hero-subtitle .display-line{white-space:normal}
 .section-head,.about-grid,.message-grid,.publication,.contact-grid{grid-template-columns:1fr}
 .activity-grid{grid-template-columns:1fr 1fr}
 .project-grid,.works-grid{grid-template-columns:1fr}
 .project-info{grid-template-columns:1fr}
 .info-block{border-right:0;border-bottom:1px solid var(--line);padding:12px 4px}
 .info-block:last-child{border-bottom:0}
}
@media(max-width:650px){
 .wrap{width:min(100% - 28px,1180px)}
 section{padding:76px 0}
 .activity-grid,.stats,.gallery,.bullets{grid-template-columns:1fr}
 .gallery-item.wide{grid-column:auto;aspect-ratio:4/3}
 .display-line{display:inline}
 .display-line+.display-line:before{content:" "}
 .hero-title .display-line{display:block}
 .hero-title .display-line+.display-line:before{content:""}
 .hero-content{padding-bottom:60px}
 .brand span{max-width:230px}
 .feature-img img,.profile-card img{height:400px}
}


/* Exact Japanese line-break control requested for the home page */
.about-title .display-line,
.controlled-copy .display-line,
.controlled-card-copy .display-line,
.controlled-project-copy .display-line,
.controlled-message-copy .display-line {
  white-space: nowrap;
}

.controlled-card-copy,
.controlled-project-copy,
.controlled-message-copy {
  line-height: 1.95;
}

@media (max-width: 1180px) {
  .about-title .display-line,
  .controlled-copy .display-line,
  .controlled-card-copy .display-line,
  .controlled-project-copy .display-line,
  .controlled-message-copy .display-line {
    white-space: normal;
  }
}


/* Contact heading: keep natural Japanese phrases intact */
.contact-title {
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.contact-title .display-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .contact-title {
    font-size: clamp(38px, 7vw, 58px);
  }
}
@media (max-width: 650px) {
  .contact-title {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.5;
  }
  .contact-title .display-line {
    display: block;
    white-space: nowrap;
  }
  .contact-title .display-line + .display-line::before {
    content: "";
  }
}


/* Homepage refinements: smaller representative portrait and exact About copy */
.message-home .message-grid {
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1.52fr);
  gap: 88px;
  align-items: center;
}

.message-home .profile-card {
  width: min(100%, 320px);
  justify-self: center;
  padding: 12px;
  border-radius: 24px;
}

.message-home .profile-card img {
  height: 330px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
}

.message-home .controlled-message-copy {
  max-width: 820px;
}

.controlled-about-copy .display-line {
  white-space: nowrap;
}

.controlled-about-copy .paragraph-gap {
  margin-top: 18px;
}

@media (max-width: 1050px) {
  .message-home .message-grid {
    grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
    gap: 54px;
  }

  .message-home .profile-card {
    width: min(100%, 290px);
  }

  .message-home .profile-card img {
    height: 300px;
  }

  .controlled-about-copy .display-line {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .message-home .message-grid {
    grid-template-columns: 1fr;
  }

  .message-home .profile-card {
    width: min(100%, 270px);
  }

  .message-home .profile-card img {
    height: 280px;
  }
}

@media (max-width: 650px) {
  .message-home .profile-card {
    width: min(100%, 235px);
  }

  .message-home .profile-card img {
    height: 245px;
  }
}
/* Video additions only: original v7 visual design retained */
.project-video-section{padding:0 0 72px}.video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#111;border-radius:8px;margin:18px 0 8px}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.video-fallback{margin:0 0 34px}.video-fallback a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* V9: About page only — discreet representative portrait, original design retained. */
.about-grid-compact { grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: start; }
.about-grid-compact .profile-card-compact { width: 100%; max-width: 240px; padding: 10px; border-radius: 18px; margin-top: 42px; box-shadow: 0 6px 28px rgba(18,35,46,.06); }
.about-grid-compact .profile-card-compact img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center 20%; border-radius: 12px; }
@media (max-width: 760px) {
 .about-grid-compact { grid-template-columns: 1fr; gap: 18px; }
 .about-grid-compact .profile-card-compact { max-width: 180px; margin: 0 auto 0 0; }
 .about-grid-compact .profile-card-compact img { height: 205px; }
}

/* V11: Koji's mobile-only headline line-break correction. Desktop unchanged. */
.hero-title-mobile { display: none; }
@media (max-width: 650px) {
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; }
  .hero-title-mobile .display-line { display: block; white-space: nowrap; }
  .hero-title-mobile .display-line + .display-line::before { content: none; }
  .hero-home .hero-title { font-size: clamp(27px, 8vw, 35px); line-height: 1.45; letter-spacing: -.025em; }
}
