@font-face {
  font-family: "Simplon Norm";
  src: local("Simplon Norm Light"), local("SimplonNorm-Light");
  font-weight: 300;
}
@font-face {
  font-family: Barlow;
  src: url("/assets/barlow-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Tazugane Gothic;
  src: local("Tazugane Gothic Light"), local("TazuganeGothicStdN-Light");
  font-weight: 300;
}
:root {
  color-scheme: light;
  --latin: "Simplon Norm", Barlow, "Helvetica Neue", sans-serif;
  --japanese: "Tazugane Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  --margin: clamp(22px, 5.2vw, 84px);
  --header: clamp(70px, 10svh, 98px);
  --editorial-width: 880px;
  color: #000;
  background: #fff;
  font: 300 16px / 1.5 var(--latin);
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px }
button { font: inherit; color: inherit; border: 0; background: transparent; padding: 0; cursor: pointer }
a:focus-visible, button:focus-visible { outline: 1px solid #000; outline-offset: 5px }
img { display: block; max-width: 100% }
[hidden] { display: none !important }
.site-header {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--margin);
  position: relative;
  z-index: 3;
}
.logo { display: block; width: clamp(126px, 14vw, 193px) }
.logo img { width: 100%; height: auto }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px }
.menu-icon { width: 28px; height: 16px; position: relative }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px;
  background: #000; transition: transform .22s ease;
}
.menu-icon::before { top: 4px }
.menu-icon::after { bottom: 4px }
[aria-expanded="true"] .menu-icon::before { transform: translateY(3.5px) rotate(45deg) }
[aria-expanded="true"] .menu-icon::after { transform: translateY(-3.5px) rotate(-45deg) }
body.menu-open { overflow: hidden }
.menu {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: #fff;
  padding: calc(var(--header) + clamp(35px, 10svh, 103px)) var(--margin) 32px;
  overflow: auto;
  overscroll-behavior: contain;
}
.menu ul {
  display: grid;
  justify-items: start;
  gap: clamp(3px, 1.8svh, 18px);
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  padding-block: 7px;
  font-size: clamp(21px, 3.1vw, 38px);
  font-weight: 300;
  letter-spacing: .075em;
  line-height: 1.14;
  text-decoration: none;
}
.menu a:hover { text-decoration: underline; text-underline-offset: .21em }
.menu a[aria-current] { position: relative }
.menu a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 14px;
  border-bottom: 1px solid;
}
@media (max-height: 520px) {
  .menu { padding-top: calc(var(--header) + 11px) }
}
.home { position: relative; min-height: calc(100svh - var(--header)); display: grid; grid-template-rows: 1fr auto }
.canvas-wrap { position: relative; min-height: 340px; align-self: stretch; margin: 0 var(--margin) }
#sketch { position: absolute; width: 100%; height: 100%; display: block }
.drawing-actions {
  display: flex; gap: 11px; justify-content: flex-end;
  padding: 0 calc(var(--margin) - 4px) max(19px, env(safe-area-inset-bottom));
}
.drawing-actions button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid transparent }
.drawing-actions button:hover { border-color: #000 }
.drawing-actions svg { width: 17px; height: 17px; fill: none; stroke: #000; stroke-width: 1.05 }
/* Interior pages share one left edge and a consistent title-to-body interval. */
.interior {
  width: min(calc(100% - 2 * var(--margin)), var(--editorial-width));
  margin: 0 auto;
  padding: clamp(54px, 10svh, 96px) 0 clamp(64px, 12svh, 125px);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  row-gap: clamp(36px, 7svh, 66px);
}
.page-title, .subtitle {
  margin: 0;
  font-weight: 300;
  line-height: 1.05;
}
.page-title {
  font-size: clamp(30px, 5.35vw, 68px);
  letter-spacing: .065em;
}
.copy { font-family: var(--japanese); letter-spacing: .035em }
.manifesto-body { max-width: 620px; font-size: clamp(15px, 1.4vw, 18px); line-height: 2.05; text-wrap: pretty }
.manifesto-body p { margin: 0 0 1.38em }
.manifesto-body p:first-child { font-size: clamp(20px, 2.25vw, 30px); line-height: 1.6; margin-bottom: 1.45em }
.manifesto-body p:last-child { margin-bottom: 0 }

.member-profile {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 365px);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.member-profile .subtitle { font-size: clamp(27px, 3.45vw, 44px); letter-spacing: .018em }
.profile-bio { margin: 1.55em 0 0; font-size: 14px; line-height: 2.04 }
.company-data { max-width: 620px; margin: 0 }
.company-data > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 1em; border-top: 1px solid #000; padding: 1.15em 0; font-size: 14px; line-height: 1.85 }
.company-data dd { margin: 0 }

.media { max-width: 620px }
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}
.social-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}
a.social-profile:hover { text-decoration: underline }
.social-profile svg { display: block; width: 17px; height: 17px; flex: 0 0 17px; fill: currentColor }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 14px); margin-top: 25px }
.reel { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease }
.reel:hover img { transform: scale(1.035) }
.media-status { margin: 17px 0 0; font-size: 13px }

.contact-panel { max-width: 620px }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 24px;
}
.contact-field { display: flex; flex-direction: column; align-self: start; gap: 8px; min-width: 0; font-size: 13px }
.contact-field > span { line-height: 20px }
.contact-field input { height: 46px }
.contact-field-wide, .contact-actions { grid-column: 1 / -1 }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 16px;
}
.contact-field textarea { min-height: 148px; resize: vertical }
.contact-field :is(input, textarea):focus-visible { outline: 1px solid #000; outline-offset: 2px }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 19px; font-size: 13px }
.contact-submit { min-height: 44px; border: 1px solid #000; padding: 10px 18px }
.contact-submit:hover { color: #fff; background: #000 }
.contact-submit:disabled { cursor: wait }
.contact-status { margin: 0 }
.contact-status:empty { display: none }

@media (max-width: 590px) {
  .interior { padding-top: 49px }
  .member-profile { grid-template-columns: 1fr; max-width: 410px; align-items: start }
  .portrait { max-width: 344px }
  .social { display: grid; gap: 0 }
  .contact-form { grid-template-columns: 1fr; gap: 19px }
  .company-data > div { grid-template-columns: 5.5em minmax(0, 1fr) }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important }
}

.header-controls { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 22px) }
.language-switch { position: relative; font-size: 13px }
.language-switch summary {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 48px; min-height: 44px; list-style: none; cursor: pointer;
}
.language-switch summary::-webkit-details-marker { display: none }
.language-switch summary::after {
  content: ""; width: 5px; height: 5px; margin-top: -3px;
  border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.language-switch summary:focus-visible { outline: 1px solid; outline-offset: 3px }
.language-switch ul {
  position: absolute; top: 100%; right: 0; width: max-content; min-width: 126px;
  z-index: 1; margin: 0; padding: 4px 0; list-style: none; border: 1px solid;
  background: #fff;
}
.language-switch a { display: block; padding: 8px 13px; text-decoration: none }
.language-switch a:hover, .language-switch a[aria-current] { text-decoration: underline }
html:lang(zh-CN) .copy {
  font-family: Barlow, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .06em;
}
html:lang(en) .copy, html:lang(fr) .copy { font-family: var(--latin); letter-spacing: .02em }
