.jp-editorial {
  --jpe-night: #251e18;
  --jpe-night-line: #6a5340;
  --jpe-cream: #f8f4ed;
  --jpe-rule: #d6c6b3;
}
.jp-editorial main { background: var(--jpe-cream); }
.jp-editorial main :is(h1, h2) { text-wrap: balance; }
.jp-editorial main p + p { margin-top: 1.15rem; }
.jp-editorial main :is(p, li) { overflow-wrap: break-word; }
.jp-editorial .jpe-hero {
  position: relative;
  padding: calc(var(--jp-header-height) + clamp(2rem, 6vw, 6rem)) 0 clamp(3rem, 7vw, 7rem);
  background-color: var(--jp-dark);
  background-image: linear-gradient(90deg, #181512 4%, #181512e8 45%, #18151268 100%), var(--jpe-hero);
  background-position: center, center 48%;
  background-size: cover;
  color: var(--jp-paper);
}
.jp-editorial.jpe-maker .jpe-hero {
  background-image: none;
}
.jp-editorial .jpe-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .72fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}
.jp-editorial .jpe-hero h1 {
  margin: 1.15rem 0 1.55rem;
  font-size: clamp(3.1rem, 6vw, 6.6rem);
  line-height: 1.07;
  letter-spacing: -.04em;
}
.jp-editorial .jpe-hero h1 span { display: block; }
.jp-editorial .jpe-hero h1 span + span { color: var(--jp-gold); }
html[lang="zh-Hans"] .jp-editorial .jpe-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5.35rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.jp-editorial .jpe-hero :is(p, li) { color: #eadccc; }
.jp-editorial .jpe-hero p { max-width: 65ch; }
.jp-editorial .jpe-hero-badge,
.jp-editorial .jpe-kicker {
  color: var(--jp-bronze);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.jp-editorial .jpe-hero-badge,
.jp-editorial :is(.jpe-dark, .jpe-enquiry, .jpe-details, .jpe-contact) .jpe-kicker { color: var(--jp-gold); }
.jp-editorial .jpe-lead { font: 400 clamp(1.07rem, 1.35vw, 1.23rem)/1.75 system-ui, sans-serif; }
.jp-editorial .jpe-kicker + h2 { margin-top: .6rem; }
.jp-editorial .jpe-section h2 { margin-bottom: 1.35rem; }
.jp-editorial .jpe-line { width: 3.4rem; height: 1px; margin: 1.05rem 0; background: currentColor; opacity: .38; }
.jp-editorial .jpe-center > .jpe-line { margin-inline: auto; }
.jp-editorial .jpe-hero-panel,
.jp-editorial .jpe-hero-card {
  padding: clamp(1.25rem, 3vw, 2.6rem);
  background: #1d1713e8;
  border: 1px solid var(--jpe-night-line);
}
.jp-editorial .jpe-hero-card {
  max-width: 520px;
  padding: 0;
  background: transparent;
  border: 0;
}
.jp-editorial .jpe-founder {
  width: 100%;
  max-height: 570px;
  aspect-ratio: .91;
  border-radius: .6rem;
  object-fit: cover;
  object-position: center 26%;
}
.jp-editorial .jpe-hero-card img:not(.jpe-founder) {
  width: min(155px, 55%);
  max-height: 84px;
  margin: 1rem .55rem .4rem;
  object-fit: contain;
  object-position: left;
}
.jp-editorial .jpe-hero-card ul { margin: .7rem .55rem .5rem; }
.jp-editorial main ul { padding-inline-start: 1.12rem; }
.jp-editorial main li + li { margin-top: .4rem; }
.jp-editorial .jpe-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.85rem;
}
.jp-editorial .jpe-buttons.center { justify-content: center; }
.jp-editorial .jpe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 650 .89rem/1.35 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
.jp-editorial :is(.jpe-btn-gold, .jpe-btn-dark) { background: var(--jp-dark); color: var(--jp-paper); }
.jp-editorial :is(.jpe-btn-gold, .jpe-btn-dark):hover { background: #684a34; }
.jp-editorial .jpe-btn-light { border-color: currentColor; }
.jp-editorial .jpe-btn-light:hover { text-decoration: underline; text-underline-offset: 4px; }
.jp-editorial :is(.jpe-hero, .jpe-dark) .jpe-btn-gold { color: var(--jp-dark); background: var(--jp-paper); }
.jp-editorial :is(.jpe-hero, .jpe-dark) .jpe-btn-gold:hover { background: #ebc895; }
.jp-editorial :is(.jpe-hero, .jpe-dark, .jpe-enquiry, .jpe-details, .jpe-contact) :focus-visible { outline-color: var(--jp-gold); }
.jp-editorial .jpe-section { padding-block: clamp(4rem, 8vw, 7.6rem); }
.jp-editorial .jpe-section[id] { scroll-margin-top: 1rem; }
.jp-editorial .jpe-center { max-width: 820px; margin-inline: auto; text-align: center; }
.jp-editorial .jpe-center .jpe-lead { margin-inline: auto; max-width: 62ch; }
.jp-editorial :is(.jpe-feature, .jpe-custom, .jpe-choose, .jpe-path, .jpe-final, .jpe-promise) {
  background: #eee3d2;
  border-block: 1px solid var(--jpe-rule);
}
.jp-editorial :is(.jpe-dark, .jpe-enquiry, .jpe-details, .jpe-contact) {
  background: var(--jpe-night);
  color: var(--jp-paper);
}
.jp-editorial .jpe-two,
.jp-editorial :is(.jpe-commission-grid, .jpe-enquiry-grid, .jpe-contact-grid, .jpe-details-grid, .jpe-visit-grid, .jpe-faq-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 6vw, 5rem);
}
.jp-editorial :is(.jpe-feature-img, .jpe-image-card) img { width: 100%; height: auto; object-fit: cover; }
.jp-editorial .jpe-image-card img { max-height: 520px; }
.jp-editorial .jpe-feature-img { border: 1px solid var(--jpe-rule); background: #f8f2e7; }
.jp-editorial .jpe-feature-img img { mix-blend-mode: multiply; }
.jp-editorial :is(.jpe-quote, .jpe-poem) {
  margin-top: 1.35rem;
  padding: .5rem 0 .5rem 1.1rem;
  border-inline-start: 2px solid var(--jp-bronze);
  font: italic 400 1.25rem/1.45 var(--jp-serif);
}
.jp-editorial :is(.jpe-series-grid, .jpe-grade-grid, .jpe-choose-grid, .jpe-promise-grid, .jpe-philosophy-grid, .jpe-custom-grid, .jpe-blog-grid, .jpe-path-grid) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2.8vw, 1.7rem);
  margin-top: clamp(1.2rem, 4vw, 2.6rem);
}
.jp-editorial :is(.jpe-grade-grid, .jpe-choose-grid, .jpe-promise-grid, .jpe-path-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jp-editorial .jpe-promise { padding-block: 1.7rem; }
.jp-editorial .jpe-promise-grid { margin-top: 0; }
.jp-editorial :is(.jpe-series-card, .jpe-choose-card, .jpe-philosophy-card, .jpe-custom-card, .jpe-path-card, .jpe-promise-card, .jpe-faq-item, .jpe-process-card) {
  border-top: 1px solid var(--jpe-rule);
  padding: 1.45rem 0;
}
.jp-editorial :is(.jpe-grade-card, .jpe-milestone) {
  border-top: 1px solid var(--jpe-night-line);
  padding: 1.45rem 0;
}
.jp-editorial .jpe-promise-card strong,
.jp-editorial .jpe-milestone strong { display: block; font: 400 1.42rem/1.15 var(--jp-serif); margin-bottom: .45rem; }
.jp-editorial .jpe-path-card { display: flex; flex-direction: column; gap: .5rem; }
.jp-editorial .jpe-path-card:hover strong { text-decoration: underline; }
.jp-editorial :is(.jpe-path-card strong, .jpe-path-card > span, .jpe-choose-num) { color: var(--jp-bronze); font-size: .82rem; }
.jp-editorial .jpe-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 3vw, 2rem);
  margin-top: clamp(1.45rem, 5vw, 3rem);
}
.jp-editorial :is(.jpe-art, .jpe-blog-card) { display: flex; flex-direction: column; border: 1px solid var(--jpe-rule); background: #fff8ed; }
.jp-editorial :is(.jpe-art, .jpe-blog-card) img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f3e9d8;
  border-bottom: 1px solid var(--jpe-rule);
}
.jp-editorial .jpe-blog-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.jp-editorial .jpe-art img { mix-blend-mode: multiply; }
.jp-editorial :is(.jpe-art-caption, .jpe-blog-body) { padding: 1rem; }
.jp-editorial :is(.jpe-art-caption, .jpe-blog-body) span {
  color: var(--jp-bronze);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .07em;
}
.jp-editorial :is(.jpe-art-caption, .jpe-blog-body) h3 { margin-block: .35rem; }
.jp-editorial :is(.jpe-art, .jpe-blog-card):hover { border-color: var(--jp-bronze); }
.jp-editorial :is(.jpe-contact-detail, .jpe-detail, .jpe-info-card) {
  padding-block: .85rem;
  border-bottom: 1px solid var(--jpe-night-line);
}
.jp-editorial :is(.jpe-contact-detail, .jpe-detail) > :is(strong, span, a) { display: block; }
.jp-editorial :is(.jpe-info-card, .jpe-contact-details, .jpe-social-row) a { text-decoration: underline; text-underline-offset: .25em; }
.jp-editorial .jpe-form-box {
  background: var(--jp-pale);
  color: var(--jp-ink);
  padding: clamp(1rem, 4vw, 2.7rem);
}
.jp-editorial .jpe-form-box :focus-visible { outline-color: var(--jp-bronze); }
.jp-editorial .jpe-form-box .jpe-kicker { color: var(--jp-bronze); }
.jp-editorial .jpe-form { display: grid; gap: .85rem; margin-top: 1.25rem; }
.jp-editorial .jpe-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.jp-editorial .jpe-field { display: grid; gap: .32rem; min-width: 0; }
.jp-editorial .jpe-field label { font-size: .9rem; font-weight: 650; }
.jp-editorial .jpe-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: .65rem;
  border: 1px solid #ad9d89;
  border-radius: 0;
  background: #fffcf8;
  color: var(--jp-ink);
  font: 400 1rem/1.35 system-ui, sans-serif;
}
.jp-editorial .jpe-field textarea { resize: vertical; }
.jp-editorial .jpe-form-note, .jp-editorial .jpe-final-note { font-size: .85rem; }
.jp-editorial .jpe-submit { cursor: pointer; justify-self: start; }
.jp-editorial .jpe-map-card { padding: 1.65rem; border: 1px solid var(--jpe-rule); background: #eee3d2; }
.jp-editorial .jpe-social-row { display: flex; justify-content: center; gap: .7rem 1rem; flex-wrap: wrap; margin-top: 1.1rem; }
.jp-editorial .jp-header .jp-nav [aria-current] { color: var(--jp-gold); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 980px) {
  .jp-editorial :is(.jpe-choose-grid, .jpe-grade-grid, .jpe-promise-grid, .jpe-path-grid, .jpe-masonry) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .jp-editorial .jpe-hero { padding-top: 11rem; background-position: center, 63% center; }
  .jp-editorial .jpe-hero-grid,
  .jp-editorial .jpe-two,
  .jp-editorial :is(.jpe-commission-grid, .jpe-enquiry-grid, .jpe-contact-grid, .jpe-details-grid, .jpe-visit-grid, .jpe-faq-grid, .jpe-series-grid, .jpe-philosophy-grid, .jpe-custom-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  .jp-editorial .jpe-hero h1 { font-size: clamp(2.65rem, 10vw, 4.6rem); }
  .jp-editorial .jpe-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jp-editorial .jpe-submit { justify-self: stretch; }
  .jp-editorial .jpe-hero-card { margin-inline: auto; }
}
@media (max-width: 440px) {
  .jp-editorial .jpe-row-2,
  .jp-editorial :is(.jpe-blog-grid, .jpe-path-grid, .jpe-masonry) { grid-template-columns: minmax(0, 1fr); }
  .jp-editorial .jpe-art img { aspect-ratio: 16 / 10; }
  .jp-editorial .jpe-hero-panel { padding: 1.05rem; }
  .jp-editorial .jpe-buttons .jpe-btn { flex-grow: 1; }
}
