/* Klee One (SIL OFL 1.1); phrase-only subset, served locally. */
@font-face {
  font-family: "Sassicaia Origin Note";
  src: url("../fonts/origin-note-klee-one-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sassicaia Name Note";
  src: url("../fonts/about-name-klee-one-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sassicaia Name Note";
  src: url("../fonts/about-name-klee-one-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* ABOUT only: company identity, reading rhythm and responsive alignment. */
.about-hero .subpage-shell,
.origin-shell,
.origin-heading,
.origin-content,
.company-shell,
.subpage-next > div { width: min(100%, 1120px); }
.about-hero { padding-bottom: 48px; }
.about-hero .subpage-shell > .about-intro {
  max-width: 40em;
  margin: 24px 0 0;
  color: #3f4545;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
/* Keep the introduction aligned and legible inside the dark page band. */
.about-hero .subpage-shell > p.about-intro { text-align: left; padding-inline-start: 0; }
.about-hero.page-type-hero .about-intro strong { color: #f8f8f6; font-weight: 600; }
.about-company-type { display: inline-block; }
.origin-section, #representative, #company { scroll-margin-top: 96px; }
.about-hero + .origin-section { padding-block: 0 96px; background: #fff; }
.origin-heading { position: relative; isolation: isolate; padding-block: 48px; gap: 32px; }
.origin-heading::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background-color: #eef0ed;
  background-image:
    linear-gradient(rgba(32, 35, 35, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 35, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: calc((100vw - 100%) / 2) 0;
}
.origin-heading .origin-kicker { color: #505454; }
.origin-heading h2 { color: #505454; }
.origin-kicker { margin-bottom: 24px; }
.origin-heading-note {
  margin: 0;
  padding-top: 0;
  border-top: 0;
  color: #202323;
  font-size: clamp(24px, calc(19.5429px + 1.1429vw), 36px);
  font-family: "Sassicaia Origin Note", "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .02em;
  transform: rotate(-.7deg);
  transform-origin: left center;
}
@media (max-width: 359px) {
  .origin-heading-note { font-size: 22px; }
}
.origin-content { margin-top: 0; padding-top: 48px; border-top: 0; gap: 64px; }
.origin-label { margin-bottom: 24px; }
.origin-quote { line-height: 1.4; letter-spacing: -.045em; }
.origin-copy { margin-top: 32px; font-size: 16px; line-height: 1.9; color: #3f4545; }
.origin-copy + .origin-copy { margin-top: 16px; }
.origin-axis { margin-top: 32px; }
.origin-person { width: min(100%, 400px); justify-self: start; }
.origin-person-label { margin: 0 0 24px; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; color: #3f4545; }
.origin-portrait { width: min(100%, 340px); justify-self: start; }
.origin-person-copy { padding-right: 0; max-width: 36em; }
.origin-person-summary { overflow-wrap: normal; color: #3f4545; }
.company-section { padding-block: 80px; background: #fff; }
.company-shell { gap: 48px; }
.company-heading p { margin-bottom: 24px; }
.company-list div { padding-block: 24px; }
.company-list dt { font-size: 14px; line-height: 1.8; }
.company-list dd { font-size: 16px; overflow-wrap: anywhere; }
.subpage-next { padding-block: 80px; }
.about-contact-illustration {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0 auto 28px;
}
.subpage-next h2 { line-height: 1.4; letter-spacing: -.045em; }
.subpage-next a.band-button-wipe {
  justify-content: center;
  min-width: min(100%, 256px);
  min-height: 56px;
  padding: 14px 28px;
  border-bottom: 1px solid #202625;
  font-size: 16px;
  letter-spacing: .06em;
  text-decoration: none;
}
@media (min-width: 768px) {
  .about-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 80px);
  }
  .about-contact-layout > p { grid-column: 1 / -1; }
  .about-contact-layout > h2 { grid-area: 2 / 1; }
  .about-contact-layout > a { grid-area: 3 / 1; justify-self: start; }
  .about-contact-illustration {
    grid-area: 2 / 2 / 4;
    place-self: center;
    width: min(100%, 470px);
    margin: 0;
  }
}
/* Desktop: a spacious chapter opening, with the message as the focal point. */
@media (min-width: 1025px) {
  .origin-heading { min-height: 304px; padding-block: 64px; align-items: center; }
  .origin-heading h2 { font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
}
@media (max-width: 1024px) {
  .origin-heading { grid-template-columns: 1fr; gap: 24px; }
  .company-shell { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .about-hero + .origin-section { padding-block: 0 64px; background: #fff; }
  .origin-heading { padding-block: 40px; color: #202323; gap: 32px; }
  .origin-heading .origin-kicker { color: #505454; margin-bottom: 16px; }
  .origin-heading h2 { color: #505454; font-size: 24px; font-weight: 500; }
  .origin-heading .origin-heading-note { color: #202323; }
  .origin-content { grid-template-columns: 1fr; margin-top: 0; padding-top: 40px; border-top: 0; gap: 48px; }
  .origin-person { width: 100%; justify-self: start; }
  .origin-portrait { width: min(100%, 340px); justify-self: start; }
  .origin-person-copy { padding-right: 0; }
  .company-section, .subpage-next { padding-block: 64px; }
  .company-list div { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
}

/* Hand-drawn-style raster lettering; retain the exact sentence for assistive technology. */
.origin-heading-note.origin-note-art { position: relative; width: min(100%, 12em); transform: none; }
.origin-note-art img { display: block; width: 100%; height: auto; }
.origin-note-readable { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Same pen-note scale as the origin message; body copy remains live text. */
.origin-quote.origin-quote-art { position: relative; width: min(100%, 9em); font-size: clamp(24px, calc(19.5429px + 1.1429vw), 36px); }
.origin-quote-art img { display: block; width: 100%; height: auto; }
@media (max-width: 359px) { .origin-quote.origin-quote-art { font-size: 22px; } }

/* Unified philosophy notebook, followed by a separate white representative spread. */
.about-hero + .origin-section { padding: 0; background: #fff; }
.origin-notebook {
  --note-grid: 40px;
  background-color: #eef0ed;
  background-image: linear-gradient(rgba(32,35,35,.05) 1px, transparent 1px), linear-gradient(90deg,rgba(32,35,35,.05) 1px, transparent 1px);
  background-size: var(--note-grid) var(--note-grid);
}
.origin-notebook-inner,
.origin-section .origin-person { width: min(calc(100% - var(--edge) - var(--edge)), 1120px); margin-inline: auto; }
.origin-notebook-inner { padding-block: 64px; }
.origin-notebook-title { margin: 0 0 48px; color: #505454; font-size: 28px; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; }
.origin-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; align-items: start; }
.origin-notes > div { min-width: 0; }
.origin-notes :is(.origin-kicker,.origin-label) { margin: 0 0 24px; color: #505454; }
.origin-note-view .origin-heading-note { margin: 0; padding: 0; }
.origin-dialogue { margin-top: 32px; }
.origin-dialogue > * { min-width: 0; }
.origin-explanation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; }
.origin-explanation .origin-copy { max-width: 36em; margin: 0; }
.origin-notebook-inner .origin-axis { width: min(100%, 320px); margin-top: 32px; }
.origin-section .origin-person { display: grid; grid-template-columns: minmax(0,340px) minmax(0,1fr); column-gap: 64px; row-gap: 32px; padding-block: 80px; align-items: start; }
.origin-section .origin-person-label { grid-column: 1 / -1; margin: 0; }
.origin-section .origin-portrait { width: 100%; justify-self: start; }
.origin-section .origin-person-copy { max-width: 36em; margin: 0; padding: 0; }
@media (max-width: 1024px) {
  .origin-notes,.origin-explanation { gap: 32px; }
  .origin-section .origin-person { grid-template-columns: minmax(0,280px) minmax(0,1fr); column-gap: 40px; }
}
@media (max-width: 767px) {
  .origin-notebook-inner { padding-block: 40px 48px; }
  .origin-notebook-title { font-size: 24px; margin-bottom: 40px; }
  .origin-notes { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .origin-explanation { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .origin-section .origin-person { grid-template-columns: minmax(0,1fr); padding-block: 64px; row-gap: 24px; }
  .origin-section .origin-portrait { width: min(100%,340px); }
}

/* Compact representative spread: bounded reading measure and three semantic phrases. */
.origin-section .origin-person {
  --profile-photo: 320px;
  --profile-gap: 64px;
  width: min(calc(100% - var(--edge) - var(--edge)), 896px);
  grid-template-columns: minmax(0,var(--profile-photo)) minmax(0,1fr);
  column-gap: var(--profile-gap);
  row-gap: 32px;
}
.origin-section .origin-person-copy { width: 100%; max-width: 28em; align-self: center; }
.origin-section .origin-person-name { font-size: 32px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; }
.origin-section .origin-person-reading { margin-top: 8px; }
.origin-section .origin-person-role { margin-top: 24px; }
.origin-section .origin-person-summary { max-width: 26em; margin-top: 32px; font-size: 16px; line-height: 1.95; overflow-wrap: normal; }
.origin-person-summary > span { display: block; }
.origin-person-summary > span + span { margin-top: 12px; }
@media (min-width: 768px) and (max-width: 1024px) {
  .origin-section .origin-person { --profile-photo: 248px; --profile-gap: 40px; }
  .origin-section .origin-person-name { font-size: 28px; }
}
@media (max-width: 767px) {
  .origin-section .origin-person { grid-template-columns: minmax(0,1fr); row-gap: 24px; }
  .origin-section .origin-portrait { width: min(100%,320px); }
  .origin-section .origin-person-copy { align-self: start; }
  .origin-section .origin-person-name { font-size: 28px; }
  .origin-section .origin-person-summary { margin-top: 24px; line-height: 1.85; text-wrap: balance; }
  .origin-person-summary > span { display: inline; }
  .origin-person-summary > span + span { margin-top: 0; }
  .origin-person-summary .origin-chunk { white-space: nowrap; }
}

/* A second handwritten notebook chapter, following the same 40px grid as Origin. */
.about-name-story {
  padding: clamp(64px,7vw,96px) var(--edge);
  background-color: #eef0ed;
  background-image: linear-gradient(rgba(32,35,35,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(32,35,35,.05) 1px,transparent 1px);
  background-size: 40px 40px;
  color: #202323;
  scroll-margin-top: 96px;
}
.about-name-story-inner {
  display: grid;
  grid-template-columns: minmax(0,3fr) minmax(0,7fr);
  gap: clamp(48px,6vw,80px);
  align-items: start;
  width: min(100%,1120px);
  margin-inline: auto;
}
.about-name-story-heading { min-width: 0; }
.about-name-story-label {
  margin: 0 0 24px;
  color: #505454;
  font: 600 12px/1.5 var(--mono);
  letter-spacing: .12em;
}
.about-name-story-heading h2 {
  margin: 0;
  font-family: "Sassicaia Name Note", "YuKyokasho", sans-serif;
  font-size: clamp(28px,2.65vw,36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .02em;
}
.about-name-story-heading .about-name-story-title-art { position: relative; width: min(100%, 9em); }
.about-name-story-title-art img { display: block; width: 100%; height: auto; }
.about-name-story-copy {
  display: grid;
  gap: 1em;
  max-width: 39em;
  margin: 0;
  color: #303635;
  font-family: inherit;
  font-size: clamp(17px,1.35vw,19px);
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.about-name-story-copy > p { margin: 0; }
@media (max-width: 1024px) {
  .about-name-story-inner { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .about-name-story-copy { max-width: 40em; }
}
@media (max-width: 767px) {
  .about-name-story { padding-block: 64px; }
  .about-name-story-inner { gap: 28px; }
  .about-name-story-label { margin-bottom: 16px; }
  .about-name-story-heading h2 { font-size: 28px; }
  .about-name-story-copy { font-size: 17px; line-height: 2; }
}

.origin-portrait::before {
  border: 0;
  border-radius: 8px;
  background: #e5e5e5;
  box-shadow: 0 2px 6px rgba(32, 35, 35, .06);
}
.origin-portrait-image { border-radius: 8px; }
.origin-portrait-image::after { border-radius: 4px; }

@media screen and (prefers-reduced-motion: no-preference) {
  .origin-axis i {
    --page-reveal-animation: about-axis-draw;
    --page-reveal-duration: 740ms;
  }
  @keyframes about-axis-draw {
    from { clip-path: inset(-5px 100% -5px 0); }
    to { clip-path: inset(-5px); }
  }

  .origin-portrait.page-reveal-enter .origin-portrait-image::after {
    animation: about-portrait-frame 660ms cubic-bezier(.22, .82, .25, 1) 220ms backwards;
  }
  @keyframes about-portrait-frame {
    from { opacity: 0; clip-path: inset(0 100% 0 0); }
    to { opacity: 1; clip-path: inset(0); }
  }

  @media (min-width: 768px) {
    .origin-note-purpose .origin-quote-art,
    .origin-person-copy { --page-reveal-delay: 110ms; }
  }
}
