/* The brochure page: quiet. The system's font, near-white and near-black,
   one blue-grey for links and marks, dark where the system is dark. No
   mark, no ornament: the name, the words, the pictures. With nothing to
   say but the name, the name sits in the middle of the page. */
:root {
  color-scheme: light dark;
  --bg: #fafafa; --text: #1b1e21; --muted: #5b646d; --line: #dcdfe3;
  --accent: #2f5266; --notice-bg: #fff2cc; --notice-text: #4a3800; --focus: #0b6bcb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416; --text: #e9ebed; --muted: #a0a8b0; --line: #30353b;
    --accent: #9cc3d6; --notice-bg: #3a3010; --notice-text: #f3e2a8; --focus: #7ab8ff;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 17px/1.8 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a { color: var(--accent); text-underline-offset: 3px; }

.notice { background: var(--notice-bg); color: var(--notice-text); text-align: center;
  font-size: 0.85rem; line-height: 1.4; padding: 6px 12px; }

.head { text-align: center; padding: 0 20px; flex: 0 0 auto; display: flex;
  flex-direction: column; }
/* (once the content is read and there is none: the name alone, centred) */
.ready .head:has(+ main:empty) { flex: 1 0 auto; justify-content: center; }
.ready .head:has(+ main:empty) h1 { margin-top: 0; }
.languages { display: flex; justify-content: flex-end; gap: 4px; padding: 8px 12px 0; }
.languages button { min-height: 40px; min-width: 40px; padding: 0 12px; border: 0;
  border-bottom: 2px solid transparent; background: none; color: var(--muted);
  font: inherit; font-size: 0.9rem; cursor: pointer; }
.languages button[aria-pressed="true"] { color: var(--text); font-weight: 600;
  border-bottom-color: var(--accent); }
h1 { margin: clamp(1.5rem, 8vw, 4.5rem) 0 0; font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 300; letter-spacing: 0.12em; line-height: 1.2; overflow-wrap: anywhere; }
.tagline { margin: 1rem auto 0; max-width: 34rem; color: var(--muted); }

main { width: min(100%, 60rem); margin: 0 auto; padding: 0 20px; }
main:not(:empty) { padding-top: clamp(2rem, 7vw, 4rem); flex: 1 0 auto; }
.part { margin: 0 0 clamp(2rem, 6vw, 3.5rem); }
.text { max-width: 38rem; margin-left: auto; margin-right: auto; }
.text p { margin: 0 0 1em; }
.info { display: grid; gap: 0 2.5rem; border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 5vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
h2 { margin: 0 0 0.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); }
.part p { margin: 0 0 0.4rem; }
.part ul { margin: 0; padding: 0; list-style: none; }
.info a { display: inline-block; padding: 4px 0; }

.gallery { display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.shot { display: block; width: 100%; padding: 0; border: 0; background: var(--line);
  cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw;
  max-height: 100dvh; width: 100vw; height: 100dvh; cursor: zoom-out; }
.lightbox[open] { display: flex; align-items: center; justify-content: center;
  animation: fade 150ms ease-out; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.9); }
.lightbox img { max-width: 96vw; max-height: 94dvh; width: auto; height: auto;
  object-fit: contain; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }

.foot { padding: 24px 20px 28px; text-align: center; font-size: 0.8rem; }
.foot a { display: inline-block; padding: 10px 14px; color: var(--muted); }
