/* Heading Design System v1: restrained type and action layer for Visual v4. */
:root{
  --jyv4-heading-gold:#b89558;
  --jyv4-heading-gold-text:#7e6028;
  --jyv4-heading-gold-soft:rgba(184,149,88,.38);
  --jyv4-heading-line:clamp(36px,3.5vw,56px);
}

body.jyv4 .jyv4-kicker{
  margin-bottom:clamp(10px,1vw,16px);
  color:var(--jyv4-heading-gold-text);
  font-size:.75rem;
  line-height:1.55;
  font-weight:600;
  letter-spacing:.2em;
}
/* Photo-backed FV retains its approved gold; only light surfaces need dark gold. */
body.jyv4 :where(.jyv4-top-hero__copy,.jyv4-access-callout) .jyv4-kicker{color:var(--jyv4-heading-gold)}
/* Keep the approved white label readable on lower-page photographs. */
body.jyv4 .jyv4-lower-hero__copy .jyv4-kicker{color:#fff}
body.jyv4 h1,body.jyv4 h2{font-feature-settings:"palt" 1;text-wrap:balance}
body.jyv4 h2{letter-spacing:.065em}
body.jyv4 h3{letter-spacing:.045em}
body.jyv4 .jyv4-article-grid article h3{font-size:clamp(1.08rem,1.2vw,1.2rem);line-height:1.62}

body.jyv4 .jyv4-top-hero__copy h1::after,
body.jyv4 .jyv4-lower-hero__copy h1::after{
  content:"";
  display:block;
  width:var(--jyv4-heading-line);
  height:1px;
  margin-top:clamp(20px,2vw,30px);
  background:var(--jyv4-heading-gold);
}
body.jyv4 .jyv4-top-hero__copy>p:not(.jyv4-kicker),
body.jyv4 .jyv4-lower-hero__lead{max-width:42em}

body.jyv4 :where(
  .jyv4-intro>div:last-child,
  .jyv4-room-finder>header,
  .jyv4-gallery>header,
  .jyv4-room-information>header,
  .jyv4-other-rooms>header,
  .jyv4-editorial__intro,
  .jyv4-food-section>header,
  .jyv4-bath-gallery>header,
  .jyv4-onsen-details>header,
  .jyv4-photo-topics>header,
  .jyv4-timeline>header,
  .jyv4-places>header,
  .jyv4-access-map>header,
  .jyv4-access-steps>header,
  .jyv4-route>header,
  .jyv4-articles>header,
  .jyv4-history-timeline>header,
  .jyv4-top-links>header,
  .jyv4-faq>header
)>h2::after{
  content:"";
  display:block;
  width:var(--jyv4-heading-line);
  height:1px;
  margin-top:clamp(16px,1.8vw,24px);
  background:var(--jyv4-heading-gold);
}
body.jyv4 :where(.jyv4-room-finder>header,.jyv4-editorial__intro)>h2::after{margin-inline:auto}

body.jyv4 .jyv4-photo-topics>header{padding-bottom:0}
body.jyv4 .jyv4-photo-topics>header::after{display:none}
body.jyv4 .jyv4-editorial--celebration .jyv4-photo-topics,
body.jyv4 .jyv4-editorial--facilities .jyv4-photo-topics{background:none}

body.jyv4 :where(
  .jyv4-cuisine-gallery__motion,
  .jyv4-top-highlight.is-onsen,
  .jyv4-history-now,
  .jyv4-footer-cta
) .jyv4-kicker{color:#d2b77b}
body.jyv4 :where(
  .jyv4-cuisine-gallery__motion,
  .jyv4-onsen-gallery__lead,
  .jyv4-history-now,
  .jyv4-footer-cta
) h2::after{
  content:"";
  display:block;
  width:var(--jyv4-heading-line);
  height:1px;
  margin-top:clamp(16px,1.8vw,24px);
  background:#d2b77b;
}

body.jyv4 :where(.jyv4-button,.jyv4-header-book,.jyv4-fixed button){border-radius:1px;letter-spacing:.06em}
body.jyv4 .jyv4-button{min-height:58px;padding:14px 26px}
body.jyv4 .jyv4-button--primary{color:#fff}
body.jyv4 .jyv4-button::after,
body.jyv4 .jyv4-fixed button::after{margin-left:auto;transition:transform .25s ease}
body.jyv4 .jyv4-button:hover::after,
body.jyv4 .jyv4-fixed button:hover::after{transform:translateX(4px)}
body.jyv4 .jyv4-text-link{
  min-height:44px;
  padding-block:10px;
  border-bottom-color:var(--jyv4-heading-gold-soft);
  letter-spacing:.035em;
}
body.jyv4 .jyv4-text-link:hover{border-bottom-color:currentColor}

body.jyv4 .jyv4-nav a::after{height:1px;background:var(--jyv4-heading-gold)}
body.jyv4 .jyv4-slider__controls,
body.jyv4 .jyv4-access-steps__controls{font-variant-numeric:tabular-nums}
body.jyv4 .jyv4-slider__controls button,
body.jyv4 .jyv4-access-steps__controls button{min-width:44px}

body.jyv4 .jyv4-place-filters button{
  min-height:46px;
  border:0;
  border-bottom:1px solid var(--jyv4-line);
  background:transparent;
  letter-spacing:.04em;
}
body.jyv4 .jyv4-place-filters button:hover{
  border-bottom-color:var(--jyv4-heading-gold);
  background:rgba(184,149,88,.06);
  color:inherit;
}
body.jyv4 .jyv4-place-filters button.is-active{
  border-bottom-color:var(--jyv4-ink);
  background:var(--jyv4-ink);
  color:#fff;
}

body.jyv4 .jyv4-brand strong,
body.jyv4 .jyv4-footer__brand{font-feature-settings:"palt" 1}
body.jyv4 .jyv4-footer nav a{padding-bottom:2px;border-bottom-color:transparent}
body.jyv4 .jyv4-footer nav a:hover{border-bottom-color:#d2b77b}
body.jyv4 .jyv4-footer__copy{margin-top:clamp(40px,5vw,72px);padding-top:24px}
body.jyv4 .jyv4-footer-socials__item[aria-label="YouTube"] img{width:40px;height:35px}

@media(max-width:767px){
  body.jyv4 .jyv4-kicker{font-size:.69rem;letter-spacing:.17em}
  body.jyv4 .jyv4-article-grid article h3{font-size:1rem;line-height:1.58;letter-spacing:.02em}
  body.jyv4 .jyv4-room-finder>header>h2::after,
  body.jyv4 .jyv4-editorial__intro>h2::after{margin-inline:0}
  body.jyv4 .jyv4-top-hero__copy h1::after,
  body.jyv4 .jyv4-lower-hero__copy h1::after{margin-top:18px}
  body.jyv4 .jyv4-button{min-height:56px;padding-inline:22px}
  body.jyv4 .jyv4-place-filters button{min-height:44px;padding-inline:14px}
}

@media(max-width:360px){
  :root{--jyv4-heading-line:34px}
  body.jyv4 .jyv4-kicker{font-size:.66rem}
  body.jyv4 .jyv4-article-grid article h3{font-size:.94rem;letter-spacing:0}
}
