/* Typography roles. Keep type decisions here; style.css owns layout and color. */
:root {
  --serif: "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --sans: "Noto Sans JP", Arial, sans-serif;
  --type-section: clamp(2.75rem, 4.2vw, 4.25rem);
  --type-title: clamp(1.875rem, 2.4vw, 2.5rem);
  --type-reading: clamp(1.25rem, 1.55vw, 1.5rem);
  --type-detail: 0.875rem;
  --type-caption: 0.8125rem;
  --type-label: 0.75rem;
  --tracking-title: -0.025em;
  --tracking-label: 0.12em;
}

/* Display: names, section titles, activity titles, and date numerals. */
body {
  font-family: var(--sans);
  font-weight: 400;
}
.hero h1 {
  letter-spacing: -0.035em;
  line-height: 0.9;
}
h2,
.celebration-intro h2,
.weekend-heading h2 {
  font: 400 var(--type-section) / 1.08 var(--serif);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
}
.day-content h3,
.screen-navigation .day-content h3 {
  font: 500 var(--type-title) / 1.15 var(--serif);
  letter-spacing: var(--tracking-title);
}

/* Reading: the same editorial voice for invitation and activity descriptions. */
.intro,
.celebration-intro .intro,
.weekend-heading > .intro,
.screen-navigation .weekend-heading > .intro,
.day-description,
.screen-navigation .day-description {
  font: 500 var(--type-reading) / 1.55 var(--serif);
  letter-spacing: 0;
  text-wrap: pretty;
}
.hero-date,
.weekend-dates {
  font: 500 clamp(1.25rem, 1.65vw, 1.5rem) / 1.45 var(--serif);
  letter-spacing: 0;
  text-transform: none;
}
.home-day-title {
  font: 500 clamp(1.05rem, 1.4vw, 1.25rem) / 1.3 var(--serif);
  letter-spacing: 0;
}

/* Labels: restrained tracking, shared weight, and a single small-text scale. */
.eyebrow,
.hero .eyebrow,
.day-details .eyebrow {
  font: 500 var(--type-label) / 1.6 var(--sans);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.hero-city {
  font: 400 var(--type-caption) / 1.6 var(--sans);
  letter-spacing: var(--tracking-label);
}
.hero-foot {
  font: 400 var(--type-label) / 1.65 var(--sans);
  letter-spacing: 0.08em;
}
.day-time,
.date-month,
.date-weekday,
.screen-navigation .date-month,
.screen-navigation .date-weekday {
  font: 400 var(--type-label) / 1.65 var(--sans);
  letter-spacing: 0.035em;
}
.day-time,
.day-schedule dt {
  font-variant-numeric: tabular-nums;
}

/* Practical details: readable sans, with emphasis available at real weight 500. */
.day-notes,
.day-details p,
.day-schedule dd,
.faq-list details p {
  font: 400 var(--type-detail) / 1.75 var(--sans);
  letter-spacing: 0;
}
.fine,
.home-details > .fine,
.weekend-heading > .fine,
.day-schedule dt,
footer > span {
  font: 400 var(--type-caption) / 1.7 var(--sans);
  letter-spacing: 0;
}
.day-notes strong {
  font-weight: 500;
}
.faq-list summary {
  font: 500 1rem/1.6 var(--sans);
}
nav a,
footer a:not(.monogram),
.button,
.day-details summary {
  font: 400 var(--type-detail) / 1.5 var(--sans);
  letter-spacing: 0;
}

/* Japanese has a larger visual body at the same size; preserve roles, tune scale. */
html:lang(ja) {
  --serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --tracking-label: 0.06em;
}
html:lang(ja) .hero h1,
html:lang(ja) .monogram,
html:lang(ja) .date-number,
html:lang(ja) .closing > p:last-child {
  font-family: "Cormorant Garamond", Georgia, serif;
}
html:lang(ja) h2,
html:lang(ja) .celebration-intro h2,
html:lang(ja) .weekend-heading h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  line-height: 1.5;
  letter-spacing: 0;
}
html:lang(ja) .day-content h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0;
}
html:lang(ja) .intro,
html:lang(ja) .celebration-intro .intro,
html:lang(ja) .weekend-heading > .intro,
html:lang(ja) .day-description {
  font: 400 1rem/1.95 var(--serif);
  letter-spacing: 0;
}
html:lang(ja) .hero-date,
html:lang(ja) .weekend-dates {
  font: 500 1.0625rem/1.8 var(--serif);
  letter-spacing: 0;
}
html:lang(ja) .home-day-title {
  font: 500 0.95rem/1.7 var(--serif);
  letter-spacing: 0;
}

@media (max-width: 600px) {
  nav a {
    font-size: var(--type-caption);
  }
  .hero-foot {
    font-size: 0.6875rem;
  }
}

