.works-page .global-nav a[href*="/works/"] { color: var(--rose-dark); }

.works-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 110px;
  background: var(--ivory);
}

.works-hero::before {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(215,127,136,.25);
  border-radius: 50%;
  content: "";
}

.works-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  gap: 68px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.works-hero__title > p {
  margin: 0 0 18px;
  color: var(--rose-dark);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.works-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.6vw, 70px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
}

.works-hero__intro {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(75,66,63,.12);
}

.works-hero__intro p {
  margin: 0 0 12px;
  color: var(--sub);
  font-size: 16px;
  line-height: 1.9;
}

.works-hero__mark {
  position: absolute;
  z-index: 1;
  top: 62px;
  right: 8vw;
  color: rgba(215,127,136,.10);
  font-family: var(--font-en);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.works-list {
  padding: 132px 0 148px;
  background: var(--white);
}

.works-grid {
  display: grid;
  align-items: start;
  gap: 96px 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.works-grid > .works-item {
  min-width: 0;
  margin: 0;
}

.works-grid > .works-item:nth-child(2n) { margin-top: 76px; }

.works-item__visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 2;
  background: transparent;
}

.works-item__visual img {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  object-fit: contain;
}

.works-item__body {
  margin: 0;
  padding: 28px 4px 0;
}

.works-item__body h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.5;
}

.works-item__body > p {
  max-width: 570px;
  margin: 0;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.9;
}

.works-item__actions {
  margin-top: 24px;
}

.works-item__actions .wp-block-button__link,
.works-item__actions .swell-block-button__link,
.works-item__actions a {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 10px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(75,66,63,.4);
  border-radius: 0;
  background: transparent;
  color: var(--brown);
  font-size: 14px;
  font-weight: 600;
}

.works-item__actions a::after {
  color: var(--rose-dark);
  content: "↗";
}

.works-cta {
  padding: 104px 0;
  background: var(--sage-soft);
}

.works-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.works-cta__inner > div > p {
  margin: 0 0 12px;
  color: #667862;
  font-size: 13px;
  font-weight: 600;
}

.works-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.55;
}

.works-cta .button { flex: 0 0 auto; }

@media (max-width: 900px) {
  .works-hero__layout { gap: 42px; grid-template-columns: 1fr; }
  .works-hero__intro { max-width: 720px; }
  .works-grid { gap: 68px 32px; }
  .works-grid > .works-item:nth-child(2n) { margin-top: 48px; }
  .works-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .works-hero { padding: 130px 0 76px; }
  .works-hero__layout { gap: 32px; }
  .works-hero h1 { font-size: 42px; }
  .works-hero__intro p { font-size: 15px; }
  .works-hero__mark { top: 82px; right: -24px; font-size: 180px; }
  .works-hero::before { right: -132px; bottom: -118px; width: 250px; height: 250px; }
  .works-list { padding: 76px 0 84px; }
  .works-grid { gap: 54px; grid-template-columns: 1fr; }
  .works-grid > .works-item:nth-child(2n) { margin-top: 0; }
  .works-item__body { padding-top: 22px; }
  .works-item__body h2 { font-size: 25px; }
  .works-cta { padding: 72px 0; }
  .works-cta h2 { font-size: 29px; }
  .works-cta h2 br { display: none; }
  .works-cta .button { width: 100%; }
}
