/* Original dimensional travel passes. Shared by the home and mode pages. */
.home-page,.detail-page{--paper:#fff9ec;--ticket-ground:#f3eee3;--ink:#282b32;--muted:#65675f;background:#f7f3ea}
.home-page .journey-scene{background:var(--ticket-ground);border-color:#fff8;box-shadow:none;--atlas-overlap:40px}
.home-page .atlas-landscape{mask-image:linear-gradient(#000 65%,transparent)}
.home-page .mission-bottom{padding:25px 6px 29px}
.home-page .mission-bottom>p{color:#696758;font-size:11px}
.home-page .journey-grid{gap:22px;align-items:stretch}
.ticket-card{--ticket-ink:#8c4329;--ticket-accent:#d57949}
.home-page .journey-card.ticket-card,.detail-page .journey-card.ticket-card{display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:visible;padding:0;min-height:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--ink);transition:transform .25s ease}
.journey-card.ticket-card.violet{--ticket-ink:#51476d;--ticket-accent:#8172a0}
.journey-card.ticket-card.blue{--ticket-ink:#29596a;--ticket-accent:#5c8897}
.journey-card.ticket-card.mint{--ticket-ink:#3c614c;--ticket-accent:#758c62}
.journey-card.ticket-card::before{content:'';z-index:-1;position:absolute;inset:0;width:auto;height:auto;border:1px solid #c8bca070;border-radius:12px;background:var(--paper);box-shadow:0 7px 12px #6250330a,0 20px 30px -20px #62503350;transform:none;transition:box-shadow .25s,border-color .25s}
.journey-card.ticket-card:hover{transform:translateY(-7px);box-shadow:none}
.journey-card.ticket-card:hover::before{transform:none;border-color:#bbae8ca6;box-shadow:0 12px 15px #6250330a,0 26px 35px -18px #62503360}
.journey-card.ticket-card:focus-visible{outline:3px solid #6545c4;outline-offset:7px;border-radius:12px}
/* Photos of travellers (30 Oct 2026; tools/build_public_site.py ticket_photo) where the 1 October cut-out illustrations
   were: a 4:3 window inset in the ticket, its corners rounded inside the ticket's, so the paper edge, the shadow and the
   perforated stub stay whole around it. Nothing leaves the card: the photo covers its frame from its focal point (the
   faces stay in at any width) and zooms by at most 3% on hover, inside the frame. */
.ticket-photo{position:relative;flex:none;aspect-ratio:4/3;margin:9px 9px 0;overflow:hidden;border-radius:8px;background:#e7dcc8;isolation:isolate}
.ticket-photo::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #3c2a1414;pointer-events:none}
.ticket-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
/* A photo that cannot load leaves the beige frame, not the broken-image icon (site.js marks it is-missing). */
.ticket-photo img.is-missing{visibility:hidden}
.photo-auto img{object-position:68% 12%}.photo-radio img{object-position:52% 10%}.photo-lecture img{object-position:49% 70%}.photo-rooms img{object-position:43% 37%}
.ticket-card:hover .ticket-photo img{transform:scale(1.03)}
/* The visible AI label of every photo (owner, 30 Oct 2026, «да поставь ии»; EU AI Act art. 50(4): a realistic generated
   image is disclosed when it is first seen, not only in the footer): a small calm chip at the bottom left of the frame
   (bottom right on the Online rooms photo, below), a sibling of the img, so the hover zoom leaves it in place; it never
   wraps and takes no pointer events. White on a dark translucent ground: at least 5.3:1 (WCAG AA) even where the photo
   under it is white. */
.ticket-photo-label{position:absolute;left:8px;bottom:8px;z-index:1;padding:3px 8px;border-radius:999px;background:rgba(17,17,17,.62);color:#fff;font-size:11px;font-weight:600;line-height:1.35;white-space:nowrap;pointer-events:none}
.ticket-detail-art .ticket-photo-label{left:10px;bottom:10px;font-size:12px}
/* Online rooms: bottom right. On the three-column "Keep exploring" cards (761-1199 px, frames of about 200 px) a
   bottom-left chip touched the hand holding the phone of the friend seen from behind; bottom right it covers the other
   friend's sleeve and the edge of a plate (screenshots, 30 Oct 2026). */
.photo-rooms .ticket-photo-label{left:auto;right:8px}
.ticket-detail-art .photo-rooms .ticket-photo-label{right:10px}
.ticket-copy{padding:16px 22px 0;display:flex;flex-direction:column;flex:1;min-width:0}
.ticket-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 11px;color:var(--ticket-ink)}
.ticket-meta>span{font-size:9px;font-weight:750;letter-spacing:1.5px;line-height:1.4}
.ticket-meta .mode-icon{width:20px;height:20px;stroke-width:1.4}
.home-page .ticket-card .card-copy{min-height:0}
.home-page .ticket-card .card-title,.detail-page .ticket-card .card-title{font-family:Manrope,'Noto Sans',Arial,sans-serif;color:var(--ticket-ink);font-size:clamp(30px,2.6vw,43px);font-weight:650;line-height:1.03;letter-spacing:-.6px;min-height:0;padding:0}

.home-page .ticket-card .card-subtitle,.detail-page .ticket-card .card-subtitle{color:#656251;font-size:12px;line-height:1.65;max-width:none;margin:11px 0 0;min-height:40px}
.home-page .ticket-card .card-features,.detail-page .ticket-card .card-features{display:grid;gap:5px;font-size:10px;font-weight:600;line-height:1.6;color:#575b50;margin:17px 0 21px}
.ticket-card .card-features li{gap:8px}
.ticket-card .card-features li::before{background:var(--ticket-accent)}
.ticket-stub{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:15px 0;border-top:1px dashed #b5aa8e8c;color:var(--ticket-ink);font-size:11px;font-weight:750;min-height:63px}
.ticket-stub::before,.ticket-stub::after{content:'';position:absolute;top:-7px;width:14px;height:14px;border-radius:50%;background:var(--ticket-ground);box-shadow:inset 0 0 0 1px #c8bca040}
.ticket-stub::before{left:-29px}.ticket-stub::after{right:-29px}
.ticket-arrow{display:grid;place-items:center;border-radius:50%;background:#eadcc555;width:31px;height:31px;flex-shrink:0;transition:background .2s,transform .2s}
.ticket-arrow .arrow{width:18px;height:18px}
.ticket-card:hover .ticket-arrow{background:#e1d0b680;transform:translateX(3px)}
.home-page .showcase .section-title,.home-page .situations .section-title{font-weight:550}
.home-page .site-footer,.detail-page .site-footer{border-color:#d3c7ac70}
.detail-page .detail-scene{background:#f2eada}
.detail-page .detail-scene::before{background:none}
.detail-page .detail-scene::after{background:linear-gradient(transparent,#f7f3ea)}
.detail-page .detail-intro{grid-template-columns:1.2fr 1fr;gap:48px;padding-top:5px}
.detail-page .detail-copy h1{font-weight:550;font-size:clamp(43px,4.8vw,72px)}
/* Mode-page hero (30 Oct 2026): the mode's photo in a paper ticket, its stat under the ticket's tear line. */
.ticket-detail-art{width:100%;max-width:560px;justify-self:center;position:relative;padding:10px 10px 0;border:1px solid #c8bca070;border-radius:16px;background:var(--paper);box-shadow:0 7px 12px #6250330a,0 26px 44px -24px #62503366}
.ticket-detail-art .ticket-photo{margin:0;border-radius:10px}
.ticket-detail-art .mode-stat{position:relative;margin:12px -10px 0;display:flex;justify-content:center;align-items:center;gap:15px;text-align:left;max-width:none;border-top:1px dashed #b8a7888c;padding:15px 20px 17px}
.ticket-detail-art .mode-stat strong{font-size:32px;font-weight:550;flex-shrink:0;color:#594734}
.ticket-detail-art .mode-stat span{margin:0;font-size:11px;max-width:145px;letter-spacing:0;color:#696352}
.detail-page .other-grid{gap:28px}
.detail-page .other-journeys{--ticket-ground:#f7f3ea}
@media(min-width:1600px){.home-page .ticket-copy{padding-inline:26px}.home-page .ticket-stub::before{left:-33px}.home-page .ticket-stub::after{right:-33px}.home-page .ticket-card .card-subtitle{font-size:13px}.home-page .ticket-card .card-features{font-size:11px}}
@media(min-width:761px) and (max-width:1199px){.home-page .journey-scene{--atlas-overlap:35px}.home-page .journey-grid{gap:26px}.home-page .ticket-card .card-title{font-size:40px}.home-page .ticket-card .card-subtitle{min-height:40px}.detail-page .other-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.detail-page .ticket-card .card-title{font-size:29px}.detail-page .ticket-copy{padding-inline:17px}.detail-page .ticket-stub::before{left:-24px}.detail-page .ticket-stub::after{right:-24px}}
@media(max-width:760px){
 .home-page .journey-scene{--atlas-overlap:30px;--atlas-horizon:510px}
 .home-page .atlas-encounter{width:196px;bottom:34px}
 .home-page .journey-grid{gap:24px;grid-template-columns:1fr;max-width:560px;margin-inline:auto}
 .home-page .journey-scene>.wrap{width:calc(100% - 36px)}
 .home-page .ticket-copy,.detail-page .ticket-copy{padding-inline:23px}
 .home-page .ticket-card .card-title,.detail-page .ticket-card .card-title{font-size:35px}
 
 .home-page .ticket-card .card-subtitle,.detail-page .ticket-card .card-subtitle{font-size:12px;min-height:0;margin-top:9px}
 .home-page .ticket-card .card-features,.detail-page .ticket-card .card-features{margin:13px 0 17px;font-size:11px;gap:4px}
 .ticket-meta{margin-bottom:7px}.ticket-meta>span{font-size:9px}
 .ticket-stub{padding:12px 0;min-height:58px;font-size:12px}.ticket-stub::before{left:-30px}.ticket-stub::after{right:-30px}
 .home-page .mission-bottom{padding:21px 3px 27px}
 .home-page .site-header button{width:44px;height:44px}
 .detail-page .detail-intro{grid-template-columns:1fr;gap:25px}
 .ticket-detail-art{max-width:520px}
 .detail-page .other-grid{grid-template-columns:1fr;gap:25px;max-width:560px;margin-inline:auto}
 .detail-page .detail-copy h1{font-size:46px}
}
@media(max-width:380px){.home-page .ticket-copy,.detail-page .ticket-copy{padding-inline:20px}.ticket-stub::before{left:-27px}.ticket-stub::after{right:-27px}.home-page .mission h1{font-size:36px}.home-page .hero-description{max-width:290px}.home-page .ticket-card .card-title{font-size:33px}.detail-page .detail-copy h1{font-size:39px}}
@media(prefers-reduced-motion:reduce){.ticket-card,.ticket-photo img,.ticket-arrow{transition:none!important}.ticket-card:hover,.ticket-card:hover .ticket-photo img{transform:none!important}}
/* Home mode cards (owner, 30 Oct 2026: why the subscriptions under the cards, and why all at one price; the owner's
   words are in tools/build_public_site.py). The plan stub of 29 Oct (IN EVERY PLAN, From $19.99 / month, the minutes,
   Choose a plan) is gone: each card is ONE link to its mode page, like the "Keep exploring" cards: its photo,
   SPACE TALK / 0N, the title and strap, a phrase and its translation, the badges and the perforated "Explore this mode"
   stub. */
.mode-card{--tint:#fbe5ce;--tone:var(--ticket-ink)}
.mode-card.violet{--tint:#e8e1f8}.mode-card.blue{--tint:#d5ecf3}.mode-card.mint{--tint:#dcefd9}
.mode-card .sample-pair{gap:6px;margin-top:14px;padding:9px;border-radius:13px;align-content:center}
.mode-card .sample-line{gap:8px;padding:7px 10px;border-radius:11px 11px 11px 3px;font-size:12.5px;line-height:1.45}
.mode-card .sample-line.is-target{border-radius:11px 11px 3px 11px}
.mode-card .sample-lang{font-size:9px;letter-spacing:.6px}
.mode-card .sample-text:lang(ja){word-break:auto-phrase}
.mode-card .sample-text:lang(ko){word-break:keep-all}
.home-page .mode-card .card-features{margin:14px 0 18px}
/* Four columns: the rows of the four cards line up (photo, SPACE TALK / 0N, title, strap, phrase, badges, stub), so the
   titles, phrases, badges and stubs sit level whatever the length of each text. */
@supports (grid-template-rows:subgrid){@media(min-width:1200px){
.home-page .journey-grid{grid-template-rows:repeat(7,auto);row-gap:0}
.home-page .journey-card.ticket-card.mode-card{display:grid;grid-row:span 7;grid-template-rows:subgrid;row-gap:0}
.mode-card .ticket-copy{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0}
.mode-card .card-copy{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}
.mode-card .ticket-stub{margin-top:0}}}
@media(min-width:761px) and (max-width:1199px){.home-page .mode-card .sample-line{font-size:13px}}
@media(max-width:760px){.home-page .mode-card .sample-line{font-size:13px}}
