@font-face {
  font-family: "Kenshin Scroll Kaisho";
  src: url("assets/kenshin-scroll-kaisho-final-v59.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 120%;
}

.kakemono {
  --scroll-brush: "Kenshin Scroll Kaisho", var(--serif-ja);
}

.kakemono :is(.history-title, .history-chapter h3, .history-milestone h3) :is([lang="ja"], [lang="zh-Hans"]),
.kakemono :is(.history-prose, .history-milestone > p):is([lang="ja"], [lang="zh-Hans"]),
.kakemono .history-number {
  font-family: var(--scroll-brush);
  font-weight: 400;
  font-synthesis: none;
}

.kakemono .history {
  padding-block: clamp(36px, 6vw, 84px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgb(97 60 29 / .22);
}
.history-art {
  margin: calc(-1 * clamp(22px, 3vw, 42px)) calc(var(--brocade-edge) + 1px) clamp(24px, 4vw, 54px);
}
.history-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 90%, transparent);
}

.kakemono .history[data-history-art="5"] {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 0;
  padding: clamp(24px, 3vw, 42px) calc(var(--brocade-edge) + clamp(12px, 2vw, 28px)) clamp(32px, 3.8vw, 54px);
}
.history[data-history-art="5"] .history-art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-width: 0;
  min-height: 0;
  margin: 0 0 clamp(28px, 4vw, 54px);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.history[data-history-art="5"] .history-art img {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: none;
  mask-image: none;
}
.history[data-history-art="5"] .history-layout {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  row-gap: 24px;
}
.history[data-history-art="5"] .history-heading {
  grid-column: 2;
  grid-row: 1;
  justify-content: start;
  padding: 0;
  gap: 9px;
}
.history[data-history-art="5"] .history-title {
  font-size: clamp(36px, 3.3vw, 48px);
}
.history[data-history-art="5"] .history-milestones {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.history[data-history-art="5"] .history-milestone {
  gap: clamp(7px, .85vw, 12px);
  padding-inline: clamp(6px, .7vw, 10px);
}
.history[data-history-art="5"] .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) {
  height: 19em;
  font-size: 18px;
}
html[lang="en"] .history[data-history-art="5"] .history-layout {
  grid-template-columns: 1fr;
  align-content: center;
}
html[lang="en"] .history[data-history-art="5"] .history-heading {
  grid-column: 1;
  grid-row: 1;
}
html[lang="en"] .history[data-history-art="5"] .history-milestones {
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}
.history-art-options {
  display: flex;
  gap: 4px;
}
.preview-badge .history-art-options [aria-pressed="true"] {
  background: #292c35;
  color: #fff9ee;
  border-color: #292c35;
}
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 4vw, 58px);
}
.history-heading {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
  gap: 14px;
}
.history-heading .eyebrow { writing-mode: vertical-rl; font-size: 10px; letter-spacing: .22em; }
.history-heading .eyebrow::before { display: none; }
.history-title {
  color: var(--paper-ink);
  font: 400 clamp(36px, 4.1vw, 57px)/1.3 "Kenshin Scroll Gyosho", var(--serif-ja);
  letter-spacing: .13em;
}
.history-title :is([lang="ja"], [lang="zh-Hans"]) { display: block; writing-mode: vertical-rl; }
.history-chapters {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  direction: rtl;
}
.history-chapter {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
  direction: ltr;
  gap: 12px;
  padding-inline: 12px;
  border-inline-end: 1px solid rgb(97 60 29 / .22);
}
.history-number {
  writing-mode: vertical-rl;
  flex: 0 0 auto;
  padding-block-start: 5px;
  color: #983b2b;
  font: 400 15px/1 "Kenshin Scroll Gyosho", var(--serif-ja);
}
.history-chapter h3 {
  flex: 0 0 auto;
  color: #332014;
  font: 400 clamp(22px, 2.1vw, 29px)/1.6 "Kenshin Scroll Gyosho", var(--serif-ja);
  letter-spacing: .1em;
}
.history-chapter h3 :is([lang="ja"], [lang="zh-Hans"]) { display: block; writing-mode: vertical-rl; }
.history-prose {
  color: #463020;
  font: 400 clamp(16px, 1.25vw, 18px)/1.85 "Kenshin Scroll Gyosho", var(--serif-ja);
  letter-spacing: .055em;
  line-break: strict;
  overflow-wrap: normal;
}
.history-prose:is([lang="ja"], [lang="zh-Hans"]) { writing-mode: vertical-rl; text-orientation: mixed; height: 30em; }
.history-actions { grid-column: 1 / -1; text-align: center; }
.history-actions .text-link { margin-top: 0; font-size: 12px; letter-spacing: .08em; }

