/* My Purpose — Peter's own page.
   Scoped to .mine so the rest of the site is untouched. */

.mine {
  background: #07070b;
  color: #f4efe6;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

.mine .wrap {
  width: min(58rem, calc(100% - clamp(1.5rem, 5vw, 4rem)));
  margin-inline: auto;
  padding: clamp(4.75rem, 12vh, 7.5rem) 0 clamp(5.5rem, 14vh, 8rem);
}

.mine .prose {
  max-width: 40rem;
}

.mine h1 {
  margin: 0 0 1.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #f7f3ea;
}

.mine h2 {
  margin: 3.4rem 0 1.05rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #f7f3ea;
}

.mine p {
  margin: 0 0 1.15rem;
  color: #e4d9c8;
}

.mine .equation {
  margin: 1.7rem 0 1.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f7f3ea;
}

.mine .ask {
  margin: 1.6rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  color: #f7f3ea;
}

.mine .turn {
  margin: 2.1rem 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f7f3ea;
}

.mine figure {
  width: min(40rem, 100%);
  margin: 2.4rem 0 2.6rem;
}

.mine figure img,
.mine .zoom img {
  display: block;
  width: 100%;
  height: auto;
}

.mine .zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.mine .zoom__cue {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8f8476;
}

.mine .lightbox {
  width: min(92vw, 92vh);
  max-width: 1254px;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.mine .lightbox::backdrop {
  background: rgba(7, 7, 11, 0.92);
}

.mine .lightbox img {
  display: block;
  width: 100%;
  height: auto;
}

.mine .lightbox__close {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4efe6;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.mine a {
  color: #f0e2c4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.mine a:hover {
  color: #f4d568;
}

.mine :focus-visible {
  outline: 2px solid #c9951e;
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .mine .wrap {
    padding-bottom: 6.5rem;
  }
}
