/* Nobel WGL — Toyota Multiverzum frontend typefaces */
@font-face {
  font-family: 'Nobel WGL';
  src: url('/assets/toyota/fonts/NobelWGL-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nobel WGL';
  src: url('/assets/toyota/fonts/NobelWGL-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nobel WGL';
  src: url('/assets/toyota/fonts/NobelWGL-Regular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Alias so existing font-weight: 600 declarations pick Regular */
@font-face {
  font-family: 'Nobel WGL';
  src: url('/assets/toyota/fonts/NobelWGL-Regular.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nobel WGL';
  src: url('/assets/toyota/fonts/NobelWGL-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Alias so existing font-weight: 800 declarations pick Bold */
@font-face {
  font-family: 'Nobel WGL';
  src: url('/assets/toyota/fonts/NobelWGL-Bold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: 'Nobel WGL', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'Nobel WGL', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-toyota: 'Nobel WGL', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-weight-light: 300;
  --font-weight-book: 400;
  --font-weight-regular: 500;
  --font-weight-bold: 700;
}

/* Scope: all Toyota microsite surfaces */
body.toyota-microsite,
.toyota-page-shell,
.toyota-u04,
.toyota-portal,
.toyota-reg-form-slot,
.registration-form-embed {
  font-family: var(--font-toyota) !important;
  font-weight: var(--font-weight-book);
  font-synthesis: none;
}

body.toyota-microsite {
  font-weight: var(--font-weight-book);
}

/* Light — soft / secondary copy */
body.toyota-microsite .body-sub,
body.toyota-microsite .u04-hero__year,
body.toyota-microsite .u04-intro__copy p,
body.toyota-microsite .u04-program p,
body.toyota-microsite .u04-reg__copy,
body.toyota-microsite .toyota-portal__year,
body.toyota-microsite .toyota-portal__lead,
body.toyota-microsite .toyota-portal__hint,
body.toyota-microsite [style*="font-weight: 300"],
.toyota-u04 .u04-hero__title,
.toyota-u04 .u04-hero__year,
.toyota-u04 .u04-intro__copy p:not(.u04-intro__lead),
.toyota-u04 .u04-program p:not(.u04-program__tagline):not(.u04-program__list-title),
.toyota-u04 .u04-contact p,
.toyota-portal__year,
.toyota-portal__lead,
.toyota-portal__hint {
  font-weight: var(--font-weight-light);
}

/* Book — default body / paragraphs / form fields */
body.toyota-microsite p,
body.toyota-microsite li,
body.toyota-microsite label,
body.toyota-microsite input,
body.toyota-microsite textarea,
body.toyota-microsite select,
body.toyota-microsite button,
.toyota-page-shell p,
.toyota-u04 p,
.toyota-portal p {
  font-family: var(--font-toyota);
  font-weight: var(--font-weight-book);
}

/* Regular — nav, UI chrome, medium emphasis */
body.toyota-microsite .nav-link,
body.toyota-microsite .u04-top-nav .nav-link,
body.toyota-microsite .form-label,
body.toyota-microsite .section-label,
body.toyota-microsite .section-label-no-line,
body.toyota-microsite .u04-hero__cta-text,
body.toyota-microsite .u04-hero__cta-place,
body.toyota-microsite .toyota-portal__eyebrow,
.toyota-u04 .u04-top-nav .nav-link,
.toyota-u04 .u04-btn,
.toyota-portal__eyebrow,
.toyota-portal__cta {
  font-weight: var(--font-weight-regular);
}

/* Bold — headings, CTAs, strong emphasis */
body.toyota-microsite h1,
body.toyota-microsite h2,
body.toyota-microsite h3,
body.toyota-microsite h4,
body.toyota-microsite h5,
body.toyota-microsite h6,
body.toyota-microsite strong,
body.toyota-microsite b,
body.toyota-microsite .main-title,
body.toyota-microsite .btn-register,
body.toyota-microsite .u04-btn,
body.toyota-microsite .u04-program__title,
body.toyota-microsite .u04-intro__title,
body.toyota-microsite .u04-intro__lead,
body.toyota-microsite .u04-program__tagline,
body.toyota-microsite .toyota-portal__title,
body.toyota-microsite .toyota-portal__label,
body.toyota-microsite .registration-form button[type="submit"],
.toyota-portal__title,
.toyota-portal__label,
.toyota-u04 h1,
.toyota-u04 h2,
.toyota-u04 h3,
.toyota-u04 strong,
.toyota-u04 .u04-program__items h3,
.toyota-u04 .u04-intro__lead,
.toyota-u04 .u04-program__tagline {
  font-family: var(--font-toyota);
  font-weight: var(--font-weight-bold);
}
