/* /assets/css/nomadic.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Serif:wght@400;500;600&display=swap');

:root {
  /* Theme (Default: Dark) */
  --bg: #111111;
  --fg: #f8f8f8;
  --muted: #7b7b7b;
  --border-weak: rgba(255, 255, 255, 0.566);

  /* Layout */
  --padX: 16px;
  --footer-h: 56px;

  /* Type */
  --ls: -0.02em;

  /* Sticky */
  --stickyTop: 18px;

  /* Grid gaps */
  --colGap: 26px;
  --colGapMd: 18px;

  /* split内のコンテンツ開始Y */
  --splitPadTop: 10px;

  /* Menu dash (—) vertical tweak */
  --menuDashY: -3px;

  /* Theme icon sizing */
  --emojiBox: 24px;

  /* Modal blur tuning */
  --modalBlur: 6px;
  --modalDim: 0.22;

  /* Brand positioning (header + hero) */
  --brandOffsetTop: 18px;

  /* Safe-area aware brand top */
  --safeTop: env(safe-area-inset-top, 0px);
  --brandTop: calc(var(--brandOffsetTop) + var(--safeTop));
}

/* Light theme */
.light {
  --bg: #ffffff;
  --fg: #111;
  --muted: #919191;
  --border-weak: rgba(0, 0, 0, .55);
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: var(--ls);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

a,
button,
.lang-toggle {
  -webkit-tap-highlight-color: transparent;
}

/* Focus (A11y): show only for keyboard-like interactions */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header / Menu ===== */
header {
  padding: var(--brandTop, var(--brandOffsetTop)) var(--padX) 0;
}

.brand {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
}

.menu-wrap {
  padding: 26px var(--padX) 18px;
}

.menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  user-select: none;
}

.menu a {
  font-size: 64px;
  line-height: 0.920;
  font-weight: 400;
  color: var(--muted);
}

.menu a.is-active {
  color: var(--fg);
}

.menu a:hover {
  color: var(--fg);
}

.menu-dash {
  position: relative;
  top: var(--menuDashY);
  display: inline-block;
  font-weight: 400;
}

/* ===== Main layout ===== */
main {
  width: 100%;
  flex: 1;
  padding: 0 var(--padX) 22px;
}

.main-inner {
  width: 100%;
  margin: 0;
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--colGap);
  align-items: start;
  padding-top: var(--splitPadTop);
}

.split-divider {
  position: absolute;
  top: var(--splitPadTop);
  bottom: 0;
  width: 1px;
  background: var(--border-weak);
  pointer-events: none;
  z-index: 5;
  left: 0;
}

body[data-page="exhibition"] .split-divider {
  display: none;
}

.left {
  grid-column: 1 / 2;
  min-width: 0;
  padding-right: 18px;
  position: sticky;
  top: var(--stickyTop);
  align-self: start;
  z-index: 10;
}

.right {
  grid-column: 2 / 5;
  min-width: 0;
  padding-left: 0;
  border-left: none;
}

/* ===== Filters ===== */
.filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  border: 1px solid var(--border-weak);
  color: var(--fg);
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-style: italic;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  user-select: none;
}

.pill:hover,
.pill.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ===== Note / language toggles ===== */
.lang-toggle {
  cursor: pointer;
  user-select: none;
}

@media (hover:hover) and (pointer:fine) {
  .lang-toggle:hover {
    cursor: none;
  }
}

.lang-toggle a {
  cursor: auto;
}

.lang-toggle:hover a {
  cursor: auto;
}

.left-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

/* ===== Grid cards (collective / journal etc.) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px var(--colGap);
  padding-top: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.card-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  border-radius: 0;
}

.thumb {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0)),
    radial-gradient(80% 60% at 30% 25%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
}

body[data-page="journal"] .grid--journal .thumb {
  aspect-ratio: 4/3;
}

.light .thumb {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, 0)),
    radial-gradient(80% 60% at 30% 25%, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0));
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* meta is above hit but not clickable */
.meta {
  font-size: 14px;
  line-height: 1.2;
  position: relative;
  z-index: 4;
  pointer-events: none;
}

.meta-title {
  color: var(--fg);
  font-weight: 500;
}

.meta-designer {
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.meta-person {
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Optional: if journal needs date visible, you can add .meta-date in HTML */
.meta-date {
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ===== About ===== */
.about {
  position: relative;
  width: 100%;
  margin: 26px 0 0;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px var(--colGap);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--padX) * -1);
  right: calc(var(--padX) * -1);
  height: 1px;
  background: var(--border-weak);
  pointer-events: none;
}

.about-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.about-head {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.about-gap {
  height: 21px;
  flex: 0 0 auto;
}

.about-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg);
  min-width: 0;
  word-break: break-word;
}

