/* ARTEAM — typography, layout and interaction foundations */
:root {
  color-scheme: dark;
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  color: #f2f2f2;
  background: #050505;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #050505;
  --surface: #101010;
  --paper: #f2f2f2;
  --muted: #b0b0b0;
  --dim: #949494;
  --line: #ffffff29;
  --white: #ffffff;
  --silver: linear-gradient(180deg, #ffffff 0%, #e2e2e2 42%, #a8a8a8 100%);
  --glow: 0 0 12px #ffffff66;
  --wide: "Manrope", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, "Cascadia Code", monospace;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --fs-xl: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  --fs-display: clamp(3rem, 5.1vw, 5rem);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --header-height: 88px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { min-width: 320px; margin: 0; background: var(--bg); font-size: var(--fs-base); line-height: 1.9; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: #ffffff26; touch-action: manipulation; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--white); color: var(--bg); }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--white); outline-offset: 6px; }
:where(h1, main, main > section):focus { outline: none; }
h2, h3, h4, p { margin-top: 0; }
h2, h3, h4 { text-wrap: balance; }
h2 { font-family: "Noto Sans JP", sans-serif; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.045em; line-height: 1.6; }
h3 { font-size: var(--fs-lg); line-height: 1.6; }
h4 { font-size: 1.125rem; line-height: 1.6; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.section-wrap { position: relative; width: min(85.6%, 1180px); margin-inline: auto; }
.section-index, .overline { color: var(--dim); font-family: var(--wide); font-size: var(--fs-xs); font-weight: 500; line-height: 1.6; letter-spacing: .14em; }
.section-index > span { margin-right: 8px; color: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2 { margin: 16px 0 0; }
.activities h2 > .text-silver { display: inline-block; white-space: nowrap; }
.section-heading > p { flex-shrink: 0; margin: 0 0 8px; color: var(--muted); font-size: var(--fs-sm); }
.section-note { margin: 16px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.text-silver, .intro-main h2 span { color: #bdbdbd; }
/* Existing HUD language */
.hud-brackets, .project-art::after { --c: #ffffffb3; --s: 18px; background:
  linear-gradient(var(--c), var(--c)) top left / var(--s) 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px var(--s) no-repeat,
  linear-gradient(var(--c), var(--c)) top right / var(--s) 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px var(--s) no-repeat,
  linear-gradient(var(--c), var(--c)) bottom left / var(--s) 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px var(--s) no-repeat,
  linear-gradient(var(--c), var(--c)) bottom right / var(--s) 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px var(--s) no-repeat; }
.flare { display: block; height: 1px; background: linear-gradient(90deg, transparent, #ffffff40 25%, #fff 50%, #ffffff40 75%, transparent); box-shadow: 0 0 18px 2px #ffffff55; }
.skip-link { position: fixed; z-index: 60; top: 12px; left: 12px; min-height: 48px; padding: 8px 16px; transform: translateY(-200%); background: var(--white); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; height: var(--header-height); align-items: center; justify-content: space-between; gap: 24px; padding-inline: 7.2%; border-bottom: 1px solid var(--line); background: #050505ed; backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; min-height: 48px; flex-shrink: 0; align-items: center; gap: 16px; }
.logo-mark { width: 46px; height: auto; filter: drop-shadow(0 0 8px #ffffff40); }
.wordmark-name { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.6; }
.wordmark-name b { font-size: 16px; font-weight: 500; letter-spacing: .18em; }
.wordmark-name small { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.site-nav > a { display: inline-flex; min-height: 48px; align-items: center; color: var(--muted); font-size: 13px; white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current="location"] { color: var(--white); text-decoration: underline; text-underline-offset: 8px; }
.site-nav .nav-cta { --s: 8px; gap: 16px; padding-inline: 16px; color: var(--paper); }
.menu-toggle { display: none; }
.hero { position: relative; display: flex; min-height: min(760px, calc(100svh - var(--header-height))); align-items: center; overflow: hidden; padding: 80px 7.2%; background: radial-gradient(ellipse at 72% 48%, #1d1d1d 0, #0c0c0c 30%, #050505 62%); }
.hero-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, #000 45%, #000); }
.hero-copy { position: relative; z-index: 2; width: 57%; max-width: 690px; }
.overline { display: flex; align-items: center; gap: 12px; }
.live-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--white); box-shadow: var(--glow); }
.hero h1 { margin: 24px 0; font-family: "Noto Sans JP", sans-serif; font-size: var(--fs-display); font-weight: 700; letter-spacing: -.06em; line-height: 1.4; }
.mobile-title-break { display: none; }
.accent { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px #ffffff38); }
.hero-flare { width: min(420px, 80%); margin: 0 0 24px; }
.hero-description { max-width: 34em; margin-bottom: 16px; color: #c0c0c0; font-size: var(--fs-base); }
.hero-school { margin-bottom: 0; color: var(--dim); font-size: var(--fs-sm); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 24px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.6; text-align: left; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { min-width: 196px; background: var(--silver); color: #0a0a0a; box-shadow: 0 0 0 1px #ffffff40, 0 10px 30px -12px #ffffff66; }
.button-primary:hover { box-shadow: 0 0 0 1px #fff, 0 12px 34px -10px #ffffff99; }
.button-text { padding-inline: 0; color: #e0e0e0; }
.hero-reassurance { margin: 24px 0 0; color: var(--muted); font-size: var(--fs-xs); }
.hero-reassurance > span { margin-inline: 8px; color: var(--dim); }
.hero-side-label { position: absolute; z-index: 2; right: 2.4%; bottom: 64px; display: flex; min-width: 44px; align-items: center; gap: 16px; opacity: calc(1 - var(--wear, 0) * 2); color: var(--muted); font-size: var(--fs-xs); letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-side-label span { color: var(--white); font-size: 20px; }
.hero-art { position: absolute; z-index: 1; top: 50%; right: 5%; width: min(45vw, 580px); aspect-ratio: 1; pointer-events: none; transform: translateY(-50%); }
.art-logo { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.floating-label { position: absolute; display: flex; align-items: center; gap: 8px; color: #cfcfcf; font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .06em; }
.label-top { top: 20%; right: 4%; }
.label-bottom { bottom: 18%; left: 2%; }
.floating-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--white); box-shadow: var(--glow); }
.art-cross { position: absolute; color: #ffffffb3; font-family: var(--mono); font-size: 18px; }
.cross-a { top: 15%; left: 22%; }
.cross-b { right: 10%; bottom: 30%; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #0a0a0a; color: #d6d6d6; }
.ticker-track { display: flex; width: max-content; min-height: 56px; align-items: center; gap: 40px; animation: ticker-scroll 36s linear infinite; }
.ticker-track span { font-size: var(--fs-xs); letter-spacing: .4em; }
.ticker-track i { color: var(--dim); font-style: normal; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.intro { display: grid; grid-template-columns: 160px minmax(0, 1fr) 112px; gap: 32px; padding-block: 112px; }
.intro-main h2 { margin: -8px 0 32px; }
.intro-bottom { display: flex; align-items: end; gap: 32px; }
.intro-bottom p { max-width: 36em; margin: 0; color: var(--muted); }
.circle-link { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #ffffff70; border-radius: 50%; font-size: 20px; }
.circle-link:hover { background: var(--white); color: var(--bg); }
.intro-stamp { position: relative; display: grid; width: 112px; min-height: 128px; place-items: center; padding: 16px; color: var(--dim); font-size: 12px; line-height: 1.8; letter-spacing: .1em; text-align: center; }
.intro-stamp b { position: absolute; top: 4px; right: 8px; color: var(--white); font-size: 16px; font-weight: 400; }
.activities { padding-bottom: 112px; }
.activity-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.activity-overview > div { padding: 24px 0; border-top: 1px solid var(--line); }
.activity-overview .overview-school { grid-column: 1 / -1; }
.activity-overview dt { margin-bottom: 8px; color: var(--dim); font-size: var(--fs-sm); }
.activity-overview dd { margin: 0; font-size: var(--fs-lg); }
.activity-overview dd small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); }
.activity-path { margin-top: 64px; }
.activity-path > h3 { margin-bottom: 24px; }
.activity-path ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.activity-path li { padding-top: 24px; border-top: 1px solid var(--line); }
.path-number { color: var(--dim); font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .06em; }
.activity-path h4 { margin: 16px 0 8px; }
.activity-path p { margin: 0; color: var(--muted); }
.works { padding-bottom: 112px; }
.english-heading { font-family: var(--wide); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.english-heading em { background: var(--silver); background-clip: text; color: transparent; font-style: normal; font-weight: 500; }
.works-note { max-width: 44em; margin: 0 0 32px; color: var(--muted); font-size: var(--fs-sm); }
.project-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: start; gap: 32px; }
.project-offset { margin-top: 96px; }
.project-disclosure > summary { display: block; list-style: none; cursor: pointer; }
.project-disclosure > summary::-webkit-details-marker { display: none; }
.project-art { position: relative; display: block; width: 100%; height: clamp(280px, 34vw, 440px); overflow: hidden; }
.project-art::after { content: ""; position: absolute; z-index: 2; inset: 16px; pointer-events: none; transition: inset .2s; }
.project-disclosure > summary:hover .project-art::after { inset: 8px; }
.project-meta { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 16px; padding-top: 24px; }
.project-number { padding-top: 5px; color: var(--dim); font-size: var(--fs-xs); }
.project-name { font-size: var(--fs-lg); line-height: 1.6; }
.project-description { grid-column: 2; color: var(--muted); font-size: var(--fs-base); }
.project-read { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.project-read > span, .faq-list summary > span { flex: 0 0 auto; font-size: 24px; font-weight: 400; transition: transform .2s; }
.project-disclosure[open] .project-open { transform: rotate(45deg); }
.project-disclosure[open] .project-read > span, .faq-list details[open] summary > span { transform: rotate(45deg); }
.project-body { padding: 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.project-body h4 { margin-bottom: 16px; }
.project-body p { margin-bottom: 24px; color: var(--muted); }
.project-body dl { margin: 0 0 24px; }
.project-body dl > div { padding-block: 12px; border-top: 1px solid var(--line); }
.project-body dt { color: var(--dim); font-size: var(--fs-sm); }
.project-body dd { margin: 4px 0 0; }
.inline-link { display: inline-flex; min-height: 48px; align-items: center; gap: 16px; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 6px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; padding-bottom: 112px; }
.faq h2 { margin-top: 16px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; list-style: none; cursor: pointer; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details > div { padding: 0 48px 24px 0; }
.faq-list p { margin: 0; color: var(--muted); }
.join { position: relative; overflow: hidden; padding-block: 80px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 80% 30%, #1a1a1a, #070707 65%); }
.join-decoration { position: absolute; top: 8%; right: -5%; width: min(45vw, 580px); aspect-ratio: 1; mix-blend-mode: screen; opacity: .2; pointer-events: none; }
.join-decoration img { width: 100%; height: 100%; object-fit: contain; mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.join-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.join-content { position: relative; padding: 32px; }
.join-content h2 { margin: 24px 0 16px; font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.join-content > p { margin: 0; color: var(--muted); }
.join-guide { padding-top: 32px; }
.join-guide > h3 { margin-bottom: 24px; }
.join-steps { margin: 0; padding: 0; list-style: none; }
.join-steps li { display: flex; gap: 24px; padding-block: 16px; border-top: 1px solid var(--line); }
.join-steps li > div { flex: 1; min-width: 0; }
.join-steps li > span { flex: 0 0 24px; white-space: nowrap; padding-top: 4px; color: var(--dim); font-family: var(--mono); font-size: var(--fs-xs); }
.join-steps h4 { margin: 0 0 4px; }
.join-steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.contact-panel { position: relative; grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; border: 1px solid #ffffff47; background: #101010e6; }
.contact-panel .overline { margin-bottom: 12px; }
.contact-panel h3 { margin-bottom: 8px; }
.contact-panel p:last-child { margin-bottom: 0; color: var(--muted); }
.contact-panel .button { flex: 0 0 auto; }
[data-contact-explore] { display: grid; flex: 0 0 auto; justify-items: start; gap: 8px; }
[data-contact-explore] .inline-link { margin-left: 4px; }
.site-footer { display: flex; flex-wrap: wrap; min-height: 128px; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 7.2%; border-top: 1px solid var(--line); }
.footer-school { margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.copyright { color: var(--dim); font-size: var(--fs-xs); }
.mobile-cta { display: none; }
/* 3D is progressive enhancement; the supplied image is always available. */
.hero-canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.has-webgl .hero-canvas { opacity: 1; }
.has-webgl .art-logo { visibility: hidden; }
.glasses-overlay { position: fixed; z-index: 40; inset: 0; display: none; place-items: center; overflow: hidden; }
.glasses-overlay.is-active, .intro-pending .glasses-overlay { display: grid; }
.intro-pending body { overflow: hidden; }
.project-art-garden { background: radial-gradient(ellipse at 55% 35%, #2a2a2a, #111 55%, #080808); }
.project-art-garden::after { --c: #ffffff8c; }
.project-art-echo { height: clamp(235px, 31vw, 382px); background: linear-gradient(160deg, #f1f1f1, #c9c9c9 55%, #a8a8a8); }
.project-art-echo::after { --c: #00000066; }
.project-tag { position: absolute; z-index: 2; top: 22px; left: 24px; color: #d9d9d9; font-family: var(--wide); font-size: 8px; letter-spacing: .3em; }
.project-art-echo .project-tag { color: #444; }
.project-open { position: absolute; z-index: 3; right: 22px; bottom: 22px; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #ffffff99; border-radius: 50%; color: #fff; font-size: 16px; transition: background .2s, color .2s; }
.project-art-echo .project-open { border-color: #0000008c; color: #111; }
.project-art:hover .project-open { background: var(--white); color: var(--bg); }
.project-art-echo:hover .project-open { background: #111; color: #fff; }
.garden-sun { position: absolute; top: 17%; left: 54%; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #bdbdbd 45%, #5e5e5e); box-shadow: 0 0 70px #ffffff40; }
.garden-ring { position: absolute; top: 48%; left: 50%; width: 74%; height: 48%; border: 1px solid #ffffff59; border-radius: 50%; transform: translate(-50%, -50%) rotate(-23deg); }
.ring-two { width: 89%; height: 34%; border-color: #ffffff2e; border-style: dashed; transform: translate(-50%, -50%) rotate(24deg); }
.garden-plant { position: absolute; z-index: 1; color: #3a3a3a; font-size: clamp(86px, 13vw, 170px); line-height: 1; }
.plant-one { left: 23%; bottom: 13%; }
.plant-two { right: 23%; bottom: 9%; color: #e6e6e6; font-size: clamp(62px, 9vw, 115px); text-shadow: 0 0 30px #ffffff55; }
.garden-caption { position: absolute; right: 13%; bottom: 18%; color: #f2f2f2; font-family: var(--wide); font-size: clamp(12px, 1.5vw, 19px); font-weight: 300; letter-spacing: .25em; line-height: 1.4; }
.echo-orb { position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #d0d0d0 25%, #7a7a7a 60%, #3c3c3c 72%, transparent 73%); box-shadow: 0 20px 50px #00000040; transform: translate(-50%, -50%); }
.echo-wave { position: absolute; top: 50%; left: 50%; width: 86%; height: 28%; border: 1px solid #0000004d; border-radius: 50%; transform: translate(-50%, -50%) rotate(-33deg); }
.wave-two { width: 105%; height: 43%; transform: translate(-50%, -50%) rotate(26deg); border-color: #00000026; border-style: dashed; }
.wave-three { width: 65%; height: 76%; transform: translate(-50%, -50%) rotate(58deg); border-color: #ffffffb3; }
.echo-title { position: absolute; bottom: 13%; left: 12%; color: #111; font-family: var(--wide); font-size: clamp(27px, 4vw, 49px); font-weight: 500; letter-spacing: -.01em; line-height: .94; }
.echo-title i { color: #555; font-family: Georgia, serif; font-size: .65em; font-weight: 400; }

.boot-screen { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(ellipse at 50% 50%, #181818 0, var(--bg) 60%); }
.intro-pending .boot-screen { display: grid; }
.boot-mark { width: 120px; margin-bottom: 10px; filter: drop-shadow(0 0 16px #ffffff55); }
.boot-text { display: flex; align-items: center; gap: 16px; margin: 0; color: var(--paper); font-family: var(--wide); font-size: 20px; font-weight: 400; letter-spacing: .35em; }
.boot-text::before, .boot-text::after { content: ""; width: 24px; height: 1px; background: #ffffff80; }
.boot-sub { margin: 0; color: var(--muted); font-family: var(--wide); font-size: 9px; letter-spacing: .5em; }
.boot-bar { display: block; width: 200px; margin-top: 10px; overflow: hidden; background: #ffffff1f; }
.boot-bar i { display: block; height: 1px; background: #fff; box-shadow: 0 0 10px #fff; transform: scaleX(0); transform-origin: left; animation: boot-load 1s .1s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes boot-load { to { transform: scaleX(1); } }
.glasses-rig { position: relative; width: min(1100px, 118vw); }
.intro-pending .glasses-rig { transform: translateY(-110vh); }
.glasses-rig svg { display: block; width: 100%; height: auto; overflow: visible; }
.glasses-shade { fill: #050505eb; }
.glasses-lenses { fill: url(#lens-sheen); }
.glasses-flash { fill: #fff; opacity: 0; }
.glasses-frame { filter: drop-shadow(0 18px 40px #000c); }
.glasses-body { fill: url(#frame-fill); stroke: #ffffff59; stroke-width: 1.5; }
.glasses-temple { fill: #0c0c0c; stroke: #ffffff2e; stroke-width: 1.5; }
.glasses-edge { fill: none; stroke: #ffffff40; stroke-width: 1.5; stroke-linecap: round; }
.glasses-camera { fill: #050505; stroke: #e6e6e6; stroke-width: 2; }
.glasses-led { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.glasses-hud { fill: none; stroke: #f2f2f2; stroke-width: 1.5; opacity: .85; }
.glasses-hud text { fill: #f2f2f2; stroke: none; font-family: var(--wide); font-size: 15px; letter-spacing: 4px; }
.glasses-hud .hud-dim { opacity: .45; }
.glasses-hud .hud-dot { fill: #fff; stroke: none; }
.intro-skip { position: absolute; right: 7.2%; bottom: 40px; display: none; padding: 8px 0; border: 0; border-bottom: 1px solid #6a6a6a; background: transparent; color: #c4c4c4; font-family: var(--wide); font-size: 9px; letter-spacing: .3em; cursor: pointer; }
.intro-pending .intro-skip { display: block; }


/* Readable labels on the existing illustrations. */
.garden-caption { top: 80px; left: 24px; right: auto; bottom: auto; }
.project-tag { top: 24px; left: 24px; font-size: var(--fs-xs); letter-spacing: .12em; }
.project-open { width: 44px; height: 44px; font-size: 24px; }
.boot-sub { font-size: 12px; letter-spacing: .14em; }
.boot-bar i { animation-duration: .5s; }
.intro-skip { display: block; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); min-height: 48px; padding: 12px 16px; font-size: 14px; letter-spacing: .08em; }
.hero-copy > *, .hero-art > * { transition: opacity .45s ease, translate .45s ease; }
.intro-pending .hero-copy > * { opacity: 0; translate: 0 12px; }
.intro-pending .hero-art > *, .intro-pending .hero-canvas { opacity: 0; }
@media (max-width: 1100px) {
  .site-header { padding-inline: 4%; gap: 16px; }
  .site-nav { gap: 16px; }
  .site-nav > a { font-size: 12px; }
  .wordmark-name small { letter-spacing: 0; }
  .section-wrap { width: 88%; }
  .intro { grid-template-columns: 128px minmax(0, 1fr); }
  .intro-stamp { display: none; }
  .faq { gap: 32px; }
  .join-inner { gap: 32px; }
}
@media (max-width: 900px) {
  .site-nav > a { font-size: 12px; }
  .site-nav { gap: 12px; }
  .site-nav .nav-cta { padding-inline: 12px; gap: 8px; }
  .wordmark-name small { display: none; }
  .wordmark-name { padding-left: 12px; }
  .wordmark { gap: 12px; }
  .hero { padding-inline: 6%; }
  .hero h1 { font-size: 48px; }
  .hero-actions { gap: 8px 16px; }
  .button { padding-inline: 16px; }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .site-header { padding-inline: 24px; }
  .logo-mark { width: 38px; }
  .wordmark-name small { display: block; font-size: 12px; }
  .wordmark-name b { font-size: 15px; }
  .menu-toggle { display: grid; width: 48px; height: 48px; align-content: center; justify-items: center; gap: 7px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { display: block; width: 22px; height: 1px; background: var(--paper); transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; inset-inline: 0; display: none; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > a { min-height: 56px; border-bottom: 1px solid var(--line); font-size: 15px; white-space: normal; }
  .site-nav .nav-cta { justify-content: space-between; margin-top: 16px; padding-inline: 16px; border-bottom: 0; }
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding: 48px 24px 24px; }
  .hero-copy { width: 100%; max-width: none; }
  .hero h1 { margin-block: 24px; font-size: clamp(46px, 13.2vw, 64px); line-height: 1.35; }
  .mobile-title-break { display: initial; }
  .hero-description { font-size: 16px; }
  .hero-school { font-size: 12px; }
  .hero-actions { align-items: stretch; gap: 8px 16px; margin-top: 24px; }
  .hero-actions .button-primary { flex: 1 1 100%; }
  .hero-actions .button-text { min-height: 48px; }
  .hero-reassurance { margin-top: 16px; }
  .hero-reassurance > span { margin-inline: 4px; }
  .hero-art { position: relative; top: auto; right: auto; width: min(100%, 420px); height: 280px; aspect-ratio: auto; align-self: center; margin-top: 16px; transform: none; }
  .label-top { right: 0; top: 12%; }
  .label-bottom { bottom: 12%; left: 0; }
  .hero-side-label { display: none; }
  .ticker-track { gap: 32px; min-height: 48px; }
  .section-wrap { width: calc(100% - 48px); }
  .section-heading { display: block; }
  .section-heading > p { margin: 16px 0 0; }
  .section-heading h2 { font-size: 30px; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding-block: 72px; }
  .intro-main h2 { margin-top: 0; font-size: clamp(22px, 7vw, 28px); }
  .intro-bottom { align-items: start; gap: 16px; }
  .intro-bottom p { font-size: 16px; }
  .circle-link { display: none; }
  .activities, .works, .faq { padding-bottom: 72px; }
  .activity-overview { grid-template-columns: 1fr; }
  .activity-overview > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding-block: 24px; }
  .activity-overview .overview-school { grid-column: 1 / -1; }
.activity-overview dt { margin: 0; padding-top: 2px; }
  .activity-overview dd { font-size: 16px; }
  .activity-overview .overview-school { display: block; }
  .overview-school dt { margin-bottom: 8px; }
  .activity-path { margin-top: 48px; }
  .activity-path ol { grid-template-columns: 1fr; gap: 24px; }
  .activity-path h4 { margin-top: 8px; }
  .project-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-offset { margin-top: 0; }
  .project-art, .project-art-echo { height: clamp(240px, 75vw, 400px); }
  .project-meta { gap: 8px 12px; padding-top: 16px; }
  .project-name { font-size: 20px; }
  .project-description { font-size: 16px; }
  .project-body { padding: 24px 16px; }
  .garden-caption { top: 72px; left: 24px; right: auto; bottom: auto; font-size: 14px; }
  .garden-plant { font-size: 115px; }
  .garden-sun { width: 70px; height: 70px; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq h2 { margin-bottom: 0; font-size: 30px; }
  .faq-list summary { gap: 16px; padding-block: 24px; font-size: 16px; }
  .faq-list details > div { padding-right: 0; }
  .join { padding-block: 48px; }
  .join-inner { grid-template-columns: 1fr; gap: 32px; }
  .join-content { padding: 24px 12px; }
  .join-content h2 { font-size: clamp(22px, 6.8vw, 28px); }
  .join-content > p { font-size: 16px; }
  .join-guide { padding-top: 0; }
  .join-decoration { top: 0; right: -30%; width: 90vw; opacity: .12; }
  .contact-panel { align-items: stretch; flex-direction: column; padding: 24px 16px; gap: 24px; }
  .contact-panel h3 { font-size: 20px; }
  [data-contact-explore] { justify-items: stretch; }
  [data-contact-explore] .inline-link { justify-content: space-between; margin-left: 0; }
  .site-footer { align-items: start; flex-direction: column; gap: 16px; padding: 32px 24px; }
  .footer-school { font-size: 12px; }
  .mobile-cta { position: fixed; z-index: 15; bottom: 0; inset-inline: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #ffffff47; background: #080808f5; backdrop-filter: blur(16px); }
  .mobile-cta > span { max-width: 5em; font-size: 12px; line-height: 1.6; }
  .mobile-cta .button { min-width: 0; flex: 1; padding-inline: 16px; gap: 12px; font-size: 14px; }
  .intro-pending .mobile-cta { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-canvas { display: none; }
  .has-webgl .art-logo { visibility: visible; }
}
@media (forced-colors: active) {
  .accent, .english-heading em { background: none; color: CanvasText; filter: none; }
  .button, .menu-toggle, .hud-brackets { border: 1px solid ButtonText; }
}

/* Contact: quiet surfaces and the same monochrome HUD language. */
.inquiry-panel { position: relative; z-index: 1; grid-column: 1 / -1; min-width: 0; border: 1px solid var(--line); background: #101010ee; padding: 40px; scroll-margin-top: 0; }
.inquiry-heading { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.inquiry-heading h3 { margin: 8px 0 12px; font-size: 28px; line-height: 1.5; font-weight: 600; }
.inquiry-heading p { margin: 0; }
.inquiry-heading .overline { font-size: 12px; }
.inquiry-mark { align-self: start; color: #bdbdbd; font-size: 42px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.form-field { min-width: 0; }
.form-wide { grid-column: 1 / -1; }
.form-field label { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.form-field label > span { padding: 1px 6px; border: 1px solid #626262; font-size: 11px; color: #ccc; }
.form-field input, .form-field textarea { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 13px 16px; border: 1px solid #666; border-radius: 0; background: #0a0a0a; color: #f4f4f4; font: inherit; font-size: 16px; line-height: 1.7; }
.form-field textarea { min-height: 164px; resize: vertical; }
.form-field :is(input, textarea):focus-visible { border-color: #eee; outline: 2px solid #eee; outline-offset: 3px; }
.form-field :is(input, textarea)[aria-invalid="true"] { border-color: #ffb5b5; }
.field-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 12px; line-height: 1.7; color: #bdbdbd; }
[data-message-count] { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.field-error { margin: 8px 0 0; color: #ffb5b5; font-size: 14px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-privacy { margin: 28px 0 12px; max-width: 74em; font-size: 13px; line-height: 1.9; color: #bdbdbd; }
.form-consent label { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding-block: 12px; cursor: pointer; font-size: 14px; line-height: 1.8; }
.form-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: #ddd; }
.form-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 20px; }
.form-submit-row > p { margin: 0; color: #bbb; font-size: 12px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.form-result { margin: 24px 0 0; padding: 20px; border: 1px solid #777; color: #f1f1f1; line-height: 1.9; overflow-wrap: anywhere; }
.form-result.is-error { border-color: #b87d7d; color: #ffd2d2; }
[data-new-inquiry] { margin-top: 16px; padding: 8px 0; background: transparent; color: inherit; border: 0; font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .inquiry-panel { padding: 28px 16px; }
  .inquiry-heading { gap: 12px; margin-bottom: 24px; }
  .inquiry-heading h3 { font-size: 22px; }
  .inquiry-heading > div > p:last-child { font-size: 15px; line-height: 1.8; }
  .inquiry-mark { font-size: 30px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row .button { width: 100%; justify-content: space-between; }
  .field-meta { flex-wrap: wrap; gap: 4px 12px; }
  .field-meta > :last-child { margin-left: auto; }
}

.svg-symbols { position: absolute; }
.form-verification { margin-top: 20px; max-width: 100%; }
.form-verification > p:first-child { margin: 0 0 12px; font-size: 14px; }
#inquiry-verification { min-height: 65px; max-width: 100%; }
.verification-notice { margin: 8px 0 0; color: #bdbdbd; font-size: 12px; line-height: 1.8; }

/* Sponsors: one frame, a clear identity, and a separate action row. */
.sponsors { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); align-items: center; gap: 48px; padding-block: 72px; }
.sponsors-heading .section-index { margin-bottom: 12px; }
.sponsors-heading h2 { margin-bottom: 0; }
.support-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "emblem identity" "emblem action"; grid-template-rows: 1fr auto; min-width: 0; min-height: 264px; border: 1px solid var(--line); background: #0c0c0c; transition: border-color .2s, background-color .2s; }
.support-card:hover { border-color: #ffffff75; background-color: #131313; }
.sponsor-frame { position: absolute; z-index: 2; inset: -1px; pointer-events: none; --s: 14px; --c: #ffffff9c; }
.sponsor-emblem { grid-area: emblem; display: grid; place-items: center; min-width: 0; padding: 24px; border-right: 1px solid var(--line); background: #000; }
.sponsor-logo { width: 216px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.sponsor-identity { grid-area: identity; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-width: 0; padding: 32px 32px 28px; }
.sponsor-english { margin-bottom: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .22em; }
.sponsor-name { font-family: "Noto Sans JP", sans-serif; font-size: 36px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; }
.sponsor-reading { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; letter-spacing: .12em; }
.sponsor-site { grid-area: action; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; min-height: 72px; padding: 16px 32px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.sponsor-arrow { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid #ffffff40; color: #e8e8e8; font-size: 22px; transition: color .2s, background-color .2s, border-color .2s; }
.sponsor-arrow > span { transition: transform .2s; }
.support-card:hover .sponsor-arrow { border-color: #eee; background: #eee; color: #080808; }
.support-card:hover .sponsor-arrow > span { transform: translate(1px, -1px); }
@media (max-width: 760px) {
  .sponsors { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 56px; }
  .sponsors-heading h2 { font-size: 30px; }
}
@media (max-width: 520px) {
  .support-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); grid-template-areas: "emblem identity" "action action"; min-height: 0; }
  .sponsor-emblem { padding: 20px 12px; }
  .sponsor-logo { width: 128px; }
  .sponsor-identity { padding: 24px 16px; }
  .sponsor-english { margin-bottom: 10px; font-size: 12px; letter-spacing: .14em; }
  .sponsor-name { font-size: 30px; letter-spacing: .08em; }
  .sponsor-reading { margin-top: 5px; font-size: 12px; }
  .sponsor-site { min-height: 68px; padding: 15px 20px; font-size: 13px; }
  .sponsor-arrow { flex-basis: 34px; width: 34px; height: 34px; font-size: 21px; }
}