.history-milestones {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  direction: rtl;
}
.history-milestone {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  direction: ltr;
  gap: 15px;
  padding-inline: 16px;
  border-inline-end: 1px solid rgb(97 60 29 / .22);
}
.history-milestone h3 {
  flex: 0 0 auto;
  color: #983b2b;
  font: 400 17px/1.5 "Kenshin Scroll Gyosho", var(--serif-ja);
  letter-spacing: .12em;
}
.history-milestone h3 :is([lang="ja"], [lang="zh-Hans"]) { display: block; writing-mode: vertical-rl; }
.history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) {
  height: 19em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #463020;
  font: 400 19px/1.9 "Kenshin Scroll Gyosho", var(--serif-ja);
  letter-spacing: .07em;
}
.gallery .profile-story-lead {
  margin-top: 28px;
  max-width: 27em;
  color: #fff9ee;
  font: 700 clamp(19px, 2vw, 25px)/1.85 var(--serif-ja);
  letter-spacing: .04em;
}
.gallery .message-story-link .text-link { margin-top: 22px; }
html[lang="en"] .history-milestones { grid-row: 2; direction: ltr; gap: 24px; }
html[lang="en"] .history-milestone { flex-direction: column; justify-content: start; gap: 15px; padding-inline: 0 18px; }
html[lang="en"] .history-milestone h3 { font: 400 23px/1.3 Georgia, serif; letter-spacing: 0; }
html[lang="en"] .history-milestone p { font: 400 14px/1.8 var(--sans); }

html[lang="en"] .history-layout { grid-template-columns: 1fr; }
html[lang="en"] .history-heading { grid-column: 1; flex-direction: column; gap: 10px; }
html[lang="en"] .history-heading .eyebrow { writing-mode: horizontal-tb; }
html[lang="en"] .history-title { font: 400 clamp(30px, 4vw, 48px)/1.15 Georgia, serif; letter-spacing: .03em; }
html[lang="en"] .history-chapters { grid-row: 2; direction: ltr; gap: 24px; }
html[lang="en"] .history-chapter { flex-direction: column; gap: 15px; padding-inline: 0 22px; }
html[lang="en"] .history-number { writing-mode: horizontal-tb; }
html[lang="en"] .history-chapter h3 { font: 400 25px/1.3 Georgia, serif; letter-spacing: 0; }
html[lang="en"] .history-prose { font: 400 14px/1.9 var(--sans); letter-spacing: 0; }

