:root {
  --bg: #0b0b0c;
  --surface: #131315;
  --surface-2: #1a1a1d;
  --text: #f4f4f0;
  --muted: #a7a7ad;
  --line: #303035;
  --soft: #202023;
  --white: #fff;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,12,.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
  font-size: 1.08rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

main { overflow: hidden; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.hero {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  min-height: min(790px, calc(100svh - 70px));
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 120px) clamp(28px, 6vw, 84px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 9.5rem);
  line-height: .82;
  letter-spacing: -.075em;
  font-weight: 950;
}
.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #d3d3d6;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}
.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--text);
  color: #0b0b0c;
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--text); }
.button:hover { transform: translateY(-1px); }
.hero-media {
  min-height: 500px;
  overflow: hidden;
  background: #ff00af;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: clamp(72px, 10vw, 132px) 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.section-kicker { margin: 0 0 8px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: .92; letter-spacing: -.06em; }
.section-head p { margin: 0; color: var(--muted); }

.alias-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.alias-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  isolation: isolate;
}
.alias-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.alias-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.06) 55%, transparent 72%);
}
.alias-card:hover img { transform: scale(1.025); }
.alias-meta { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.alias-meta small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.7); font-weight: 750; letter-spacing: .08em; }
.alias-meta strong { display: block; font-size: clamp(1.75rem, 4vw, 3.4rem); line-height: .95; letter-spacing: -.04em; }

.works-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.works-line span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
}
.big-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-weight: 850;
  text-decoration: none;
}
.big-link::after { content: "↗"; }
.big-link.internal::after { content: "→"; }

.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.activity-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.activity-card:hover {
  background: var(--surface-2);
  border-color: #55555c;
  transform: translateY(-2px);
}
.activity-card .label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.activity-card strong { font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.04em; }
.activity-card p { margin: 12px 0 0; color: var(--muted); }

