.wh-stack,
.wh-feature {
  width: min(calc(100% - 40px), 1160px);
  margin-inline: auto;
  color: #253931;
}

.wh-stack {
  padding-block: clamp(34px, 6vw, 76px);
}

.wh-stack > h2,
.wh-feature h2 {
  margin: 0 0 .65rem;
  color: #1a3a5c;
  font-size: clamp(1.4rem, 3.1vw, 2.4rem);
  line-height: 1.38;
}

.wh-stack > p {
  max-width: 52rem;
  margin: 0 0 1.35rem;
}

.wh-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-block: clamp(22px, 4vw, 60px);
  padding: clamp(19px, 3.8vw, 44px);
  border: 1px solid #d9e1d8;
  border-top: 4px solid #1a3a5c;
  border-radius: 8px;
  background: #f6f8f3;
}

.wh-feature-copy,
.wh-step-copy {
  min-width: 0;
}

.wh-feature-copy > p {
  margin-block: 0 1rem;
}

.wh-checks {
  margin: .85rem 0 0;
}

.wh-checks > div {
  margin-top: .65rem;
  padding-top: .6rem;
  border-top: 1px solid #dce3da;
}

.wh-checks dt {
  color: #1a3a5c;
  font-weight: 700;
}

.wh-checks dd {
  margin: .15rem 0 0;
}

.wh-photo {
  margin: 0;
  min-width: 0;
}

.wh-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 5px;
  background: #e5e9df;
}

.wh-photo--keys img { object-position: center 54%; }
.wh-photo--sakai img { object-position: center 44%; }
.wh-feature .wh-photo img { aspect-ratio: 4 / 3; }

.wh-photo figcaption {
  padding-block: .55rem .1rem;
  color: #324a40;
  font-size: .94rem;
  line-height: 1.7;
  text-align: start;
}

.wh-photo figcaption small {
  display: block;
  margin-top: .15rem;
  color: #52645d;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.wh-photo a,
.wh-stack h3 a,
.wh-links a:not(.button-green) {
  color: #235545;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.wh-photo a:focus-visible,
.wh-links a:focus-visible,
.wh-jumps a:focus-visible,
.wh-stack h3 a:focus-visible {
  outline: 2px solid #a05c17;
  outline-offset: 4px;
}

.wh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(13px, 2vw, 26px);
}

.wh-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wh-cards--stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.wh-cards article {
  padding: clamp(12px, 1.55vw, 22px);
  border: 1px solid #dfe3d9;
  border-radius: 8px;
  background: #fbfaf6;
  min-width: 0;
}

.wh-cards h3 {
  margin: 0 0 .65rem;
  color: #1a3a5c;
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.wh-cards p {
  margin: 0;
}

.wh-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 1.35rem;
}

.wh-links .button-green {
  white-space: normal;
  text-align: center;
}

.wh-jumps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin: 1.2rem 0 .85rem;
}

.wh-jumps a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .7rem;
  border: 1px solid #cbd9cd;
  border-radius: 5px;
  background: #eef4ec;
  color: #1a3a5c;
  font-size: .94rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.wh-flow {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.wh-step {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid #dce3da;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 105px;
}

.wh-step h3 {
  margin: 0 0 .6rem;
  color: #1a3a5c;
  font-size: clamp(1.22rem, 2.45vw, 1.8rem);
  line-height: 1.4;
}

.wh-step h3 small {
  display: block;
  margin-bottom: .22rem;
  color: #85511d;
  font-size: .78rem;
}

.wh-step p { margin: 0; }

.wh-reference {
  padding: .75rem .95rem;
  border-left: 3px solid #b38b56;
  background: #faf5e9;
  color: #403722;
  font-size: .94rem;
  line-height: 1.65;
}

.wh-hero-credit {
  display: inline-block;
  margin-top: .45rem;
  padding: .2rem .5rem;
  background: #203b32;
  color: #fff;
  font-size: .76rem;
}

.wh-stack > .wh-story-note {
  margin: .85rem 0 0;
  color: #52645d;
  font-size: .9rem;
}

.wh-inline-photo {
  width: min(100%, 690px);
  margin: 1.1rem 0 .2rem;
}

.wh-inline-photo > p { margin-block: 0 .38rem; }

.wh-privacy {
  margin-block: 1.25rem;
}

.wh-privacy-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin: .8rem 0;
  padding: 0;
  list-style: none;
}

.wh-privacy-fields > li {
  padding: .7rem;
  border: 1px solid #dce3da;
  background: #fff;
}

.wh-privacy-fields strong {
  display: block;
  color: #1a3a5c;
}

@media (max-width: 840px) {
  .wh-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wh-jumps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 630px) {
  .wh-stack,
  .wh-feature { width: calc(100% - 30px); }
  .wh-cards,
  .wh-cards--four,
  .wh-cards--stories,
  .wh-feature,
  .wh-privacy-fields,
  .wh-step { grid-template-columns: minmax(0, 1fr); }
  .wh-feature .wh-photo img { aspect-ratio: 5 / 3; }
  .wh-step { scroll-margin-top: 135px; }
}
