/* The inner pages: a dark heading band, then plain sections of words and
   pictures in the home page's colours. */

/* ---------- a plain page of words ---------- */
.page {
  padding-block: clamp(36px, 6vw, 72px);
}
.page h1,
.page-head h1 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.02em;
}
.page-narrow {
  max-width: 760px;
  display: grid;
  gap: 18px;
}
.page-narrow .btn {
  justify-self: start;
}
.page .label {
  color: var(--timber);
}
.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 18px;
}
.prose ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.prose a {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}
.quote {
  background: var(--note);
  border-left: 5px solid var(--yellow);
  padding: 14px 18px;
  font-weight: 700;
  border-radius: 0 8px 8px 0;
}

/* ---------- the heading band of a picture page ---------- */
.page-head {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(32px, 5vw, 64px);
}
.page-head .wrap {
  display: grid;
  gap: 16px;
}
.page-head .label {
  color: var(--yellow);
}
.page-head .lede {
  color: #dbe3e9;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.jump a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.jump a:hover {
  border-color: var(--yellow);
}

/* ---------- how it works: words beside two phones ---------- */
.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.stage:nth-of-type(odd) .phones {
  order: -1;
}
.stage-copy {
  display: grid;
  gap: 14px;
}
.stage-name {
  color: var(--timber);
}
.stage h2 {
  font-size: clamp(28px, 3.8vw, 44px);
}
.points {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.points li {
  padding-left: 22px;
  position: relative;
  max-width: 56ch;
}
.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 2px 0 var(--timber);
}
.phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
  max-width: 460px;
  justify-self: center;
  width: 100%;
}
.phones .phone:nth-child(2) {
  margin-top: 36px;
}
.closing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

/* ---------- styles: a photo beside the facts ---------- */
.style-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.style-row:nth-of-type(odd) .style-photo {
  order: 2;
}
.style-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}
.style-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.style-copy {
  display: grid;
  gap: 14px;
}
.style-copy h2 {
  font-size: clamp(28px, 3.8vw, 44px);
}
.style-copy .tag {
  justify-self: start;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--plaster);
}
.style-copy .tag.yes {
  border-color: var(--yellow);
  background: var(--note);
}
.facts {
  margin: 4px 0 0;
  display: grid;
  gap: 12px;
}
.facts div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 2px;
}
.facts dt {
  font: 700 13px/1.2 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
}
.shops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shops a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.shops a:hover {
  border-color: var(--yellow);
}
.shops-note {
  margin-top: 18px;
  color: #cbd5dd;
  font-size: 16px;
}

@media (max-width: 880px) {
  .stage-grid,
  .style-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage:nth-of-type(odd) .phones,
  .style-row:nth-of-type(odd) .style-photo {
    order: 0;
  }
  .phones {
    max-width: 380px;
  }
}
