@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

/* DM Sans is added (Session 31) for UI body / captions / tabular numbers on
   member-facing surfaces where a sans is needed and Cormorant would feel too
   editorial. Cormorant + Jost remains the dominant pairing across editorial
   surfaces. */

:root {
  --font-ui: 'DM Sans', 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.005em;
}

.display em {
  font-style: italic;
  color: var(--gold-pale);
}

.display-xl {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3rem);
}

.display-md {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.body-large {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.body-small {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
}

.text-mid {
  color: var(--text-mid);
}

.text-dim {
  color: var(--text-dim);
}

.text-gold {
  color: var(--gold);
}

.text-gold-pale {
  color: var(--gold-pale);
}

.italic {
  font-style: italic;
}

.serif {
  font-family: var(--font-display);
}

/* -------------------------------------------------------------------------- */
/* Session 31 editorial hierarchy                                             */
/* -------------------------------------------------------------------------- */
/*
 * The classes above (.display, .body, .eyebrow, etc.) are shipped and stay.
 * The classes below add the explicit editorial hierarchy from Session 31
 * Step 3. They apply across editorial surfaces (homepage, magazine, article,
 * hotel detail) and are usable from member-facing cream-tinted surfaces too.
 *
 * Sizes use clamp() so they breathe across viewports while honoring the
 * 72-96pt / 48-56pt / 32-40pt etc. ranges from the spec.
 */

/* Display (signature moments — homepage hero, magazine cover). 72–96pt. */
.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-feature-settings: 'kern' 1;
  font-kerning: normal;
}

.t-display em,
.t-display i {
  font-style: italic;
  color: var(--gold-pale);
}

/* Page heading (article titles, hotel detail hero, section page titles). 48–56pt. */
.t-page-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Section heading (major content sections). 32–40pt. */
.t-section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

/* Subsection (editorial subtitles, considered framing). 22–28pt italic. */
.t-subsection {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.3;
  color: var(--text-mid);
}

/* Body prose (editorial articles, hotel descriptions). 18–20pt Cormorant. */
.t-body-prose {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
}

/* Body prose on cream member surfaces is navy on cream — opt-in via .surface-cream */
.surface-cream .t-body-prose {
  color: #1A2B4A;
}

/* UI body (member dashboard, form labels, utility text). 15–16pt DM Sans. */
.t-ui-body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1vw, 1rem);
  line-height: 1.5;
}

/* Small caps label (category labels, section identifiers, badge text). 11pt. */
.t-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Caption / metadata (image captions, secondary information). 12–13pt DM Sans. */
.t-caption {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(0.75rem, 0.85vw, 0.8125rem);
  line-height: 1.5;
  color: var(--text-mid);
}

/* Tabular numbers (booking numbers, dates, prices). DM Sans Medium. */
.t-tabular {
  font-family: var(--font-ui);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* Pull quote within articles. 28–36pt italic, gold rule above and below. */
.t-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  line-height: 1.4;
  text-align: center;
  color: var(--text);
  max-width: 36ch;
  margin: 3.5rem auto;
  padding: 2rem 0;
  position: relative;
}

.t-pullquote::before,
.t-pullquote::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  opacity: 0.6;
}

.t-pullquote::before {
  margin-bottom: 2rem;
}

.t-pullquote::after {
  margin-top: 2rem;
}

/* Editorial drop-cap for the first paragraph of a feature article. */
.t-dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  margin: 0.05em 0.12em 0 -0.04em;
  color: var(--gold);
}