.about-body .muted {
  color: var(--muted);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ig {
  color: var(--muted);
  white-space: nowrap;
}

.ig:hover {
  color: var(--fg);
}

/* JP/EN switching (block type) */
.about-item[data-lang="en"] .jp {
  display: none;
}

.about-item[data-lang="jp"] .en {
  display: none;
}





/* Publications: underline + text muted; hover -> fg (text + underline) */
#aboutPubs a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color .12s ease, text-decoration-color .12s ease;
}

#aboutPubs a:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}

#aboutPubs em {
  color: var(--muted);
}

#aboutPubs a em {
  color: inherit;
}

/* ===== Footer ===== */
footer {
  height: var(--footer-h);
  border-top: 1px solid var(--border-weak);
  padding: 0 var(--padX);
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.themebox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.theme-label {
  width: var(--emojiBox);
  height: var(--emojiBox);
  display: grid;
  place-items: center;
  user-select: none;
  flex: 0 0 auto;
}

.emoji {
  display: none;
  width: var(--emojiBox);
  height: var(--emojiBox);
  object-fit: contain;
}

html.light .emoji.sun {
  display: block;
}

html:not(.light) .emoji.moon {
  display: block;
}

.toggle {
  position: relative;
  width: 33.6px;
  height: 20.0px;
  border-radius: 999px;
  border: 1px solid var(--border-weak);
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.knob {
  position: absolute;
  top: 50%;
  left: 0.5px;
  width: 16px;
  height: 16px;
  transform: translate(0, -50%);
  border-radius: 999px;
  border: 1px solid var(--border-weak);
  background: transparent;
  transition: transform .18s ease, border-color .18s ease;
}

.light .knob {
  transform: translate(14.4px, -50%);
}

.copyright {
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
}

/* ===== Cursor hint ===== */
#cursorHint {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-40%, -20%);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: var(--ls);
  color: var(--fg);
  padding: 2px 4px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .08s ease;
  white-space: nowrap;
}

#cursorHint.is-on {
  opacity: 1;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Work page (detail) ===== */
.work-page {
  background: var(--bg);
  color: var(--fg);
  letter-spacing: var(--ls);
  --padX: 24px;
}

@media (max-width:640px) {
  .work-page {
    --padX: 16px;
  }
}

.work-page main {
  width: 100%;
  flex: 1;
  padding: 0 var(--padX) 32px;
}

.work-shell {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
}

.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.work-hero {
  margin: 0 calc(var(--padX) * -1);
  border-bottom: 1px solid var(--border-weak);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: var(--border-weak);
  overflow: hidden;
}

.hero-brand {
  position: absolute;
  top: var(--brandTop, var(--brandOffsetTop));
  left: 0;
  right: 0;
  padding: 0 var(--padX);
  z-index: 6;
  user-select: none;
  color: #fff;
  mix-blend-mode: difference;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--ls);
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  text-align: center;
  display: block;
}

.hero-media,
.hero-media img {
  display: block;
  width: 100%;
  height: 100.6vh;
  object-fit: cover;
}

.hero-title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--hero-title-color-desktop);
}

.work-meta {
  border-bottom: none;
  padding: 0px 0 28px;
  margin-top: 8px;
  margin-bottom: 16px;
  margin-left: calc(var(--padX) * -1);
  margin-right: calc(var(--padX) * -1);
  padding-left: var(--padX);
  padding-right: var(--padX);
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.work-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
  align-items: center;
}

.work-meta-item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.work-meta-label {
  color: var(--muted);
  min-width: 68px;
  max-width: 700px;
}

.section-title {
  margin: 0px calc(var(--padX) * -1) 0px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: var(--ls);
  text-align: center;
}

.content-wrap {
  margin-left: calc(var(--padX) * -1);
  margin-right: calc(var(--padX) * -1);
  border-top: 1px solid var(--border-weak);
}

.content-layout {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-weak);
}

/* Content spans are defined in HTML (per .content-item).
   Breakpoints:
   - <=640px: 2 columns (maps 1–3 spans to 1 col, 4–6 to 2 col)
   - 641–767px: use --span (or .content-span-*)
   - >=768px: use --span-md (or .content-span-md-*)
   - >=1024px: use --span-lg (or .content-span-lg-*) */
