/* ============================================================
   MY VOXELS — Virtual Toshima worlds page (roblox/virtual-toshima/)  2026-11-13
   Sits on top of roblox-studio.css: same nav, buttons, sections, game panels, CTA band and footer.
   This file adds the hero with a classroom photo, the five world panels (their colours, the captions under the pictures),
   the block for the first year (2025) and the closing band without a form.
   It does not depend on any other page's stylesheet.
   ============================================================ */

/* ---------- narrow widths: one-column grids get minmax(0, 1fr), so a long Japanese run (keep-all) cannot widen the column past the screen ---------- */
@media (max-width: 900px) { .sec__head { grid-template-columns: minmax(0, 1fr); } .sec__intro { max-width: none; justify-self: stretch; } }

/* ---------- section marks ---------- */
#worlds .sec__k i { background: var(--pink); }
#y2025 .sec__k i { background: var(--violet); }
#ask .sec__k i { background: var(--yel); box-shadow: 2px 2px 0 rgba(0,0,0,.5); }

/* ---------- hero: headline, a few sentences, the facts and the buttons on the left, a photo of the class on the right. 1000px and under: one column ---------- */
.vt-hero { padding-top: clamp(108px, 10vw, 148px); }
.vt-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.vt-hero__text, .vt-hero__photo { min-width: 0; }
.vt-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; color: var(--ink-2); }
.vt-kicker i { flex: none; width: 12px; height: 12px; background: var(--pink); box-shadow: 2px 2px 0 var(--ink); }
.vt-hero__title { font-size: clamp(32px, 4.1vw, 58px); font-weight: 900; line-height: 1.16; letter-spacing: -.035em; }
.vt-hero__title span { display: block; }
.vt-hero__lead { margin-top: 22px; max-width: 32em; font-size: 16px; line-height: 2; color: var(--ink-2); }
.vt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vt-hero__photo .photo { box-shadow: 0 30px 60px rgba(20, 20, 20, .16); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
@media (max-width: 1000px) {
  .vt-hero__in { grid-template-columns: minmax(0, 1fr); }
  .vt-hero__lead, .vt-hero .vt-facts { max-width: none; }
}

/* the facts: a ruled list (who runs it, for whom, when) */
.vt-facts { margin-top: 24px; max-width: 34em; border-top: 2px solid var(--ink); font-size: 14px; line-height: 1.7; }
.vt-facts div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1.5px solid var(--line); }
.vt-facts dt { font-weight: 900; }
.vt-facts dd { font-weight: 700; color: var(--ink-2); }

/* ---------- the five worlds: one panel each (the studio page's .game panel), every other one mirrored ---------- */
.vt-worlds { display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 48px); }
.vt-w { color: var(--ink); --vt-accent: var(--ink); --vt-shadow: rgba(20, 20, 20, .18); }
.vt-w .game__top { align-items: center; }
.vt-w--flip .game__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.vt-w--flip .game__visual { order: 2; }
.vt-w .game__status { color: var(--ink-2); font-size: 13.5px; }
.vt-w .game__name { font-size: clamp(27px, 3vw, 42px); line-height: 1.26; }
.vt-w .game__catch { margin-top: 16px; color: var(--vt-accent); }
.vt-w .game__desc { color: var(--ink-2); }
.vt-w .game__spec { border-top-color: rgba(20, 20, 20, .5); }
.vt-w .game__spec div { grid-template-columns: 4em minmax(0, 1fr); border-bottom-color: rgba(20, 20, 20, .14); }
.vt-w .game__spec dt { color: var(--ink-2); }
.vt-w .game__media { box-shadow: 0 26px 52px var(--vt-shadow); }
/* while the play switch in js/vt-worlds.js is off, the big picture is not a link: no hover zoom, so it does not look clickable */
.vt-w div.game__media:hover img { transform: none; }
.vt-w--1 { background: linear-gradient(165deg, #B9EEDB 0%, #E4F8F0 50%, #C9E6FF 100%); --vt-accent: #0B6E55; --vt-shadow: rgba(11, 110, 85, .24); }
.vt-w--2 { background: linear-gradient(165deg, #B5E0FF 0%, #E4F3FF 52%, #FFEFA8 100%); --vt-accent: #1A44C8; --vt-shadow: rgba(26, 68, 200, .22); }
.vt-w--3 { background: linear-gradient(165deg, #FFD0E6 0%, #FFEDF5 50%, #FFEFB8 100%); --vt-accent: #C2185B; --vt-shadow: rgba(194, 24, 91, .2); }
.vt-w--4 { background: linear-gradient(165deg, #DCCBFF 0%, #F0E9FF 52%, #C9E6FF 100%); --vt-accent: #5B21B6; --vt-shadow: rgba(91, 33, 182, .22); }
.vt-w--5 { background: linear-gradient(165deg, #FFDCAE 0%, #FFF0DC 52%, #FFCBBB 100%); --vt-accent: #C2410C; --vt-shadow: rgba(194, 65, 12, .22); }
@media (max-width: 900px) {
  .vt-w .game__top, .vt-w--flip .game__top { grid-template-columns: minmax(0, 1fr); }
  .vt-w--flip .game__visual { order: 0; }
}

/* a picture with its caption underneath (the caption says what kind of picture it is) */
.vt-fig { min-width: 0; }
.vt-cap { margin-top: 8px; padding-inline: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; color: var(--ink-2); }
.vt-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vt-shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 32px var(--vt-shadow); }
.vt-note { margin-top: 22px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }

/* ---------- 2025: the first year, one white card (text on the left, the four works 2×2 on the right) ---------- */
.vt-past { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; padding: clamp(20px, 3.4vw, 48px); border-radius: 36px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.vt-past__text { min-width: 0; }
.vt-past__k { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; color: var(--violet); }
.vt-past__name { margin-top: 8px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; line-height: 1.32; letter-spacing: -.025em; }
.vt-past__p { margin-top: 14px; max-width: 34em; font-size: 15px; line-height: 2; color: var(--ink-2); }
.vt-past .vt-facts { margin-top: 20px; }
.vt-past__works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.vt-work { min-width: 0; }
.vt-work img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 32px rgba(20, 20, 20, .14); }
.vt-work__name { margin-top: 10px; padding-inline: 4px; font-size: 14.5px; font-weight: 900; line-height: 1.5; letter-spacing: .01em; }
.vt-work__what { margin-top: 2px; padding-inline: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.6; color: var(--ink-2); }
/* 1100px and under: one column, so the four screens stay large enough to read */
@media (max-width: 1100px) {
  .vt-past { grid-template-columns: minmax(0, 1fr); }
  .vt-past__p, .vt-past .vt-facts { max-width: none; }
}
@media (max-width: 900px) { .vt-past { border-radius: 26px; } }
/* phones: the works one under another */
@media (max-width: 560px) { .vt-past__works { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- closing band: a headline, a few sentences and two buttons (the form itself is on the studio page) ---------- */
.vt-ask { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 48px; align-items: center; }
.vt-ask > div { min-width: 0; }
.vt-ask .cta__p { max-width: 32em; }
.vt-ask__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (max-width: 900px) { .vt-ask { grid-template-columns: minmax(0, 1fr); } .vt-ask .cta__p { max-width: none; } }
