/* Shared Showcase shell and remaining public pages. */
:root { --blue: #343638; --font: 'DM Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif; --pad: clamp(20px, 3.3vw, 64px); }
body { background: var(--paper); color: var(--ink); line-height: 1.55; }
[hidden] { display: none !important; }
img { max-width: 100%; }
p, li, td, a { overflow-wrap: anywhere; }
button, input, textarea { font: inherit; }
input, textarea { min-width: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
main { min-height: 55vh; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header { position: relative; z-index: 3; gap: 28px; border-bottom: 1px solid var(--line); padding: 24px var(--pad); }
.site-header .wordmark { color: var(--ink); font-size: 21px; }
.site-header .brand-mark { width: 34px; height: 40px; }
.site-header .location { margin-left: 15px; font-size: 11px; }
.site-header .site-nav { gap: 25px; font-size: 13px; }
.site-header .site-nav a { display: block; }
.site-nav a:hover, .site-nav a[aria-current=page] { text-decoration: underline; text-underline-offset: 6px; }
.site-header .language { display: none; min-width: 48px; min-height: 44px; padding: 8px; }
html[data-js=true] .site-header .language { display: block; }
.menu-toggle { display: none; border: 0; border-bottom: 1px solid; background: transparent; padding: 10px 0; }
.footer { padding: 58px var(--pad) 26px; background: #17191a; color: #f5f5f3; }
.footer-cta { display: block; font-size: clamp(36px, 5vw, 78px); letter-spacing: -.05em; margin: 22px 0 55px; line-height: 1.2; }
.footer-base { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; font-size: 11px; padding-top: 20px; border-top: 1px solid #6e6f6d; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 12px; }
.legal-links a { padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.page-intro { padding: 75px var(--pad) 65px; max-width: 1100px; }
.page-intro h1, .page-title, .blog-page-title { font-size: clamp(43px, 6.5vw, 94px); font-weight: 500; letter-spacing: -.055em; line-height: 1.07; margin: 22px 0 28px; }
.page-intro > p:last-child { font-size: 20px; line-height: 1.7; max-width: 720px; }
.page-note { margin: 0 var(--pad) 65px; max-width: 800px; font-size: 14px; color: #535452; }
.community-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; margin: 0 var(--pad) 65px; padding: 35px; background: #e5e5e1; }
.community-feature img { width: 280px; height: auto; aspect-ratio: 1; object-fit: contain; justify-self: center; }
.community-feature h2, .link-cards h2 { font-size: clamp(28px, 3vw, 43px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; margin-bottom: 20px; }
.community-feature p { max-width: 440px; margin-bottom: 20px; }
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 0 var(--pad) 50px; }
.link-cards > a { border-top: 1px solid; padding-top: 24px; }
.link-cards .eyebrow { display: block; margin-bottom: 18px; }
.link-cards > a:hover h2 { text-decoration: underline; text-underline-offset: 6px; }
.legal-page { max-width: 1050px; margin: 0 auto; padding: 45px var(--pad) 90px; }
.back-link { display: inline-block; margin-bottom: 42px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.legal-page h1 { font-weight: 500; font-size: clamp(35px, 5vw, 67px); line-height: 1.15; letter-spacing: -.045em; margin-bottom: 14px; }
.legal-subtitle, .legal-updated { color: #555753; font-size: 13px; }
.legal-page h2 { font-size: 24px; font-weight: 550; letter-spacing: -.025em; margin: 40px 0 13px; line-height: 1.4; }
.legal-page h3 { font-size: 18px; margin: 25px 0 12px; }
.legal-page p, .legal-page ul { line-height: 1.85; margin-bottom: 16px; }
.legal-page li + li { margin-top: 8px; }
.legal-page a:not(.back-link) { text-decoration: underline; text-underline-offset: 3px; }
.legal-table { border-collapse: collapse; width: 100%; margin: 35px 0; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 20px 15px; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { width: 28%; font-weight: 550; padding-left: 0; }
.legal-table td { padding-right: 0; }
.contact-page-title { padding: 35px var(--pad) 0; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 70px var(--pad); border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.contact-intro h2 { font-size: clamp(34px, 4vw, 60px); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; margin: 25px 0; }
.contact-intro > p { max-width: 420px; }
.contact-intro .text-link { margin-top: 25px; font-size: 16px; }
.contact-form { display: grid; gap: 22px; align-content: start; }
.contact-form label { display: grid; gap: 9px; font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #8d8e88; background: #fafaf8; color: #101112; padding: 12px; border-radius: 0; }
.contact-form textarea { resize: vertical; }
.form-notice, #contact-status { font-size: 13px; line-height: 1.7; }
.form-notice a { text-decoration: underline; text-underline-offset: 3px; }
.primary-button { color: #fff; background: #191b1d; padding: 14px 22px; border: 1px solid #191b1d; justify-self: start; min-height: 48px; }
.primary-button:hover { background: #3c3e3b; }
.blog-page { padding: 55px var(--pad) 80px; }
.blog-hero { padding: 20px 0 50px; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.blog-page-subtitle { font-size: 19px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.blog-card { border-top: 1px solid; display: block; padding-top: 20px; }
.blog-card-image { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 20px; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.blog-tag { background: #e3e3dd; font-size: 11px; padding: 4px 8px; }
.blog-card-title { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 15px 0; }
.blog-card:hover .blog-card-title { text-decoration: underline; text-underline-offset: 4px; }
.blog-card-excerpt { font-size: 15px; line-height: 1.7; }
.blog-card-meta, .blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; margin: 24px 0; color: #54564f; }
.blog-card-avatar, .blog-post-avatar { width: 28px; height: 28px; border-radius: 50%; }
.blog-post-container { max-width: 860px; margin: 0 auto; }
.blog-back-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: underline; font-size: 13px; margin-bottom: 36px; }
.blog-post-title { font-size: clamp(35px, 4.5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.blog-post-body { font-size: 17px; line-height: 1.85; }
.blog-post-body p, .blog-post-body ul, .blog-post-body ol { margin-bottom: 22px; }
.blog-post-body h2, .blog-post-body h3 { margin: 38px 0 16px; line-height: 1.3; }
.blog-post-body a { text-decoration: underline; }
.blog-post-body pre { overflow: auto; padding: 20px; background: #e6e6e0; }
.blog-post-body blockquote { border-left: 2px solid; padding-left: 20px; margin-left: 0; }
.blog-post-cover, .blog-post-gallery { margin: 24px 0; }
.blog-post-gallery { display: grid; gap: 20px; }
.blog-empty, .blog-loading, .blog-error { padding: 60px 0; border-top: 1px solid var(--line); }
.blog-empty-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.anchor-alias { display: block; }
.founder-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; border-top: 1px solid var(--ink); padding-top: 24px; }
.founder-head { display: flex; align-items: center; gap: 20px; min-height: 106px; }
.founder-card .founder-head img { width: 88px; height: 106px; object-fit: cover; flex-shrink: 0; }
.founder-head h3 { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.025em; font-weight: 550; }
.founder-role { font-size: 11px; margin-top: 9px; }
.founder-credential { font-size: 17px; font-weight: 550; letter-spacing: -.015em; }
.founder-summary { font-size: 15px; line-height: 1.75; }
.people-grid .founder-profile-link { display: block; align-self: flex-start; margin-top: auto; padding: 8px 0; border: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.founders-section { margin-top: 70px; }
.founder-profile { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--line); padding: 32px 0; scroll-margin-top: 30px; }
.founder-profile > img { width: 130px; height: 155px; object-fit: cover; filter: grayscale(1); }
.founder-profile h3 { margin: 0 0 20px; font-size: 28px; font-weight: 550; letter-spacing: -.03em; }
.founder-profile .eyebrow { margin-bottom: 8px; }
.programme-lead { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 700px); gap: 6vw; padding: 60px var(--pad); border-top: 1px solid var(--line); }
.programme-lead > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); }
.programme-lead h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.04em; font-weight: 500; line-height: 1.2; margin: 15px 0 24px; }
.programme-lead p:not(.eyebrow) { margin-bottom: 18px; font-size: 16px; line-height: 1.8; }
[data-direction=b] .fde-emblem { color: #f0f0e9; }
.fde-feature h3 { font-size: clamp(38px, 4.5vw, 72px); }
html[lang=ja] .page-intro h1 { font-size: clamp(36px, 5vw, 74px); line-height: 1.35; }
@media(max-width:1200px) { .site-header .location { display: none; } }
@media(max-width:1000px) {
  .site-header { flex-wrap: wrap; gap: 22px; min-height: 88px; }
  html[data-js=true] .menu-toggle { display: block; margin-left: auto; }
  .site-header .site-nav { display: flex; order: 4; flex-basis: 100%; margin: 0; padding: 15px 0; flex-direction: column; align-items: stretch; gap: 0; }
  html[data-js=true] .site-header .site-nav { display: none; }
  html[data-js=true] .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav a { padding: 12px 0; font-size: 17px; }
  .contact-section { gap: 5vw; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: 1fr; gap: 35px; }
  .founder-card { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(0, 1.4fr); column-gap: 32px; }
  .founder-head { grid-column: 1; grid-row: 1 / 4; align-self: start; }
  .founder-card > p, .people-grid .founder-profile-link { grid-column: 2; }
}
@media(max-width:700px) {
  .site-header { padding: 18px var(--pad); gap: 18px; }
  .site-header .wordmark { font-size: 17px; }
  .site-header .brand-mark { width: 28px; height: 33px; }
  .footer { padding-top: 40px; }
  .footer-base > span:nth-child(2) { display: block; }
  .footer-base { flex-direction: column; gap: 12px; }
  .footer-cta { font-size: 40px; margin-bottom: 36px; }
  .legal-links { flex-direction: column; gap: 3px; }
  .page-intro { padding-top: 40px; padding-bottom: 40px; }
  .page-intro > p:last-child { font-size: 17px; }
  .community-feature { grid-template-columns: 1fr; gap: 30px; padding: 25px; }
  .community-feature img { width: 200px; }
  .link-cards { grid-template-columns: 1fr; gap: 32px; }
  .legal-page { padding-top: 30px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { padding: 20px 0 6px; border: 0; }
  .legal-table td { padding: 0 0 20px; }
  .contact-section { grid-template-columns: 1fr; gap: 35px; padding-top: 40px; padding-bottom: 45px; }
  .form-row { grid-template-columns: 1fr; gap: 22px; }
  .fde-feature h3 { font-size: clamp(36px, 10vw, 54px); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-page { padding-top: 25px; }
  .founder-card { display: flex; gap: 15px; }
  .founder-head h3 { font-size: 25px; }
  .founder-profile { grid-template-columns: 1fr; gap: 20px; }
  .founder-profile > img { width: 100px; height: 120px; }
  .programme-lead { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
  .programme-lead > img { width: 130px; height: 155px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
