:root {
  --paper: #fff;
  --ink: #070707;
  --muted: #555;
  --line: #151515;
  --hairline: 1px solid var(--line);
  --accent: #e0001b;
  --max: 1240px;
  --pad: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Helvetica,
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 32px auto;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.language-block {
  display: none;
}

.site-shell[data-lang="ja"] .language-block-ja,
.site-shell[data-lang="en"] .language-block-en,
.site-shell[data-lang="fr"] .language-block-fr {
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  min-height: 64px;
  border-bottom: var(--hairline);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand-mark,
.primary-nav a,
.topbar-actions > *,
.hero-link,
.primary-button,
.secondary-button,
.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-right: var(--hairline);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 16px;
}

.brand-mark span:first-child {
  font-size: 1.45rem;
}

.brand-mark span:last-child {
  color: var(--muted);
  font-size: 0.68rem;
}

.primary-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.primary-nav a {
  border-left: var(--hairline);
}

.primary-nav a:hover,
.topbar-actions > *:hover,
.hero-link:hover,
.primary-button:hover,
.secondary-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.topbar-actions {
  display: grid;
  grid-template-columns: 54px 54px 54px 130px;
}

.lang-button,
.contact-chip {
  border: 0;
  border-left: var(--hairline);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.lang-button.is-active {
  background: var(--accent);
  color: #fff;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr 310px;
  grid-template-rows: minmax(390px, auto) 230px 104px;
  border-bottom: var(--hairline);
}

.hero-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 190px;
  width: 1px;
  background: var(--line);
  pointer-events: none;
  z-index: 2;
}

.hero-label {
  grid-row: 1 / 4;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

.hero-label span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-label b {
  display: inline-block;
  font: inherit;
  transform: rotate(-90deg);
}

.hero-title-cell {
  position: relative;
  grid-column: 2 / 4;
  min-width: 0;
  padding: 22px var(--pad);
  border-bottom: var(--hairline);
  overflow: hidden;
}

.eyebrow,
.section-index,
.cell-number,
.context-grid span,
.people-grid span,
.contact-grid span,
.process-grid span {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-title-cell .eyebrow {
  position: absolute;
  top: 22px;
  left: var(--pad);
  width: min(220px, calc(100% - 44px));
  overflow: hidden;
  transform: rotate(90deg);
  transform-origin: left top;
  white-space: nowrap;
}

.hero-title {
  margin: 52px 0 0 4.6rem;
  font-size: 9.4rem;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-note {
  grid-column: 3;
  grid-row: 2;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  padding: 18px;
  border-left: var(--hairline);
  border-bottom: var(--hairline);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-note p,
.hero-copy-cell p {
  margin: 0;
}

.hero-image {
  grid-column: 2 / 3;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  border-bottom: var(--hairline);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.hero-copy-cell {
  grid-column: 2 / 3;
  grid-row: 3;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 16px var(--pad);
  border-right: var(--hairline);
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-link {
  grid-column: 3;
  grid-row: 3;
  min-width: 0;
  border-right: 0;
  border-left: var(--hairline);
  background: var(--accent);
  color: #fff;
}

.hero-link span {
  display: inline-block;
  transform: none;
  white-space: nowrap;
}

.hero-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.statement-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background:
    linear-gradient(90deg, transparent calc(33.333% - 0.5px), var(--line) calc(33.333% - 0.5px), var(--line) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px)),
    linear-gradient(90deg, transparent calc(66.666% - 0.5px), var(--line) calc(66.666% - 0.5px), var(--line) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
  border-bottom: var(--hairline);
}

.statement-strip p {
  position: relative;
  min-width: 0;
  min-height: clamp(420px, 45vw, 620px);
  margin: 0;
  padding: 14px;
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.statement-strip p > span {
  position: absolute;
  left: calc(14px + 1em);
  bottom: 14px;
  display: block;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  white-space: nowrap;
}

.section {
  border-bottom: var(--hairline);
}

.grid-section {
  display: grid;
  grid-template-columns: 190px 1fr;
}

.section-index {
  padding: 16px;
}

.section-content {
  padding: 46px var(--pad);
  border-left: var(--hairline);
  border-bottom: var(--hairline);
}

h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h2 {
  max-width: 940px;
  margin: 0 0 28px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 20px;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 790px;
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.24;
}

.section-content p:not(.lead),
.service-cell p,
.context-grid p,
.people-grid p:not(.lead),
.process-grid p,
.contact-grid p:not(.lead) {
  color: var(--muted);
}

.media-pair {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-left: var(--hairline);
}

.media-pair img,
.wide-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-right: var(--hairline);
  filter: grayscale(1) contrast(1.08);
}

.media-pair img:last-child {
  border-right: 0;
}

.service-grid,
.ai-grid,
.process-grid,
.context-grid,
.people-grid {
  grid-column: 2;
  display: grid;
  border-left: var(--hairline);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-cell {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-right: var(--hairline);
}

.service-cell:last-child {
  border-right: 0;
}

.cell-number {
  color: var(--accent);
}

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

.ai-cell {
  min-height: 520px;
  padding: 22px;
  border-right: var(--hairline);
}

.ai-cell:last-of-type {
  border-right: 0;
}

.ai-can {
  background: var(--ink);
  color: var(--paper);
}

.ai-can .eyebrow,
.ai-can li {
  color: var(--paper);
}

.ai-cell h3 {
  margin-bottom: 72px;
  font-size: 3.2rem;
}

.ai-cell ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-cell li {
  min-height: 78px;
  padding: 12px 0;
  border-top: 1px solid currentColor;
  color: var(--muted);
}

.ai-statement {
  grid-column: 1 / 3;
  padding: 18px 22px;
  border-top: var(--hairline);
  background: var(--paper);
  color: var(--ink);
}

.ai-statement p {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article,
.context-grid article,
.people-grid article {
  padding: 18px;
  border-right: var(--hairline);
}

.process-grid article:last-child,
.context-grid article:last-child {
  border-right: 0;
}

.process-grid article {
  min-height: 240px;
}

.process-grid h3 {
  margin-top: 80px;
}

.context-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.context-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.context-grid article > a,
.context-grid article > span:last-child,
.people-grid a {
  margin-top: auto;
  width: fit-content;
  border-bottom: var(--hairline);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wide-media {
  grid-column: 2;
  margin: 0;
  border-left: var(--hairline);
  border-top: var(--hairline);
}

.wide-media img {
  height: 460px;
  border-right: 0;
}

.people-section {
  background: var(--ink);
  color: var(--paper);
}

.people-section .section-index,
.people-section .people-grid article {
  border-color: var(--paper);
}

.people-section .section-index,
.people-grid span,
.people-grid p:not(.lead) {
  color: rgba(251, 251, 248, 0.7);
}

.people-section .lead {
  color: var(--paper);
}

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

.people-grid article {
  border-right: 0;
  border-bottom: 1px solid var(--paper);
}

.people-grid article:last-child {
  border-bottom: 0;
}

.with-portrait {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.with-portrait img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.contact-section {
  border-bottom: var(--hairline);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 420px;
}

.contact-grid > div:first-child {
  padding: 38px var(--pad);
  border-right: var(--hairline);
}

.contact-actions {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.primary-button,
.secondary-button {
  min-height: auto;
  padding: 22px;
  border-right: 0;
  border-bottom: var(--hairline);
}

.secondary-button {
  border-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 64px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  padding: 0 16px;
}

.site-footer div {
  display: grid;
  grid-template-columns: repeat(3, auto);
  border-left: var(--hairline);
}

.site-footer a {
  min-width: 130px;
}

@media (min-width: 1320px) {
  .hero-title {
    font-size: 10.4rem;
  }
}

@media (max-width: 1080px) {
  :root {
    --pad: 18px;
  }

  .site-shell {
    width: calc(100% - 24px);
    margin: 12px auto;
    border-radius: 10px;
  }

  .topbar {
    grid-template-columns: 160px 1fr;
  }

  .primary-nav {
    display: none;
  }

  .topbar-actions {
    grid-column: 2;
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto 260px auto auto;
  }

  .hero-grid::before {
    left: 160px;
  }

  .hero-label {
    grid-row: 1 / 5;
  }

  .hero-title-cell {
    grid-column: 2;
  }

  .hero-title {
    font-size: 6.6rem;
  }

  .hero-image,
  .hero-note,
  .hero-copy-cell,
  .hero-link {
    grid-column: 2;
    grid-row: auto;
  }

  .hero-note,
  .hero-link {
    border-left: 0;
  }

  .statement-strip,
  .service-grid,
  .context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-strip {
    background:
      linear-gradient(90deg, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px), var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  }

  .service-cell,
  .context-grid article {
    border-bottom: var(--hairline);
  }

  .service-cell:nth-child(2n),
  .context-grid article:nth-child(2n) {
    border-right: 0;
  }

  .service-cell:nth-last-child(-n + 2),
  .context-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  h2 {
    font-size: 3.7rem;
  }

  .ai-cell h3 {
    font-size: 2.5rem;
  }

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

  .process-grid article {
    border-right: 0;
    border-bottom: var(--hairline);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 14px;
  }

  body {
    background: var(--paper);
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .brand-mark {
    min-height: 56px;
    border-right: 0;
    border-bottom: var(--hairline);
  }

  .topbar-actions {
    grid-column: 1;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    justify-self: stretch;
  }

  .topbar-actions > * {
    min-height: 48px;
  }

  .hero-grid,
  .grid-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-label {
    grid-row: auto;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    border-bottom: var(--hairline);
  }

  .hero-grid::before {
    display: none;
  }

  .hero-label span {
    min-height: 48px;
    border-right: var(--hairline);
    padding: 10px;
    font-size: 0.66rem;
  }

  .hero-label b {
    transform: none;
  }

  .hero-label span:last-child {
    border-right: 0;
  }

  .hero-title-cell,
  .hero-image,
  .hero-note,
  .hero-copy-cell,
  .hero-link {
    grid-column: 1;
  }

  .hero-title {
    margin-top: 42px;
    margin-left: 0;
    font-size: 2.72rem;
    line-height: 0.86;
  }

  .hero-title-cell .eyebrow {
    position: static;
    transform: none;
  }

  .hero-link {
    min-height: 56px;
  }

  .hero-grid {
    grid-template-rows: auto auto 220px auto auto;
  }

  .hero-note {
    border-left: 0;
  }

  .section-index {
    border-right: 0;
    border-bottom: var(--hairline);
  }

  .section-content,
  .media-pair,
  .wide-media,
  .service-grid,
  .ai-grid,
  .process-grid,
  .context-grid,
  .people-grid {
    border-left: 0;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .lead {
    font-size: 1.12rem;
  }

  .statement-strip,
  .media-pair,
  .service-grid,
  .ai-grid,
  .context-grid,
  .with-portrait,
  .site-footer,
  .site-footer div {
    grid-template-columns: 1fr;
  }

  .statement-strip {
    background: transparent;
  }

  .media-pair,
  .wide-media,
  .service-grid,
  .ai-grid,
  .process-grid,
  .context-grid,
  .people-grid {
    grid-column: 1;
  }

  .statement-strip p,
  .service-cell,
  .context-grid article {
    border-bottom: var(--hairline);
  }

  .statement-strip p {
    min-height: 96px;
    font-size: 2rem;
    white-space: normal;
    overflow: visible;
  }

  .statement-strip p > span {
    position: static;
    transform: none;
    white-space: normal;
  }

  .service-cell:last-child,
  .context-grid article:last-child {
    border-bottom: 0;
  }

  .media-pair img,
  .wide-media img {
    height: 250px;
    border-right: 0;
    border-bottom: var(--hairline);
  }

  .ai-cell {
    min-height: auto;
    border-right: 0;
    border-bottom: var(--hairline);
  }

  .ai-cell h3 {
    margin-bottom: 42px;
    font-size: 2rem;
  }

  .ai-statement {
    grid-column: 1;
  }

  .contact-grid > div:first-child {
    border-right: 0;
    border-bottom: var(--hairline);
  }

  .site-footer p {
    padding: 16px;
    border-bottom: var(--hairline);
  }

  .site-footer div {
    border-left: 0;
  }

  .site-footer a {
    min-width: 0;
    border-bottom: var(--hairline);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
