.h-open {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 6vh, 72px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.h-open__copy { order: 1; position: relative; z-index: 2; display: grid; justify-items: start; gap: var(--sp-3); }
.h-open h1 {
  font-size: clamp(2.875rem, 0.5rem + 9vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 9ch;
}
.h-open__lead { font-size: var(--fs-body); max-width: 40ch; }
.h-stages { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 1rem; }
.h-stages a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; text-decoration: none; }
.h-stages a:hover, .h-stages a:focus-visible { text-decoration: underline; }

.h-open__disc {
  position: relative;
  order: 2;
  width: 132vw;
  aspect-ratio: 1;
  margin: var(--sp-4) 0 -52vw -16vw;
}
.h-ring {
  position: absolute;
  border-radius: 50%;
  transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-out);
}
.h-ring--primer { inset: 0; background: var(--st-primer); }
.h-ring--base { inset: 7%; background: var(--st-base); }
.h-ring--wash { inset: 13%; background: var(--st-wash); }
.h-ring--dry { inset: 18%; background: var(--st-dry); }
.h-ring--edge { inset: 22.5%; background: var(--st-edge); }
.h-ring--varnish { inset: 26.5%; background: var(--st-varnish); }
.h-open__photo { position: absolute; inset: 28%; border-radius: 50%; overflow: hidden; background: var(--st-wash); }
.h-open__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-open__disc.is-lit .h-ring { opacity: 0.28; }
.h-open__disc.is-lit .h-ring.is-lit { opacity: 1; }
.h-open__credit {
  order: 3; position: relative; z-index: 2;
  margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) var(--sp-2);
  max-width: none; background: var(--ground);
}

@media (min-width: 960px) {
  .h-open {
    min-height: calc(100svh - var(--top-h));
    min-height: max(620px, calc(100svh - var(--top-h)));
    align-content: center;
    padding: 0 var(--gutter);
  }
  .h-open__copy { padding-left: max(0px, 5vw - var(--gutter)); max-width: 46vw; }
  .h-open__disc {
    position: absolute;
    width: min(112vh, 74vw);
    margin: 0;
    left: calc(84% - min(56vh, 37vw));
    top: calc(55% - min(56vh, 37vw));
  }
  .h-open__credit {
    position: absolute; right: var(--gutter); bottom: 12px; margin: 0;
    padding: 6px 14px; border-radius: var(--round); background: var(--paper);
  }
}

.h-say { padding: var(--section) var(--gutter) 0; max-width: 1180px; }
.h-say__line {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 30ch;
}
.h-chip {
  display: inline-block;
  width: 1.7em; height: 1em;
  margin: 0 0.1em;
  vertical-align: -0.12em;
  border-radius: var(--round);
  overflow: hidden;
  background: var(--surface);
}
.h-chip img { width: 100%; height: 100%; object-fit: cover; }
.h-say .ppc-credit { margin-top: var(--sp-3); }

.h-grow { padding: var(--section) var(--gutter) 0; position: relative; }
.h-grow__title { font-size: var(--fs-head); max-width: 12ch; margin-bottom: var(--sp-4); }
.h-grow__list { list-style: none; padding: 0; display: grid; gap: 28px; }
.h-grow__tile { display: grid; place-items: center; overflow: hidden; padding: 6%; }
.h-grow__step--one .h-grow__tile { background: var(--st-primer); height: 46vw; }
.h-grow__step--two .h-grow__tile { background: var(--st-base); height: 62vw; }
.h-grow__step--three .h-grow__tile { background: var(--st-wash); height: 80vw; }
.h-grow__sprue { height: 100%; width: auto; mix-blend-mode: multiply; }
.h-grow__tile .ppc-disc { height: 100%; width: auto; }
.h-grow__step h3 { font-size: var(--fs-lead); margin: 18px 0 6px; }
.h-grow__step h3 a { text-decoration: none; }
.h-grow__step h3 a:hover { text-decoration: underline; }
.h-grow__step p { max-width: 42ch; font-size: 1rem; }
.h-grow > .ppc-credit { margin-top: var(--sp-4); }

@media (min-width: 960px) {
  .h-grow__title { position: absolute; top: var(--section); left: var(--gutter); width: 50%; margin: 0; }
  .h-grow__list { grid-template-columns: 3fr 4fr 5fr; align-items: end; gap: 10px; }
  .h-grow__step--one .h-grow__tile { height: 30vh; min-height: 220px; }
  .h-grow__step--two .h-grow__tile { height: 44vh; min-height: 320px; }
  .h-grow__step--three .h-grow__tile { height: 62vh; min-height: 440px; }
  .h-grow__step { min-height: calc(62vh + 150px); display: flex; flex-direction: column; justify-content: flex-end; }
  .h-grow__step p { min-height: 4.8em; }
}

