
/* 零BRAINROT交流鯖 — friendly, clear, mascot-led turquoise design.
   Hero artwork is displayed whole, unfiltered, and without image processing. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #173d55;
  --muted: #56717e;
  --line: #dcebee;
  --accent: #087f91;
  --accent-dark: #066777;
  --turquoise: #28d2d5;
  --mint: #e4faf2;
  --sky: #e8f6ff;
  --lavender: #efedff;
  --peach: #fff1e6;
  --font: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'Space Grotesk', var(--font);
  --header-height: 90px;
  --shadow: 0 12px 36px rgb(36 90 113 / 7%);
  --shadow-small: 0 5px 18px rgb(36 90 113 / 6%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
main, section, article, aside, div { min-width: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.55; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
button { border: 0; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
::selection { background: #bceff0; color: var(--ink); }
:focus-visible { outline: 3px solid #6951b6; outline-offset: 5px; }
[hidden] { display: none !important; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; border-radius: 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 0; height: 3px; border-radius: 0 3px 3px 0; background: var(--turquoise); pointer-events: none; }
.section-shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section-spacing { padding-block: 94px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); font-family: var(--font-en); font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .065em; }
.section-number { display: inline-grid; place-items: center; flex: 0 0 33px; width: 33px; height: 33px; border: 1px solid #cae8ec; border-radius: 11px; background: white; color: var(--accent); font-size: 13px; letter-spacing: 0; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #22bfb5; }
.mobile-break { display: none; }

/* Header */
.site-header { position: sticky; z-index: 40; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 23px; height: var(--header-height); padding-inline: max(30px, calc((100% - 1320px) / 2)); border-bottom: 1px solid rgb(213 233 237 / 75%); background: rgb(255 255 255 / 96%); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-symbol { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border: 1px solid #c4e9ef; border-radius: 50%; background: white; color: var(--accent); font-size: 29px; font-weight: 900; }
.brand-mascot { position: relative; overflow: hidden; box-shadow: 0 3px 10px rgb(37 156 180 / 8%); }
.brand-mascot img { position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%; object-fit: contain; transform: none; }
.brand-name { color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1.6; white-space: nowrap; }
.brand-name small { display: block; margin-top: 1px; color: #5d7b89; font-family: var(--font-en); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .075em; }
.desktop-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.desktop-nav > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding-block: 13px; color: #506b7a; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.desktop-nav > a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 3px; border-radius: 3px; background: var(--turquoise); transform: scaleX(0); transition: transform .2s ease; content: ''; }
.desktop-nav > a:hover, .desktop-nav > a.active { color: var(--accent); }
.desktop-nav > a:hover::after, .desktop-nav > a.active::after { transform: scaleX(1); }
.nav-dot { width: 4px; height: 4px; border-radius: 50%; background: #25c4c6; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 11px; flex: 0 0 auto; min-height: 44px; padding: 11px 19px; border-radius: 25px; background: var(--accent); color: white; font-size: 12px; font-weight: 800; line-height: 1.4; box-shadow: 0 4px 12px rgb(8 127 145 / 12%); transition: background .2s ease, transform .2s ease; }
.header-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.header-cta > span { font-size: 17px; }
.menu-toggle, .mobile-menu { display: none; }

/* Buttons and reusable links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 56px; padding: 15px 27px; border: 1px solid transparent; border-radius: 30px; font-size: 14px; font-weight: 800; line-height: 1.5; text-align: center; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.button > span { font-size: 21px; font-weight: 500; }
.button-lime, .button-dark { background: var(--accent); color: white; box-shadow: 0 7px 17px rgb(8 127 145 / 14%); }
.button-lime:hover, .button-dark:hover { background: var(--accent-dark); box-shadow: 0 10px 22px rgb(8 127 145 / 18%); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.circle-arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #cde7eb; border-radius: 50%; background: white; font-size: 17px; font-weight: 500; line-height: 1; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; column-gap: 28px; padding-top: 45px; padding-bottom: 33px; background: white; }
.hero-copy { position: relative; z-index: 1; padding-block: 9px 18px; }
.hero-eyebrow { display: inline-flex; gap: 8px; margin-bottom: 22px; padding: 7px 13px; border: 1px solid #cfedef; border-radius: 30px; background: #f0fcfc; color: var(--accent); font-size: 12px; letter-spacing: .025em; }
.hero-server { margin-bottom: 10px; color: #607d8b; font-size: 12px; font-weight: 700; letter-spacing: .055em; }
.hero h1 { color: var(--ink); font-size: clamp(34px, 3.5vw, 48px); font-weight: 900; line-height: 1.65; letter-spacing: -.025em; }
.hero h1 > span { color: var(--accent); }
.hero-description { max-width: 530px; margin-top: 23px; color: var(--muted); font-size: 15px; line-height: 2.15; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px; margin-top: 29px; }
.hero-signature { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: #54717f; font-size: 12px; line-height: 1.8; }
.tiny-cross { color: #8ab7c8; font-size: 17px; }
.hero-art { position: relative; width: 100%; max-width: 540px; margin: 0 auto; padding-block: 0 21px; }
.hero-art > img { width: 100%; height: auto; border-radius: 32px; background: white; }
.art-top-label { position: absolute; z-index: 2; top: 16px; left: 5%; display: inline-flex; align-items: center; gap: 12px; max-width: 90%; padding: 10px 16px; border: 1px solid #d6edf0; border-radius: 17px 17px 17px 5px; background: white; color: #3d7c8c; font-size: 12px; font-weight: 700; line-height: 1.7; box-shadow: var(--shadow-small); transform: rotate(-4deg); }
.art-top-label > span:last-child { color: #45c9c4; font-size: 18px; }
.art-caption { position: absolute; z-index: 2; right: 3%; bottom: 12px; left: 3%; display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 94%; margin-inline: auto; padding: 11px 16px; border: 1px solid #d7edf0; border-radius: 23px; background: rgb(255 255 255 / 98%); color: #527987; font-size: 12px; font-weight: 700; line-height: 1.65; box-shadow: var(--shadow-small); }
.caption-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #46c6b7; }
.art-coordinate { margin-left: 5px; color: #607c87; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.hero-bottom { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; margin-top: 29px; padding-top: 23px; border-top: 1px solid #e7f0f2; }
.hero-bottom > span { margin-right: 7px; color: #597482; font-size: 12px; }
.hero-bottom > a:not(.scroll-cue) { display: inline-flex; align-items: center; gap: 9px; min-height: 37px; padding: 8px 14px; border: 1px solid #d9eee7; border-radius: 21px; background: var(--mint); color: #397b71; font-size: 13px; font-weight: 800; line-height: 1.5; transition: transform .2s ease; }
.hero-bottom > a:not(.scroll-cue):hover { transform: translateY(-2px); }
.hero-bottom > a:nth-of-type(2) { border-color: #d6eaf7; background: var(--sky); color: #4e80a1; }
.hero-bottom > a:nth-of-type(3) { border-color: #e3dbf5; background: var(--lavender); color: #8270a7; }
.hero-bottom > a > small { opacity: .8; font-family: var(--font-en); font-size: 11px; font-weight: 500; }
.hero-bottom > a:not(.scroll-cue) > span { font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .03em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: #7b98a4; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .09em; }
.scroll-cue > span { display: grid; place-items: center; width: 28px; height: 34px; border: 1px solid #d9e8ec; border-radius: 17px; font-size: 16px; }
.project-notice { display: flex; align-items: center; gap: 20px; width: min(1200px, calc(100% - 96px)); margin: 12px auto 0; padding: 19px 23px; border: 1px solid #d3eef1; border-radius: 21px; background: #eefafa; color: #4d7c86; font-size: 13px; line-height: 1.85; transition: border-color .2s ease, background .2s ease; }
.project-notice:hover { border-color: #a4dce2; background: #e8f8f9; }
.notice-label { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 5px 11px; border-radius: 10px; background: white; color: var(--accent); font-size: 11px; font-weight: 800; line-height: 1.7; }
.notice-label > span { color: #4fb7b1; font-size: 15px; }
.notice-arrow { margin-left: auto; color: #6daab7; font-size: 22px; }

/* Community */
.section-intro { margin-bottom: 38px; }
.intro-grid { display: grid; grid-template-columns: 1fr .93fr; align-items: end; gap: 65px; margin-top: 22px; }
.intro-grid h2 { color: var(--ink); font-size: clamp(29px, 3.1vw, 38px); line-height: 1.65; letter-spacing: .01em; }
.intro-grid > p { padding-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 2.05; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 29px 29px 26px; border: 1px solid #cfedec; border-radius: 28px; background: #e9fbf7; }
.value-card:nth-child(2) { border-color: #d7e9f7; background: #eaf6ff; }
.value-card:nth-child(3) { border-color: #e3def5; background: #f1eeff; }
.value-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.value-card-top > span { color: #39766c; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.value-card-top > svg { width: 48px; height: 48px; padding: 8px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 16px; background: rgb(255 255 255 / 80%); color: #239d92; box-shadow: 0 3px 12px rgb(31 115 109 / 4%); }
.value-card:nth-child(2) .value-card-top > span { color: #426e8d; }
.value-card:nth-child(2) .value-card-top > svg { color: #428bb6; }
.value-card:nth-child(3) .value-card-top > span { color: #725991; }
.value-card:nth-child(3) .value-card-top > svg { color: #9279be; }
.value-card h3 { color: var(--ink); font-size: 32px; letter-spacing: .04em; }
.value-card h3 > span { display: block; margin-top: 8px; color: #40746e; font-size: 14px; font-weight: 700; line-height: 1.8; letter-spacing: 0; }
.value-card:nth-child(2) h3 > span { color: #3b627c; }
.value-card:nth-child(3) h3 > span { color: #6e568d; }
.value-card > p { flex: 1; margin-top: 18px; color: #52727b; font-size: 14px; line-height: 2; }
.value-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 27px; padding-top: 16px; border-top: 1px solid rgb(103 159 161 / 18%); color: #52796f; font-family: var(--font-en); font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: .04em; }
.value-bottom > span { font-size: 20px; }
.value-card:nth-child(2) .value-bottom { color: #54778f; }
.value-card:nth-child(3) .value-bottom { color: #79618f; }
.connection-note { display: flex; align-items: center; gap: 19px; margin-top: 28px; padding: 19px 6px 0; }
.connection-symbol { display: flex; align-items: center; flex: 0 0 auto; }
.connection-symbol > span { width: 18px; height: 18px; border: 4px solid #d8f6ed; border-radius: 50%; background: #68cdb6; }
.connection-symbol > span:nth-of-type(2) { border-color: #e0f1fc; background: #92c5e7; }
.connection-symbol > span:nth-of-type(3) { border-color: #eee7fc; background: #baa1e3; }
.connection-symbol i { width: 10px; height: 1px; background: #d2e1e7; }
.connection-note p { color: #5e7b89; font-size: 12px; line-height: 1.9; }
.connection-note p strong { margin-right: 15px; color: #547586; font-size: 13px; font-weight: 700; }
.connection-word { margin-left: auto; color: #a5bcc5; font-family: var(--font-en); font-size: 11px; letter-spacing: .08em; }

/* Story */
.story { border-radius: 62px 62px 0 0; background: var(--peach); }
.story-inner { display: grid; grid-template-columns: .95fr 1fr; gap: 9%; padding-block: 88px; }
.story .eyebrow { color: #805c44; }
.story .section-number { border-color: #f0d8c8; color: #805c44; }
.story-heading { position: relative; }
.quote-mark { position: absolute; top: 59px; left: -8px; color: #f4d9c3; font-family: Georgia, serif; font-size: 150px; line-height: .9; pointer-events: none; }
.story-heading h2 { position: relative; margin-top: 38px; color: #58515b; font-size: clamp(37px, 4.1vw, 56px); font-weight: 900; line-height: 1.65; letter-spacing: -.025em; }
.story-heading h2 > span { color: #a87152; background: linear-gradient(transparent 68%, #f9dbc0 68%, #f9dbc0 92%, transparent 92%); }
.story-subtitle { margin-top: 22px; color: #816b5a; font-size: 13px; line-height: 1.9; }
.story-seal { display: inline-grid; place-items: center; gap: 3px; width: 114px; height: 83px; margin-top: 34px; padding: 15px 8px; border: 1px dashed #d9b697; border-radius: 24px; color: #b89375; font-family: var(--font-en); font-size: 23px; font-weight: 700; line-height: 1.1; letter-spacing: .05em; transform: rotate(-7deg); }
.story-seal > span { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.story-body { align-self: center; color: #79665a; }
.story-kicker { display: inline-flex; padding: 5px 12px; border: 1px solid #f0d8c6; border-radius: 20px; background: rgb(255 255 255 / 62%); color: #866046; font-size: 12px; font-weight: 700; }
.founding-title { margin-top: 15px; color: #69584f; font-size: 28px; font-weight: 800; line-height: 1.75; }
.story-body > p { margin-top: 20px; font-size: 15px; line-height: 2.1; }
.story-body > .story-emphasis { padding: 2px 0 2px 19px; border-left: 3px solid #e6b58c; color: #8f684f; font-size: 16px; font-weight: 700; line-height: 2; }
.founder-letter { margin-top: 26px; border: 1px solid #edd9ca; border-radius: 18px; background: rgb(255 255 255 / 70%); }
.founder-letter > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 62px; padding: 16px 20px; color: #8a6b56; font-size: 14px; font-weight: 800; line-height: 1.8; }
.founder-letter > summary > span { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #e7cdbb; border-radius: 50%; font-size: 17px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.founder-letter[open] > summary > span { transform: rotate(45deg); }
.founder-letter-content { padding: 0 20px 23px; color: #7e6a5c; font-size: 14px; line-height: 2.1; }
.founder-letter-content p + p { margin-top: 15px; }
.founder-letter-content .letter-source { margin-top: 20px; color: #806753; font-size: 12px; }
.founder-signature { display: flex; align-items: center; gap: 12px; margin-top: 25px; color: #7d6859; font-size: 12px; line-height: 1.75; }
.founder-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #edcdb3; border-radius: 15px; background: #ffe3cc; color: #b88b68; font-size: 25px; font-weight: 800; }
.founder-signature small { display: block; margin-top: 2px; color: #7d6453; font-family: var(--font-en); font-size: 11px; letter-spacing: .06em; }

/* Foundation and principles */
.foundation-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 23px; }
.foundation-card { padding: 33px 36px 35px; border: 1px solid #cbece7; border-radius: 30px; background: #e9faf5; }
.foundation-card .eyebrow { color: #4c7d70; font-size: 11px; }
.foundation-card h3 { margin-top: 19px; color: #3c6d60; font-size: 17px; }
.foundation-lead { margin-top: 9px; color: #52766a; font-size: 14px; line-height: 1.9; }
.foundation-quote { margin-top: 19px; color: #376b62; font-size: 23px; font-weight: 800; line-height: 1.95; letter-spacing: .01em; }
.community-motto { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 35px; border: 1px solid #d5eafa; border-radius: 30px; background: var(--sky); }
.community-motto::before { position: absolute; right: -23px; bottom: -56px; color: #d7edfc; font-family: var(--font-en); font-size: 240px; font-weight: 700; line-height: 1; content: '0'; pointer-events: none; }
.community-motto > * { position: relative; z-index: 1; }
.community-motto .eyebrow { color: #4d7692; font-size: 11px; }
.community-motto h3 { margin-top: 21px; color: #345e7a; font-size: clamp(25px, 2.6vw, 32px); font-weight: 900; line-height: 1.65; white-space: nowrap; }
.community-motto > p:not(.eyebrow) { margin-top: 18px; color: #52748a; font-size: 14px; line-height: 2; }
.motto-word { display: block; margin-top: 24px; color: #5e8097; font-family: var(--font-en); font-size: 11px; letter-spacing: .09em; }
.principles-heading { display: flex; align-items: center; gap: 18px; margin-top: 46px; margin-bottom: 20px; }
.principles-heading .eyebrow { color: #5d7d88; font-size: 11px; }
.principles-heading h3 { color: var(--ink); font-size: 21px; }
.principles-list { list-style: none; }
.principle { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 23px; padding-block: 25px; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle-number { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--mint); color: #61a395; font-family: var(--font-en); font-size: 14px; font-weight: 700; }
.principle:nth-child(2) .principle-number { background: var(--sky); color: #6c9fbe; }
.principle:nth-child(3) .principle-number { background: var(--lavender); color: #9a82bd; }
.principle > div { display: grid; grid-template-columns: minmax(175px, 250px) 1fr; align-items: center; gap: 25px; }
.principle h4 { color: #345c70; font-size: 20px; line-height: 1.8; }
.principle p { color: #587380; font-size: 14px; line-height: 2; }
.source-note { margin-top: 18px; color: #5c7581; font-size: 12px; line-height: 1.9; }

/* History */
.history-section { border-radius: 62px 62px 0 0; background: #f2f0ff; }
.history-section .eyebrow { color: #786196; }
.history-section .section-number { color: #786196; border-color: #e4daf6; }
.history-section .intro-grid h2 { color: #655c7d; }
.history-section .intro-grid p { color: #71637f; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.milestone { padding: 28px; border: 1px solid #e4dff0; border-radius: 25px; background: white; box-shadow: 0 6px 18px rgb(90 75 124 / 3%); }
.milestone time { color: #7d6d91; font-family: var(--font-en); font-size: 12px; font-weight: 600; line-height: 1.8; letter-spacing: .04em; }
.milestone h3 { margin-top: 12px; color: #9076b8; font-family: var(--font-en); font-size: 39px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.milestone h3 > span { margin-left: 4px; font-family: var(--font); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.milestone p { margin-top: 16px; color: #76658a; font-size: 15px; font-weight: 700; line-height: 1.9; }
.milestone > span { display: block; margin-top: 8px; color: #7e6d8e; font-size: 12px; line-height: 1.8; }
.history-context { margin-top: 17px; color: #796989; font-size: 12px; line-height: 1.9; }
.history-archive { margin-top: 28px; border: 1px solid #e0d9ef; border-radius: 25px; background: rgb(255 255 255 / 86%); }
.history-archive > summary { display: flex; align-items: center; gap: 20px; min-height: 85px; padding: 22px 28px; color: #6c587d; font-size: 16px; font-weight: 800; line-height: 1.8; }
.history-count { margin-left: auto; color: #806a94; font-family: var(--font-en); font-size: 12px; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }
.history-toggle { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #e2d8ef; border-radius: 50%; background: white; color: #a18bb8; font-size: 20px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.history-archive[open] .history-toggle { transform: rotate(45deg); }
.timeline { list-style: none; margin: 0 29px 30px 36px; padding-top: 3px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 174px 1fr; gap: 24px; padding: 19px 0 19px 24px; border-left: 1px solid #ded5ed; }
.timeline-item::before { position: absolute; top: 28px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #b9a3d4; box-shadow: 0 0 0 4px #fcfaff; content: ''; }
.timeline-item:last-child { padding-bottom: 6px; }
.timeline-meta { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 6px 9px; }
.timeline-meta time { color: #7b6390; font-family: var(--font-en); font-size: 13px; font-weight: 600; line-height: 2; white-space: nowrap; }
.timeline-version { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid #e8dff5; border-radius: 7px; background: #f4eefc; color: #785c91; font-family: var(--font-en); font-size: 11px; font-weight: 600; line-height: 1.7; }
.timeline-item > p { padding-top: 1px; color: #6e5b7e; font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
.history-section .source-note { color: #7e6c91; }

/* Game development */
.project-section-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.development-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid #d5e9ef; border-radius: 25px; background: #edf8fb; color: #527989; font-size: 12px; font-weight: 700; line-height: 1.6; }
.development-status .status-dot { width: 6px; height: 6px; flex-basis: 6px; background: #6bc5cc; }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 23px; }
.project-heading h2 { color: var(--ink); font-size: 36px; line-height: 1.65; }
.project-heading > p { padding-bottom: 5px; color: #5d7d8e; font-size: 14px; line-height: 2; }
.project-grid { display: grid; grid-template-columns: 1fr .96fr; align-items: center; gap: 55px; margin-top: 37px; }
.project-poster { position: relative; isolation: isolate; overflow: hidden; min-height: 570px; padding: 31px; border: 1px solid #cfe9f0; border-radius: 34px; background: #e7f6fc; }
.poster-grid { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgb(163 205 222 / 23%) 1px, transparent 1px), linear-gradient(90deg, rgb(163 205 222 / 23%) 1px, transparent 1px); background-size: 38px 38px; }
.poster-meta { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #47748e; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.poster-meta > span:last-child { padding: 4px 8px; border: 1px solid #bfdeea; border-radius: 8px; background: rgb(255 255 255 / 65%); }
.poster-type { position: relative; z-index: 2; margin-top: 49px; color: #2786a6; font-family: var(--font-en); font-size: clamp(84px, 8.2vw, 112px); font-weight: 700; line-height: .89; letter-spacing: -.075em; }
.poster-type > span { display: block; margin-top: 19px; color: #4e7e9b; font-size: 23px; font-weight: 600; letter-spacing: .1em; line-height: 1.2; }
.poster-sphere { position: absolute; z-index: 0; right: 3px; bottom: 89px; width: 212px; height: 212px; border: 1px solid #f1dfa7; border-radius: 50%; background: radial-gradient(circle at 33% 26%, #fff9e3, #ffe5a8 65%, #efd597); box-shadow: 0 15px 30px rgb(161 132 61 / 6%); }
.poster-sphere > span { position: absolute; inset: 14px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; }
.poster-orbit { position: absolute; z-index: 1; right: -33px; bottom: 132px; width: 285px; height: 96px; border: 1.5px solid #92cad8; border-radius: 50%; transform: rotate(-32deg); }
.orbit-two { right: 64px; bottom: 54px; width: 87px; height: 276px; border-color: #a9d7df; transform: rotate(-31deg); }
.poster-bottom { position: absolute; z-index: 3; right: 31px; bottom: 28px; left: 31px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #517a8e; font-family: var(--font-en); font-size: 11px; font-weight: 600; line-height: 1.7; letter-spacing: .045em; }
.poster-bottom > span:last-child { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #b6d8e2; border-radius: 16px; background: rgb(255 255 255 / 70%); color: #79b0c0; font-size: 35px; line-height: 1; transform: rotate(8deg); }
.project-category { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #5f7c8c; font-family: var(--font-en); font-size: 11px; font-weight: 600; line-height: 1.7; letter-spacing: .045em; }
.project-category > span { padding: 2px 7px; border: 1px solid #dfebef; border-radius: 6px; color: #6c818e; font-family: var(--font); font-size: 11px; letter-spacing: 0; }
.project-description h3 { margin-top: 14px; color: #386e89; font-family: var(--font-en); font-size: 44px; font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.project-lead { margin-top: 26px; color: #4c7689; font-size: 20px; font-weight: 800; line-height: 1.85; }
.project-summary { margin-top: 16px; color: #597583; font-size: 15px; line-height: 2.05; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.project-tags > span { padding: 6px 12px; border: 1px solid #dbeaf0; border-radius: 20px; background: #f9fdff; color: #5b7c8c; font-size: 11px; font-weight: 700; line-height: 1.65; }
.project-tabs { display: flex; gap: 4px; margin-top: 27px; padding: 5px; border: 1px solid #d9edf0; border-radius: 16px; background: #eef8fa; }
.project-tabs [role='tab'] { flex: 1; min-height: 43px; padding: 8px 10px; border-radius: 11px; background: transparent; color: #5f7e8c; font-size: 13px; font-weight: 700; line-height: 1.7; text-align: center; }
.project-tabs [role='tab'][aria-selected='true'] { background: white; color: var(--accent); box-shadow: 0 3px 9px rgb(38 98 111 / 6%); }
.project-panel { min-height: 142px; padding: 22px 3px 0; color: #597683; font-size: 14px; line-height: 2; }
.project-panel h4 { margin-bottom: 7px; color: #46697a; font-size: 15px; line-height: 1.85; }
.project-note { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #6c8491; font-size: 11px; line-height: 1.9; }
.project-note > span { color: #87afbf; font-size: 16px; }
.hub-strip { display: flex; align-items: center; gap: 22px; margin-top: -18px; margin-bottom: 88px; padding: 27px 30px; border: 1px solid #e1dcf3; border-radius: 27px; background: #f3f0ff; }
.hub-icon { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid #e2daf4; border-radius: 18px; background: white; color: #aa91ce; font-size: 30px; line-height: 1; }
.hub-strip > div { flex: 1; }
.hub-strip .eyebrow { color: #80639e; font-size: 11px; letter-spacing: .025em; }
.hub-strip h2 { margin-top: 5px; color: #6f588b; font-size: 18px; line-height: 1.8; }
.hub-strip > div > p:last-child { margin-top: 5px; color: #816a96; font-size: 14px; line-height: 1.9; }
.hub-strip > a { flex: 0 0 auto; color: #7e619b; font-size: 12px; }
.hub-strip .circle-arrow { border-color: #e2d8f1; color: #b198ce; }

/* FAQ */
.faq-section { padding-block: 88px; border-radius: 62px 62px 0 0; background: #f3faff; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.35fr; align-items: start; gap: 9%; }
.faq-heading h2 { margin-top: 22px; color: #3a657d; font-size: 36px; line-height: 1.65; }
.faq-heading > p { margin-top: 20px; color: #5c7d8e; font-size: 15px; line-height: 2; }
.faq-decoration { display: grid; place-items: center; width: 78px; height: 78px; margin-top: 32px; border: 1px solid #cee8f6; border-radius: 24px; background: #e5f4ff; color: #8fbdd5; font-family: var(--font-en); font-size: 47px; font-weight: 600; transform: rotate(-8deg); }
.faq-list { display: grid; gap: 13px; }
.faq-list > details { overflow: hidden; border: 1px solid #dbeaf2; border-radius: 20px; background: white; }
.faq-list > details > summary { display: flex; align-items: center; gap: 14px; min-height: 79px; padding: 21px 23px; color: #456b81; font-size: 15px; font-weight: 800; line-height: 1.9; }
.faq-number { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 10px; background: #eaf6ff; color: #5b819a; font-family: var(--font-en); font-size: 11px; font-weight: 700; }
.faq-toggle { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; margin-left: auto; border-radius: 50%; background: #f2f8fb; color: #96b4c3; font-family: var(--font-en); font-size: 21px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq-toggle::before { content: '+'; }
.faq-list > details[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 25px 24px 66px; color: #597b8e; font-size: 14px; line-height: 2.05; }
.faq-answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Join the community */
.join-section { position: relative; isolation: isolate; overflow: hidden; background: #e4faf4; }
.join-section::before { position: absolute; z-index: -1; width: 330px; height: 330px; top: -185px; right: 18%; border: 1px solid #cceee6; border-radius: 50%; content: ''; }
.join-section::after { position: absolute; z-index: -1; width: 440px; height: 440px; bottom: -340px; left: 8%; border: 50px solid #daf5ed; border-radius: 50%; content: ''; }
.join-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 45px; padding-block: 73px; }
.join-section .eyebrow { color: #4e796a; }
.join-copy h2 { margin-top: 21px; color: #396c61; font-size: 40px; font-weight: 900; line-height: 1.6; letter-spacing: -.025em; }
.join-copy h2 > span { color: #0c817b; }
.join-copy > p:not(.eyebrow) { max-width: 580px; margin-top: 19px; color: #4b7465; font-size: 15px; line-height: 2.05; }
.join-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; }
.join-action .button { min-width: 306px; min-height: 61px; font-size: 15px; }
.join-note { color: #547463; font-size: 12px; line-height: 1.8; text-align: center; }
.join-mascot { position: relative; overflow: hidden; width: 132px; height: 132px; margin-bottom: 8px; border: 4px solid white; border-radius: 50%; background: white; box-shadow: 0 9px 25px rgb(65 140 126 / 9%); }
.join-mascot img { position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%; object-fit: contain; transform: none; }
.join-watermark { position: absolute; z-index: -1; right: 25px; bottom: -33px; color: #d3efe4; font-family: var(--font-en); font-size: clamp(80px, 9.2vw, 140px); font-weight: 700; line-height: 1; letter-spacing: -.055em; pointer-events: none; }

/* Footer */
.site-footer { padding-block: 35px 27px; background: white; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top .brand-symbol { width: 43px; height: 43px; flex-basis: 43px; }
.footer-top .brand-name { font-size: 13px; }
.footer-top .brand-name small { font-size: 11px; }
.back-to-top { display: inline-flex; align-items: center; gap: 10px; color: #698490; font-size: 11px; font-weight: 600; }
.back-to-top > span { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #dce9ed; border-radius: 50%; color: #88a8b7; font-size: 17px; }
.footer-bottom { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-top: 27px; padding-top: 20px; border-top: 1px solid #e3edf0; }
.footer-bottom > p { color: #607884; font-size: 11px; line-height: 1.9; }
.footer-bottom > p:first-child { flex: 0 0 auto; font-family: var(--font-en); }
.footer-bottom > p:last-child { text-align: right; }

/* Motion is progressive enhancement; all content is visible by default. */
.reveal, .js-motion .reveal { opacity: 1; transform: none; }
.js-motion .reveal.is-visible { animation: gentle-arrival .48s ease-out both; }
@keyframes gentle-arrival { from { transform: translateY(5px); } to { transform: translateY(0); } }

/* Medium desktop */
@media (max-width: 1200px) {
  .section-shell, .project-notice { width: calc(100% - 72px); }
  .site-header { gap: 18px; padding-inline: 24px; }
  .desktop-nav { gap: 14px; }
  .desktop-nav > a { font-size: 11px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 13px; }
  .brand-symbol { width: 46px; height: 46px; flex-basis: 46px; }
  .header-cta { padding-inline: 16px; font-size: 11px; }
  .hero { column-gap: 22px; }
  .hero h1 { font-size: clamp(33px, 3.7vw, 43px); }
  .hero-actions { gap: 14px; }
  .hero-actions .button { padding-inline: 22px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-bottom { gap: 9px; }
  .hero-bottom > span { font-size: 11px; }
  .hero-bottom > a:not(.scroll-cue) { padding-inline: 12px; gap: 7px; }
  .art-coordinate { display: none; }
  .intro-grid { gap: 50px; }
  .value-card { padding: 27px 25px 25px; }
  .value-card h3 > span { font-size: 13px; }
  .story-inner { gap: 7%; }
  .foundation-card { padding: 31px; }
  .community-motto { padding: 30px; }
  .principle > div { grid-template-columns: 225px 1fr; gap: 20px; }
  .project-grid { gap: 42px; }
  .project-poster { min-height: 550px; }
  .poster-type { font-size: 102px; }
  .poster-sphere { width: 195px; height: 195px; }
  .poster-orbit { width: 265px; }
  .orbit-two { width: 87px; }
  .join-copy h2 { font-size: 37px; }
}

/* Mobile navigation starts at the same breakpoint as app.js. */
@media (max-width: 1000px) {
  :root { --header-height: 80px; }
  .site-header { padding-inline: 24px; }
  .site-header > .desktop-nav, .site-header > .header-cta { display: none; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 9px; border: 1px solid #d8ecee; border-radius: 14px; background: #effafb; color: var(--accent); }
  .menu-toggle > span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded='true'] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { position: fixed; z-index: 39; top: var(--header-height); right: 0; left: 0; display: block; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 11px 24px 23px; border-bottom: 1px solid #d8e9ed; background: rgb(255 255 255 / 99%); box-shadow: 0 17px 23px rgb(25 74 93 / 7%); }
  .mobile-menu > a { display: flex; align-items: center; gap: 15px; min-height: 61px; padding: 15px 8px; border-bottom: 1px solid #e6eff2; color: #527788; font-size: 15px; font-weight: 700; }
  .mobile-menu > a > span { color: #9bb9c6; font-family: var(--font-en); font-size: 11px; font-weight: 500; }
  .mobile-menu > a > b { margin-left: auto; color: #7fadb9; font-size: 18px; font-weight: 500; }
  .mobile-menu > a:last-child { margin-top: 14px; padding-inline: 15px; border: 0; border-radius: 17px; background: #eafaf8; color: var(--accent); }
  .section-shell, .project-notice { width: calc(100% - 60px); }
  .section-spacing { padding-block: 77px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(28px, 3.9vw, 38px); }
  .hero-eyebrow { margin-bottom: 18px; font-size: 11px; }
  .hero-server { font-size: 11px; }
  .hero-description { margin-top: 20px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 24px; }
  .hero-signature { margin-top: 17px; font-size: 11px; }
  .art-top-label { top: 8px; padding: 9px 13px; font-size: 11px; }
  .art-caption { right: 0; left: 0; max-width: 100%; gap: 8px; padding-inline: 13px; font-size: 11px; }
  .hero-bottom { flex-wrap: wrap; }
  .hero-bottom > span { width: 100%; }
  .hero-bottom > a:not(.scroll-cue) { font-size: 12px; }
  .project-notice { gap: 15px; font-size: 12px; }
  .intro-grid { gap: 36px; }
  .intro-grid h2 { font-size: 32px; }
  .intro-grid > p { font-size: 14px; }
  .values-grid { gap: 15px; }
  .value-card { padding: 24px 20px; }
  .value-card h3 { font-size: 29px; }
  .value-card h3 > span { font-size: 13px; }
  .value-card-top > span { font-size: 11px; }
  .value-card-top > svg { width: 43px; height: 43px; padding: 6px; border-radius: 14px; }
  .value-bottom { font-size: 11px; letter-spacing: .01em; }
  .connection-note { gap: 15px; }
  .connection-note p strong { display: block; font-size: 12px; }
  .story-inner { gap: 6%; padding-block: 75px; }
  .story-heading h2 { font-size: 41px; }
  .story-body > p { font-size: 14px; }
  .story-body > .story-emphasis { font-size: 15px; }
  .founding-title { font-size: 25px; }
  .foundation-grid { gap: 18px; }
  .foundation-card, .community-motto { padding: 28px 25px; }
  .foundation-quote { font-size: 21px; }
  .community-motto h3 { font-size: 27px; }
  .principle { grid-template-columns: 40px 1fr; gap: 19px; }
  .principle > div { grid-template-columns: 190px 1fr; gap: 18px; }
  .principle h4 { font-size: 18px; }
  .milestones { gap: 16px; }
  .milestone { padding: 24px; }
  .milestone h3 { font-size: 35px; }
  .milestone p { font-size: 14px; }
  .project-heading h2 { font-size: 32px; }
  .project-heading > p { font-size: 13px; }
  .project-grid { gap: 30px; }
  .project-poster { min-height: 525px; padding: 25px; }
  .poster-meta { gap: 9px; font-size: 11px; }
  .poster-type { font-size: 86px; }
  .poster-type > span { font-size: 19px; }
  .poster-sphere { right: -17px; width: 177px; height: 177px; }
  .poster-orbit { right: -50px; width: 240px; }
  .orbit-two { right: 28px; width: 87px; }
  .poster-bottom { right: 25px; left: 25px; font-size: 11px; }
  .project-description h3 { font-size: 37px; }
  .project-category { font-size: 11px; }
  .project-lead { font-size: 18px; }
  .project-summary { font-size: 14px; }
  .project-tabs [role='tab'] { padding-inline: 5px; font-size: 12px; }
  .hub-strip { gap: 18px; margin-bottom: 74px; padding: 23px; }
  .hub-strip h2 { font-size: 16px; }
  .hub-strip > a { gap: 7px; font-size: 11px; }
  .faq-section { padding-block: 76px; }
  .faq-inner { grid-template-columns: .7fr 1.3fr; gap: 6%; }
  .faq-heading h2 { font-size: 31px; }
  .faq-list > details > summary { padding: 20px; font-size: 14px; }
  .faq-answer { padding-left: 63px; }
  .join-inner { gap: 30px; padding-block: 67px; }
  .join-copy h2 { font-size: 32px; }
  .join-action .button { min-width: 270px; font-size: 14px; }
  .join-mascot { width: 115px; height: 115px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
  .footer-bottom > p:last-child { text-align: left; }
}

/* Tablet and narrow layouts */
@media (max-width: 760px) {
  .section-shell, .project-notice { width: calc(100% - 48px); }
  .section-spacing { padding-block: 65px; }
  .hero { grid-template-columns: 1fr; row-gap: 14px; padding-top: 34px; padding-bottom: 27px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(35px, 6.4vw, 46px); }
  .hero-eyebrow { margin-bottom: 17px; font-size: 12px; }
  .hero-server { margin-bottom: 9px; font-size: 12px; }
  .hero-description { max-width: 570px; margin-top: 20px; font-size: 15px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 25px; }
  .hero-actions .text-link { font-size: 14px; }
  .hero-signature { margin-top: 18px; font-size: 12px; }
  .hero-art { width: min(100%, 450px); margin-top: 1px; padding: 12px 0 26px; }
  .art-top-label { top: 17px; left: 5%; font-size: 12px; }
  .art-caption { bottom: 12px; max-width: 94%; font-size: 12px; }
  .hero-bottom { justify-content: center; gap: 10px; margin-top: 9px; padding-top: 20px; text-align: center; }
  .hero-bottom > span { margin-right: 0; margin-bottom: 3px; font-size: 11px; }
  .hero-bottom > a:not(.scroll-cue) { gap: 8px; padding-inline: 13px; font-size: 12px; }
  .scroll-cue { display: none; }
  .project-notice { gap: 12px; margin-top: 7px; padding: 17px 20px; }
  .project-notice > span:nth-child(2) { flex: 1; }
  .notice-label { font-size: 11px; }
  .section-intro { margin-bottom: 29px; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 20px; }
  .intro-grid h2 { font-size: 32px; }
  .intro-grid > p { max-width: 570px; padding: 0; font-size: 14px; }
  .values-grid { grid-template-columns: 1fr; gap: 17px; }
  .value-card { padding: 27px 29px 24px; }
  .value-card-top { margin-bottom: 16px; }
  .value-card-top > span { font-size: 11px; }
  .value-card-top > svg { width: 47px; height: 47px; padding: 7px; }
  .value-card h3 { font-size: 31px; }
  .value-card h3 > span { margin-top: 7px; font-size: 15px; }
  .value-card > p { margin-top: 16px; font-size: 14px; }
  .value-bottom { margin-top: 22px; font-size: 11px; }
  .connection-note { gap: 14px; margin-top: 18px; padding-top: 14px; }
  .connection-note p strong { display: block; font-size: 13px; }
  .connection-word { display: none; }
  .story, .history-section, .faq-section { border-radius: 40px 40px 0 0; }
  .story-inner { grid-template-columns: 1fr; gap: 31px; padding-block: 64px; }
  .story-heading h2 { margin-top: 27px; font-size: clamp(37px, 6.3vw, 45px); }
  .quote-mark { top: 47px; font-size: 125px; }
  .story-subtitle { margin-top: 17px; }
  .story-seal { display: none; }
  .story-body > p { font-size: 15px; }
  .story-body > .story-emphasis { font-size: 16px; }
  .founding-title { font-size: 27px; }
  .foundation-grid { grid-template-columns: 1fr; gap: 18px; }
  .foundation-card, .community-motto { padding: 30px; }
  .foundation-card .eyebrow, .community-motto .eyebrow { font-size: 12px; }
  .foundation-quote { font-size: 23px; }
  .community-motto h3 { font-size: 32px; }
  .community-motto::before { right: 18px; font-size: 225px; }
  .principles-heading { margin-top: 37px; gap: 15px; }
  .principle { grid-template-columns: 42px 1fr; align-items: start; gap: 17px; padding-block: 22px; }
  .principle > div { display: block; }
  .principle h4 { padding-top: 3px; font-size: 20px; }
  .principle p { margin-top: 8px; font-size: 14px; }
  .milestones { grid-template-columns: 1fr; gap: 15px; }
  .milestone { display: grid; grid-template-columns: minmax(120px, .75fr) 1.25fr; align-items: center; gap: 1px 25px; padding: 25px 28px; }
  .milestone time { grid-column: 1; font-size: 12px; }
  .milestone h3 { grid-column: 1; grid-row: 2 / 4; margin-top: 8px; font-size: 39px; }
  .milestone p { grid-column: 2; grid-row: 1 / 3; margin-top: 0; font-size: 15px; }
  .milestone > span { grid-column: 2; grid-row: 3; margin-top: 6px; font-size: 12px; }
  .history-archive > summary { padding: 21px 23px; font-size: 15px; }
  .timeline { margin-inline: 30px 23px; }
  .timeline-item { grid-template-columns: 1fr; gap: 7px; padding-left: 20px; padding-block: 15px; }
  .timeline-item::before { top: 25px; }
  .timeline-meta { gap: 8px 10px; }
  .timeline-item > p { padding-top: 0; }
  .project-section-top { flex-wrap: wrap; gap: 14px; }
  .project-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 20px; }
  .project-heading h2 { font-size: 32px; }
  .project-heading > p { padding: 0; font-size: 14px; }
  .project-heading > p > br { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 29px; }
  .project-poster { min-height: 560px; padding: 32px; }
  .poster-meta { font-size: 11px; }
  .poster-type { margin-top: 44px; font-size: 112px; }
  .poster-type > span { font-size: 24px; }
  .poster-sphere { right: 17px; bottom: 85px; width: 225px; height: 225px; }
  .poster-orbit { right: -20px; bottom: 132px; width: 298px; height: 100px; }
  .orbit-two { right: 78px; bottom: 45px; width: 87px; height: 295px; }
  .poster-bottom { right: 32px; left: 32px; font-size: 11px; }
  .project-category { font-size: 11px; }
  .project-description h3 { font-size: 43px; }
  .project-lead { margin-top: 23px; font-size: 21px; }
  .project-summary { font-size: 15px; }
  .project-tabs [role='tab'] { min-height: 44px; font-size: 14px; }
  .project-panel { min-height: 132px; }
  .project-note { font-size: 12px; }
  .hub-strip { flex-wrap: wrap; gap: 16px; margin-top: -12px; margin-bottom: 64px; padding: 24px; }
  .hub-strip h2 { font-size: 17px; }
  .hub-strip > a { margin-left: 72px; font-size: 13px; }
  .faq-section { padding-block: 63px; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading h2 { font-size: 32px; }
  .faq-heading > p { max-width: 540px; margin-top: 16px; font-size: 14px; }
  .faq-heading > p > br { display: none; }
  .faq-decoration { display: none; }
  .faq-list > details > summary { padding: 20px 22px; font-size: 15px; }
  .faq-answer { padding-left: 65px; }
  .join-inner { grid-template-columns: 1fr; gap: 31px; padding-block: 60px; text-align: center; }
  .join-section .eyebrow { justify-content: center; }
  .join-copy h2 { margin-top: 19px; font-size: 37px; }
  .join-copy > p:not(.eyebrow) { margin-inline: auto; font-size: 14px; }
  .join-mascot { width: 105px; height: 105px; margin-bottom: 3px; }
  .join-action .button { min-width: 300px; }
  .join-watermark { right: 7px; bottom: -22px; font-size: 90px; }
  .site-footer { padding-block: 30px 23px; }
}

/* Phones */
@media (max-width: 520px) {
  :root { --header-height: 73px; }
  body { font-size: 15px; }
  .site-header { gap: 14px; padding-inline: 18px; }
  .brand { gap: 9px; }
  .brand-symbol { width: 41px; height: 41px; flex-basis: 41px; }
  .brand-name { font-size: 12px; }
  .brand-name small { font-size: 11px; letter-spacing: .03em; }
  .menu-toggle { width: 41px; height: 41px; border-radius: 13px; }
  .mobile-menu:not([hidden]) { padding-inline: 18px; }
  .section-shell, .project-notice { width: calc(100% - 40px); }
  .section-spacing { padding-block: 56px; }
  .eyebrow { gap: 10px; font-size: 12px; letter-spacing: .045em; }
  .desktop-break { display: none; }
  .mobile-break { display: initial; }
  .hero { row-gap: 13px; padding-top: 28px; padding-bottom: 24px; }
  .hero-eyebrow { margin-bottom: 17px; padding: 6px 11px; font-size: 11px; }
  .hero-server { margin-bottom: 10px; font-size: 11px; }
  .hero h1 { font-size: clamp(28px, 7.65vw, 38px); line-height: 1.68; letter-spacing: -.035em; }
  .hero-description { margin-top: 19px; font-size: 14px; line-height: 2.05; }
  .hero-actions { gap: 13px; margin-top: 24px; }
  .button { min-height: 53px; padding: 14px 21px; font-size: 14px; }
  .hero-actions .button { gap: 11px; padding-inline: 19px; }
  .hero-actions .text-link { gap: 7px; font-size: 12px; }
  .hero-actions .circle-arrow { width: 26px; height: 26px; flex-basis: 26px; font-size: 15px; }
  .hero-signature { margin-top: 16px; font-size: 11px; }
  .hero-art { padding-top: 14px; padding-bottom: 29px; }
  .hero-art > img { border-radius: 25px; }
  .art-top-label { top: 15px; left: 3%; padding: 8px 12px; font-size: 11px; }
  .art-caption { bottom: 12px; max-width: 100%; gap: 8px; padding: 9px 12px; font-size: 11px; }
  .hero-bottom { gap: 8px; margin-top: 4px; padding-top: 18px; }
  .hero-bottom > a:not(.scroll-cue) { gap: 7px; min-height: 35px; padding: 7px 12px; font-size: 12px; }
  .hero-bottom > a:not(.scroll-cue) > span { display: none; }
  .hero-bottom > a > small { font-size: 11px; }
  .project-notice { gap: 10px; flex-wrap: wrap; padding: 16px 18px; border-radius: 19px; font-size: 12px; }
  .notice-label { padding: 4px 9px; font-size: 11px; }
  .project-notice > span:nth-child(2) { flex: 1 1 calc(100% - 40px); order: 3; }
  .notice-arrow { order: 2; }
  .section-intro { margin-bottom: 26px; }
  .intro-grid { gap: 17px; margin-top: 19px; }
  .intro-grid h2 { font-size: 28px; line-height: 1.7; }
  .value-card { padding: 24px; border-radius: 25px; }
  .value-card h3 { font-size: 29px; }
  .value-card h3 > span { font-size: 14px; }
  .value-card-top { margin-bottom: 16px; }
  .value-bottom { font-size: 11px; }
  .connection-note { align-items: flex-start; gap: 12px; padding-inline: 1px; }
  .connection-symbol { margin-top: 8px; }
  .connection-symbol > span { width: 16px; height: 16px; border-width: 3px; }
  .connection-symbol i { width: 7px; }
  .connection-note p { font-size: 11px; }
  .connection-note p strong { margin-right: 0; font-size: 12px; }
  .story, .history-section, .faq-section { border-radius: 32px 32px 0 0; }
  .story-inner { gap: 27px; padding-block: 55px; }
  .story-heading h2 { margin-top: 25px; font-size: clamp(32px, 8.7vw, 42px); line-height: 1.65; }
  .quote-mark { top: 47px; left: -4px; font-size: 114px; }
  .story-subtitle { font-size: 12px; }
  .story-body > p { margin-top: 18px; font-size: 14px; line-height: 2.1; }
  .story-body > .story-emphasis { padding-left: 16px; font-size: 14px; }
  .story-kicker { font-size: 11px; }
  .founding-title { margin-top: 13px; font-size: 24px; }
  .founder-letter { margin-top: 23px; }
  .founder-letter > summary { padding: 16px 17px; font-size: 14px; }
  .founder-letter-content { padding: 0 17px 20px; font-size: 14px; }
  .founder-signature { gap: 10px; font-size: 11px; }
  .founder-mark { width: 40px; height: 40px; flex-basis: 40px; border-radius: 13px; font-size: 23px; }
  .foundation-card, .community-motto { padding: 26px 23px; border-radius: 25px; }
  .foundation-card .eyebrow, .community-motto .eyebrow { font-size: 11px; }
  .foundation-card h3 { margin-top: 18px; font-size: 16px; }
  .foundation-lead { font-size: 14px; }
  .foundation-quote { margin-top: 17px; font-size: 21px; line-height: 1.95; }
  .foundation-quote br { display: none; }
  .community-motto h3 { margin-top: 18px; font-size: 28px; }
  .community-motto::before { right: 5px; font-size: 200px; }
  .community-motto > p:not(.eyebrow) { margin-top: 16px; font-size: 14px; }
  .motto-word { margin-top: 20px; font-size: 11px; }
  .principles-heading { flex-wrap: wrap; gap: 9px 15px; margin-top: 31px; margin-bottom: 17px; }
  .principles-heading h3 { font-size: 19px; }
  .principles-heading .eyebrow { font-size: 11px; }
  .principle { grid-template-columns: 36px 1fr; gap: 13px; }
  .principle-number { width: 36px; height: 36px; border-radius: 12px; font-size: 13px; }
  .principle h4 { padding-top: 1px; font-size: 18px; }
  .source-note { font-size: 11px; }
  .milestone { grid-template-columns: minmax(105px, .75fr) 1.25fr; gap: 1px 19px; padding: 23px; border-radius: 23px; }
  .milestone time { font-size: 11px; }
  .milestone h3 { font-size: 32px; }
  .milestone h3 > span { font-size: 14px; }
  .milestone p { font-size: 14px; }
  .milestone > span { font-size: 11px; }
  .history-context { font-size: 11px; }
  .history-archive { margin-top: 24px; border-radius: 21px; }
  .history-archive > summary { flex-wrap: wrap; gap: 6px 12px; padding: 19px 20px; font-size: 14px; }
  .history-archive > summary > span:first-child { flex: 1; }
  .history-count { flex-basis: calc(100% - 45px); order: 3; margin-left: 0; font-size: 11px; }
  .history-toggle { width: 31px; height: 31px; flex-basis: 31px; font-size: 18px; }
  .timeline { margin: 0 20px 25px 27px; }
  .timeline-item { gap: 6px; padding: 14px 0 14px 17px; }
  .timeline-meta { gap: 6px 8px; }
  .timeline-meta time { font-size: 12px; }
  .timeline-item > p { font-size: 14px; }
  .timeline-version { font-size: 11px; }
  .project-section-top { gap: 13px; }
  .development-status { padding: 6px 10px; font-size: 11px; }
  .project-heading { gap: 16px; }
  .project-heading h2 { font-size: 28px; }
  .project-grid { gap: 29px; margin-top: 27px; }
  .project-poster { min-height: 485px; padding: 25px; border-radius: 27px; }
  .poster-meta { gap: 10px; font-size: 11px; letter-spacing: .02em; }
  .poster-meta > span:last-child { padding-inline: 6px; }
  .poster-type { margin-top: 41px; font-size: clamp(80px, 22.5vw, 108px); }
  .poster-type > span { margin-top: 17px; font-size: 20px; }
  .poster-sphere { right: -5px; bottom: 84px; width: 180px; height: 180px; }
  .poster-orbit { right: -39px; bottom: 122px; width: 255px; height: 88px; }
  .orbit-two { right: 43px; bottom: 53px; width: 80px; height: 246px; }
  .poster-bottom { right: 25px; bottom: 24px; left: 25px; font-size: 11px; }
  .poster-bottom > span:last-child { width: 43px; height: 43px; border-radius: 14px; font-size: 31px; }
  .project-category { font-size: 11px; }
  .project-description h3 { font-size: 37px; }
  .project-lead { font-size: 19px; }
  .project-summary { font-size: 14px; }
  .project-tags { gap: 7px; }
  .project-tags > span { padding: 5px 10px; font-size: 11px; }
  .project-tabs { margin-top: 24px; }
  .project-tabs [role='tab'] { min-height: 43px; padding-inline: 6px; font-size: 13px; }
  .project-panel { padding-top: 20px; font-size: 14px; }
  .project-panel h4 { font-size: 14px; }
  .project-note { gap: 6px; font-size: 11px; }
  .hub-strip { align-items: flex-start; gap: 13px; margin-top: -8px; margin-bottom: 55px; padding: 22px; border-radius: 23px; }
  .hub-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 15px; font-size: 25px; }
  .hub-strip .eyebrow { font-size: 11px; }
  .hub-strip h2 { margin-top: 5px; font-size: 15px; }
  .hub-strip > div > p:last-child { font-size: 14px; }
  .hub-strip > a { margin-left: 57px; font-size: 12px; }
  .faq-section { padding-block: 55px; }
  .faq-heading h2 { font-size: 28px; }
  .faq-list { gap: 11px; }
  .faq-list > details { border-radius: 18px; }
  .faq-list > details > summary { gap: 11px; min-height: 77px; padding: 18px; font-size: 14px; }
  .faq-number { width: 25px; height: 25px; flex-basis: 25px; border-radius: 9px; font-size: 11px; }
  .faq-toggle { width: 23px; height: 23px; flex-basis: 23px; font-size: 20px; }
  .faq-answer { padding: 0 19px 22px 54px; font-size: 14px; }
  .join-inner { gap: 28px; padding-block: 54px; }
  .join-copy h2 { font-size: clamp(27px, 7.8vw, 36px); }
  .join-copy > p:not(.eyebrow) { font-size: 14px; }
  .join-action .button { min-width: min(100%, 300px); min-height: 57px; padding-inline: 25px; font-size: 14px; }
  .join-mascot { width: 97px; height: 97px; }
  .join-note { font-size: 11px; }
  .join-watermark { right: -7px; bottom: -17px; font-size: 72px; }
  .footer-top { align-items: center; gap: 15px; }
  .footer-top .brand-symbol { width: 38px; height: 38px; flex-basis: 38px; }
  .footer-top .brand-name { font-size: 11px; }
  .footer-top .brand-name small { font-size: 11px; }
  .back-to-top { gap: 7px; font-size: 11px; white-space: nowrap; }
  .back-to-top > span { width: 28px; height: 28px; font-size: 16px; }
  .footer-bottom { margin-top: 22px; padding-top: 18px; }
  .footer-bottom > p { font-size: 11px; }
}

/* Minimum supported viewport */
@media (max-width: 360px) {
  .section-shell, .project-notice { width: calc(100% - 32px); }
  .site-header { gap: 10px; padding-inline: 15px; }
  .brand { gap: 8px; }
  .brand-symbol { width: 37px; height: 37px; flex-basis: 37px; }
  .brand-name { font-size: 11px; }
  .brand-name small { font-size: 11px; }
  .hero h1 { font-size: 27px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { gap: 8px; padding-inline: 15px; font-size: 13px; }
  .hero-actions .text-link { gap: 5px; font-size: 11px; }
  .hero-actions .circle-arrow { width: 23px; height: 23px; flex-basis: 23px; }
  .hero-eyebrow { font-size: 11px; }
  .art-top-label { gap: 7px; padding-inline: 10px; font-size: 11px; }
  .art-caption { gap: 6px; padding-inline: 10px; font-size: 11px; }
  .hero-bottom > a:not(.scroll-cue) { gap: 6px; padding-inline: 11px; font-size: 12px; }
  .intro-grid h2, .project-heading h2 { font-size: 26px; }
  .story-heading h2 { font-size: 31px; }
  .story-body > .story-emphasis br { display: none; }
  .foundation-card, .community-motto { padding-inline: 21px; }
  .foundation-quote { font-size: 20px; }
  .community-motto h3 { font-size: 25px; }
  .milestone { display: block; padding: 22px; }
  .milestone h3 { margin-top: 9px; font-size: 36px; }
  .milestone p { margin-top: 13px; }
  .milestone > span { margin-top: 7px; }
  .project-poster { min-height: 450px; padding: 23px; }
  .poster-meta { font-size: 11px; }
  .poster-type { font-size: 77px; }
  .poster-type > span { font-size: 17px; }
  .poster-sphere { width: 155px; height: 155px; }
  .poster-orbit { width: 225px; }
  .orbit-two { width: 76px; height: 225px; }
  .project-description h3 { font-size: 33px; }
  .project-tabs [role='tab'] { font-size: 12px; }
  .hub-strip { padding-inline: 18px; }
  .hub-strip > a { margin-left: 0; }
  .faq-answer { padding-left: 19px; }
  .join-copy h2 { font-size: 27px; }
  .join-action .button { gap: 11px; padding-inline: 19px; font-size: 13px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 17px; }
  .back-to-top { align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .js-motion .reveal, .js-motion .reveal.is-visible { animation: none; transform: none; }
}

/* Keep long Japanese headings on natural lines on narrow phones. */
@media (max-width: 360px) {
  .intro-grid h2, .project-heading h2 { font-size: 24px; }
}



/* Mobile layout correction — 2026-10-30.
   The former wrapping flex row let the Discord CTA reserve width beside the
   content, compressing Japanese copy to a single-character column. */
@media (max-width: 760px) {
  .hub-strip {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    row-gap: 16px;
    padding: 24px;
  }
  .hub-strip > .hub-icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
  }
  .hub-strip > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    flex: none;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hub-strip > div h2 {
    font-size: clamp(17px, 4.4vw, 21px);
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hub-strip > div > p:last-child { line-height: 1.85; }
  .hub-strip > a.text-link {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    align-items: center;
    display: flex;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 11px 15px;
    border: 1px solid #ded3f2;
    border-radius: 16px;
    background: rgba(255,255,255,.8);
    color: #70528c;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
  }
  .hub-strip > a.text-link .circle-arrow { flex-shrink: 0; }
}
@media (max-width: 360px) {
  .hub-strip { grid-template-columns: 40px minmax(0,1fr); padding: 18px; column-gap: 12px; }
  .hub-strip > .hub-icon { width: 40px; height: 40px; min-width: 40px; }
  .hub-strip > a.text-link { font-size: 13px; padding-inline: 12px; }
}
