.pantry-project-page {
  --paper: #050505;
  --ink: #f2efe8;
  --muted: #aaa69d;
  --line: #3a3935;
  background: #050505;
  color: #f2efe8;
}

.pantry-project-page .nav {
  background: rgba(5, 5, 5, 0.92);
  border-color: #34332f;
}

.pantry-project-page .nav-submenu {
  background: #11110f;
  border-color: #3f3d38;
}

.pantry-project-page .nav-submenu a:hover,
.pantry-project-page .nav-submenu a:focus-visible {
  background: #f2efe8;
  color: #090909;
}

.pantry-project-page .menu {
  color: #f2efe8;
  border-color: #57534b;
}

.pantry-pay-shell {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 100px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.pantry-pay-story .eyebrow,
.pantry-pay-card .eyebrow {
  color: #aaa398;
}

.pantry-pay-story h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  color: #f2efe8;
  margin: 0.18em 0 0.3em;
}

.pantry-pay-lead {
  color: #c4c0b8;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  max-width: 42rem;
}

.pantry-pay-story img {
  display: block;
  width: 100%;
  height: auto;
  margin: 38px 0 22px;
  border: 1px solid #34332f;
}

.pantry-pay-card {
  background: #11110f;
  border: 1px solid #3f3d38;
  padding: clamp(24px, 4vw, 42px);
  position: sticky;
  top: 100px;
}

.pantry-pay-card h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #f2efe8;
  margin: 0.25em 0;
}

.pantry-pay-card > p {
  color: #aaa69d;
  line-height: 1.55;
}

.pantry-pay-card fieldset {
  border: 0;
  padding: 0;
  margin: 30px 0;
}

.pantry-pay-card legend,
.pantry-pay-card form > label {
  display: block;
  color: #d4d0c8;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.pantry-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pantry-amounts input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pantry-amounts span {
  display: block;
  border: 1px solid #57534b;
  background: #181816;
  color: #f2efe8;
  padding: 15px;
  text-align: center;
  font-weight: 850;
  cursor: pointer;
}

.pantry-amounts input:checked + span {
  background: #d0aa52;
  color: #090909;
  border-color: #d0aa52;
}

.pantry-custom {
  display: block;
  color: #d4d0c8;
  font-size: 0.78rem;
  font-weight: 750;
  margin: 22px 0 8px;
}

.pantry-custom-field {
  display: flex;
  background: #181816;
  border: 1px solid #57534b;
  align-items: center;
}

.pantry-custom-field span {
  padding-left: 14px;
  font-weight: 800;
}

.pantry-custom-field input,
#pantry-email {
  width: 100%;
  border: 1px solid #57534b;
  background: #181816;
  color: #f2efe8;
  padding: 14px;
  font: inherit;
  border-radius: 0;
}

.pantry-custom-field input {
  border: 0;
}

.pantry-custom-field input:focus,
#pantry-email:focus {
  outline: 2px solid #d0aa52;
  outline-offset: 2px;
}

.pantry-pay-card small {
  display: block;
  color: #8c8880;
  margin-top: 7px;
}

.pantry-pay-card button {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
  background: #f2efe8;
  color: #090909;
  border-color: #f2efe8;
}

.pantry-pay-card button:hover {
  background: #d0aa52;
  border-color: #d0aa52;
  color: #090909;
}

.pantry-pay-card button:disabled {
  opacity: 0.55;
}

.pantry-pay-note {
  border-top: 1px solid #3f3d38;
  margin-top: 28px;
  padding-top: 20px;
}

.pantry-pay-note strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pantry-pay-note p,
.pantry-contact,
#pantry-checkout-status {
  color: #99958d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.pantry-contact a,
.pantry-project-page .text-link {
  color: #f2efe8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pantry-project-page main.wrap.section {
  min-height: calc(100vh - 240px);
  padding-top: 120px;
  border-color: #34332f;
}

.pantry-project-page main.wrap.section h1 {
  color: #f2efe8;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  max-width: 900px;
}

.pantry-project-page main.wrap.section > p {
  color: #aaa69d;
  max-width: 760px;
}

@media (max-width: 860px) {
  .pantry-project-page .nav-links {
    background: #11110f;
  }

  .pantry-pay-shell {
    grid-template-columns: 1fr;
  }

  .pantry-pay-card {
    position: static;
  }

  .pantry-pay-story h1 {
    font-size: clamp(3.8rem, 12vw, 6.5rem);
  }
}

@media (max-width: 520px) {
  .pantry-pay-shell {
    width: min(calc(100% - 30px), 1240px);
    padding: 65px 0 80px;
  }

  .pantry-pay-card {
    padding: 22px;
  }

  .pantry-pay-story h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }
}
