:root {
  --ink: #070707;
  --paper: #efece6;
  --mute: #8a867e;
  --line: rgba(239, 236, 230, 0.16);
  --line-dark: rgba(7, 7, 7, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}
body.en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.02em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
.text-link {
  border-bottom: 1px solid currentColor;
  opacity: 0.82;
}
.text-link:hover { opacity: 1; }
img { display: block; max-width: 100%; }

.label {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.serif-en {
  font-family: "Cormorant Garamond", serif;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  padding: 18px 36px;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.site-nav a { opacity: 0.78; color: var(--paper); }
.site-nav a:hover,
.site-nav a.is-current { opacity: 1; }
.nav-links { display: flex; gap: 28px; }
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  pointer-events: auto;
  position: relative;
  z-index: 201;
}
.lang a {
  padding: 6px 4px;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 80px 80px 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,7,0.35) 0%, rgba(7,7,7,0.55) 45%, rgba(7,7,7,0.92) 100%),
    url("assets/iknow-ink-texture.png") center/cover no-repeat;
  filter: grayscale(1) contrast(1.15);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
}
.hero-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  opacity: 0.7;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(42px, 12vw, 152px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-jp {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.28em;
  font-weight: 500;
}
body.en .hero-jp { letter-spacing: 0.08em; }
.hero-lead {
  margin-top: 18px;
  font-size: 14px;
  line-height: 2;
  opacity: 0.78;
  white-space: nowrap;
}
body.en .hero-lead {
  margin-top: 0;
  white-space: normal;
  max-width: 36em;
}

.v-text {
  position: absolute;
  right: 36px;
  top: 50%;
  writing-mode: vertical-rl;
  letter-spacing: 0.45em;
  font-size: 11px;
  opacity: 0.45;
  transform: translateY(-50%);
}

section { position: relative; }
.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.invert {
  background: var(--paper);
  color: var(--ink);
}
.invert .line { border-color: var(--line-dark); }

.about { padding: 110px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.portrait { position: relative; }
.portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.06);
}
.portrait figcaption {
  margin-top: 14px;
  opacity: 0.5;
}
.sec-num {
  display: block;
  margin-bottom: 18px;
  opacity: 0.45;
}
h2.display {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.founder-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0.5;
}
.fb-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}
.fb-icon svg { display: block; width: 100%; height: 100%; }
.fb-icon:hover { opacity: 1; }
.body-copy p + p { margin-top: 1.4em; }
.body-copy p { font-size: 15.5px; }

.figures { padding: 0 0 110px; }
.fig-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fig {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
}
.fig:last-child { border-right: none; }
.fig b {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums;
  margin: 10px 0 12px;
}
.fig b.serif-en {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0;
}
.fig > span { font-size: 12px; opacity: 0.62; display: block; line-height: 1.7; }

.work { padding: 110px 0 90px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.card {
  padding: 40px 36px 48px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 260px;
}
.card:nth-child(2n) { border-right: none; }
.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 500;
  margin: 12px 0 16px;
}
.card p { font-size: 14px; opacity: 0.72; max-width: 36em; }

.timeline { padding: 0 0 40px; }
.tl {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.tl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.tl-row time {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  opacity: 0.7;
}

.contact {
  padding: 120px 0 80px;
  text-align: center;
}
.contact h2 { margin-bottom: 18px; }
.contact > .wrap > .lead {
  max-width: 32em;
  margin: 0 auto 64px;
  opacity: 0.7;
}
body:not(.en) .contact > .wrap > .lead {
  max-width: none;
  white-space: nowrap;
}
.engage {
  text-align: left;
  margin: 0 0 72px;
}
.engage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.engage-head p {
  max-width: 22em;
  font-size: 13px;
  opacity: 0.5;
  margin: 0;
}
.engage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.engage-card {
  padding: 36px 32px 40px;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  min-height: 240px;
}
.engage-card:nth-child(2n) { border-right: none; }
.engage-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 500;
  margin: 10px 0 8px;
}
.engage-card .scope {
  font-size: 12px;
  opacity: 0.55;
  margin-bottom: 16px;
}
.engage-card .fee {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  margin-bottom: 14px;
}
.engage-card .desc {
  font-size: 14px;
  opacity: 0.72;
  max-width: 36em;
  margin: 0;
}
.engage-project {
  padding: 28px 32px 32px;
  min-height: 0;
  border-right: none;
  border-bottom: 1px solid var(--line-dark);
}
.engage-project .fee { margin-bottom: 8px; opacity: 0.55; }
.mail {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 4px;
}
footer {
  padding: 28px 36px 40px;
  display: flex;
  justify-content: space-between;
  opacity: 0.45;
}

@media (max-width: 860px) {
  .site-nav { padding: 18px 20px; }
  .nav-links { display: none; }
  .lang {
    padding-left: 0;
    border-left: none;
  }
  .hero { padding: 110px 22px 70px; }
  .hero-lead {
    white-space: nowrap;
    font-size: clamp(11px, 3.2vw, 14px);
  }
  body:not(.en) .contact > .wrap > .lead {
    font-size: clamp(12px, 3.5vw, 16px);
  }
  .v-text { display: none; }
  .hero-sub { flex-direction: column; align-items: flex-start; }
  .wrap { width: calc(100% - 40px); }
  .about-grid, .fig-row, .work-grid, .tl-row {
    grid-template-columns: 1fr;
  }
  .portrait img { height: auto; }
  .fig { border-right: none; border-bottom: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: none; }
  .engage-grid { grid-template-columns: 1fr; }
  .engage-card { border-right: none; }
  .engage-head { flex-direction: column; align-items: flex-start; }
}
