/* Static pages: free printables and guides for practices. Same ground, type and colours as the landing
   (landing.css supplies the tokens under body.lr-brand); these rules only add what those pages need. */
.pg main {
  padding: 0;
}
.pg-top {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 850;
  font-size: 0.92rem;
  color: #fff5dfd9;
  text-underline-offset: 4px;
}
.pg h1 {
  font-size: clamp(2.1rem, 7.4vw, 4rem);
  max-width: 15ch;
}
.pg h2 {
  font-size: clamp(1.7rem, 4.6vw, 2.9rem);
  max-width: 18ch;
}
.pg h3 {
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pg a:not(.lr-cta):not(.brand):not(.lr-head-cta) {
  font-weight: 850;
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.pg-lead {
  margin-top: 12px;
  max-width: 40ch;
  font-size: clamp(1.04rem, 3.8vw, 1.22rem);
  font-weight: 600;
  line-height: 1.45;
  color: #fff5dfd9;
}
.pg-small {
  max-width: 40ch;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  color: #fff5dfb3;
}

/* Opening: the words, the two actions, and the real sheets fanned on the table. */
.pg-hero {
  display: grid;
  gap: 30px;
  padding: 14px max(20px, 6vw) 52px;
  overflow: hidden;
}
.pg-hero-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: center;
}
.pg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 4px;
}
.pg-fan {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 0.92;
  margin: 6px auto 0;
}
.pg-fan img {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 56%;
  height: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow:
    0 2px 0 #e6d5ad,
    0 22px 40px -20px #000c;
  translate: -50% 0;
  transform-origin: 50% 120%;
}
.pg-fan img:nth-child(1) {
  rotate: -13deg;
}
.pg-fan img:nth-child(2) {
  rotate: 11deg;
}
.pg-fan img:nth-child(3) {
  rotate: -1.5deg;
}
/* One moment on arrival: the sheets are dealt out from a stack. */
@media (prefers-reduced-motion: no-preference) {
  .pg-fan img {
    animation: pg-deal 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.1) backwards;
  }
  .pg-fan img:nth-child(2) {
    animation-delay: 0.08s;
  }
  .pg-fan img:nth-child(3) {
    animation-delay: 0.16s;
  }
  @keyframes pg-deal {
    from {
      rotate: 0deg;
      opacity: 0;
      translate: -50% 8%;
    }
  }
}

