/* Responsive and interaction additions to the supplied November 9 design. */
body { font-family: "Noto Sans JP", "Archivo", sans-serif; }
button, summary { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #6fb7e9; outline-offset: 5px; }
section, [id], .anchor-alias { scroll-margin-top: 28px; }
main { display: block; }
main p, main dd, main article { overflow-wrap: anywhere; }
main [style*="display: flex"] > * { min-width: 0; }
.anchor-alias { display: block; height: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; background: white; color: #062841; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; }
.profile-trigger { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: auto; padding: 8px 0; border: 0; background: transparent; color: #fff; font-size: 13px; font-weight: 700; text-align: left; }
.profile-trigger:hover { color: #6fb7e9; }
#conference .profile-trigger { color: #1b6ca8; margin-top: 8px; }
#conference article[style*="background: #062841"] .profile-trigger { color: #6fb7e9; }
.founding-purpose { align-self: flex-start; width: 100%; margin-top: 4px; }
.founding-purpose summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: fit-content; max-width: 100%; list-style: none; cursor: pointer; padding: 14px 0; border-bottom: 2px solid #1b6ca8; font-weight: 700; }
.founding-purpose summary::-webkit-details-marker { display: none; }
.founding-purpose summary span { display: inline-block; transition: transform .2s; }
.founding-purpose[open] summary span { transform: rotate(45deg); }
.founding-purpose-content { margin-top: 28px; padding: clamp(20px, 4vw, 36px); border: 1px solid #426079; border-radius: 20px; background: #0a3d62; }
.founding-purpose h3 { margin: 0 0 24px; font-size: 20px; }
.founding-purpose .body { margin: 0 0 20px; color: #e5edf4; font-size: 15px; line-height: 2; }
.founding-purpose .body:last-child { margin-bottom: 0; }
.contact-email { width: fit-content; font-family: "Archivo", sans-serif; font-size: 17px; text-underline-offset: 5px; }
.profile-modal { box-sizing: border-box; width: min(740px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #d5e1ec; border-radius: 24px; background: #fff; color: #062841; overscroll-behavior: contain; }
.profile-modal::backdrop { background: #011322c9; backdrop-filter: blur(6px); }
.profile-modal-box { position: relative; padding: clamp(28px, 5vw, 52px); overflow-wrap: anywhere; }
.profile-close { position: sticky; top: 16px; float: right; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px 16px 12px; border: 1px solid #d5e1ec; border-radius: 50%; background: white; color: #062841; font: 28px/1 sans-serif; z-index: 1; }
.profile-close:hover { background: #eef4f9; }
.profile-modal .men { margin: 0 48px 12px 0; color: #426079; font: 700 12px/1.6 "Archivo", sans-serif; letter-spacing: .12em; }
.profile-modal h3 { margin: 12px 0 20px; font-size: clamp(23px, 4vw, 32px); line-height: 1.5; }
.profile-modal .mrole { display: inline-block; padding: 8px 14px; border-radius: 8px; background: #eaf3fa; color: #1b5985; font-size: 13px; font-weight: 700; line-height: 1.7; }
.profile-modal .aff { margin: 12px 0 28px; color: #3a5068; font-size: 14px; line-height: 1.9; }
.profile-modal .bio, .profile-modal .mroles { margin: 0; color: #2a4157; font-size: 15px; line-height: 2; }
.profile-modal .mroles { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d5e1ec; font-size: 14px; }
.profile-modal .mroles-t { font-weight: 700; }
.profile-modal ul { padding-left: 1.4em; }
body.has-modal { overflow: hidden; }
@media (max-width: 1040px) {
  .site-header > div { gap: 16px !important; }
  .site-brand { flex: 1; min-width: 0; }
  .site-brand > span { min-width: 0; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 11px 13px; border: 1px solid #668399; border-radius: 999px; background: transparent; color: #fff; font-size: 12px; }
  .menu-icon { font-size: 17px; }
  .site-nav { width: 100%; justify-content: flex-start; padding: 16px 0 4px; gap: 8px 22px !important; border-top: 1px solid #426079; }
  .js .site-nav:not(.is-open) { display: none !important; }
}
@media (max-width: 600px) {
  .site-brand { gap: 10px !important; }
  .site-brand img { width: 36px !important; height: 40px !important; }
  .site-brand > span > span:last-child { max-width: 170px; font-size: 9px !important; line-height: 1.5 !important; }
  .menu-label { display: none; }
  .site-nav { display: grid !important; grid-template-columns: 1fr 1fr; }
  .site-nav a { padding: 12px 0 !important; }
  .site-nav a:last-child { text-align: center; grid-column: 1 / -1; margin-top: 8px; }
  #top h1 { line-height: .96 !important; }
  #top > svg { opacity: .7; }
  #top > div > p { font-size: 10px !important; letter-spacing: .12em !important; }
  #agenda ol > li { gap: 14px !important; }
  #conference img { border-radius: 12px !important; }
  #conference [style*="gap: 56px"] { gap: 40px !important; }
  #insights li { flex-wrap: wrap; }
  #network { padding-top: 72px !important; }
  .profile-modal { border-radius: 18px; max-height: calc(100dvh - 32px); }
  .profile-modal .bio { font-size: 14px; }
  .founding-purpose-content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
