/* Shared type roles, loaded after the individual page layouts. */
:root {
  --type-title: clamp(50px, 6.8vw, 92px);
  --type-section: clamp(34px, 4.8vw, 64px);
  --type-card: clamp(26px, 2.8vw, 38px);
  --type-body: 17px;
  --type-intro: 18px;
  --type-supporting: 14px;
  --type-label: 12px;
}
body.site-typography { font-family: var(--face-read); font-size: var(--type-body); line-height: 1.7; }
body.site-typography h1 {
  font-family: var(--face-display); font-size: var(--type-title);
  font-weight: 400; line-height: 1.04; letter-spacing: -.035em;
  margin-top: 0; margin-bottom: 24px;
}
body.site-typography h2:not(.carved),
body.site-typography h3:not(.carved) {
  font-family: var(--face-display); font-weight: 400; letter-spacing: -.035em;
  margin-top: 0; line-height: 1.12;
}
body.site-typography h2:not(.carved) { font-size: var(--type-section); }
body.site-typography h3:not(.carved) { font-size: var(--type-card); }
body.site-typography .home-discoveries h2 { font-size: var(--type-card); }

/* Room information needs a quieter hierarchy than the image-led hero. */
body.rooms-page {
  --type-section: clamp(28px, 3vw, 42px);
  --type-card: clamp(24px, 2.4vw, 32px);
}
body.rooms-page.site-typography .inclusions strong { font-size: 22px; line-height: 1.3; }

/* Labels and short supporting facts remain distinct from reading copy. */
body.site-typography p:not(.eyebrow):not(.hero-kicker):not(.sign) {
  font-size: var(--type-body); line-height: 1.7;
}
body.site-typography :is(.hero-copy, .story-hero-copy, .rooms-hero-copy, .guest-info-intro, .rooms-intro, .detail-lead, .overview-grid, .arts-overview-copy, .venues-intro-grid, .wedding-intro-grid, .venue-detail-intro, .story-intro) > p:not(.eyebrow):not(.hero-kicker):not(.sign),
body.site-typography .overview-grid > div > p:not(.eyebrow):not(.hero-kicker):not(.sign),
body.site-typography :is(.venues-intro-grid, .wedding-intro-grid, .venue-detail-intro) > div > p:not(.eyebrow):not(.hero-kicker):not(.sign) {
  font-size: var(--type-intro); line-height: 1.65;
}
body.site-typography p:is(.booking-handoff, .room-position, .home-review-source, .home-review-excerpt, .enquiry-note, .enquiry-status):not(.eyebrow):not(.hero-kicker):not(.sign),
body.site-typography footer p:not(.eyebrow):not(.hero-kicker):not(.sign) {
  font-size: var(--type-supporting); line-height: 1.6;
}
body.site-typography :is(.feature-list, .room-amenities, .inclusions, .arrival-steps, .amenity-list, .venue-card, .venue-detail-use) li,
body.site-typography .inclusions span { font-size: var(--type-body); line-height: 1.7; }
body.site-typography :is(.inclusions strong, .quick-facts dt) { font-size: var(--type-card); line-height: 1.2; }
body.site-typography :is(.room-specs dd, .detail-facts dd, .property-grid dd, .property-grid dt, .quick-facts dd, figcaption) {
  font-size: var(--type-supporting); line-height: 1.6;
}
body.site-typography :is(.eyebrow, .hero-kicker, .field label, .enquiry-field label, .enquiry-field legend, .room-specs dt, .detail-facts dt, .room-filter, .comparison thead th) {
  font-family: var(--face-sign); font-size: var(--type-label);
  font-weight: 500; letter-spacing: .08em; line-height: 1.5;
}
body.site-typography :is(.eyebrow, .hero-kicker) { margin: 0 0 16px; }
body.site-typography :is(.btn, .text-link) {
  font-family: var(--face-sign); font-size: var(--type-label); line-height: 1.5; letter-spacing: .07em;
}
body.site-typography footer h3:not(.carved),
body.site-typography footer h3.carved { font-size: var(--type-label); line-height: 1.5; letter-spacing: .08em; }
body.site-typography :is(.faqs summary, .enquiry-check label) { font-family: var(--face-read); font-size: var(--type-body); line-height: 1.6; }