/* Paper sections. */
.pg-paper {
  padding: clamp(40px, 7vw, 88px) max(20px, 6vw);
  background: var(--paper);
  color: var(--ink);
}
.pg-paper + .pg-paper {
  padding-top: 0;
}
.pg-paper > p,
.pg-night > p {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.55;
}
.pg-paper > p {
  color: #2a4846;
}
.pg-sheets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.pg-sheets figure {
  margin: 0;
}
.pg-sheets img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8.5 / 11;
  border-radius: 6px;
  background: #fff;
  box-shadow:
    0 2px 0 #e6d5ad,
    0 12px 22px -14px #0f2e2d99;
}
.pg-sheets figcaption {
  margin-top: 9px;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
  color: #2a4846;
}
.pg-tips {
  display: grid;
  gap: 18px;
  max-width: 46rem;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.pg-tips li {
  padding-top: 16px;
  border-top: 2px solid #0f2e2d1f;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2a4846;
}
.pg-tips b {
  display: block;
  font-size: 1.1em;
  font-weight: 900;
  color: var(--ink);
}
.pg-links {
  display: grid;
  gap: 10px;
  max-width: 46rem;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2a4846;
}

/* The same visit as a game, and the line for practices. */
.pg-play {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: clamp(36px, 6vw, 72px) max(20px, 6vw);
  background: var(--deep);
}
.pg-play img {
  width: min(46vw, 190px);
  justify-self: center;
}
.pg-play div,
.pg-night {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.pg-play p,
.pg-night p {
  max-width: 44ch;
  font-size: 1.06rem;
  line-height: 1.5;
  color: #fff5dfd9;
}
.pg-night {
  padding: clamp(40px, 7vw, 88px) max(20px, 6vw);
}
.pg-night .lr-card {
  margin-top: 10px;
}

/* Hub tiles. */
.pg-tiles {
  display: grid;
  gap: 26px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.pg-tiles a.pg-tile {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}
.pg-tile img {
  width: 104px;
  height: auto;
  aspect-ratio: 8.5 / 11;
  border-radius: 5px;
  background: #fff;
  box-shadow:
    0 2px 0 #e6d5ad,
    0 10px 18px -12px #0f2e2d99;
  rotate: -2deg;
}
.pg-tile:nth-child(even) img {
  rotate: 2deg;
}
.pg-tile b {
  display: block;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.pg-tile span {
  display: block;
  margin-top: 6px;
  line-height: 1.42;
  color: #2a4846;
}

/* Guides: one readable column on paper. */
.pg-article {
  padding: clamp(28px, 5vw, 64px) max(20px, 6vw) clamp(40px, 7vw, 80px);
  background: var(--paper);
  color: var(--ink);
}
.pg-article > * {
  max-width: 40rem;
}
.pg-article h1 {
  max-width: 17ch;
  font-size: clamp(2rem, 6.6vw, 3.4rem);
}
.pg-article .pg-date {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 750;
  color: #5b6f6c;
}
.pg-article .pg-short {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 6px solid var(--sun);
  background: #fffaf0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.5;
}
.pg-article h2 {
  margin-top: 40px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  max-width: 22ch;
}
.pg-article h3 {
  margin-top: 26px;
}
.pg-article p,
.pg-article li {
  font-size: 1.07rem;
  font-weight: 600;
  line-height: 1.62;
  color: #2a4846;
}
.pg-article p {
  margin-top: 12px;
}
.pg-article ul,
.pg-article ol {
  margin: 12px 0 0;
  padding-left: 1.2em;
}
.pg-article li + li {
  margin-top: 8px;
}
.pg-article b {
  font-weight: 900;
  color: var(--ink);
}
.pg-copy {
  position: relative;
  margin-top: 14px;
  padding: 16px 16px 14px;
  border: 2px dashed #8aa09c;
  border-radius: 14px;
  background: #fffefa;
}
.pg-copy p {
  margin: 0;
  font-size: 1.02rem;
  white-space: pre-line;
}
.pg-copy button,
.pg-form button.pg-quiet {
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  border: 2px solid #0f2e2d59;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  font-size: 0.92rem;
  cursor: pointer;
}
.pg-sources {
  font-size: 0.96rem;
}
.pg-sources li {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}
.pg-article a:focus-visible,
.pg-paper a:focus-visible,
.pg-article button:focus-visible,
.pg-form button:focus-visible {
  outline-color: var(--ink);
}

/* The named story form. */
.pg-form {
  width: 100%;
  max-width: 560px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}
.pg-form[hidden] {
  display: none;
}
.pg-form label:not(.checkbox) {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  font-weight: 850;
}
.pg-form label[hidden] {
  display: none;
}
.pg-form .fine {
  color: #2a4846;
}
.pg-form #story-status:not(:empty) {
  margin: 10px 0;
  font-weight: 800;
  color: #993f29;
}
.pg-form .lr-cta {
  margin-top: 6px;
}
.pg-ready {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.pg-ready p {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.5;
  color: #2a4846;
}
.pg-ready h2 {
  font-size: 1.7rem;
}

@media (min-width: 960px) {
  .pg-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 4vw;
    padding: 30px max(28px, 6vw) 76px;
  }
  .pg-fan {
    width: min(100%, 520px);
  }
  .pg-play {
    grid-template-columns: 220px 1fr;
    gap: 4vw;
  }
  .pg-play img {
    width: 200px;
  }
  .pg-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 5vw;
  }
  .pg-tiles a.pg-tile {
    grid-template-columns: 128px 1fr;
  }
  .pg-tile img {
    width: 128px;
  }
  .pg-night.pg-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 6vw;
    align-items: center;
  }
  .pg-sheets {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    max-width: 1100px;
  }
}
