@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Jost:wght@300;400;500;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&family=Zen+Old+Mincho:wght@400;500&display=swap');

:root {
  --ink: #1c1c1e;
  --paper: #f4f4f3;
  --line: #d5d5d3;
  --muted: #787875;
  --accent: #1c1c1e;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  mix-blend-mode: normal;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.solid {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
}

.logo-mark img { height: 30px; width: auto; }

.nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-list a {
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--ink);
  display: block;
}

/* TOP page: full-bleed photo hero */
.top-hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.top-hero-photo {
  position: absolute;
  inset: 0;
}

.top-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(0.92) brightness(0.85) saturate(0.9);
}

.top-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.45) 100%);
}

body.has-photo-hero .site-header:not(.solid) .logo-mark img {
  filter: invert(1) brightness(1.6);
}

body.has-photo-hero .site-header:not(.solid):not(:has(.nav-list.open)) .nav-toggle span {
  background: #fff;
}

@media (min-width: 861px) {
  body.has-photo-hero .site-header:not(.solid) .nav-list a {
    color: #fff;
  }
}

/* Section shell */
section { position: relative; }

.section-pad {
  padding: 140px 0;
}

.section-pad + .section-pad,
.section-alt + .section-pad {
  border-top: 1px solid var(--line);
}

.section-alt {
  background: #e9e9e7;
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}

/* Full-bleed photo background section (About page director intro) */
.photo-bg-section {
  position: relative;
  overflow: hidden;
  padding: 160px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--paper);
}

.photo-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.photo-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(0.9) brightness(1.05) saturate(0.85);
  opacity: 0.16;
}

.photo-bg-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--paper) 0%, rgba(244,244,243,0.75) 45%, rgba(244,244,243,0.55) 100%);
}

.photo-bg-content {
  position: relative;
  z-index: 1;
}

.photo-bg-content .section-head {
  text-align: left;
  margin-bottom: 40px;
}

.photo-bg-content .lead {
  max-width: 560px;
  margin: 0;
}

.photo-bg-content .director-block {
  max-width: 560px;
  margin: 48px 0 0;
  text-align: left;
}

@media (max-width: 860px) {
  .photo-bg-section {
    padding: 100px 0;
    min-height: auto;
  }
}

.eyebrow {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.alpha-note {
  text-align: center;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.75;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.section-head h2 {
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.08em;
}

.section-head h2.tagline {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0.03em;
}

.eyebrow-large {
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0.05em;
}

h2.tagline.tagline-small {
  font-size: 16px;
  letter-spacing: 0.3em;
}

/* Nav cards on top page */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.nav-card {
  background: var(--paper);
  padding: 64px 36px;
  text-align: center;
  transition: background 0.3s ease;
}

.nav-card:hover { background: #fff; }

.nav-card .num {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: block;
}

.nav-card h3 {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.nav-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 26px;
}

.nav-card .more {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* Body copy */
.lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2.1;
}

.lead p + p { margin-top: 1.6em; }

.director-intro {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.director-block .name-jp.director-intro {
  font-size: 17px;
  font-weight: 500;
}

.director-block {
  max-width: 720px;
  margin: 64px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* Split layout: media + body side by side */
.split {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 64px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.split.split-reverse {
  grid-template-columns: 1fr minmax(240px, 360px);
}

.split.split-reverse .split-media { order: 2; }
.split.split-reverse .split-body { order: 1; }

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}

.no-image-media {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.no-image-media span {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.split-body .lead {
  max-width: none;
  margin: 0;
}

.split-body .director-block {
  max-width: none;
  margin: 48px 0 0;
  text-align: left;
}

@media (max-width: 860px) {
  .split,
  .split.split-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split.split-reverse .split-media,
  .split.split-reverse .split-body {
    order: initial;
  }

  .split-media img {
    max-width: 340px;
    margin: 0 auto;
  }
}

.director-block .role {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.director-block .name-jp {
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.director-block .name-en {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Services */
.service-buttons {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.service-btn {
  position: relative;
  font-family: 'Cormorant', serif;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s ease;
}

.service-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  z-index: 0;
}

.service-btn:hover::before,
.service-btn:focus-visible::before {
  transform: scaleX(1);
}

.service-btn:hover .btn-label,
.service-btn:focus-visible .btn-label {
  color: var(--paper);
}

.btn-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  width: 240px;
  transform: translateX(-50%) translateY(6px);
  background: var(--ink);
  color: var(--paper);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
  padding: 16px 18px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.btn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.service-btn:hover .btn-tooltip,
.service-btn:focus-visible .btn-tooltip,
.service-btn.is-open .btn-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.service-btn.is-open::before {
  transform: scaleX(1);
}

.service-btn.is-open .btn-label {
  color: var(--paper);
}

/* Career timeline */
.timeline {
  max-width: 760px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:first-child { border-top: 1px solid var(--line); }

.timeline-item .year {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.timeline-item .org {
  font-family: 'Zen Old Mincho', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.timeline-item .desc {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* Clients */
.client-grid {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.client-card {
  text-align: center;
}

.client-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 26px;
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.client-card:hover .client-photo img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 56px;
  margin: 0 auto;
}

.client-logo-wrap-boost {
  width: 190px;
  height: 89px;
}

.client-logo-wrap-mout {
  width: 260px;
  height: 66px;
}

.client-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.field {
  margin-bottom: 30px;
}

.field label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s ease;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field .req {
  font-size: 10px;
  color: var(--muted);
  margin-left: 6px;
}

.field-consent {
  margin-bottom: 34px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.consent-label span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.consent-label a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-btn {
  display: inline-block;
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 44px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: transparent;
  color: var(--ink);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.form-status {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  min-height: 1.4em;
}

.form-status.is-success { color: #2f6b3a; }
.form-status.is-error { color: #a33; }

.contact-note {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

/* Footer */
.site-footer {
  padding: 56px 32px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer img {
  height: 14px;
  margin: 0 auto 18px;
  opacity: 0.7;
}

.site-footer .copyright {
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.site-footer .footer-link {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Cormorant', serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.site-footer .footer-link:hover {
  border-bottom-color: var(--muted);
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  color: var(--muted);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--ink);
}

.social-link svg {
  display: block;
}

/* Legal / Privacy Policy */
.legal {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
}

.legal .meta {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 40px;
}

.legal p {
  margin-bottom: 1.2em;
}

.legal .article-title {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.03em;
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal .article-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.legal li {
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.8;
}

.legal-table {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px 24px;
  font-size: 14px;
}

.legal-table dt {
  color: var(--muted);
}

.legal-table dd {
  color: var(--ink);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .legal-table {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .legal-table dt {
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .legal-table dt:first-child {
    margin-top: 0;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-list {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78vw;
    max-width: 320px;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 0 48px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -2px 0 24px rgba(0,0,0,0.06);
  }

  .nav-list.open { transform: translateX(0); }

  .nav-toggle { display: flex; }

  .card-grid { grid-template-columns: 1fr; }

  .service-buttons { gap: 12px; }

  .btn-tooltip { width: min(230px, 76vw); }

  .timeline-item { grid-template-columns: 1fr; gap: 10px; }

  .client-grid { gap: 70px; }

  .section-pad { padding: 90px 0; }
}
