/* Portfolio typography. Product demos own their original fonts. */
@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SF-Pro-Display-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SF-Pro-Display-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SF-Pro-Display-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-body: "SF Pro Display", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-book: var(--font-body);
  --text-display: clamp(1.944rem, 1.789287rem + 0.7735652vw, 2.5rem);
  --text-section: clamp(1.375rem, 1.2rem + 0.875vw, 2rem);
  --text-title: clamp(1.125rem, 1.016rem + 0.544vw, 1.5rem);
  --leading-heading: 1.3;
  --tracking-heading: -0.01em;
}
body { font-family: var(--font-body); font-synthesis: none; }
button, input, select, textarea { font-family: inherit; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font-body); }
.home .hero__opening, .about .about-intro__rose, .talks .talks-intro__accent { text-transform: none; }
.not-found__message,
.case__title {
  font-size: var(--text-display);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: none;
}
.not-found__message, .case__title { font-weight: 500; }
.about-section-heading h2,
.about-hobbies h2,
.talks-section-title,
.case-section__title {
  font-size: var(--text-section);
  font-weight: 500;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: none;
}
.work-item__title,
.talk-card__title,
.case-step__title,
.case-step__subtitle {
  font-size: var(--text-title);
  font-weight: 500;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: none;
}