.h-band {
  margin-top: var(--section);
  padding: var(--section) var(--gutter);
  background: var(--field);
  color: var(--field-ink);
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}
.h-band__head { display: grid; gap: var(--sp-3); max-width: 1100px; }
.h-band__head h2 { font-size: var(--fs-head); }
.h-band__head p { color: var(--field-muted); max-width: 52ch; }
.h-band__filter { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-band__filter label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--round); background: var(--field-raise); cursor: pointer; font-size: 1rem;
  transition: background-color 160ms var(--ease-out);
}
.h-band__filter label:hover { background: #33362f; }
.h-band__filter input { position: absolute; opacity: 0; pointer-events: none; }
.h-band__filter label:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.h-band__filter label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.h-band__list { list-style: none; padding: 0; display: grid; gap: 28px var(--sp-5); width: 100%; }
.h-paint { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.h-paint__pot { width: var(--pot); height: var(--pot); border-radius: 50%; justify-self: center; background: var(--st-dry); }
.h-paint[data-format="kroplomierz"] .h-paint__pot { background: var(--st-edge); }
.h-paint[data-format="dozownik"] .h-paint__pot { background: var(--st-varnish); }
.h-paint__pot--unknown { background: var(--field-raise) !important; box-shadow: inset 0 0 0 3px #3e413a; }
.h-paint__name { font-size: var(--fs-body); }
.h-paint__name span { color: var(--field-muted); }
.h-paint__spec { font-variant-numeric: tabular-nums; }
.h-paint__use { color: var(--field-muted); font-size: 1rem; max-width: 40ch; }
.h-paint.is-off { display: none; }
@media (min-width: 900px) {
  .h-band__head { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--col-gap); }
  .h-band__list { grid-template-columns: 1fr 1fr; }
}

.h-month {
  background: var(--st-base);
  color: var(--field-ink);
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--gutter);
}
.h-month a { color: var(--field-ink); }
.h-month .ppc-credit { color: #cfe0d6; }
.h-month__disc { width: 100%; outline: 14px solid var(--st-primer); outline-offset: -14px; }
.h-month__disc img { aspect-ratio: 1; }
.h-month__side { display: grid; gap: var(--sp-3); align-content: start; }
.h-month__tabs { display: flex; flex-wrap: wrap; gap: 4px var(--sp-3); margin-top: calc(var(--sp-1) * -1); }
.h-month__tabs button {
  border: 0; background: none; padding: 8px 0; cursor: pointer; font-size: var(--fs-body); color: var(--field-ink);
  text-decoration: none;
}
.h-month__tabs button[aria-selected="true"] { font-weight: 500; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35em; text-decoration-color: var(--accent); }
.h-month__title { font-size: var(--fs-head); }
.h-month__panel { display: grid; gap: 12px; max-width: 36ch; }
.h-month__panel h3 { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.1; }
.h-month__when { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h-month__until { font-weight: 500; }
.js .h-month__panel[data-ppc-idle] { display: none; }
.h-month__rule { font-size: 1rem; max-width: 46ch; color: #d9e7de; }
.h-month__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.h-month__act {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border-radius: var(--round); background: #245a41; text-decoration: none; font-weight: 500;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.h-month__act:hover { background: #1d4c36; }
.h-month__act:active { transform: scale(0.98); }
.h-month__act--ink { background: var(--ink); }
.h-month__act--ink:hover { background: #2b2d28; }
@media (min-width: 960px) {
  .h-month { grid-template-columns: 1fr 1fr; min-height: 88svh; gap: var(--col-gap); padding: 0; }
  .h-month__pic { padding: 40px; align-self: center; }
  .h-month__side { padding: var(--sp-5) var(--gutter) var(--sp-5) 0; align-content: center; gap: var(--sp-3); }
  .h-month__acts { margin-top: var(--sp-2); }
  .h-month__act { min-height: 60px; padding: 0 32px; }
}

.h-games { padding: var(--section) var(--gutter) 0; }
.h-games__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: var(--sp-4); }
.h-games__head h2 { font-size: var(--fs-head); max-width: 16ch; }
.h-games__head p { font-size: 1rem; color: var(--muted); }
.h-games__list { list-style: none; padding: 0; display: grid; gap: 36px var(--sp-5); }
.h-games__list li { display: grid; grid-template-columns: 1fr auto; align-content: start; column-gap: 16px; row-gap: 4px; padding-left: 30px; position: relative; }
.h-games__list li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 16px; height: 16px; border-radius: 50%; background: var(--st-base); }
.h-games__list li:nth-child(2)::before { background: var(--st-wash); }
.h-games__list li:nth-child(3)::before { background: var(--st-dry); }
.h-games__list li:nth-child(4)::before { background: var(--st-primer); }
.h-games__list li:nth-child(5)::before { background: var(--st-edge); }
.h-games__name { font-weight: 500; font-size: var(--fs-body); line-height: 1.3; }
.h-games__side { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 1rem; }
.h-games__text { grid-column: 1 / -1; font-size: 1rem; max-width: 44ch; }
.h-games__more { display: inline-block; margin-top: var(--sp-4); font-weight: 500; padding: 8px 0; }
@media (min-width: 900px) {
  .h-games__list { grid-template-columns: 1fr 1fr; }
}

.h-close {
  position: relative;
  overflow: hidden;
  margin-top: var(--section);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.h-close__copy { order: 1; position: relative; z-index: 2; display: grid; gap: var(--sp-2); justify-items: start; padding: var(--sp-5) var(--gutter) var(--sp-4); }
.h-close__copy h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.h-close__copy p { max-width: 34ch; }
.h-close__fact { font-size: var(--fs-lead); font-family: var(--font-head); font-weight: 300; line-height: 1.25; }
.h-close__disc { order: 2; width: 130vw; margin: 0 0 -40vw 0; padding-left: 8vw; }
.h-close__disc .ppc-disc { width: 100%; outline: 18px solid var(--st-primer); outline-offset: -18px; }
.t-home .ppc-foot { margin-top: 0; }
@media (min-width: 960px) {
  .h-close { min-height: 90svh; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .h-close__disc { position: absolute; width: 74vw; left: -16vw; top: 8%; margin: 0; padding: 0; }
  .h-close__copy { grid-column: 8 / -1; padding: var(--sp-5) var(--gutter) var(--sp-5) 0; }
}

.js .h-open__photo.is-shut img { clip-path: inset(0 0 0 100%); transform: scale(1.12); }
.h-open__photo img { transition: clip-path 1100ms var(--ease-out), transform 1400ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .js .h-open__photo.is-shut img { clip-path: none; transform: none; }
}