.content-item {
  background: var(--bg);
  padding: var(--padX);
  min-width: 0;
  grid-column: span var(--span, 6);
}

/* Base (641–767px) */
.content-span-1 {
  --span: 1;
}

.content-span-2 {
  --span: 2;
}

.content-span-3 {
  --span: 3;
}

.content-span-4 {
  --span: 4;
}

.content-span-5 {
  --span: 5;
}

.content-span-6 {
  --span: 6;
}

/* >=768px */
.content-span-md-1 {
  --span-md: 1;
}

.content-span-md-2 {
  --span-md: 2;
}

.content-span-md-3 {
  --span-md: 3;
}

.content-span-md-4 {
  --span-md: 4;
}

.content-span-md-5 {
  --span-md: 5;
}

.content-span-md-6 {
  --span-md: 6;
}

/* >=1024px */
.content-span-lg-1 {
  --span-lg: 1;
}

.content-span-lg-2 {
  --span-lg: 2;
}

.content-span-lg-3 {
  --span-lg: 3;
}

.content-span-lg-4 {
  --span-lg: 4;
}

.content-span-lg-5 {
  --span-lg: 5;
}

.content-span-lg-6 {
  --span-lg: 6;
}

@media (min-width:641px) {
  .content-item {
    grid-column: span var(--span-md, var(--span, 6));
  }
}

@media (min-width:1024px) {
  .content-item {
    grid-column: span var(--span-lg, var(--span-md, var(--span, 6)));
  }
}

/* Visibility helpers */
@media (max-width:640px) {
  .content-hide-sp {
    display: none;
  }
}

@media (min-width:641px) and (max-width:1023px) {
  .content-hide-md {
    display: none;
  }
}

@media (min-width:1024px) {
  .content-hide-lg {
    display: none;
  }
}

@media (max-width:1023px) {
  .content-hide-md-sp {
    display: none;
  }
}

/* legacy combo */

.content-text:not(.lang-toggle) {
  cursor: pointer;
}

.content-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.content-text[data-lang="en"] .lang-ja {
  display: none;
}

.content-text[data-lang="jp"] .lang-en {
  display: none;
}



/* content-item 内のテキストだけ最大幅を制限する */
.content-item.content-text p {
  max-width: 700px;
  margin: 24px auto;
  overflow-wrap: anywhere;
  /* 長い英単語/URL対策（必要なら） */
}


figure.content-item,
.content-item figure {
  margin: 0;
  max-width: var(--media-max-w, none);
  margin-left: auto;
  margin-right: auto;
}

.content-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-item video {
  display: block;
  width: 100%;
}

.content-item figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}

.designer-about {
  position: relative;
  width: 100%;
  margin: 42px 0 0;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px var(--colGap);
}

.designer-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--padX) * -1);
  right: calc(var(--padX) * -1);
  height: 1px;
  background: var(--border-weak);
  pointer-events: none;
}

.designer-about-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.designer-about-head {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.designer-about-gap {
  height: 16px;
  flex: 0 0 auto;
}

.designer-about-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg);
  min-width: 0;
  word-break: break-word;
}

.designer-about-body .muted {
  color: var(--muted);
}

.designer-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.designer-about-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.designer-about-list a {
  color: var(--muted);
}

.designer-about-list a:hover {
  color: var(--fg);
}

.designer-about-item[data-lang="en"] .jp {
  display: none;
}

.designer-about-item[data-lang="jp"] .en {
  display: none;
}

@media (max-width:1024px) {
  .designer-about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    color: var(--hero-title-color-mobile);
  }
}

@media (max-width:640px) {
  .hero {
    min-height: 70vh;
  }

  .content-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-item {
    padding: 16px;
    grid-column: span var(--span-sm, 2);
  }

  .content-span-1,
  .content-span-2,
  .content-span-3 {
    --span-sm: 1;
  }

  .content-span-4,
  .content-span-5,
  .content-span-6 {
    --span-sm: 2;
  }

  .designer-about {
    grid-template-columns: 1fr;
    gap: 42px 0;
  }
}

/* =========================================================
   Exhibition: index list + modal viewer
   ========================================================= */

.exh-index {
  border-top: 1px solid var(--border-weak);
}

.exh-row {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-bottom: 1px solid var(--border-weak);
  border-radius: 0;
  outline: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  line-height: 1.2;
}

.exh-row:last-child {
  border-bottom: none;
}