/* Story chapters use the same title and narrative roles as the weekend. */
.moment-title {
  font: 500 var(--type-title) / 1.15 var(--serif);
  letter-spacing: var(--tracking-title);
}
.moment-description {
  font: 500 var(--type-reading) / 1.55 var(--serif);
  letter-spacing: 0;
}
.moment-marker {
  font: 400 var(--type-caption) / 1.7 var(--sans);
  letter-spacing: 0.035em;
}
html:lang(ja) .moment-title {
  font: 400 clamp(1.4rem, 2vw, 1.8rem) / 1.5 var(--serif);
  letter-spacing: 0;
}
html:lang(ja) .moment-description {
  font: 400 1rem/1.95 var(--serif);
  letter-spacing: 0;
}

@media (min-width: 801px) {
  .story-heading h2 {
    font-size: clamp(2.75rem, 4.2vw, 4.6rem);
  }
  .moment-description {
    font-size: 1.125rem;
    line-height: 1.5;
  }
}
.story-read,
.story-close,
.story-reader-navigation button {
  font: 400 var(--type-detail) / 1.5 var(--sans);
  letter-spacing: 0;
}
.story-reader h2 {
  font: 400 clamp(2rem, 3vw, 2.9rem) / 1.12 var(--serif);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
}
.story-reader-subtitle,
.story-reader-body {
  font: 500 clamp(1.05rem, 1.25vw, 1.2rem) / 1.65 var(--serif);
  letter-spacing: 0;
  text-wrap: pretty;
}
html:lang(ja) .story-reader h2 {
  font: 400 clamp(1.6rem, 2.5vw, 2.4rem) / 1.5 var(--serif);
  letter-spacing: 0;
}
html:lang(ja) .story-reader-subtitle,
html:lang(ja) .story-reader-body {
  font: 400 1rem/1.95 var(--serif);
  letter-spacing: 0;
}

/* RSVP uses the shared editorial and practical type roles. */
.rsvp-heading h1 {
  font: 400 var(--type-section) / 1.08 var(--serif);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
}
.rsvp-workspace h2 {
  font: 500 var(--type-title) / 1.2 var(--serif);
}
.rsvp-date,
.rsvp-help,
.rsvp-notice,
.rsvp-steps {
  font: 400 var(--type-caption) / 1.7 var(--sans);
}
.rsvp-workspace,
.rsvp-workspace input,
.rsvp-workspace textarea,
.rsvp-workspace select,
.rsvp-result,
.rsvp-text-button {
  font: 400 var(--type-detail) / 1.65 var(--sans);
}
.rsvp-guest legend {
  font: 500 1.5rem/1.4 var(--serif);
}
html:lang(ja) .rsvp-heading h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  line-height: 1.5;
  letter-spacing: 0;
}
html:lang(ja) .rsvp-workspace h2 {
  font-size: 1.5rem;
  line-height: 1.5;
}
.rsvp-options legend,
.rsvp-subtitle {
  font: 500 var(--type-detail) / 1.65 var(--sans);
}
.rsvp-summary-detail {
  font: 400 var(--type-caption) / 1.7 var(--sans);
}
.rsvp-required-key {
  font: 400 var(--type-caption) / 1.7 var(--sans);
}
.rsvp-deadline p:not(.eyebrow),
.rsvp-cal-line {
  font: 400 var(--type-label) / 1.6 var(--sans);
}
.rsvp-guest-name {
  font: 500 1.3rem/1.3 var(--serif);
}
.rsvp-guest-status {
  font: 400 var(--type-caption) / 1.6 var(--sans);
}
.rsvp-guest-disclosure .rsvp-help {
  font: 400 var(--type-caption) / 1.65 var(--sans);
}
.rsvp-workspace .rsvp-section h2 {
  font: 500 1.75rem/1.3 var(--serif);
}
html:lang(ja) .rsvp-guest-name {
  font-size: 1.1rem;
  line-height: 1.5;
}
html:lang(ja) .rsvp-workspace .rsvp-section h2 {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Gifts: method names as small titles, account details in the practical role. */
.gift-name,
.gifts-day-title {
  font: 500 1.5rem/1.3 var(--serif);
  letter-spacing: 0;
}
.gift-region {
  font: 500 var(--type-label) / 1.6 var(--sans);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.gift-value,
.gifts-day p {
  font: 400 var(--type-detail) / 1.75 var(--sans);
  letter-spacing: 0;
}
.gift-value {
  font-variant-numeric: tabular-nums;
}
.gift-qr figcaption {
  font: 400 var(--type-caption) / 1.6 var(--sans);
}
.gifts-day .gifts-signoff {
  font: 500 var(--type-reading) / 1.45 var(--serif);
}
html:lang(ja) .gift-name,
html:lang(ja) .gifts-day-title {
  font-size: 1.25rem;
  line-height: 1.6;
}
html:lang(ja) .gifts-day .gifts-signoff {
  font: 400 1rem/1.95 var(--serif);
}
