/* Mali twórcy studio
   Kierunek: strona jest przedmiotem z pracowni. Teczki z zakładkami (hero), arkusz-menu zajęć,
   bilet-karnet z dziurkami, kartka listu, pocztówka w stopce. Płaskie kolory jak druk w kilku farbach. */

:root {
  /* kolory */
  --night: #23241f;        /* tło hero i stopki */
  --bg: #ddd6c6;           /* piasek: grunt strony */
  --paper: #ecebe8;        /* papier arkuszy i biletu */
  --surface: #d2cab8;      /* stopień tonu: belki, dziurki */
  --ink: #2a2a26;
  --muted: #4c4a42;
  --accent: #4f6238;       /* mech: przyciski */
  --accent-press: #3f5a2a;
  --accent-ink: #ffffff;
  --robotki: #b23a5b;      /* malina */
  --eksperymenty: #2f56a6; /* kobalt */
  --robotyka: #d9a21b;     /* musztarda, tekst ciemny */
  --field: #3f5a2a;        /* głęboka zieleń */

  /* typografia */
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem);
  --step-head: clamp(3rem, 1.4rem + 5.4vw, 6.25rem);
  --step-display: clamp(4.25rem, 1rem + 11vw, 12rem);

  --margin: clamp(16px, 3vw, 40px);
  --section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--robotyka); outline-offset: 3px; }
::selection { background: var(--robotyka); color: var(--ink); }
.wrap { padding-inline: max(var(--margin), env(safe-area-inset-left, 0px)) max(var(--margin), env(safe-area-inset-right, 0px)); max-width: 1440px; margin: 0 auto; }

.h-head { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: .92; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance; }
.h-sub  { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 var(--step-body)/1 var(--text); text-decoration: none;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0;
  padding: 18px 28px; min-height: 56px; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(2px); }

.preview { background: var(--robotyka); color: var(--ink); font-size: var(--step-small); font-weight: 600; padding: 10px var(--margin); text-align: center; }

/* ---------- HERO: stos teczek ---------- */
.hero { background: var(--night); color: var(--paper); min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; overflow: hidden; position: relative; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--margin) 0; }
.wordmark { grid-column: 2; font-size: var(--step-small); font-weight: 500; text-decoration: none; color: var(--surface); }
.toplink { grid-column: 3; justify-self: end; font-size: var(--step-small); font-weight: 500; text-decoration: none; padding: 10px 0; background-image: none; }
.toplink:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-copy { text-align: center; padding: clamp(56px, 8vh, 110px) var(--margin) 0; }
.hero-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(5rem, 15vw, 15rem); line-height: .82; letter-spacing: -0.02em; white-space: nowrap; }
.hero-sub b { font-weight: 600; color: var(--paper); }
.hero-sub { margin: 24px auto 0; max-width: 46ch; font-size: var(--step-body); color: var(--surface); }

.folders { position: relative; margin-top: clamp(40px, 7vh, 80px); min-height: 52svh; }
.folder {
  --i: 0; position: absolute; left: 7%; right: 7%; top: calc(var(--i) * 64px + 40px); bottom: 0;
  background: var(--c); color: var(--c-ink, var(--paper)); text-decoration: none;
  transition: transform .28s var(--ease);
}
a.folder:hover { transform: translateY(-10px); }
.folder .tab {
  position: absolute; top: -40px; left: var(--x); width: max(150px, 16%); height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c); color: var(--c-ink, var(--paper));
  font-family: var(--display); font-weight: 700; font-size: var(--step-body); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}