.exh-row:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

.exh-row-title {
  font-weight: 500;
  color: var(--fg);
}

.exh-row-date {
  font-weight: 400;
  color: var(--fg);
  white-space: nowrap;
}

/* Modal open: blur & dim background page */
html.is-modal,
body.modal-open {
  overflow: hidden;
}

body.modal-open #page {
  filter: blur(var(--modalBlur));
  opacity: var(--modalDim);
  pointer-events: none;
}

body.modal-open #cursorHint {
  opacity: 0 !important;
}

.exh-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  overflow-y: auto;
  /* modal overlay itself is mostly transparent; readability comes from dimmed+blurred page */
  background: transparent;
}

.exh-modal.is-open {
  display: block;
}

.exh-close {
  position: fixed;
  top: 26px;
  right: 26px;
  z-index: 10001;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  padding: 6px;
  font-size: 0;
}

.exh-close::before,
.exh-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

.exh-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.exh-modal-inner {
  width: 100%;
  min-height: 100vh;
  padding: 0 var(--padX);
  display: flex;
  justify-content: center;
  align-items: center;
}

.exh-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  padding: 60px 0;
}

.exh-caption-title {
  font-weight: 400;
  margin: 80px 0 48px 0;
  line-height: 1.3;
}

.exh-caption-body {
  line-height: 1.5;
}

.exh-caption-date {
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--fg);
}

.exh-caption-venue {
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--fg);
}

.exh-caption-en {
  line-height: 1.6;
  margin-bottom: 48px;
}

.exh-caption-jp {
  line-height: 1.8;
  color: var(--fg);
}

.exh-title {
  display: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 14px 0;
}

.exh-media {
  width: 100%;
  margin: 0 0 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exh-media img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
}

.exh-caption {
  width: auto;
  max-width: 100%;
  align-self: center;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  box-sizing: border-box;
}

.exh-caption--image {
  font-size: 12px;
  color: var(--muted);
  margin-top: -8px;
}

.exh-count {
  width: auto;
  max-width: 100%;
  align-self: center;
  margin-top: 14px;
  text-align: right;
  font-size: 14px;
  line-height: 1.2;
  box-sizing: border-box;
}

/* =========================================================
   TOP page
   ========================================================= */

/* Fade-in */
@keyframes topFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body[data-page="top"] .page {
  animation: topFadeIn 2s ease both;
}

body[data-page="top"] main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 var(--padX) 0;
}

/* 50:50 の比率で上下にスペースを配分 → グループが 50vh に位置 */
body[data-page="top"] main::before {
  content: "";
  flex: 50;
}

body[data-page="top"] main::after {
  content: "";
  flex: 50;
}

.top-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  user-select: none;
}

.top-nav a {
  font-size: clamp(32px, 9vw, 90px);
  line-height: 0.920;
  font-weight: 400;
  color: var(--muted);
}

.top-nav a:hover {
  color: var(--fg);
}

.top-nav .menu-dash {
  position: relative;
  top: var(--menuDashY);
  display: inline-block;
  font-weight: 400;
}

.top-text {
  text-align: center;
  margin-top: 42px;
  padding: 0 var(--padX);
}

.top-text p {
  margin: 0 auto;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .menu a {
    font-size: 48px;
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--colGapMd);
  }

  .left {
    grid-column: 1 / 2;
    padding-right: 18px;
  }

  .right {
    grid-column: 2 / 3;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exh-stage {
    min-height: 100vh;
    padding: 50px 0;
  }
}

@media (max-width: 640px) {
  .menu-wrap {
    padding-top: 18px;
  }

  .menu a {
    font-size: 32px;
  }

  .split {
    grid-template-columns: 1fr;
    row-gap: 14px;
    column-gap: 0;
  }

  .split-divider {
    display: none;
  }

  .left {
    grid-column: 1 / -1;
    position: static;
    top: auto;
    padding-right: 0;
  }

  .right {
    grid-column: 1 / -1;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 32px 12px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 42px 0;
  }

  .footer-inner {
    max-width: none;
  }

  .themebox {
    min-width: 0;
  }

  .exh-close {
    top: 18px;
    right: 16px;
  }

  .exh-stage {
    min-height: 100vh;
    padding: 40px 0;
  }

  .exh-media {
    padding: 0 24px;
    box-sizing: border-box;
  }

  .exh-media img {
    width: 100%;
    max-width: 100%;
  }

  .exh-caption,
  .exh-count {
    padding: 0 24px;
  }
}