/* Keep categories above their card titles and remove gaps left by filler labels. */
/* Practical values have body-size emphasis; their labels remain compact. */
body.site-typography :is(.room-specs, .detail-facts, .property-grid) dd {
  font-size: var(--type-body); line-height: 1.5; color: var(--cream);
}
body.site-typography :is(.room-specs, .detail-facts) dd { font-weight: 600; }
body.site-typography .property-grid dt {
  font-family: var(--face-sign); font-size: var(--type-label);
  font-weight: 500; letter-spacing: .06em;
}
body.site-typography .property-grid .arrival-time dd { font-weight: 600; }
body.site-typography .inclusions strong { font-weight: 500; }
body.site-typography :is(.inclusions, .property-grid) a {
  text-decoration: none;
}
body.site-typography :is(.venue-card, .arts-path-grid article, .story-screen-grid article, .film-legacy) h3 { margin-top: 16px; }
body.site-typography .story-chronology header { display: block; }
body.site-typography .dining-copy { align-items: start; }
body.site-typography .dining-copy .eyebrow { grid-column: 1; grid-row: 1; }
body.site-typography .dining-copy h2 { grid-column: 1; grid-row: 2; }
body.site-typography .dining-description { grid-column: 2; grid-row: 1 / span 2; align-self: start; }

@media (max-width: 820px) {
  :root {
    --type-title: clamp(40px, 11vw, 56px);
    --type-section: clamp(34px, 4.8vw, 40px);
    --type-card: clamp(26px, 4vw, 30px);
    --type-body: 16px;
    --type-intro: 16px;
  }
  body.site-typography h1 { margin-bottom: 22px; }
  body.rooms-page {
    --type-section: clamp(28px, 4vw, 32px);
    --type-card: clamp(24px, 4vw, 28px);
  }
  body.rooms-page.site-typography .inclusions strong { font-size: 20px; }
  body.site-typography .dining-copy .eyebrow,
  body.site-typography .dining-copy h2,
  body.site-typography .dining-description { grid-column: 1; grid-row: auto; }
}

/* Customer-page links share one treatment: no text or border underlines. */
body.site-typography a,
body.site-typography a:hover { text-decoration: none; }
body.site-typography .text-link,
body.site-typography .masthead .callnow,
body.site-typography .pagehead .callnow,
body.site-typography .faq-list a,
body.site-typography .wayfind a[aria-current="page"] { border-bottom-width: 0; }

/* Make text links recognisable without changing headings or buttons. */
body.site-typography a:not(.nameplate):not(.btn) { font-weight: 600; }
body.site-typography .venue-shortlist a:not(.btn) { font-weight: 400; }
body.site-typography .faq-jumps a:not(.btn) { font-weight: 400; }
body.site-typography .guest-info-navigation .text-link { border: 1px solid var(--rule); }
body.site-typography .venue-card h3 a:not(.btn) {
  font: inherit;
  font-weight: 400;
  letter-spacing: inherit;
  color: inherit;
}
body.site-typography main p a,
body.enquiry-page.site-typography main p a { font-weight: 700; }

/* Keep contact labels clear while long email addresses read more quietly. */
body.site-typography footer a[href^="mailto:"] > span:not(.email-label) {
  font-weight: 400;
}

/* Footer links underline on hover or keyboard focus. */
body.site-typography .site-footer a:not(.btn) {
  font-weight: 400;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: var(--rule);
}
body.site-typography .site-footer a:not(.btn):hover,
body.site-typography .site-footer a:not(.btn):focus-visible {
  text-decoration: underline;
  text-decoration-color: currentColor;
}
body.site-typography .site-footer a.hotel-email,
body.site-typography .site-footer a.hotel-email:hover,
body.site-typography .site-footer a.hotel-email:focus-visible { text-decoration: none; }
body.site-typography .site-footer .hotel-email > span { font-weight: 400; }
body.site-typography .site-footer .hotel-email > span:not(.email-label) {
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: var(--rule);
}
body.site-typography .site-footer a.hotel-email:hover > span:not(.email-label),
body.site-typography .site-footer a.hotel-email:focus-visible > span:not(.email-label) {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

/* Quiet feedback keeps link typography stable. */
body.site-typography main a:not(.btn) {
  transition: color 160ms ease;
}
body.site-typography main a:not(.btn):is(:hover, :focus-visible),
body.site-typography .venue-card h3 a:not(.btn):is(:hover, :focus-visible) {
  color: var(--cta);
}
body.site-typography main :is(p a:not(.btn), .text-link):is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
@media (prefers-reduced-motion: reduce) {
  body.site-typography main a:not(.btn) { transition: none; }
}
body.site-typography main .home-review-source a,
body.site-typography main .home-review-source a:is(:hover, :focus-visible) {
  text-decoration: none;
}