.history-rough { padding-top: 36px; }
.history-rough .scroll-gallery { padding-top: 36px; }
.history-rough-nav { padding: 10px var(--margin) 30px; color: #e7dccb; font: 400 12px/1.6 var(--sans); }
.history-rough-nav a { border-bottom: 1px solid #877964; padding-bottom: 5px; }
.history-rough .kakemono { padding-block: 24px 56px; }
.history-rough .history { border: 0; }
.history-rough .history-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "label" "title";
  justify-self: end;
  justify-items: center;
  align-items: start;
  width: max-content;
  max-width: 100%;
  gap: 22px;
  padding-inline: 0;
}
.history-rough .history-heading .eyebrow {
  grid-area: label;
  display: block;
  margin: 0;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .12em;
  white-space: normal;
}
.history-rough .history-title {
  grid-area: title;
  margin: 0;
  line-height: 1.6;
}
.history-rough .history-title :is([lang="ja"], [lang="zh-Hans"]) {
  text-orientation: upright;
  line-height: 1.75;
  letter-spacing: .16em;
  white-space: nowrap;
}
html[lang="en"] .history-rough .history-heading {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "label" "title";
}
.history-rough-note { margin: 0 auto 32px; max-width: 600px; padding-inline: 24px; color: #65513f; text-align: center; font: 400 12px/1.9 var(--sans); }
.history-rough-film { max-width: 390px; margin: 0 auto; padding: 0 20px; }
.history-rough-film video { display: block; width: 100%; aspect-ratio: 9 / 16; border: 1px solid #9c876a; background: #1f1a16; }
.history-rough-film figcaption { margin-top: 12px; color: #65513f; text-align: center; font: 400 12px/1.8 var(--sans); }

@media (max-width: 1340px) {
  .history-layout { grid-template-columns: 1fr; }
  .history-heading { grid-column: 1; grid-row: 1; justify-content: center; }
  .history-title { font-size: 42px; }
  .history-chapters { grid-column: 1; grid-row: 2; }
  .history-milestones { grid-column: 1; grid-row: 2; }
  .history-prose { font-size: 17px; line-height: 1.85; }
}
@media (max-width: 1100px) {
  .history-layout { gap: 34px; }
  .history-chapters { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .history-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) { height: 18em; font-size: 18px; }
  .history-heading { justify-content: end; padding-inline-end: 12px; }
  .history-title { font-size: 38px; }
  .history-chapter { justify-content: center; gap: 16px; padding: 0 0 32px; border-inline: 0; border-bottom: 1px solid rgb(97 60 29 / .22); }
  .history-chapter:last-child { border: 0; padding-bottom: 0; }
  .history-chapter h3 { font-size: 24px; }
  .history-prose:is([lang="ja"], [lang="zh-Hans"]) { height: 30em; font-size: 17px; line-height: 1.9; }
  html[lang="en"] .history-chapter { border-inline: 0; padding-bottom: 24px; }
}
@media (max-width: 360px) {
  .history-chapter { gap: 12px; }
  .history-chapter h3 { font-size: 22px; }
  .history-prose:is([lang="ja"], [lang="zh-Hans"]) { font-size: 16px; line-height: 1.75; }
  .history-milestone { gap: 10px; padding-inline: 9px; }
  .history-milestone h3 { font-size: 15px; }
  .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) { font-size: 16px; line-height: 1.7; }
}

@media (max-width: 480px) {
  .history-rough .history-layout { row-gap: 48px; }
  .history-rough .history-chapter { gap: clamp(4px, 1.5vw, 8px); }
  .history-rough .history-chapter h3 { font-size: 22px; line-height: 1.7; }
  .history-rough .history-prose:is([lang="ja"], [lang="zh-Hans"]) {
    height: 36em;
    font-size: 16px;
    line-height: 1.75;
    flex: 0 0 auto;
  }
}

/* The main page lets the artwork lead without a visible title column. */
.history--art-led .history-layout { grid-template-columns: minmax(0, 1fr); }
.history--art-led .history-milestones { grid-column: 1; grid-row: 1; }
.history--art-led .history-actions { grid-column: 1; grid-row: 2; }

@media (min-width: 961px) and (max-width: 1180px) {
  .history[data-history-art="5"] .history-milestone { gap: 7px; padding-inline: 5px; }
  .history[data-history-art="5"] .history-milestone h3 { font-size: 16px; }
  .history[data-history-art="5"] .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) { font-size: 17px; }
}

@media (max-width: 960px) {
  .kakemono .history[data-history-art="5"] {
    padding: 22px calc(var(--brocade-edge) + clamp(8px, 3vw, 22px)) 34px;
  }
  .history[data-history-art="5"] .history-art {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .history[data-history-art="5"] .history-layout { display: grid; }
  .history[data-history-art="5"] .history-milestones {
    grid-column: 1;
    grid-row: 1;
    row-gap: 0;
  }
  .history[data-history-art="5"] .history-milestone { gap: 7px; padding-inline: 5px; }
  .history[data-history-art="5"] .history-milestone h3 { font-size: 15px; }
  .history[data-history-art="5"] .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) {
    height: 19em;
    font-size: clamp(15px, 2.6vw, 18px);
    line-height: 1.7;
  }
  .history[data-history-art="5"] .history-actions { grid-column: 1; grid-row: 2; }
  html[lang="en"] .history[data-history-art="5"] .history-milestones { grid-row: 1; }
  html[lang="en"] .history[data-history-art="5"] .history-actions { grid-row: 2; }
}

/* Enlarge the original lettering to nearly the full paper width.
   The SVG stays proportional and its lower edge stays inside the washi. */
.history-calligraphy { position:absolute; inset:34% 0 auto; aspect-ratio:100 / 62; z-index:1; display:grid; place-items:center; pointer-events:none; mix-blend-mode:multiply; }
.history-calligraphy-art { position:absolute; inset:-25% 0 auto; display:block; height:160%; width:100%; max-width:none; overflow:visible; mix-blend-mode:multiply; }
.history[data-history-art="2"] .history-calligraphy { display:none; }

/* Give every Japanese milestone one uninterrupted vertical line. */
html:is([lang="ja"], [lang="zh-Hans"]) .history[data-history-art="5"] .history-milestone {
  align-items: flex-start;
  gap: clamp(5px, .7vw, 12px);
  padding-inline: clamp(3px, .6vw, 10px);
}
html:is([lang="ja"], [lang="zh-Hans"]) .history[data-history-art="5"] .history-milestone h3 {
  font-size: clamp(17.6px, 1.76vw, 24.8px);
  line-height: 1.25;
  color: #81271e;
  -webkit-text-stroke: .36px currentColor;
}
html:is([lang="ja"], [lang="zh-Hans"]) .history[data-history-art="5"] .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) {
  height: max-content;
  max-height: none;
  flex: 0 0 auto;
  font-size: clamp(20px, 1.92vw, 27.2px);
  line-height: 1.3;
  letter-spacing: .045em;
  white-space: nowrap;
  color: #17100b;
  -webkit-text-stroke: .4px currentColor;
}
@media (max-width: 359px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .history[data-history-art="5"] .history-milestone {
    gap: 3px;
    padding-inline: 2px;
  }
  html:is([lang="ja"], [lang="zh-Hans"]) .history[data-history-art="5"] .history-milestone h3 {
    font-size: 16px;
  }
  html:is([lang="ja"], [lang="zh-Hans"]) .history[data-history-art="5"] .history-milestone > p:is([lang="ja"], [lang="zh-Hans"]) {
    font-size: 17.6px;
  }
}


/* Consolidated typography for the complete portfolio. */
/* Two type families: clear everyday text and the approved Kaisho brush face. */
@font-face {
  font-family: "Kenshin Text";
  src: url("assets/jp-sans.woff?v=type-balance-v37") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Kenshin Profile Light";
  src: url("assets/profile-sans-light-v48.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
:root {
  --type-plain: "Kenshin Text", sans-serif;
  --scroll-brush: "Kenshin Scroll Kaisho", var(--type-plain);
  --sans: var(--type-plain);
  --display: var(--type-plain);
  --serif-ja: var(--type-plain);
  --mono: var(--type-plain);
}
.gallery { --serif-en: var(--type-plain); }
.artist-roman,
.preview-badge,
.viewer-close,
[data-title-reveal] .title-lettering,
html[lang="en"] .history :is(h2, h3, p) {
  font-family: var(--type-plain);
}
.gallery [data-title-reveal] .title-lettering {
  font-family: var(--type-plain);
  font-weight: 500;
  letter-spacing: .08em;
}

/* The existing hand-drawn lettering stays centred and becomes exactly 80%. */
.kakemono[data-scroll-stage] .history-calligraphy-art {
  transform: scale(.8);
  transform-origin: 50% 50%;
}

/* Apply the reference brush face to every Japanese artwork caption. */
.gallery .kakemono .work-card figcaption {
  padding-top: 16px;
  text-align: start;
  font-family: var(--type-plain);
}
.gallery .kakemono .work-card h3,
.gallery .kakemono .work-card h3 :is([lang="ja"], [lang="zh-Hans"]) {
  font-family: var(--type-plain);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}
.gallery .kakemono .work-card figcaption p:not(.work-story) {
  font-family: var(--type-plain);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .015em;
}
.work-card .text-unit { display: inline-block; white-space: nowrap; }
.gallery .kakemono .work-card figcaption .work-story {
  margin-top: 22px;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.95;
  letter-spacing: .035em;
  color: var(--paper-ink);
}
.gallery .kakemono .work-card figcaption :is([lang="ja"], [lang="zh-Hans"]) {
  font-family: var(--scroll-brush);
  font-weight: 400;
  font-synthesis: none;
  -webkit-text-stroke: .32px currentColor;
}
.gallery .kakemono .work-card h3 :is([lang="ja"], [lang="zh-Hans"]) {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.5;
}
.gallery .kakemono .work-card figcaption .work-event :is([lang="ja"], [lang="zh-Hans"]) {
  color: var(--paper-ink);
}
html[lang="en"] .gallery .kakemono .work-card figcaption p:not(.work-story) {
  font-size: clamp(13px, 1.1vw, 15px);
}
.gallery .kakemono .work-card figcaption .work-story + .work-story {
  margin-top: 1em;
}
/* Artwork introductions read top to bottom, right to left.
   The flag includes its event and design credit in the vertical caption. */
.gallery .kakemono :is(.work-scroll, .work-daruma, .work-flag) figcaption {
  container-type: inline-size;
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-scroll-story {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  inline-size: 26em;
  block-size: 100%;
  margin-top: 22px;
  font-size: clamp(20px, 1.8vw, 24px);
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-scroll-story .work-story {
  margin: 0;
  font-size: inherit;
  text-wrap: wrap;
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-scroll-story .work-story + .work-story {
  margin-block-start: .75em;
}
@container (max-width: 250px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-scroll-story { inline-size: 36em; }
}
@container (max-width: 190px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-scroll-story { inline-size: 42em; }
}
@container (max-width: 150px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-scroll-story { inline-size: 48em; }
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-flag-caption {
  text-orientation: upright;
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-flag-caption > p:not(.work-story) {
  margin: 0;
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-flag-caption > p + p {
  margin-block-start: .75em;
}
@container (max-width: 350px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-flag-caption { inline-size: 40em; }
}
@container (max-width: 250px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-flag-caption { inline-size: 48em; }
}
@container (max-width: 190px) {
  html:is([lang="ja"], [lang="zh-Hans"]) .gallery .kakemono .work-flag-caption { inline-size: 60em; }
}
html[lang="en"] .gallery .kakemono .work-card figcaption .work-story {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.85;
  letter-spacing: 0;
}
html[lang="en"] .history :is(.history-title, .history-chapter h3, .history-milestone h3) :is([lang="ja"], [lang="zh-Hans"]) {
  display: none;
}

/* Natural Japanese line endings, with punctuation kept with its sentence. */
.gallery :is(.work-card figcaption, .news, .body-text, .profile-story-lead, .career-detail) {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
}
.gallery .work-card figcaption .work-story {
  overflow-wrap: break-word;
}
.gallery .news,
.gallery .news :is(time, summary, p, a, figcaption, :is([lang="ja"], [lang="zh-Hans"])) {
  font-family: var(--type-plain);
  font-synthesis: none;
}
.gallery .news summary {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  letter-spacing: .015em;
}
.gallery .news .career-detail {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.95;
}
.gallery .news time {
  font-size: clamp(12px, 1vw, 14px);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* Message retains the approved brush face. */
.gallery .message-copy :is([lang="ja"], [lang="zh-Hans"]) {
  font-family: var(--scroll-brush);
  font-weight: 400;
  font-synthesis: none;
  -webkit-text-stroke: .24px currentColor;
}
/* A real Light face keeps profile copy visibly lighter on every device. */
.gallery .profile {
  --profile-plain: "Kenshin Profile Light", "Hiragino Sans", sans-serif;
}
.gallery .profile-copy,
.gallery .profile-copy [lang] {
  font-family: var(--profile-plain);
  font-weight: 300;
  font-synthesis: none;
  -webkit-text-stroke: 0;
}
.gallery #profile-title .title-lettering {
  font-family: var(--profile-plain);
  font-weight: 300;
}
/* Selected projects and contact use the existing plain text family. */
.gallery :is(.career-section, .contact),
.gallery :is(.career-section, .contact) :is([lang="ja"], [lang="zh-Hans"]) {
  font-family: var(--type-plain);
  -webkit-text-stroke: 0;
}
.gallery #career-title .title-lettering {
  font-weight: 700;
}
.gallery .career-section .career-category {
  color: var(--muted);
  font: 400 14px/1.4 var(--type-plain);
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery :is(.message, .contact) .body-text {
  font-size: clamp(21px, 1.75vw, 24px);
  line-height: 2;
  letter-spacing: .035em;
}
.gallery .profile .body-text {
  font-family: var(--profile-plain);
  font-size: clamp(18px, 1.45vw, 20px);
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: .035em;
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .career-section .career-detail {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.95;
}
html:is([lang="ja"], [lang="zh-Hans"]) .gallery .career-section summary {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.7;
}
.gallery .profile-name {
  font-family: var(--profile-plain);
  font-weight: 300;
  font-synthesis: none;
  line-height: 1.5;
  letter-spacing: .08em;
}
.gallery .profile-name .profile-roman {
  font-family: var(--profile-plain);
  font-weight: 300;
  font-synthesis: none;
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: .12em;
}
/* Form controls retain the plain interface face in both languages. */
.gallery .contact-form :is([lang="ja"], [lang="zh-Hans"]) {
  font-family: var(--type-plain);
  -webkit-text-stroke: 0;
}
.gallery .eyebrow { font-size: 14px; }
.gallery .contact-form label > span { font-size: 15px; }
.gallery .contact-company { font-size: 14px; }
.gallery .message-film figcaption,
.gallery .message-story-link .text-link,
.gallery .profile .text-link {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
}
html[lang="en"] .gallery :is(.message, .contact) .body-text {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.85;
}
@media (max-width: 620px) {
  .gallery .news-updates.career-list summary {
    grid-template-columns: 5.9em minmax(0, 1fr) 15px;
    gap: 10px;
    align-items: start;
    padding-block: 18px;
  }
  .gallery .news-updates.career-list summary time { padding-top: .25em; }
}

/* Strengthen the story's brush strokes without changing its typeface. */
.history-rough .kakemono :is(
  .history-title [lang="ja"],
  .history-chapter h3 [lang="ja"],
  .history-prose[lang="ja"],
  .history-number
) {
  -webkit-text-stroke: .28px currentColor;
  paint-order: stroke fill;
}
.history-rough .history-prose[lang="ja"] { color: #2e241b; }
