/* Myriad Pro Font Faces */

@font-face {
	font-family: "Myriad Pro";
	src: url(../fonts/myriad-pro/MYRIADPRO-REGULAR.OTF) format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Myriad Pro";
	src: url(../fonts/myriad-pro/MYRIADPRO-SEMIBOLD.OTF) format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Myriad Pro";
	src: url(../fonts/myriad-pro/MYRIADPRO-BOLD.OTF) format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Myriad Pro";
	src: url(../fonts/myriad-pro/MYRIADPRO-BOLDCOND.OTF) format("opentype");
	font-weight: 700;
	font-style: normal;
	font-stretch: condensed;
	font-display: swap;
}

/* Apply condensed variant to headings */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
	font-stretch: condensed;
}

/* Typography scale based on Figma design tokens */
h1,
.wp-block-heading[class*="heading-h1"] {
	font-size: clamp(2.25rem, 8vw, 3.5rem);
}

h2,
.wp-block-heading[class*="heading-h2"] {
	font-size: 2.25rem; /* 36px */
}

h3,
.wp-block-heading[class*="heading-h3"] {
	font-size: 1.875rem; /* 30px */
}

h4,
.wp-block-heading[class*="heading-h4"] {
	font-size: 1.5rem; /* 24px */
}

h5,
.wp-block-heading[class*="heading-h5"] {
	font-size: 1.25rem; /* 20px */
}

h6,
.wp-block-heading[class*="heading-h6"] {
	font-size: 1rem; /* 16px */
}

/* Body text scale */
body,
p,
.wp-block-paragraph {
	font-size: 1rem; /* 16px */
	font-weight: 400;
}

/* Smaller text sizes */
small,
.text-small {
	font-size: 0.875rem; /* 14px */
}

.text-extra-small {
	font-size: 0.75rem; /* 12px */
}