.f-robotki      { --i: 0; --c: var(--robotki);      --x: 3%; }
.f-eksperymenty { --i: 1; --c: var(--eksperymenty); --x: 22%; }
.f-robotyka     { --i: 2; --c: var(--robotyka);     --x: 41%; --c-ink: var(--ink); }
.f-karnety      { --i: 3; --c: var(--accent);       --x: 60%; }
.f-grafik       { --i: 4; --c: var(--bg);           --x: 79%; --c-ink: var(--ink); }
.folder-body { padding: 32px clamp(20px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn-big { font-size: var(--step-body); }
.folder-note { font-size: var(--step-body); font-weight: 500; }

/* ---------- INTRO ---------- */
.intro { padding: clamp(100px, 10vw, 150px) 0 var(--section); }
.intro-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.intro-title { grid-column: 1 / 8; }
.intro-note { grid-column: 9 / 13; max-width: 34ch; }
.facts { margin-top: clamp(64px, 8vw, 120px); display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.facts dt { font-family: var(--display); font-weight: 600; font-size: var(--step-lead); line-height: 1; }
.facts dd { margin-top: 8px; font-size: var(--step-small); color: var(--muted); }

/* ---------- MENU ZAJĘĆ ---------- */
.menu-sec { background: var(--field); padding: var(--section) 0; color: var(--paper); }
.menu-grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sheet { background: var(--paper); color: var(--ink); padding: 64px clamp(20px, 4vw, 48px); }
.sheet-title { text-align: center; margin-bottom: 40px; }
.menu-group + .menu-group { margin-top: 44px; }
.g-name { display: flex; align-items: center; gap: 10px; font-size: var(--step-body); font-weight: 600; margin-bottom: 14px; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.d-robotki { background: var(--robotki); } .d-eksperymenty { background: var(--eksperymenty); } .d-robotyka { background: var(--robotyka); }
.items li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 8px; padding: 9px 0; cursor: default; transition: opacity .24s var(--ease); }
.items .i-name { font-weight: 600; }
.items .lead { border-bottom: 4px dotted var(--surface); transform: translateY(-4px); }
.items .i-val { font-variant-numeric: tabular-nums; font-weight: 500; }
.items .i-desc { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); max-width: 40ch; margin-top: 2px; }
.sheet.is-pointing li { opacity: .38; }
.sheet.is-pointing li.is-on { opacity: 1; }
.sheet-foot { margin-top: 44px; font-size: var(--step-small); color: var(--muted); text-align: center; }

.preview-frame { position: sticky; top: 40px; }
.preview-frame figcaption { margin-top: 14px; font-size: var(--step-small); color: var(--surface); }

/* zdjęcia: jeden wspólny filtr dla zdjęć zastępczych */
.ph { position: relative; overflow: hidden; background: var(--tone, var(--surface)); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph[data-t="archiwum"] img, .ph[data-t="stock"] img { filter: grayscale(1) contrast(1.08) brightness(1.06); mix-blend-mode: multiply; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-45 { aspect-ratio: 4 / 5; }
.preview-frame .ph { --tone: var(--robotyka); }
#previewImg { transition: opacity .24s var(--ease); }

/* ---------- JAK DZIAŁA KARNET ---------- */
.moments { padding: var(--section) 0; }
.moments-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.arrows { display: flex; gap: 8px; }
.sq { width: 48px; height: 48px; border: 0; background: var(--ink); color: var(--paper); font-size: var(--step-body); cursor: pointer; transition: transform .18s var(--ease), background-color .18s; }
.sq:hover { background: var(--accent); }
.sq:active { transform: scale(.94); }
.progress { margin-top: 20px; height: 6px; background: var(--surface); }
.progress i { display: block; height: 100%; width: 20%; background: var(--ink); transform-origin: left; }
.row { margin-top: 40px; display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--margin); scrollbar-width: none; overscroll-behavior-x: contain; }
.row::-webkit-scrollbar { display: none; }
.m { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; }
.m h3 { font-size: var(--step-body); font-weight: 600; line-height: 1.25; }
.m p { margin-top: 8px; font-size: var(--step-small); color: var(--muted); min-height: 4.5em; }
.m .ph { margin-top: var(--gap); }
.m:nth-child(4n+1) .ph { --tone: var(--robotki); }
.m:nth-child(4n+2) .ph { --tone: var(--robotyka); }
.m:nth-child(4n+3) .ph { --tone: var(--eksperymenty); }
.m:nth-child(4n+4) .ph { --tone: var(--accent); }

/* ---------- KARNET: bilet ---------- */
.pricing { background: var(--eksperymenty); color: var(--paper); padding: var(--section) 0; --ground: var(--eksperymenty); }
.pricing-title { max-width: 14ch; }
.pricing-lede { margin-top: 20px; max-width: 52ch; }
.choose { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.choose button { font: 600 var(--step-body)/1 var(--text); padding: 14px 20px; min-height: 48px; border: 0; border-radius: 0; background: rgba(242,238,229,.16); color: var(--paper); cursor: pointer; transition: background-color .18s, transform .18s var(--ease); }
.choose button:hover { background: rgba(242,238,229,.28); }
.choose button:active { transform: translateY(2px); }
.choose button[aria-checked="true"] { background: var(--paper); color: var(--ink); }

.ticket { position: relative; margin-top: 24px; display: grid; grid-template-columns: 7fr 3fr; background: var(--paper); color: var(--ink); min-height: 400px; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 70%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--ground); }
.ticket::before { top: -14px; } .ticket::after { bottom: -14px; }
.t-main { padding: 40px clamp(20px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.t-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.t-name { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: .9; text-transform: uppercase; letter-spacing: -0.02em; }
.t-valid { font-size: var(--step-small); color: var(--muted); }
.holes { display: flex; flex-wrap: wrap; gap: 12px; }
.hole { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--surface); cursor: pointer; font: 700 var(--step-small)/1 var(--display); color: transparent; transition: transform .18s var(--ease), background-color .2s var(--ease); }
.hole:hover { transform: scale(1.08); }
.hole:active { transform: scale(.92); }
.hole[data-r="robotki"] { background: var(--robotki); color: var(--paper); }
.hole[data-r="eksperymenty"] { background: var(--eksperymenty); color: var(--paper); }
.hole[data-r="robotyka"] { background: var(--robotyka); color: var(--ink); }
.t-mix { font-weight: 500; min-height: 1.5em; }
.t-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: var(--step-small); color: var(--muted); margin-top: auto; }
.t-stub { border-left: 6px dotted var(--ground); padding: 40px 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.t-price { font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: .85; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: auto; }
.t-price small { font-size: .32em; margin-left: .1em; letter-spacing: 0; }
.t-per { margin-top: 10px; color: var(--muted); font-size: var(--step-small); }
.btn-stub { margin-top: auto; align-self: stretch; margin-inline: -24px; }
.pricing-more { margin-top: 28px; max-width: 70ch; }

/* ---------- GRAFIK ---------- */
.sched { padding: var(--section) var(--margin); }
.sched-col { max-width: 640px; margin: 0 auto; container-type: inline-size; }
.giant { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: min(31cqw, var(--step-display)); line-height: .8; letter-spacing: -0.02em; margin-left: -0.04em; }
.sched-lede { margin: 20px 0 24px; }
.days details { background: var(--surface); margin-bottom: 6px; }
.sched-empty { background: var(--surface); padding: 18px; overflow-wrap: anywhere; }
.days summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 18px; font-weight: 500; }
.days summary::-webkit-details-marker { display: none; }
.days summary::after { content: "+"; font: 600 var(--step-body)/1 var(--text); transition: transform .2s var(--ease); }
.days details[open] summary::after { transform: rotate(45deg); }
.days summary:hover { background: #c9c0ac; }
.slots { padding: 4px 18px 18px; display: grid; gap: 14px; }
.slot { display: grid; grid-template-columns: 7ch 1fr auto; gap: 4px 14px; align-items: baseline; }
.slot time { font-variant-numeric: tabular-nums; font-weight: 600; }
.slot .s-title { font-weight: 500; }
.slot .s-meta { grid-column: 2; font-size: var(--step-small); color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.slot .s-meta .dot { width: 10px; height: 10px; }
.slot a, .slot .full { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-weight: 600; font-size: var(--step-small); }
.slot a { background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 12px 16px; transition: background-color .18s, transform .18s var(--ease); }
.slot a:hover { background: var(--accent-press); }
.slot a:active { transform: translateY(2px); }
.slot .full { color: var(--muted); }

/* ---------- GALERIA ---------- */
.gallery { background: var(--paper); padding: var(--section) 0; }
.gal-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 40px; }
.gal-head h2 { grid-column: 1 / 7; font-size: var(--step-head); text-transform: uppercase; line-height: .92; }
.gal-head p { grid-column: 8 / 13; max-width: 46ch; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 12px; }
.tile .ph { aspect-ratio: 4 / 5; }
.tile.wide { grid-column: span 2; display: flex; flex-direction: column; }
.tile.wide .ph { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
.tile.wide .ph img { position: absolute; inset: 0; }
@media (max-width: 900px) { .tile.wide .ph { flex: none; aspect-ratio: 16 / 9; } }
.strip { min-height: 92px; padding: 12px; display: grid; gap: 6px; font-size: var(--step-small); font-variant-numeric: tabular-nums; line-height: 1.3; }
.strip .r1 { font-weight: 600; }
.strip .r2 { display: flex; justify-content: space-between; gap: 8px; }
.tile:nth-child(4n+1) .strip { background: var(--robotki); color: var(--paper); }      .tile:nth-child(4n+1) .ph { --tone: var(--robotki); }
.tile:nth-child(4n+2) .strip { background: var(--robotyka); color: var(--ink); }        .tile:nth-child(4n+2) .ph { --tone: var(--robotyka); }
.tile:nth-child(4n+3) .strip { background: var(--eksperymenty); color: var(--paper); }  .tile:nth-child(4n+3) .ph { --tone: var(--eksperymenty); }
.tile:nth-child(4n+4) .strip { background: var(--night); color: var(--paper); }         .tile:nth-child(4n+4) .ph { --tone: var(--accent); }

/* ---------- LIST ---------- */
.letter-sec { background: var(--field); padding: clamp(120px, 12vw, 180px) var(--margin); }
.letter { position: relative; max-width: 640px; margin: 0 auto; background: var(--paper); padding: 60px clamp(24px, 5vw, 60px) 0; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--robotki); color: var(--paper); display: grid; place-items: center; font: 700 var(--step-body)/1 var(--display); margin-bottom: 28px; }
.letter p { line-height: 1.6; }
.letter p + p { margin-top: 1.1em; }
.letter mark { background: var(--robotyka); color: var(--ink); padding: 0 .15em; }
.sign { font-style: italic; font-size: var(--step-lead); line-height: 1.1; margin-top: 1.6em !important; }
.letter .role { margin-top: 6px !important; font-size: var(--step-small); color: var(--muted); }
.tear { margin: 48px calc(-1 * clamp(24px, 5vw, 60px)) 0; border-top: 5px dotted var(--field); min-height: 84px; padding: 18px clamp(24px, 5vw, 60px) 30px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tear span { color: var(--muted); }
.tear a { font-weight: 600; font-size: var(--step-body); overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq-grid h2 { grid-column: 1 / 4; }
.faq-text { grid-column: 5 / 13; columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 20px; line-height: 1.55; }
.faq-text b { font-weight: 600; }

/* ---------- KONTAKT ---------- */
.visit { position: relative; min-height: 100svh; }
.visit-photo { position: absolute; inset: 0; --tone: var(--robotyka); }
.visit-photo img { height: 100%; }
.card { position: relative; margin: 60px var(--margin) 60px auto; width: min(380px, 100%); background: var(--paper); padding: 32px 32px 0; border-radius: 0; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.visit { display: flex; align-items: flex-start; }
.addr { line-height: 1.45; }
.map { font-weight: 600; font-size: var(--step-small); text-underline-offset: 4px; margin-top: -8px; }
.map:hover { color: var(--accent); }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.hours dd { margin: 0; }
.phone { font-weight: 600; }
.btn-card { margin: 8px -32px 0; min-height: 56px; }

/* ---------- STOPKA ---------- */
.back { background: var(--night); color: var(--paper); padding: var(--section) var(--margin) 40px; overflow: hidden; }
.postcard { max-width: 1160px; margin: 0 auto; background: var(--paper); color: var(--ink); padding: 72px clamp(24px, 4vw, 56px) 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; min-height: 420px; }
.pc-sign { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1; text-transform: uppercase; margin-bottom: 16px; }
.pc-left p + p { max-width: 40ch; }
.pc-right { position: relative; padding-top: 8px; }
.stamp { position: absolute; top: -24px; right: 0; width: 88px; padding: 6px; background: var(--surface); }
.stamp .ph, .stamp img { aspect-ratio: 3 / 4; object-fit: cover; }
.pc-addr { display: grid; gap: 12px; padding-right: 110px; }
.pc-addr a { text-decoration: none; }
.pc-addr a:hover { text-decoration: underline; text-underline-offset: 4px; }
.imprint { grid-column: 1 / -1; align-self: end; text-align: center; font-size: var(--step-small); color: var(--muted); }
.wordmark-big { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 17.5vw; line-height: .8; letter-spacing: -0.03em; color: var(--bg); text-align: center; margin-top: 64px; white-space: nowrap; }
.credits { margin: 32px auto 0; max-width: 70ch; font-size: var(--step-small); color: var(--surface); }

/* ---------- RUCH ---------- */
.js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-in].on { opacity: 1; transform: none; }
.visit-photo img { transform: scale(var(--zoom, 1.08)); transition: transform .1s linear; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  .visit-photo img { transform: none; }
  a.folder:hover, .hole:hover { transform: none; }
}

/* ---------- TELEFON ---------- */
@media (max-width: 900px) {
  .intro-top, .gal-head, .faq-grid { grid-template-columns: 1fr; }
  .intro-title, .intro-note, .gal-head h2, .gal-head p, .faq-grid h2, .faq-text { grid-column: 1 / -1; }
  .intro-note { max-width: none; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .menu-grid { grid-template-columns: 1fr; }
  .preview-frame { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
  .strip .r3 { display: none; }
  .faq-text { columns: 1; }
  .postcard { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-copy { padding-top: 72px; }
  .hero-title { white-space: normal; font-size: 24vw; }
  .topbar { grid-template-columns: 1fr auto; }
  .wordmark { grid-column: 1; }
  .toplink { grid-column: 2; }
  .folders { min-height: 50svh; margin-top: 40px; }
  .folder { left: 0; right: 0; top: calc(var(--i) * 52px + 32px); }
  .folder .tab { height: 32px; top: -32px; font-size: 1rem; width: 31%; }
  .f-robotki { --x: 2%; } .f-eksperymenty { --x: 35%; } .f-robotyka { --x: 67%; } .f-karnety { --x: 2%; } .f-grafik { --x: 67%; }
  .folder-body { padding: 24px 16px; }
  .btn-big { width: 100%; }
  .m { flex-basis: 74vw; }
  .m .ph { margin-top: calc(var(--gap) * .4); }
  .arrows { display: none; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { left: auto; top: auto; margin: 0; }
  .ticket::before { left: -14px; bottom: 212px; }
  .ticket::after { right: -14px; bottom: 212px; }
  .t-stub { border-left: 0; border-top: 6px dotted var(--ground); padding: 28px 20px 0; min-height: 226px; }
  .btn-stub { margin-inline: -20px; margin-top: 20px; }
  .t-terms { grid-template-columns: 1fr; }
  .hole { width: 46px; height: 46px; }
  .card { position: relative; top: auto; margin: -80px 16px 0; width: auto; }
  .visit { min-height: 0; display: flex; flex-direction: column; }
  .visit-photo { position: relative; height: 70svh; }
  .pc-addr { padding-right: 0; }
  .stamp { width: 64px; top: -52px; }
}