.lab-teaser {
  padding: clamp(32px, 6vw, 68px);
  border-radius: var(--radius);
  background: #e9e9e4;
  color: #0c0c0d;
  cursor: pointer;
}
.lab-teaser h2 { max-width: 820px; }
.lab-teaser p { max-width: 680px; margin: 24px 0 0; color: #4a4a4f; }
.lab-teaser .button { margin-top: 28px; background: #0c0c0d; color: #fff; border-color: #0c0c0d; }

.page-hero { padding: clamp(72px, 11vw, 150px) 0 clamp(48px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(4.3rem, 13vw, 10rem); }
.page-hero p { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.28rem); }

.artist-list { padding: 0; }
.artist-panel {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(0, 1fr);
  min-height: 650px;
  border-bottom: 1px solid var(--line);
}
.artist-panel:nth-child(even) .artist-image { order: 2; }
.artist-image { overflow: hidden; background: var(--surface); }
.artist-image img { width: 100%; height: 100%; object-fit: cover; }
.artist-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 88px); }
.artist-copy h2 { font-size: clamp(2.9rem, 7vw, 6rem); overflow-wrap: anywhere; }
.artist-copy .genre { margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; }
.service-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.service-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 750;
}
.service-links a:hover { background: var(--text); color: #0b0b0c; }

.content-section { padding: clamp(60px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.content-narrow { width: min(860px, 100%); }
.prose { font-size: clamp(1.06rem, 2.2vw, 1.35rem); }
.prose p { margin: 0 0 1.35em; }
.prose .source-copy {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.works-list { margin-top: 38px; border-top: 1px solid var(--line); }
.work-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.work-item span:first-child { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.work-item strong { font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: 1.15; }

.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.program-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
}
.program-card:hover { background: var(--surface-2); border-color: #55555c; }
.program-card .type { color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.program-card strong { font-size: 1.12rem; line-height: 1.3; }
.program-card small { color: var(--muted); margin-top: auto; }

.site-footer { padding: 42px 0 58px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .header-inner { width: min(100% - 24px, var(--max)); min-height: 64px; align-items: center; }
  .site-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 0 9px; font-size: .76rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: 450px; }
  .hero-media { min-height: 0; aspect-ratio: 1 / 1; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .artist-panel { grid-template-columns: 1fr; min-height: 0; }
  .artist-panel:nth-child(even) .artist-image { order: 0; }
  .artist-image { aspect-ratio: 1/1; }
  .artist-copy { min-height: 430px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .header-inner { display: block; padding: 10px 0 6px; }
  .brand { display: block; padding: 0 4px 6px; }
  .site-nav { gap: 2px; }
  .site-nav a { min-height: 38px; }
  .hero-copy { min-height: 390px; padding: 50px 20px; }
  .hero h1 { font-size: clamp(4rem, 24vw, 6.8rem); }
  .hero-actions .button { flex: 1 1 auto; }
  .alias-grid { grid-template-columns: 1fr; }
  .alias-meta { left: 18px; right: 18px; bottom: 17px; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 160px; }
  .artist-copy { min-height: 360px; padding: 34px 20px 44px; }
  .page-hero h1 { font-size: clamp(3.8rem, 22vw, 7rem); }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 145px; }
  .work-item { grid-template-columns: 52px 1fr; gap: 12px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 2026-09 revision */
.hero-text-only {
  display: block;
  width: 100%;
  min-height: min(720px, calc(100svh - 70px));
}
.hero-text-only .hero-copy {
  width: min(var(--max), calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.hero-role {
  margin: 30px 0 0;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
  text-wrap: pretty;
}
.hero-text-only .hero-lead {
  max-width: 900px;
  margin-top: 10px;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}
.phrase {
  display: inline-block;
}
.works-section h2,
.section-title-only h2 {
  margin-bottom: clamp(28px, 5vw, 52px);
}
.works-copy {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(1.12rem, 2.2vw, 1.7rem);
  line-height: 1.8;
  letter-spacing: -.012em;
  text-wrap: pretty;
  line-break: strict;
}
.work-token {
  display: inline-block;
}

.hero-works {
  max-width: 1080px;
  margin: clamp(26px, 4vw, 42px) 0 0;
  color: var(--muted);
  font-size: clamp(.96rem, 1.6vw, 1.16rem);
  line-height: 1.9;
  letter-spacing: -.008em;
  text-wrap: pretty;
  line-break: strict;
}
.artist-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.artist-home-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.artist-home-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.artist-home-copy {
  padding: clamp(22px, 4vw, 34px);
}
.artist-home-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.artist-home-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
  line-break: strict;
}
.tools-section {
  padding-top: clamp(60px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 96px);
}
.tools-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.2rem, 7vw, 6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.055em;
  text-decoration: none;
}
.tools-link:hover { color: var(--muted); }

.music-tools-visual {
  display: block;
  width: min(660px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.music-tools-visual:hover {
  transform: translateY(-2px);
  opacity: .92;
}
.music-tools-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.elsewhere-section { padding-top: clamp(60px, 8vw, 96px); }
.lab-statement {
  max-width: 1000px !important;
  font-size: clamp(.93rem, 1.85vw, 1.18rem) !important;
  line-height: 1.8;
  text-wrap: pretty;
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}
.program-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.program-top time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
.program-card strong {
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .hero-text-only .hero-copy { width: min(100% - 40px, var(--max)); min-height: min(650px, calc(100svh - 64px)); }
  .artist-home-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-text-only { min-height: 500px; }
  .hero-text-only .hero-copy {
    width: min(100% - 24px, var(--max));
    min-height: 500px;
    padding: 62px 0 54px;
  }
  .hero-text-only .hero-lead { line-height: 1.7; }
  .hero-works { margin-top: 24px; font-size: .9rem; line-height: 1.85; }
  .works-copy { font-size: 1.04rem; line-height: 1.85; }
  .artist-home-copy h3 { font-size: clamp(1.65rem, 8vw, 2.55rem); }
  .tools-link { font-size: clamp(2rem, 11vw, 3.6rem); }
  .lab-statement { font-size: clamp(.77rem, 3.55vw, .98rem) !important; }
  .program-top { align-items: flex-start; }
  .program-top time { font-size: .68rem; }
}

.alias-main,
.alias-alt,
.title-part {
  display: inline-block;
}
.alias-alt {
  display: block;
  margin-top: .2em;
  color: var(--muted);
  font-size: .62em;
  letter-spacing: .02em;
}
.program-card strong .title-part + .title-part::before { content: " "; }
@media (max-width: 360px) {
  .works-copy { font-size: .84rem; }
}


/* 2026-09 bilingual / two-page revision */
[hidden] { display: none !important; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lang-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .06em;
}
.lang-switch button {
  appearance: none;
  border: 0;
  padding: 6px 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.lang-switch button:hover,
.lang-switch button.is-active { color: var(--text); }
.lang-switch button.is-active { text-decoration: underline; text-underline-offset: 4px; }
.hero-lead .phrase,
.hero-works .work-token,
.artist-home-copy .phrase,
.activity-card .phrase,
.lab-statement .phrase {
  white-space: nowrap;
}
.artist-note {
  margin-top: 8px !important;
  font-size: .92rem;
}
.compact-title h2 { margin-bottom: clamp(26px, 5vw, 44px); }
.music-tools-banner {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.music-tools-banner:hover { transform: translateY(-2px); opacity: .94; }
.music-tools-banner img { width: 100%; height: auto; }
.activity-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-links a { white-space: normal; line-height: 1.35; }
@media (max-width: 900px) {
  .header-actions { flex: 1 1 auto; justify-content: flex-end; overflow: hidden; }
  .site-nav { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  .header-inner { display: flex; padding: 8px 0; }
  .brand { padding: 0; }
  .header-actions { gap: 6px; }
  .site-nav { overflow-x: auto; }
  .site-nav a { padding: 0 7px; }
  .lang-switch { font-size: .7rem; }
  .activity-grid-two { grid-template-columns: 1fr; }
  .hero-lead .phrase,
  .hero-works .work-token,
  .artist-home-copy .phrase,
  .activity-card .phrase,
  .lab-statement .phrase { white-space: nowrap; }
}
@media (max-width: 380px) {
  .site-nav a[href="#music-tools"],
  .site-nav a[href="#note"],
  .site-nav a[href="#store"] { display: none; }
  .hero-lead { font-size: .96rem !important; }
  .lab-statement { font-size: .74rem !important; }
}

/* 2026-09 v5 — finalized MASAKI logo + top banner */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.brand {
  width: 48px;
  height: 48px;
  display: block;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: #000;
}
.hero-banner-media {
  width: min(1672px, 100%);
  margin: 0 auto;
  background: #000;
}
.hero-banner-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-details {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(54px, 7vw, 88px);
}
.hero-details .hero-lead {
  max-width: 900px;
  margin: 0;
  color: #d3d3d6;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.7;
}
.hero-details .hero-works {
  margin-top: clamp(24px, 4vw, 38px);
}
@media (max-width: 640px) {
  .brand { width: 44px; height: 44px; }
  .hero-details { padding-top: 30px; padding-bottom: 52px; }
  .hero-details .hero-lead { font-size: .96rem; }
}


/* 2026-09 V14 — activity layout + PSYCHEDELIC EFFECT introduction */
.activity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.activity-card-wide {
  grid-column: 1 / -1;
}

.pe-hero {
  border-bottom: 1px solid var(--line);
}
.pe-hero-media {
  width: min(1672px, 100%);
  margin: 0 auto;
  background: #000;
}
.pe-hero-media img {
  width: 100%;
  height: auto;
}
.pe-hero-copy {
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(60px, 8vw, 104px);
}
.pe-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pe-title {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(3rem, 8.5vw, 7.9rem);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 950;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.pe-lead {
  max-width: 900px;
  margin: 28px 0 0;
  color: #d3d3d6;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
}
.pe-phrase {
  display: inline-block;
  white-space: nowrap;
}
.pe-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.pe-hero-actions .button {
  min-width: 190px;
}

.pe-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.pe-intro-grid h2 {
  max-width: 760px;
}
.pe-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.9;
}
.pe-copy p {
  margin: 0 0 1.25em;
}
.pe-meta {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.pe-meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
}
.pe-meta-row span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
}
.pe-meta-row strong {
  font-size: .94rem;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: normal;
}

.pe-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pe-feature-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pe-feature-card .pe-number {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.pe-feature-card h3 {
  margin: 42px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.045em;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.pe-feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.pe-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 14px;
}
.pe-media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pe-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pe-media-card-main {
  min-height: 620px;
}
.pe-media-card-main img {
  object-position: center top;
}
.pe-media-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pe-media-stack .pe-media-card {
  min-height: 300px;
}
.pe-media-caption {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.pe-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pe-output-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pe-output-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.04em;
  word-break: keep-all;
  overflow-wrap: normal;
}
.pe-output-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.pe-run-card {
  display: block;
  padding: clamp(36px, 7vw, 78px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.pe-run-card:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: #55555c;
}
.pe-run-card .pe-run-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.pe-run-card strong {
  display: block;
  margin-top: clamp(34px, 6vw, 72px);
  font-size: clamp(2.4rem, 7vw, 6.8rem);
  line-height: .95;
  letter-spacing: -.06em;
  word-break: keep-all;
  overflow-wrap: normal;
}
.pe-run-card p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.7vw, 1.14rem);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .pe-intro-grid {
    grid-template-columns: 1fr;
  }
  .pe-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pe-showcase {
    grid-template-columns: 1fr;
  }
  .pe-media-card-main {
    min-height: 540px;
  }
  .pe-media-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}
@media (max-width: 640px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .activity-card-wide {
    grid-column: auto;
  }
  .pe-hero-copy {
    padding-top: 34px;
    padding-bottom: 56px;
  }
  .pe-title {
    font-size: clamp(2.7rem, 14.5vw, 4.8rem);
    line-height: .94;
  }
  .pe-lead {
    font-size: .96rem;
    line-height: 1.8;
  }
  .pe-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pe-hero-actions .button {
    width: 100%;
  }
  .pe-meta-row {
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 16px;
  }
  .pe-feature-grid,
  .pe-output-grid,
  .pe-media-stack {
    grid-template-columns: 1fr;
  }
  .pe-feature-card {
    min-height: 220px;
  }
  .pe-media-card-main {
    min-height: 0;
  }
  .pe-media-card-main img {
    height: auto;
    object-fit: contain;
  }
  .pe-media-stack .pe-media-card {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .pe-run-card strong {
    font-size: clamp(2.2rem, 12vw, 4.1rem);
  }
}
@media (max-width: 390px) {
  .pe-title {
    font-size: 2.5rem;
    letter-spacing: -.05em;
  }
}


/* 2026-09 V15 — TOP PSYCHEDELIC EFFECT link + LAB direct/app guide split */
.psychedelic-top-card strong {
  word-break: keep-all;
  overflow-wrap: normal;
}
.program-card-dual {
  position: relative;
  gap: 14px;
}
.program-main-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 22px;
  color: inherit;
  text-decoration: none;
}
.program-main-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.program-main-link strong {
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: pretty;
}
.program-guide-link {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}
.program-guide-link:hover {
  color: var(--text);
}


/* 2026-09 V16 — independent PSYCHEDELIC EFFECT banner on TOP */
.psychedelic-effect-banner-section {
  padding-top: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(24px, 4vw, 44px);
}
.psychedelic-effect-banner {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  text-decoration: none;
  line-height: 0;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}
.psychedelic-effect-banner:hover {
  transform: translateY(-2px);
  opacity: .95;
  border-color: #55555c;
}
.psychedelic-effect-banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .psychedelic-effect-banner-section {
    padding-top: 10px;
    padding-bottom: 28px;
  }
}


/* 2026-09 V18 — WEB APP banners */
.web-app-section {
  padding-top: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(24px, 4vw, 44px);
}
.web-app-banner-stack { display: grid; gap: 18px; }
.web-app-banner {
  display: block; width: 100%; max-width: 1180px; margin: 0 auto;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: #000; text-decoration: none; line-height: 0;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}
.web-app-banner:hover { transform: translateY(-2px); opacity: .95; border-color: #55555c; }
.web-app-banner img { display: block; width: 100%; height: auto; }

/* 2026-09 V18 — GLITCH IMAGE SYNTHESIZER page, built from scratch */
.gis-page {
  --gis-cyan: #42d6ff;
  --gis-pink: #ff436f;
  --gis-yellow: #ffd53d;
  --gis-panel: #101118;
  --gis-panel-2: #151724;
  --gis-line: #292d3d;
  background:
    radial-gradient(circle at 78% 8%, rgba(0,190,255,.08), transparent 26%),
    radial-gradient(circle at 18% 20%, rgba(255,45,126,.06), transparent 23%),
    #08090e;
}
.gis-page img { width: 100%; }
.gis-phrase { display: inline-block; white-space: nowrap; margin-right: .4em; }
.gis-kicker {
  margin: 0 0 16px; color: var(--gis-cyan); font: 800 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .16em; text-transform: uppercase;
}
.gis-hero { padding: clamp(62px,8vw,112px) 0 clamp(78px,10vw,140px); border-bottom: 1px solid var(--gis-line); }
.gis-hero-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(520px,1.14fr); gap: clamp(38px,6vw,80px); align-items: center; }
.gis-hero h1 { margin: 0; font-size: clamp(3.1rem,5vw,5.8rem); line-height: .88; letter-spacing: -.065em; font-weight: 950; }
.gis-hero h1 span { display: block; white-space: nowrap; }
.gis-hero h1 span:first-child { color: var(--gis-cyan); }
.gis-hero h1 span:last-child { background: linear-gradient(90deg,#4fdcff,#8c7dff,#ff4d8d); -webkit-background-clip: text; background-clip:text; color: transparent; }
.gis-lead { max-width: 620px; margin: 28px 0 0; color: #c5c8d4; font-size: clamp(1rem,1.5vw,1.18rem); }
.gis-lead .gis-phrase { margin-right: .35em; }
.gis-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }
.gis-button { min-height: 50px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border:1px solid #34394d; border-radius:999px; color:#eef2ff; text-decoration:none; font-weight:850; }
.gis-button-primary { background: var(--gis-pink); border-color: var(--gis-pink); color:white; }
.gis-hero-media { position:relative; min-height:630px; }
.gis-page .gis-desktop-shot { position:absolute; right:0; top:0; width:min(93%,760px); border:1px solid #37405b; border-radius:26px; box-shadow:0 30px 70px rgba(0,0,0,.48); }
.gis-page .gis-mobile-shot { position:absolute; right:3%; bottom:-3%; width:min(30%,230px); border:1px solid #47516e; border-radius:22px; box-shadow:0 24px 60px rgba(0,0,0,.55); }
.gis-section { padding: clamp(74px,9vw,126px) 0; border-bottom:1px solid var(--gis-line); }
.gis-section-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,500px); gap:48px; align-items:end; margin-bottom:44px; }
.gis-section-head > p { margin:0; color:#aeb3c4; }
.gis-section h2 { font-size:clamp(2.6rem,5.8vw,5.6rem); line-height:.94; letter-spacing:-.055em; }
.gis-line { display:block; white-space:nowrap; }
.gis-jp-heading span, .gis-en-heading span { display:block; white-space:nowrap; }
.gis-before-after { display:grid; grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr); gap:18px; align-items:center; }
.gis-before-after figure { margin:0; position:relative; overflow:hidden; border:1px solid #34384a; border-radius:20px; background:#0e1018; aspect-ratio: 16/9; }
.gis-before-after figure img { height:100%; object-fit:cover; }
.gis-media-label { position:absolute; z-index:2; left:14px; top:14px; padding:7px 10px; background:rgba(5,7,13,.78); border:1px solid rgba(255,255,255,.18); border-radius:999px; color:#e9edff; font:800 .66rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.12em; }
.gis-arrow { color:var(--gis-cyan); text-align:center; font-size:2.3rem; font-weight:900; }
.gis-split { display:grid; grid-template-columns:minmax(0,.8fr) minmax(380px,1.2fr); gap:clamp(38px,7vw,92px); align-items:center; }
.gis-split-reverse { grid-template-columns:minmax(380px,1fr) minmax(0,.9fr); }
.gis-copy-block h2 { margin-bottom:28px; }
.gis-copy-block > p:not(.gis-kicker) { margin:0; color:#aeb3c4; }
.gis-copy-block .gis-phrase { margin-right:.35em; }
.gis-phone-card { margin:0; max-width:500px; justify-self:end; border:1px solid #34384a; border-radius:28px; overflow:hidden; background:#0d0f16; box-shadow:0 28px 60px rgba(0,0,0,.38); }
.gis-phone-card img { aspect-ratio: 1206 / 2622; object-fit:cover; }
.gis-usage-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.gis-usage-grid figure { margin:0; overflow:hidden; border:1px solid #34384a; border-radius:22px; background:#0d0f16; }
.gis-usage-grid figure > span { display:block; padding:12px 14px; border-bottom:1px solid #2c3040; color:#c8cede; font:800 .72rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; }
.gis-usage-grid img { aspect-ratio:1206/2200; object-fit:cover; object-position:top; }
.gis-algo-layout { display:grid; grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr); gap:24px; align-items:start; }
.gis-tall-card { margin:0; max-height:760px; overflow:hidden; border:1px solid #34384a; border-radius:22px; background:#0d0f16; }
.gis-tall-card img { object-fit:cover; object-position:top; }
.gis-algo-names { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.gis-algo-names span { min-height:60px; display:flex; align-items:center; padding:12px 14px; border:1px solid #2b3040; border-radius:14px; background:#10121a; color:#d8ddeb; font:750 .78rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:normal; }
.gis-seed-visual { max-width:560px; border:1px solid #34384a; border-radius:28px; overflow:hidden; background:#0d0f16; box-shadow:0 26px 60px rgba(0,0,0,.35); }
.gis-wide-ui { margin:0; border:1px solid #34384a; border-radius:24px; overflow:hidden; background:#0d0f16; }
.gis-wide-ui img { display:block; }
.gis-save-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }
.gis-save-flow figure { margin:0; overflow:hidden; border:1px solid #34384a; border-radius:22px; background:#0d0f16; }
.gis-save-flow img { aspect-ratio:1206/2622; object-fit:cover; object-position:top; }
.gis-save-flow figcaption { padding:13px 15px; border-top:1px solid #2c3040; color:#c8cede; font:800 .72rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; }
.gis-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.gis-gallery figure { margin:0; overflow:hidden; border:1px solid #34384a; border-radius:18px; background:#0d0f16; aspect-ratio:1/1; }
.gis-gallery img { width:100%; height:100%; object-fit:cover; }
.gis-advanced-visual { margin:0; max-height:820px; overflow:hidden; border:1px solid #34384a; border-radius:22px; background:#0d0f16; }
.gis-advanced-visual img { object-position:top; }
.gis-run-section { padding:clamp(70px,10vw,124px) 0; }
.gis-run-card { display:flex; flex-direction:column; min-height:320px; justify-content:center; padding:clamp(30px,6vw,70px); border:1px solid #394156; border-radius:28px; background:radial-gradient(circle at 85% 12%,rgba(0,210,255,.14),transparent 30%),radial-gradient(circle at 10% 100%,rgba(255,50,123,.13),transparent 35%),#0d0f18; text-decoration:none; }
.gis-run-card strong { display:block; margin:2px 0 12px; font-size:clamp(3rem,7vw,7rem); line-height:.9; letter-spacing:-.06em; color:white; white-space:nowrap; }
.gis-run-card small { color:#aeb4c7; font-weight:700; }
.gis-run-card:hover { border-color:#5d6b91; transform:translateY(-2px); }

@media (max-width: 980px) {
  .gis-hero-grid { grid-template-columns:1fr; }
  .gis-hero-media { min-height:720px; }
  .gis-page .gis-desktop-shot { left:0; right:auto; width:min(92%,780px); }
  .gis-page .gis-mobile-shot { right:2%; width:min(28%,220px); }
  .gis-section-head, .gis-split, .gis-split-reverse, .gis-algo-layout { grid-template-columns:1fr; }
  .gis-phone-card, .gis-seed-visual { justify-self:start; }
  .gis-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .web-app-section { padding-top:10px; padding-bottom:28px; }
  .web-app-banner-stack { gap:14px; }
  .gis-hero { padding-top:48px; }
  .gis-hero h1 { font-size:clamp(2.6rem,14.5vw,4.2rem); }
  .gis-hero h1 span { white-space:nowrap; }
  .gis-hero-media { min-height:470px; }
  .gis-page .gis-desktop-shot { width:96%; border-radius:18px; }
  .gis-page .gis-mobile-shot { width:32%; right:0; bottom:0; border-radius:14px; }
  .gis-section { padding:68px 0; }
  .gis-section-head { gap:22px; margin-bottom:28px; }
  .gis-section h2 { font-size:clamp(2.35rem,12vw,4.1rem); }
  .gis-jp-heading { font-size:clamp(2.15rem,11.2vw,3.65rem) !important; }
  .gis-jp-heading span, .gis-en-heading span, .gis-line { white-space:nowrap; }
  .gis-before-after { grid-template-columns:1fr; }
  .gis-arrow { transform:rotate(90deg); }
  .gis-algo-names { grid-template-columns:1fr; }
  .gis-save-flow, .gis-usage-grid { grid-template-columns:1fr; }
  .gis-save-flow figure, .gis-usage-grid figure { max-width:360px; }
  .gis-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .gis-run-card { min-height:240px; padding:28px 22px; }
  .gis-run-card strong { font-size:clamp(2.75rem,15vw,4.6rem); white-space:nowrap; }
}
@media (max-width: 390px) {
  .gis-hero h1 { font-size:13.7vw; }
  .gis-jp-heading { font-size:10.6vw !important; }
  .gis-run-card strong { font-size:13.6vw; }
}

/* 2026-09 current — GLITCH IMAGE SYNTHESIZER introduction */
.gis-current .gis-hero-current { overflow:hidden; }
.gis-current .gis-hero-grid-current {
  display:grid;
  grid-template-columns:minmax(0,.83fr) minmax(520px,1.17fr);
  gap:clamp(42px,6vw,82px);
  align-items:center;
}
.gis-current .gis-hero-output-grid {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  grid-template-rows:1fr 1fr;
  gap:12px;
  min-height:590px;
}
.gis-current .gis-hero-output-grid figure {
  margin:0;
  position:relative;
  overflow:hidden;
  border:1px solid #3a4055;
  border-radius:24px;
  background:#070910;
  box-shadow:0 26px 60px rgba(0,0,0,.32);
}
.gis-current .gis-hero-output-grid .gis-hero-output-main { grid-row:1 / 3; }
.gis-current .gis-hero-output-grid img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#070910;
}
.gis-current .gis-before-after-current figure { aspect-ratio:4/3; }
.gis-current .gis-before-after-current figure img { object-fit:cover; }

/* UI captures: always show the complete screenshot; never crop controls or text. */
.gis-current .gis-usage-current { align-items:start; }
.gis-current .gis-usage-current figure {
  min-width:0;
  align-self:start;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#090b12;
}
.gis-current .gis-usage-current img,
.gis-current .gis-phone-card-current img,
.gis-current .gis-wide-ui-current img,
.gis-current .gis-tall-card img,
.gis-current .gis-advanced-visual img,
.gis-current .gis-save-proof-current img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:top center;
  background:#090b12;
}
.gis-current .gis-phone-card-current img { aspect-ratio:auto; }
.gis-current .gis-seed-current img { display:block; width:100%; height:auto; }
.gis-current .gis-wide-ui-current { max-width:620px; margin-inline:auto; }
.gis-current .gis-tall-card,
.gis-current .gis-advanced-visual {
  max-height:none;
  overflow:visible;
  background:#090b12;
}

.gis-current .gis-save-current {
  display:grid;
  grid-template-columns:minmax(0,.68fr) minmax(520px,1.32fr);
  gap:clamp(40px,7vw,92px);
  align-items:center;
}
.gis-current .gis-save-proof-current {
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:14px;
  align-items:start;
}
.gis-current .gis-save-proof-current > figure,
.gis-current .gis-save-results-current figure {
  margin:0;
  min-height:0;
  max-height:none;
  overflow:hidden;
  border:1px solid #34384a;
  border-radius:22px;
  background:#090b12;
}
.gis-current .gis-save-controls-current { align-self:start; }
.gis-current .gis-save-results-current { display:grid; gap:14px; }

/* Output gallery: group images by their natural orientation instead of forcing one frame ratio. */
.gis-current .gis-gallery-current {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  align-items:start;
}
.gis-current .gis-gallery-current figure {
  margin:0;
  overflow:hidden;
  border:1px solid #34384a;
  border-radius:18px;
  background:#090b12;
}
.gis-current .gis-gallery-current .gis-gallery-portrait { grid-column:span 2; aspect-ratio:3/4; }
.gis-current .gis-gallery-current .gis-gallery-landscape { grid-column:span 3; aspect-ratio:4/3; }
.gis-current .gis-gallery-current .gis-gallery-wide { grid-column:1 / -1; aspect-ratio:11/6; }
.gis-current .gis-gallery-current img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Final CTA: explicit word groups keep the product name readable and inside the card. */
.gis-current .gis-run-card { align-items:flex-start; }
.gis-current .gis-run-card strong {
  display:block;
  max-width:min(100%,980px);
  white-space:normal;
  font-size:clamp(2.5rem,6vw,5.8rem);
  line-height:.9;
  letter-spacing:-.055em;
  overflow-wrap:normal;
  word-break:keep-all;
}
.gis-current .gis-run-card strong > span { display:block; }
.gis-current .gis-cta-brand {
  display:block;
  margin-bottom:12px;
  white-space:normal;
  word-break:keep-all;
  overflow-wrap:normal;
  word-spacing:.16em;
}
.gis-current .gis-cta-copy {
  display:block;
  font-size:clamp(1.35rem,2.7vw,2.2rem);
  line-height:1.02;
  letter-spacing:-.03em;
}

@media (max-width:980px) {
  .gis-current .gis-hero-grid-current { grid-template-columns:1fr; }
  .gis-current .gis-hero-output-grid { min-height:620px; }
  .gis-current .gis-save-current { grid-template-columns:1fr; }
  .gis-current .gis-save-proof-current { grid-template-columns:1fr; max-width:780px; }
  .gis-current .gis-save-results-current { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .gis-current .gis-hero-output-grid { grid-template-columns:1fr 1fr; grid-template-rows:340px 190px; min-height:0; gap:8px; }
  .gis-current .gis-hero-output-grid .gis-hero-output-main { grid-column:1 / 3; grid-row:1; }
  .gis-current .gis-hero-output-grid figure { border-radius:16px; }
  .gis-current .gis-wide-ui-current { max-width:100%; }
  .gis-current .gis-save-results-current { grid-template-columns:1fr; }
  .gis-current .gis-gallery-current { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .gis-current .gis-gallery-current .gis-gallery-portrait,
  .gis-current .gis-gallery-current .gis-gallery-landscape,
  .gis-current .gis-gallery-current .gis-gallery-wide { grid-column:span 1; aspect-ratio:auto; }
  .gis-current .gis-gallery-current .gis-gallery-wide { grid-column:1 / -1; }
  .gis-current .gis-gallery-current img { height:auto; object-fit:contain; }
  .gis-current .gis-run-card strong { font-size:clamp(2.05rem,10.3vw,3.5rem); }
  .gis-current .gis-cta-copy { font-size:clamp(1.08rem,5vw,1.5rem); }
}
@media (max-width:390px) {
}

/* 2026-09 current — PSYCHEDELIC EFFECT introduction hero */
.pe-current .pe-hero {
  padding:clamp(60px,8vw,108px) 0 clamp(78px,9vw,126px);
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%,rgba(112,105,255,.17),transparent 28%),
    radial-gradient(circle at 7% 92%,rgba(255,78,165,.11),transparent 32%),
    #07080d;
}
.pe-current .pe-hero-grid-current {
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(430px,1.18fr);
  gap:clamp(34px,6vw,84px);
  align-items:center;
}
.pe-current .pe-hero-copy-current { padding:0; }
.pe-current .pe-kicker { color:#9ca3bb; }
.pe-current .pe-title {
  max-width:660px;
  font-size:clamp(3rem,5vw,4.7rem);
  line-height:.9;
  letter-spacing:-.065em;
}
.pe-current .pe-title span { display:block; white-space:nowrap; }
.pe-current .pe-title span:first-child { color:#fafbff; }
.pe-current .pe-title span:last-child {
  background:linear-gradient(90deg,#7f7bff 0%,#b384ff 30%,#ff86cd 68%,#ffe26c 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.pe-current .pe-lead {
  max-width:620px;
  margin-top:24px;
  color:#d2d5e1;
  font-size:clamp(1rem,1.65vw,1.16rem);
  line-height:1.82;
}
.pe-current .pe-hero-actions { margin-top:28px; }
.pe-current .pe-hero-actions .button { min-width:180px; }
.pe-current .pe-hero-visuals {
  position:relative;
  min-height:530px;
  padding-right:clamp(14px,2vw,24px);
}
.pe-current .pe-hero-art-card,
.pe-current .pe-hero-ui-card {
  position:relative;
  margin:0;
  overflow:hidden;
  border:1px solid #36394b;
  background:#0d0f18;
  box-shadow:0 26px 70px rgba(0,0,0,.36);
}
.pe-current .pe-hero-art-card { width:min(100%,820px); border-radius:28px; aspect-ratio:1240 / 880; }
.pe-current .pe-hero-ui-card { position:absolute; right:0; bottom:-8%; width:min(39%,285px); border-radius:26px; }
.pe-current .pe-hero-art-card img,
.pe-current .pe-hero-ui-card img { display:block; width:100%; height:100%; object-fit:cover; }
.pe-current .pe-hero-ui-card img { object-position:center top; }
.pe-current .pe-hero-chip {
  position:absolute;
  z-index:2;
  left:14px;
  top:14px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(8,10,16,.74);
  color:#eceffd;
  font:800 .66rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.12em;
}

/* DEMO sits immediately after the hero, before ABOUT. */
.pe-demo-section { padding-top:clamp(62px,8vw,100px); padding-bottom:clamp(62px,8vw,100px); }
.pe-demo-section .section-title-only h2 { margin-bottom:clamp(24px,4vw,42px); }
.pe-demo-frame {
  width:min(1100px,100%);
  margin:0 auto;
  overflow:hidden;
  aspect-ratio:16 / 9;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#000;
}
.pe-demo-frame iframe { display:block; width:100%; height:100%; border:0; }

@media (max-width:980px) {
  .pe-current .pe-hero-grid-current { grid-template-columns:1fr; }
  .pe-current .pe-hero-copy-current { max-width:760px; }
  .pe-current .pe-hero-visuals { min-height:420px; max-width:760px; }
  .pe-current .pe-hero-ui-card { width:min(38%,240px); bottom:-4%; }
}
@media (max-width:640px) {
  .pe-current .pe-hero { padding-top:36px; padding-bottom:54px; }
  .pe-current .pe-title { font-size:clamp(2.6rem,12.8vw,4rem); line-height:.92; }
  .pe-current .pe-lead { margin-top:18px; font-size:.96rem; }
  .pe-current .pe-hero-actions { display:grid; grid-template-columns:1fr; }
  .pe-current .pe-hero-actions .button { width:100%; }
  .pe-current .pe-hero-visuals { min-height:268px; padding-right:18px; }
  .pe-current .pe-hero-art-card { border-radius:22px; }
  .pe-current .pe-hero-ui-card { width:39%; min-width:130px; border-radius:20px; }
  .pe-current .pe-hero-chip { left:10px; top:10px; padding:6px 9px; font-size:.58rem; }
  .pe-demo-frame { border-radius:18px; }
}
@media (max-width:390px) {
  .pe-current .pe-title span { white-space:normal; }
}

/* m3k V30 — msk Games game-list card: natural-ratio 3:1 banner, never a stretched hero */
.games-portal {
  min-height: 64svh;
  background:
    radial-gradient(ellipse 60% 380px at 50% 0, rgba(158,105,31,.12), transparent 76%),
    #0b0b0c;
}
.games-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.games-heading {
  padding: clamp(26px, 4.5vw, 46px) 0 clamp(24px, 3vw, 34px);
  text-align: center;
}
.games-logo-panel {
  display: grid;
  place-items: center;
  width: clamp(156px, 22vw, 218px);
  aspect-ratio: 1.94 / 1;
  margin: 0 auto;
  padding: 10px 13px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f6f6f8 0%, #d4d6db 100%);
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: 0 12px 38px rgba(0,0,0,.35), 0 0 0 1px rgba(216,173,84,.17);
}
.games-logo-panel img { width: 100%; height: 100%; object-fit: contain; }
.games-feature { padding: 0 0 clamp(56px, 7vw, 90px); border-bottom: 1px solid var(--line); }
/* The banner is a clickable thumbnail for one game, not the full-width main visual. */
.games-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 25px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: clamp(16px, 2vw, 23px);
  background: linear-gradient(110deg, rgba(24,24,29,.96), rgba(15,15,17,.94));
  box-shadow: 0 18px 52px rgba(0,0,0,.34);
}
.games-feature-banner {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(237,188,102,.38);
  border-radius: clamp(10px, 1.2vw, 16px);
  background: #100f0d;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.games-feature-banner:hover { transform: translateY(-2px); border-color: rgba(243,200,118,.72); }
.games-feature-banner:focus-visible { outline: 3px solid #ffe49b; outline-offset: 5px; }
.games-feature-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
.games-feature-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(22px, 3vw, 32px);
}
.games-feature-text { min-width: 0; }
.games-tagline {
  margin: 0;
  color: #f1eae0;
  font-size: clamp(1.08rem, 1.9vw, 1.42rem);
  font-weight: 780;
  letter-spacing: -.015em;
  line-height: 1.65;
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: normal;
}
.games-tagline-unit { display: inline-block; white-space: nowrap; }
.games-play-button {
  min-width: 188px;
  background: #efdcb4;
  border-color: #efdcb4;
  white-space: nowrap;
}
.games-play-button:hover { background: #fff0d2; }
@media (max-width: 820px) {
  .games-feature-card {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 660px;
    padding: clamp(12px, 3vw, 20px);
  }
  .games-feature-details { align-items: center; text-align: center; gap: 16px; }
  .games-tagline { font-size: clamp(.96rem, 3.4vw, 1.2rem); }
  .games-play-button { width: min(100%, 420px); min-width: 0; }
}
@media (max-width: 390px) {
  .games-heading { padding: 26px 0 21px; }
  .games-logo-panel { width: 174px; }
  .games-tagline { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  .games-feature-banner { transition: none; }
}

/* Internal release V30: cache-key 202610101958 */
