.sub-wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.sub-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}

.sub-intro {
  padding-top: 160px;
  text-align: center;
}

.sub-intro h1,
.sub-error h1 {
  margin: 25px auto 0;
  font-size: clamp(50px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.1;
}

.sub-card,
.sub-article-cover {
  border: 7px solid #f8f8f8;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 7px #0000000b, 0 13px 20px #0000000d;
}

.sub-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 55px;
  min-height: 474px;
}

.sub-card-image {
  position: relative;
  overflow: hidden;
  background: #e7e7e7;
}

.sub-card-image img,
.sub-article-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sub-card-image img {
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.sub-featured .sub-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, #fff 97%);
  pointer-events: none;
}

.sub-card:hover img,
.sub-card:focus-visible img {
  transform: scale(1.035);
}

.sub-card-copy {
  padding: 24px 20px 23px 16px;
}

.sub-featured .sub-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 14px 22px 8px;
}

.sub-card-copy .sub-tag {
  padding: 6px 12px;
  background: #efefef;
  font-size: 13px;
}

.sub-card-copy h2 {
  margin: 17px 0 12px;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.05em;
}

.sub-featured h2 {
  margin: 25px 0 18px;
  max-width: 510px;
  font-size: clamp(33px, 3vw, 42px);
}

.sub-card-copy p {
  color: #737373;
  font-size: 15px;
  line-height: 1.54;
  letter-spacing: -.012em;
}

.sub-featured .sub-card-copy p {
  max-width: 520px;
  font-size: 18px;
}

.sub-featured-meta {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
}

.sub-featured-meta .brand {
  font-size: 24px;
}

.sub-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  margin-bottom: clamp(100px, 18vw, 260px);
}

.sub-card-grid .sub-card-image {
  aspect-ratio: 1.32;
}

.sub-error {
  min-height: 850px;
  padding: 110px 24px;
  display: grid;
  place-items: center;
  text-align: center;
}

.sub-error h1 {
  margin-top: 26px;
  font-size: clamp(64px, 5vw, 72px);
}

.sub-error .sub-button {
  margin-top: 33px;
}

.sub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.035em;
  transition: background-color .2s, transform .3s;
}

.sub-button:hover {
  transform: translateY(-2px);
  background: #272727;
}

.sub-article {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  padding: 160px 0 110px;
}

.sub-article-meta {
  color: #686868;
  font-size: 14px;
}

.sub-article h1 {
  max-width: 680px;
  margin: 16px 0 24px;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.sub-article-lead {
  margin-bottom: 32px;
  color: #717171;
  font-size: 18px;
  line-height: 1.48;
}

.sub-article-cover {
  margin: 0 0 57px;
  border-width: 6px;
  aspect-ratio: 1.45;
}

.sub-article-copy {
  font-size: 17px;
  line-height: 1.75;
}

.sub-article-copy p,
.sub-article-copy ul {
  margin: 0 0 22px;
}

.sub-article-copy h2 {
  margin: 39px 0 15px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.3;
}

.sub-article-copy li + li {
  margin-top: 6px;
}

.sub-article-back {
  display: inline-block;
  margin-top: 24px;
  color: #606060;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sub-footer {
  padding: 88px 0 42px;
  background: #000;
  color: #fff;
}

.sub-footer h2 {
  margin: 32px 0 19px;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.065em;
}

.sub-footer .sub-footer-desc {
  max-width: 390px;
  color: #a6a6a6;
  font-size: 17px;
  line-height: 1.55;
}

.sub-footer .sub-button {
  margin-top: 26px;
  background: #fff;
  color: #000;
}

.sub-footer .sub-button:hover {
  background: #e8e8e8;
}

.sub-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-top: 96px;
  color: #a0a0a0;
  font-size: 14px;
  letter-spacing: -.02em;
}

.sub-footer-meta nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.sub-footer-meta a:hover {
  color: #fff;
}

.sub-reveal {
  animation: sub-enter .85s cubic-bezier(.22, 1, .36, 1) backwards;
}

.sub-featured.sub-reveal {
  animation-delay: .1s;
}

@keyframes sub-enter {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 809px) {
  .sub-wrap {
    width: calc(100% - 40px);
  }

  .sub-intro {
    padding-top: 129px;
  }

  .sub-intro h1,
  .sub-error h1 {
    font-size: clamp(32px, 8vw, 55px);
  }

  .sub-featured {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .sub-featured .sub-card-image {
    aspect-ratio: 1.4;
  }

  .sub-featured .sub-card-image::after {
    background: linear-gradient(180deg, transparent 90%, #fff);
  }

  .sub-featured .sub-card-copy {
    padding: 20px;
  }

  .sub-featured h2 {
    margin-top: 17px;
    font-size: 29px;
  }

  .sub-featured .sub-card-copy p {
    font-size: 16px;
  }

  .sub-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .sub-error {
    min-height: 730px;
  }

  .sub-article {
    width: calc(100% - 40px);
    padding: 135px 0 82px;
  }

  .sub-article h1 {
    font-size: clamp(32px, 8vw, 51px);
  }

  .sub-article-cover {
    margin-bottom: 36px;
  }

  .sub-article-copy h2 {
    font-size: 27px;
  }

  .sub-footer {
    padding-top: 64px;
  }

  .sub-footer h2 {
    font-size: 44px;
  }

  .sub-footer-meta {
    flex-direction: column;
    margin-top: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sub-reveal {
    animation: none;
  }
}
