/*
  The Locum CPA: shared design tokens & type.
  NOTE: Allrounder Antiqua (logo wordmark only) is a licensed Fenotype font —
  confirm the license covers this deployment before shipping to production.
*/

@font-face {
  font-family: 'DM Serif Display';
  src: url('./fonts/DMSerifDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Allrounder Antiqua';
  src: url('./fonts/AllrounderAntiqua-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Allrounder Antiqua';
  src: url('./fonts/AllrounderAntiqua-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Allrounder Antiqua';
  src: url('./fonts/AllrounderAntiqua-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Display';
  src: url('./fonts/InterDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Display';
  src: url('./fonts/InterDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Display';
  src: url('./fonts/InterDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Display';
  src: url('./fonts/InterDisplay-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0c1633;
  --navy-deep: #080f24;
  --surface: #141b30;

  --gold: #c68a22;
  --gold-light: #c8a96e;
  --gold-dark: #7a5f22;

  --white: #ffffff;
  --gray-bg: #f2f0eb;
  --text: #22315b;
  --text-muted: rgba(34, 49, 91, 0.62);
  --border: #2a2f3d;
  --logo-blue: #264ab2;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1440px;
  --radius: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
  line-height: 1.1;
}

h2,
.section-title,
.ebook-headline {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 32px;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
}

@media (max-width: 991px) {

  h2,
  .section-title,
  .ebook-headline {
    font-size: 32px;
  }
}

@media (max-width: 767px) {

  h2,
  .section-title,
  .ebook-headline {
    font-size: 28px !important;
  }
}

/* LEAN SCROLL REVEAL & PAGE TRANSITIONS */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) ease-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}