/* Single typeface page â€” Type Colony product style */

.typeface-page {
	--typeface-content-width: 1800px;

	padding-bottom: clamp(4rem, 8vw, 6rem);
}

.typeface-page .container,
.typeface-page .buying-options-wrap {
	width: 100%;
	max-width: var(--typeface-content-width);
	margin-inline: auto;
}

/* Product hero — image-free Ideal Eksis presentation
   ========================================================================== */

.typeface-product-hero {
	padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
	color: var(--color-brand);
	background: var(--color-bg);
	border-bottom: 1px solid color-mix(in srgb, var(--color-brand) 24%, transparent);
}

.typeface-product-hero__inner {
	display: flex;
	flex-direction: column;
}

.typeface-product-hero__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: clamp(2rem, 5vw, 4rem);
	font-family: var(--font-ui);
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
}

.typeface-product-hero__breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.typeface-product-hero__breadcrumb a:hover,
.typeface-product-hero__breadcrumb a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.typeface-product-hero__breadcrumb [aria-current="page"] {
	opacity: 0.72;
}

.typeface-product-hero__meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: clamp(0.75rem, 4vw, 4rem);
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
	font-family: var(--font-ui);
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.typeface-product-hero__category {
	margin: 0;
	font-size: clamp(0.75rem, 1vw, 0.875rem);
	font-weight: 600;
	text-transform: none;
}

.typeface-product-hero__badge {
	padding: 0.3rem 0.6rem;
	color: #ffffff;
	background: var(--color-brand);
	border: 1px solid var(--color-brand);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1;
}

.typeface-product-hero__badge--new {
	padding: 0.4rem 0.75rem;
	font-size: 0.75rem;
	background: var(--color-badge-new, #41b941);
	border-color: var(--color-badge-new, #41b941);
	color: var(--color-badge-new-fg, #ffffff);
}

.typeface-product-hero__styles {
	padding: 0.25rem 0.45rem;
	background: color-mix(in srgb, var(--color-brand) 9%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-brand) 24%, transparent);
}

.typeface-product-hero__name {
	max-width: 100%;
	margin: 0;
	padding: clamp(0.5rem, 1vw, 1rem) 0 clamp(2rem, 4vw, 3.5rem);
	color: var(--color-brand);
	font-size: clamp(5.5rem, 18vw, 19rem);
	font-weight: 700;
	font-synthesis: none;
	line-height: 0.86;
	letter-spacing: -0.04em;
	overflow-wrap: anywhere;
	transform-origin: center bottom;
	animation: typeface-name-bounce-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes typeface-name-bounce-in {
	0% {
		opacity: 0;
		transform: translateY(42%) scaleY(0.92);
	}

	65% {
		opacity: 1;
		transform: translateY(-4%) scaleY(1.025);
	}

	82% {
		transform: translateY(1.5%) scaleY(0.99);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scaleY(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.typeface-product-hero__name {
		animation: none;
	}
}

.typeface-product-hero__details {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
	gap: clamp(2rem, 7vw, 8rem);
	align-items: end;
	max-width: 76rem;
}

.typeface-product-hero__description {
	max-width: 48rem;
	margin: 0;
	font-family: var(--font-ui);
	font-size: clamp(0.9375rem, 1.35vw, 1.125rem);
	line-height: 1.55;
}

.typeface-product-hero__note {
	max-width: 48rem;
	margin: 1rem 0 0;
	font-family: var(--font-ui);
	font-size: 0.6875rem;
	line-height: 1.55;
	opacity: 0.78;
}

.typeface-product-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-content: flex-end;
}

.typeface-product-hero__facts span {
	padding: 0.35rem 0.55rem;
	border: 1px solid currentColor;
	font-family: var(--font-ui);
	font-size: 0.625rem;
	letter-spacing: 0.03em;
}

.typeface-product-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

.typeface-product-hero__actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 3.25rem;
	padding: 0.85rem 1.25rem;
	border-radius: 0;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
}

.typeface-product-hero__buy {
	color: #ffffff;
	background: var(--color-brand);
	border: 1px solid var(--color-brand);
}

.typeface-product-hero__buy:hover,
.typeface-product-hero__buy:focus-visible {
	color: #ffffff;
	background: var(--color-brand-hover);
	border-color: var(--color-brand-hover);
}

.typeface-product-hero__demo {
	color: var(--color-brand);
	background: transparent;
	border: 1px solid var(--color-brand);
}

.typeface-product-hero__demo:hover,
.typeface-product-hero__demo:focus-visible {
	color: #ffffff;
	background: var(--color-brand);
}

@media (max-width: 800px) {
	.typeface-product-hero__meta {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.typeface-product-hero__styles {
		justify-self: start;
	}

	.typeface-product-hero__year {
		justify-self: end;
	}

	.typeface-product-hero__details {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 560px) {
	.typeface-product-hero__meta {
		grid-template-columns: 1fr auto;
		gap: 0.75rem;
	}

	.typeface-product-hero__category {
		grid-column: 1 / -1;
	}

	.typeface-product-hero__name {
		font-size: clamp(4rem, 24vw, 8rem);
		line-height: 0.9;
	}

	.typeface-product-hero__actions {
		flex-direction: column;
	}

	.typeface-product-hero__actions .btn {
		width: 100%;
	}
}

/* Preview slider â€” Type Colony reference
   ========================================================================== */

.typeface-preview {
	border-bottom: 1px solid var(--color-border);
}

/* Product gallery â€” Dirtyline-style horizontal strip
   ========================================================================== */

.typeface-gallery {
	width: 100%;
	max-width: none;
	margin: clamp(2rem, 5vw, 3.5rem) 0 0;
	background: var(--color-bg);
}

.typeface-gallery__viewport {
	position: relative;
	overflow: hidden;
}

.typeface-gallery__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	column-gap: 0;
	will-change: transform;
	transition: transform 0.6s ease;
}

.typeface-gallery__track.is-jump {
	transition: none;
}

.typeface-gallery__slide {
	flex: 0 0 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.typeface-gallery__slide--image {
	display: block;
	min-height: clamp(220px, 32vw, 420px);
	background: var(--color-surface);
	overflow: hidden;
	line-height: 0;
}

.typeface-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: clamp(220px, 32vw, 420px);
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
	object-fit: cover;
	object-position: center center;
}

.typeface-gallery__slide--specimen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: clamp(240px, 36vw, 440px);
	padding: clamp(1.5rem, 4vw, 3rem);
	text-align: center;
}

.typeface-gallery__specimen-meta {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.72;
}

.typeface-gallery__specimen-text {
	display: block;
	max-width: 100%;
	font-weight: 400;
	font-synthesis: none;
	line-height: 1;
	letter-spacing: -0.02em;
	word-break: break-word;
}

.typeface-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	color: #ffffff;
	background: var(--color-brand);
	border: 1px solid var(--color-brand);
	border-radius: 0;
	transform: translateY(-50%);
	cursor: pointer;
	opacity: 0;
	transition: opacity var(--transition), background var(--transition), border-color var(--transition);
}

.typeface-gallery__viewport:hover .typeface-gallery__nav,
.typeface-gallery__nav:focus-visible {
	opacity: 1;
}

.typeface-gallery__nav:hover,
.typeface-gallery__nav:focus-visible {
	background: var(--color-brand-hover, #003ad1);
	border-color: var(--color-brand-hover, #003ad1);
}

.typeface-gallery__nav span {
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
}

.typeface-gallery__nav--prev {
	left: clamp(0.75rem, 2vw, 1.25rem);
}

.typeface-gallery__nav--prev span {
	transform: rotate(135deg) translate(-1px, -1px);
}

.typeface-gallery__nav--next {
	right: clamp(0.75rem, 2vw, 1.25rem);
}

.typeface-gallery__nav--next span {
	transform: rotate(-45deg) translate(-1px, -1px);
}

@media (min-width: 768px) {
	.typeface-gallery__slide {
		flex: 0 0 33.3333%;
		max-width: 33.3333%;
	}
}

.typeface-preview__toolbar {
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.typeface-preview__toolbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
}

.typeface-preview__toolbar-name {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.typeface-preview__title {
	margin: 0;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.typeface-preview__styles {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

.typeface-preview__toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-shrink: 0;
}

.typeface-preview__try,
.typeface-preview__buy {
	flex-shrink: 0;
	min-width: 5.5rem;
	padding: 0.5rem 1.125rem;
	font-size: 0.8125rem;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}

.typeface-preview__controls-wrap {
	position: relative;
	z-index: 20;
	overflow: visible;
}

.typeface-preview__controls {
	display: flex;
	align-items: center;
	min-height: 88px;
	gap: 0.5rem;
}

.typeface-preview__control {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.65rem;
	flex: 1 1 0;
	min-width: 0;
	padding: 1rem 0.75rem;
}

.typeface-preview__control--style {
	flex: 0 0 auto;
	min-width: 170px;
}

.typeface-preview__control--align {
	flex: 0 0 auto;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: auto;
	padding-inline: 0.5rem;
	margin-left: auto;
}

.typeface-preview__control.is-disabled {
	opacity: 0.38;
	pointer-events: none;
}

.typeface-preview__control.is-disabled .typeface-preview__range {
	cursor: not-allowed;
}

.typeface-preview__control-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

.typeface-preview__value {
	color: var(--color-text);
	font-variant-numeric: tabular-nums;
}

.typeface-preview__select-wrap {
	position: relative;
}

.typeface-preview__select--native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.typeface-preview__dropdown {
	position: relative;
	width: 100%;
}

.typeface-preview__dropdown-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.65rem 0.85rem;
	font: inherit;
	font-size: 0.9375rem;
	color: #ffffff;
	text-align: left;
	background: #000000;
	border: 1px solid #000000;
	border-radius: 10px;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}

.typeface-preview__dropdown-trigger:hover,
.typeface-preview__dropdown-trigger:focus-visible {
	background: #1a1a1a;
	border-color: #1a1a1a;
	outline: none;
}

.typeface-preview__dropdown-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.typeface-preview__dropdown-chevron {
	flex-shrink: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.65;
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}

.typeface-preview__dropdown.is-open .typeface-preview__dropdown-chevron {
	transform: rotate(-135deg) translateY(-2px);
	opacity: 1;
}

.typeface-preview__dropdown-panel {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	z-index: 50;
	min-width: 100%;
	width: max-content;
	max-width: min(18rem, 80vw);
	overflow: hidden;
	color: #ffffff;
	background: #000000;
	border: 1px solid #1a1a1a;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(0.98);
	transform-origin: top left;
	transition:
		opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.typeface-preview__dropdown.is-open .typeface-preview__dropdown-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.typeface-preview__dropdown-list {
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	max-height: 14rem;
	overflow-y: auto;
}

.typeface-preview__dropdown-option {
	padding: 0.55rem 0.75rem;
	font-size: 0.9375rem;
	color: #ffffff;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.typeface-preview__dropdown-option:hover,
.typeface-preview__dropdown-option:focus-visible {
	background: #1a1a1a;
	outline: none;
}

.typeface-preview__dropdown-option.is-selected {
	background: #262626;
}

.typeface-preview__select-wrap::after {
	display: none;
}

.typeface-preview__range {
	--range-thumb: 12px;
	--range-track: 2px;
	width: 100%;
	min-width: 0;
	height: var(--range-thumb);
	margin: 0;
	padding: 0;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 999px;
	cursor: pointer;
}

.typeface-preview__range::-webkit-slider-runnable-track {
	height: var(--range-thumb);
	background: linear-gradient(var(--color-border), var(--color-border)) center / 100% var(--range-track) no-repeat;
	border: none;
	border-radius: 999px;
}

.typeface-preview__range::-moz-range-track {
	height: var(--range-thumb);
	background: linear-gradient(var(--color-border), var(--color-border)) center / 100% var(--range-track) no-repeat;
	border: none;
	border-radius: 999px;
}

.typeface-preview__range::-webkit-slider-thumb {
	appearance: none;
	width: var(--range-thumb);
	height: var(--range-thumb);
	margin-top: 0;
	border-radius: 50%;
	background: var(--color-text);
	border: none;
}

.typeface-preview__range::-moz-range-thumb {
	width: var(--range-thumb);
	height: var(--range-thumb);
	border-radius: 50%;
	background: var(--color-text);
	border: none;
}

.typeface-preview__align {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--color-text-muted);
	transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.typeface-preview__align span {
	display: block;
	flex: 0 0 auto;
	width: 1rem;
	height: 0.6875rem;
	margin: 0;
	background-color: transparent;
	background-image:
		linear-gradient(currentColor, currentColor),
		linear-gradient(currentColor, currentColor),
		linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1.5px, 72% 1.5px, 52% 1.5px;
	background-position: left top, left center, left bottom;
}

.typeface-preview__align[data-preview-align='center'] span {
	background-position: center top, center center, center bottom;
}

.typeface-preview__align[data-preview-align='right'] span {
	background-position: right top, right center, right bottom;
}

.typeface-preview__align.is-active,
.typeface-preview__align:hover,
.typeface-preview__align:focus-visible {
	color: var(--color-text);
	border-color: var(--color-border);
	background: var(--color-hover);
}

.typeface-preview__canvas-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-left: 0.15rem;
	padding: 0;
	color: #ffffff;
	background: #000000;
	border: 1px solid #000000;
	border-radius: 999px;
	transition: background var(--transition), border-color var(--transition);
}

.typeface-preview__canvas-toggle:hover,
.typeface-preview__canvas-toggle:focus-visible {
	color: #ffffff;
	background: #1a1a1a;
	border-color: #1a1a1a;
	outline: none;
}

.typeface-preview__canvas-toggle-icon {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
}

.typeface-preview__canvas-toggle-icon--moon {
	display: none;
}

.typeface-preview[data-preview-canvas-theme="dark"] .typeface-preview__canvas-toggle-icon--sun {
	display: none;
}

.typeface-preview[data-preview-canvas-theme="dark"] .typeface-preview__canvas-toggle-icon--moon {
	display: block;
}

.typeface-preview__stage {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 2 * var(--container-padding)), var(--typeface-content-width));
	max-width: var(--typeface-content-width);
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
	transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.typeface-preview[data-preview-canvas-theme="light"] .typeface-preview__stage {
	background: #f7f7f5;
}

.typeface-preview[data-preview-canvas-theme="dark"] .typeface-preview__stage {
	background: #000000;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.typeface-preview__input {
	display: block;
	width: 100%;
	min-height: clamp(180px, 28vw, 320px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 72px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-align: center;
	color: #111111;
	background: transparent;
	border: none;
	resize: none;
	outline: none;
	field-sizing: content;
	transition: color 0.35s ease;
}

.typeface-preview[data-preview-canvas-theme="dark"] .typeface-preview__input {
	color: #ffffff;
}

/* Meta + content
   ========================================================================== */

.typeface-page__meta {
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.typeface-page__meta-panel {
	width: 100%;
	box-sizing: border-box;
	padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
	color: #ffffff;
	background: #000000;
	border-radius: 10px;
}

.typeface-meta__list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.typeface-meta__item {
	flex: 0 1 auto;
	min-width: 0;
	text-align: left;
}

@media (max-width: 900px) {
	.typeface-meta__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
		flex-wrap: wrap;
		gap: clamp(1.25rem, 2.5vw, 2rem);
	}

	.typeface-meta__item {
		flex: initial;
	}
}

@media (max-width: 520px) {
	.typeface-meta__list {
		grid-template-columns: 1fr;
	}
}

.typeface-meta__item dt {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left;
	color: rgba(255, 255, 255, 0.55);
}

.typeface-meta__item dd {
	margin: 0;
	font-size: 0.9375rem;
	text-align: left;
	color: #ffffff;
}

.typeface-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}

.typeface-content__description {
	margin: 0 0 2.5rem;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--color-text-muted);
}

.typeface-content__description--specimen {
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: 400;
	font-synthesis: none;
	line-height: 1.65;
	color: var(--color-text);
}

.typeface-section {
	margin-bottom: 2rem;
}

.typeface-section h2 {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 500;
}

.typeface-section p {
	margin: 0;
	line-height: 1.7;
	color: var(--color-text-muted);
}

.typeface-intro {
	padding-block: clamp(2.5rem, 5vw, 4rem) 0;
}

.typeface-details {
	padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}

/* Glyph explorer */

.glyph-explorer {
	--glyph-accent: #d95858;
	--glyph-panel-bg: #f3f3f3;
	--glyph-guide-color: #b8b8b8;
	--glyph-guide-label-width: 5.75rem;
	--glyph-guide-value-width: 2.75rem;

	margin-block: 0;
	margin-inline: auto;
	padding-block: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--color-border);
	font-family: var(--font-ui);
}

.glyph-explorer__heading {
	margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-text);
}

.glyph-explorer__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(0.75rem, 2vw, 1rem);
	align-items: stretch;
}

.glyph-explorer__panel,
.glyph-explorer__browser-panel {
	border-radius: calc(var(--radius-md) + 10px);
}

.glyph-explorer__browser-panel {
	overflow: hidden;
}

.glyph-explorer__panel {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: clamp(1rem, 2.5vw, 1.35rem);
	background: var(--glyph-panel-bg);
	border: 1px solid var(--color-border);
}

.glyph-explorer__stage-col {
	position: sticky;
	top: clamp(1rem, 3vw, 1.5rem);
	align-self: start;
	min-width: 0;
	z-index: 2;
}

.glyph-explorer__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.glyph-explorer__toolbar-start {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.glyph-explorer__style-pill {
	display: inline-flex;
	flex-shrink: 0;
}

.glyph-explorer__select {
	width: 100%;
	padding: 0.8rem 2.25rem 0.8rem 0.95rem;
	font-family: var(--font-ui);
	font-size: 0.875rem;
	color: var(--color-text);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236b6b6b' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	cursor: pointer;
	transition: border-color var(--transition), background-color var(--transition);
}

.glyph-explorer__select--pill {
	width: auto;
	min-width: 5.5rem;
	padding: 0.55rem 2rem 0.55rem 0.95rem;
	font-size: 0.8125rem;
	font-weight: 400;
	background-color: var(--color-bg);
	border: none;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.glyph-explorer__select:hover,
.glyph-explorer__select:focus-visible {
	border-color: var(--color-text-muted);
}

.glyph-explorer__select--pill:hover,
.glyph-explorer__select--pill:focus-visible {
	border-color: transparent;
}

.glyph-explorer__select:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.glyph-explorer__meta {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.3;
	color: var(--color-text-muted);
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.glyph-explorer__stage {
	display: flex;
	align-items: center;
	justify-content: stretch;
	flex: 1;
	min-height: clamp(18rem, 38vw, 26rem);
	padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
	color: var(--color-text);
	background: transparent;
	--glyph-preview-fg: var(--color-text);
	border-radius: var(--radius-md);
	overflow: visible;
}

.glyph-explorer__metrics {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
}

.glyph-explorer__em-box {
	position: relative;
	width: 100%;
	min-height: clamp(18rem, 38vw, 26rem);
	flex-shrink: 0;
}

.glyph-explorer__guides {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.glyph-explorer__guide {
	position: absolute;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: var(--glyph-guide-label-width) 1fr var(--glyph-guide-value-width);
	align-items: center;
	gap: 0.65rem;
	top: 0;
	transform: translateY(-50%);
}

.glyph-explorer__guide-label {
	padding-right: 0.15rem;
	font-size: 0.8125rem;
	font-family: var(--font-ui);
	font-weight: 400;
	color: var(--glyph-guide-color);
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.glyph-explorer__guide-line {
	display: block;
	height: 0;
	border-top: 1px dashed var(--glyph-guide-color);
	opacity: 0.9;
}

.glyph-explorer__guide-value {
	font-size: 0.8125rem;
	font-family: var(--font-ui);
	font-weight: 400;
	color: var(--glyph-guide-color);
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.glyph-explorer__preview-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.glyph-explorer__browser-col {
	min-width: 0;
}

.glyph-explorer__browser-wrap {
	position: relative;
	--glyph-browser-collapsed-max: 22rem;
}

.glyph-explorer__browser-stage {
	position: relative;
}

.glyph-explorer__browser {
	min-width: 0;
}

.glyph-explorer__browser-wrap.is-collapsible:not(.is-expanded) .glyph-explorer__browser-stage {
	max-height: var(--glyph-browser-collapsed-max);
	overflow: hidden;
}

.glyph-explorer__browser-fade {
	display: none;
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 6rem;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--color-bg) 82%);
}

.glyph-explorer__browser-wrap.is-collapsible:not(.is-expanded) .glyph-explorer__browser-fade {
	display: block;
}

.glyph-explorer__show-all {
	display: none;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin: 1rem auto 0;
	padding: 0.55rem 1.15rem;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1;
	color: var(--color-text-muted);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	cursor: pointer;
	transition:
		color var(--transition),
		background-color var(--transition),
		border-color var(--transition);
}

.glyph-explorer__browser-wrap.is-collapsible .glyph-explorer__show-all {
	display: flex;
	margin-inline: auto;
}

.glyph-explorer__show-all:hover,
.glyph-explorer__show-all:focus-visible {
	color: var(--color-text);
	border-color: var(--color-text);
}

.glyph-explorer__browser-panel {
	min-height: 100%;
	padding: clamp(1rem, 2.5vw, 1.35rem);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
}

.glyph-explorer__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.35rem;
}

.glyph-explorer__filter {
	padding: 0.42rem 0.95rem;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--color-text-muted);
	background: var(--color-surface);
	border: 1px solid transparent;
	border-radius: 10px;
	transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.glyph-explorer__filter:hover,
.glyph-explorer__filter:focus-visible {
	color: var(--color-text);
}

.glyph-explorer__filter.is-active {
	color: #ffffff;
	border-color: #000000;
	background: #000000;
}

.glyph-explorer__filter.is-active:hover,
.glyph-explorer__filter.is-active:focus-visible {
	color: #ffffff;
	border-color: #000000;
	background: #000000;
}

.glyph-explorer__section + .glyph-explorer__section {
	margin-top: 1.5rem;
}

.glyph-explorer__section-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	font-weight: 400;
	color: #000000;
}

.glyph-explorer__grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 0.45rem;
}

.glyph-explorer__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	min-height: 0;
	padding: 0.1rem;
	color: var(--color-text);
	background: var(--color-surface);
	border: 1px solid transparent;
	border-radius: calc(var(--radius-md) - 2px);
	container-type: inline-size;
	transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.glyph-explorer__cell-char {
	font-family: var(--glyph-preview-family, var(--font-ui));
	font-size: clamp(1.75rem, 68cqi, 3.25rem);
	line-height: 1;
}

.glyph-explorer__cell:hover,
.glyph-explorer__cell:focus-visible {
	border-color: var(--color-border);
}

.glyph-explorer__cell.is-hover,
.glyph-explorer__cell.is-active {
	border-color: var(--glyph-accent);
	background: var(--color-surface);
}

.glyph-explorer__empty {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

@media (max-width: 900px) {
	.glyph-explorer__layout {
		grid-template-columns: 1fr;
	}

	.glyph-explorer__stage-col {
		position: static;
	}

	.glyph-explorer__stage {
		min-height: clamp(14rem, 42vw, 18rem);
	}

	.glyph-explorer__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.glyph-explorer__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.glyph-explorer__meta {
		text-align: left;
		white-space: normal;
	}

	.glyph-explorer__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.glyph-explorer__cell-char {
		font-size: clamp(1.5rem, 62cqi, 2.75rem);
	}
}

/* Glyph map — Ideal Eksis character set layout
   ========================================================================== */

.glyph-explorer--map {
	--glyph-accent: var(--color-brand);
	--glyph-panel-bg: var(--color-brand);
	padding-block: clamp(3rem, 7vw, 5.5rem);
	border-top: 0;
	color: var(--color-brand);
}

.glyph-explorer--map .glyph-explorer__intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.glyph-explorer--map .glyph-explorer__heading {
	margin: 0;
	font-family: var(--font-ui);
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	text-transform: none;
	color: var(--color-brand);
}

.glyph-explorer--map .glyph-explorer__heading-count {
	margin-left: 0.35em;
}

.glyph-explorer--map .glyph-explorer__layout {
	grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(0.85rem, 2vw, 1.25rem);
}

.glyph-explorer--map .glyph-explorer__panel,
.glyph-explorer--map .glyph-explorer__browser-panel {
	border-radius: 0;
}

.glyph-explorer--map .glyph-explorer__panel {
	padding: 0;
	background: var(--color-brand);
	border: 0;
}

.glyph-explorer--map .glyph-explorer__meta {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 3;
	overflow: visible;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	color: #ffffff;
	text-overflow: clip;
}

.glyph-explorer--map .glyph-explorer__stage {
	min-height: clamp(18rem, 38vw, 28rem);
	padding: 0;
	color: #ffffff;
	--glyph-preview-fg: #ffffff;
	border-radius: 0;
	overflow: hidden;
}

.glyph-explorer--map .glyph-explorer__metrics {
	height: 100%;
}

.glyph-explorer--map .glyph-explorer__em-box {
	min-height: clamp(18rem, 38vw, 28rem);
	aspect-ratio: 1 / 1;
	background: var(--color-brand);
}

.glyph-explorer--map .glyph-explorer__guides {
	display: none;
}

.glyph-explorer--map .glyph-explorer__browser-panel {
	padding: 0;
	background: transparent;
	border: 0;
}

.glyph-explorer--map .glyph-explorer__filters[hidden] {
	display: none !important;
}

.glyph-explorer--map .glyph-explorer__section + .glyph-explorer__section {
	margin-top: -1px;
}

.glyph-explorer--map .glyph-explorer__section-title {
	display: none;
}

.glyph-explorer--map .glyph-explorer__grid {
	grid-template-columns: repeat(13, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid color-mix(in srgb, var(--color-brand) 18%, transparent);
	border-left: 1px solid color-mix(in srgb, var(--color-brand) 18%, transparent);
}

.glyph-explorer--map .glyph-explorer__cell {
	color: var(--color-brand);
	background: transparent;
	border: 0;
	border-right: 1px solid color-mix(in srgb, var(--color-brand) 18%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-brand) 18%, transparent);
	border-radius: 0;
}

.glyph-explorer--map .glyph-explorer__cell-char {
	font-size: clamp(1.1rem, 58cqi, 2.35rem);
}

.glyph-explorer--map .glyph-explorer__cell:hover,
.glyph-explorer--map .glyph-explorer__cell:focus-visible {
	background: color-mix(in srgb, var(--color-brand) 7%, transparent);
}

.glyph-explorer--map .glyph-explorer__cell.is-hover,
.glyph-explorer--map .glyph-explorer__cell.is-active {
	color: #ffffff;
	background: var(--color-brand);
}

.glyph-explorer--map .glyph-explorer__browser-fade {
	height: 5rem;
	background: linear-gradient(180deg, rgba(245, 246, 248, 0) 0%, var(--color-bg) 88%);
}

.glyph-explorer--map .glyph-explorer__show-all {
	margin-top: 1.15rem;
	padding: 0.7rem 1.15rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--color-brand);
	background: transparent;
	border: 1px solid var(--color-brand);
	border-radius: 0;
}

.glyph-explorer--map .glyph-explorer__show-all:hover,
.glyph-explorer--map .glyph-explorer__show-all:focus-visible {
	color: #ffffff;
	background: var(--color-brand);
	border-color: var(--color-brand);
}

.glyph-explorer--map .glyph-explorer__styles {
	flex: 0 0 auto;
	margin: 0;
}

.glyph-explorer--map .glyph-explorer__styles-label {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--font-ui);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-brand) 55%, #8a8a8a);
}

.glyph-explorer--map .glyph-explorer__styles-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.glyph-explorer--map .glyph-explorer__select--pill {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	box-shadow: none;
}

.glyph-explorer--map .glyph-explorer__style-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.glyph-explorer--map .glyph-explorer__style-chip {
	min-height: 2.35rem;
	padding: 0.55rem 0.9rem;
	font-family: var(--font-ui);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-brand);
	background: #ffffff;
	border: 1px solid var(--color-brand);
	border-radius: 0;
	cursor: pointer;
	transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.glyph-explorer--map .glyph-explorer__style-chip:hover,
.glyph-explorer--map .glyph-explorer__style-chip:focus-visible,
.glyph-explorer--map .glyph-explorer__style-chip.is-active {
	color: #ffffff;
	background: var(--color-brand);
	border-color: var(--color-brand);
}

@media (max-width: 1100px) {
	.glyph-explorer--map .glyph-explorer__grid {
		grid-template-columns: repeat(10, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.glyph-explorer--map .glyph-explorer__layout {
		grid-template-columns: 1fr;
	}

	.glyph-explorer--map .glyph-explorer__em-box,
	.glyph-explorer--map .glyph-explorer__stage {
		min-height: clamp(16rem, 70vw, 22rem);
		aspect-ratio: 1 / 1;
	}

	.glyph-explorer--map .glyph-explorer__grid {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.glyph-explorer--map .glyph-explorer__intro {
		align-items: flex-start;
		flex-direction: column;
	}

	.glyph-explorer--map .glyph-explorer__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.glyph-explorer--map .glyph-explorer__meta {
		text-align: right;
		white-space: nowrap;
	}
}

/* Buying options */

.typeface-purchase--below-glyphs {
	padding-block: clamp(3rem, 7vw, 5.5rem);
	border-top: 0;
	color: var(--color-brand);
}

.buying-options-wrap {
	padding-inline: 0;
}

.buying-options--card,
.buying-options--split {
	display: block;
	width: 100%;
	max-width: var(--typeface-content-width, 1800px);
	margin-inline: auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.buying-options,
.buying-options strong {
	font-weight: 400;
}

.buying-options__intro {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.buying-options__title {
	margin: 0 0 1.25rem;
	font-family: var(--font-ui);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	text-transform: lowercase;
	color: var(--color-brand);
}

.buying-options__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-brand);
}

.buying-options__eyebrow-icon {
	width: 0.85rem;
	height: 0.85rem;
	background-color: currentColor;
	mask: url("../../Icon/arrow-sm-right-svgrepo-com.svg") center / contain no-repeat;
	-webkit-mask: url("../../Icon/arrow-sm-right-svgrepo-com.svg") center / contain no-repeat;
	transform: rotate(90deg);
}

.buying-options__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.buying-options__item {
	margin: 0;
	color: var(--color-brand);
	border: 1px solid color-mix(in srgb, var(--color-brand) 28%, transparent);
	background: #ffffff;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.buying-options__row {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	min-width: 0;
	padding: 0.95rem 1rem;
	cursor: pointer;
	color: inherit;
}

.buying-options__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.buying-options__check {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 1.05rem;
	height: 1.05rem;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	background: transparent;
}

.buying-options__check::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 999px;
	background: currentColor;
	transform: scale(0);
	transition: transform 0.2s ease;
}

.buying-options__item.is-selected .buying-options__check::after,
.buying-options__item:has(.buying-options__input:checked) .buying-options__check::after {
	transform: scale(1);
}

.buying-options__icon {
	width: 1.15rem;
	height: 1.15rem;
	flex-shrink: 0;
	background-color: currentColor;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M8 20h8M12 16v4' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M8 20h8M12 16v4' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
}

.buying-options__icon--webfont,
.buying-options__icon--web {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.8 3.8 5.8 3.8 9S14.5 18.2 12 21c-2.5-2.8-3.8-5.8-3.8-9S9.5 5.8 12 3Z' stroke='%23000' stroke-width='1.75'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.8 3.8 5.8 3.8 9S14.5 18.2 12 21c-2.5-2.8-3.8-5.8-3.8-9S9.5 5.8 12 3Z' stroke='%23000' stroke-width='1.75'/%3E%3C/svg%3E");
}

.buying-options__icon--extended {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 7h10v10H7V7Z' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M4 4h4v4H4V4ZM16 4h4v4h-4V4ZM4 16h4v4H4v-4ZM16 16h4v4h-4v-4Z' stroke='%23000' stroke-width='1.75'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 7h10v10H7V7Z' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M4 4h4v4H4V4ZM16 4h4v4h-4V4ZM4 16h4v4H4v-4ZM16 16h4v4h-4v-4Z' stroke='%23000' stroke-width='1.75'/%3E%3C/svg%3E");
}

.buying-options__icon--corporate {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20V8l8-4 8 4v12' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3Cpath d='M9 20v-6h6v6' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20V8l8-4 8 4v12' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3Cpath d='M9 20v-6h6v6' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.buying-options__copy {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 0.75rem 1rem;
	align-items: center;
	min-width: 0;
}

.buying-options__name-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem;
	min-width: 0;
}

.buying-options__name,
.buying-options__price {
	color: inherit;
	font-family: var(--font-ui);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.25;
}

.buying-options__price {
	justify-self: start;
	text-align: left;
	white-space: nowrap;
}

.buying-options__price-was {
	margin-right: 0.25rem;
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.65;
}

.buying-options__usage {
	font-family: var(--font-ui);
	font-size: 0.75rem;
	line-height: 1.4;
	opacity: 0.72;
	text-align: right;
}

.buying-options__item.is-selected,
.buying-options__item:has(.buying-options__input:checked) {
	color: #ffffff;
	background: var(--color-brand);
	border-color: var(--color-brand);
}

.buying-options__item.is-selected .buying-options__row,
.buying-options__item:has(.buying-options__input:checked) .buying-options__row,
.buying-options__item.is-selected .buying-options__name,
.buying-options__item:has(.buying-options__input:checked) .buying-options__name,
.buying-options__item.is-selected .buying-options__price,
.buying-options__item:has(.buying-options__input:checked) .buying-options__price {
	color: #ffffff;
}

.buying-options__item.is-selected .buying-options__usage,
.buying-options__item:has(.buying-options__input:checked) .buying-options__usage {
	opacity: 0.78;
}

.buying-options__card {
	width: 100%;
	max-width: var(--typeface-content-width, 1800px);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1.5px solid var(--color-brand);
	background: var(--color-surface, #ffffff);
	box-shadow: 5px 5px 0 0 var(--color-brand);
}

.buying-options__card .buying-options__eyebrow {
	margin-bottom: 0.95rem;
}

.buying-options__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	border: 0;
}

.buying-options__item {
	min-height: 0;
	height: 100%;
	border: 1.5px solid var(--color-brand);
}

.buying-options__row {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: start;
	align-content: start;
	gap: 0.75rem;
	min-height: 100%;
	padding: 1.1rem 1.15rem;
}

.buying-options__icon {
	display: block;
	margin-top: 0.15rem;
}

.buying-options__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.4rem;
	min-width: 0;
}

.buying-options__name-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0.4rem 0.55rem;
}

.buying-options__name,
.buying-options__price {
	font-size: 1rem;
}

.buying-options__usage {
	max-width: none;
	text-align: left;
	font-size: 0.6875rem;
	line-height: 1.4;
}

.buying-options__footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
	margin-top: 1.25rem;
	padding-top: 1.15rem;
	border-top: 1px solid color-mix(in srgb, var(--color-brand) 22%, transparent);
}

.buying-options__total-wrap {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0;
	border-top: 0;
	text-align: left;
}

.buying-options__total-label {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-brand);
	opacity: 1;
}

.buying-options__total {
	display: block;
	font-family: var(--font-ui);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--color-brand);
}

.buying-options__cta.btn,
.buying-options__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 3.1rem;
	padding-inline: 1.25rem;
	border-radius: 0;
	font-family: var(--font-ui);
	font-weight: 700;
	letter-spacing: 0.02em;
	background: var(--color-brand);
	border: 1.5px solid var(--color-brand);
	color: var(--color-on-brand, #ffffff);
	box-shadow: 4px 4px 0 0 #001a80;
}

.buying-options__cta.btn--solid:hover,
.buying-options__cta.btn--solid:focus-visible,
.buying-options__cta:hover,
.buying-options__cta:focus-visible {
	background: var(--color-brand-hover, #003ad6);
	border-color: var(--color-brand-hover, #003ad6);
	color: var(--color-on-brand, #ffffff);
}

.buying-options__cta:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 0 #001a80;
}

.buying-options__cta-icon {
	width: 1rem;
	height: 1rem;
	background-color: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.buying-options__cta:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.buying-options__note {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0.85rem 0 0;
	padding: 0.7rem 0.85rem;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	line-height: 1.35;
	color: var(--color-badge-new-fg, #ffffff);
	background: var(--color-badge-new, #41b941);
}

.buying-options__note-icon {
	width: 0.95rem;
	height: 0.95rem;
	flex-shrink: 0;
	background-color: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12a8 8 0 0 1 14.3-4.9M20 12a8 8 0 0 1-14.3 4.9' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M18 3v4h-4M6 21v-4h4' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12a8 8 0 0 1 14.3-4.9M20 12a8 8 0 0 1-14.3 4.9' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M18 3v4h-4M6 21v-4h4' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.buying-options__summary-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-top: 0.85rem;
}

.buying-options__license-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: auto;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	color: var(--color-brand);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.buying-options__license-link-icon {
	display: grid;
	place-items: center;
	width: 1rem;
	height: 1rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.625rem;
	font-style: italic;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1;
}

.buying-options__contact {
	margin: 0;
	text-align: left;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	line-height: 1.4;
	opacity: 0.75;
}

.buying-options__contact a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (max-width: 1100px) {
	.buying-options__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.buying-options__card {
		width: 100%;
		box-shadow: 4px 4px 0 0 var(--color-brand);
	}

	.buying-options__row {
		grid-template-columns: auto auto minmax(0, 1fr);
	}

	.buying-options__cta {
		width: 100%;
	}
}

@media (max-width: 960px) {
	.typeface-preview__controls-wrap {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	/* Allow Style dropdown to escape the scroll strip over the preview canvas. */
	.typeface-preview:has(.typeface-preview__dropdown.is-open) .typeface-preview__controls-wrap {
		overflow: visible;
	}

	.typeface-preview__control--style {
		position: relative;
		z-index: 30;
	}

	.typeface-preview__controls-wrap::-webkit-scrollbar {
		display: none;
	}

	.typeface-preview__control:not(.typeface-preview__control--style):not(.typeface-preview__control--align) {
		flex: 0 0 11rem;
		min-width: 11rem;
	}

	.typeface-preview__control--align {
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.typeface-preview__toolbar-inner {
		flex-wrap: wrap;
		padding-block: 1rem;
	}

	.typeface-preview__controls {
		min-height: 0;
	}

	.typeface-preview__input {
		font-size: 40px;
	}
}

/* Related products
   ========================================================================== */

.related-products {
	padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--color-border);
}

.related-products__title {
	margin: 0 0 clamp(2rem, 4vw, 2.75rem);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.03em;
	text-align: center;
}

.related-products__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-template-rows: repeat(2, auto);
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.related-product-card {
	min-width: 0;
}

.related-product-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.related-product-card__link:hover .related-product-card__name,
.related-product-card__link:focus-visible .related-product-card__name {
	opacity: 0.65;
}

.related-product-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--color-brand);
	border: 0;
}

.related-product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-product-card__specimen {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	color: #ffffff;
	background: var(--color-brand);
	text-align: center;
}

.related-product-card__specimen-name {
	display: block;
	max-width: 100%;
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.related-product-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	background: var(--color-brand);
	color: #ffffff;
	text-align: center;
}

.related-product-card__placeholder span {
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 0.95;
	color: #ffffff;
}

.related-product-card__badge {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	padding: 0.3rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-brand);
	background: #ffffff;
}

.related-product-card__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.85rem;
}

.related-product-card__name {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.35;
	transition: opacity var(--transition);
}

.related-product-card__price {
	flex-shrink: 0;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.35;
	color: var(--color-text);
	white-space: nowrap;
}

.related-product-card__price.is-sale {
	color: #d92d20;
}

.related-product-card__meta {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--color-text-muted);
}

.related-product-card__category {
	color: var(--color-text-muted);
}

@media (max-width: 900px) {
	.related-products__inner {
		overflow-x: visible;
	}

	.related-products__grid {
		min-width: 0;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.related-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Type tester — Ideal Eksis blue control system
   ========================================================================== */

.typeface-tester {
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
	color: var(--color-brand);
	background: var(--color-bg);
}

.typeface-tester__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.typeface-tester__title {
	margin: 0;
	font-family: var(--font-ui);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	text-transform: lowercase;
}

.typeface-tester__eyebrow {
	margin: 0.45rem 0 0;
	font-family: var(--font-ui);
	font-size: 0.625rem;
	letter-spacing: 0.14em;
	text-align: right;
	text-transform: uppercase;
}

.typeface-tester .typeface-preview__stage {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: var(--typeface-content-width);
	min-height: clamp(250px, 34vw, 470px);
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 4rem) var(--container-padding);
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.typeface-preview[data-preview-canvas-theme="light"] .typeface-tester .typeface-preview__stage {
	background: transparent;
}

.typeface-tester .typeface-preview__input {
	min-height: 0;
	max-height: none;
	color: var(--color-brand);
	font-size: 190px;
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: -0.025em;
	text-align: center;
}

.typeface-tester .typeface-preview__controls-wrap {
	z-index: 20;
	margin-top: clamp(2rem, 5vw, 4rem);
	border: 0;
}

.typeface-tester .typeface-preview__controls {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: end;
	gap: clamp(1rem, 2vw, 2rem);
	min-height: 0;
	padding-block: 0;
}

.typeface-tester .typeface-preview__control {
	display: flex;
	flex: initial;
	min-width: 0;
	padding: 0;
	gap: 0.65rem;
}

.typeface-tester .typeface-preview__control-label,
.typeface-tester .typeface-preview__align-label {
	font-family: var(--font-ui);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--color-brand);
}

.typeface-tester .typeface-preview__value {
	color: var(--color-brand);
}

.typeface-tester .typeface-preview__dropdown-trigger {
	min-height: 2.25rem;
	padding: 0.5rem 0.65rem;
	color: var(--color-brand);
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-brand) 38%, transparent);
	border-radius: 0;
	font-family: var(--font-ui);
	font-size: 0.6875rem;
}

.typeface-tester .typeface-preview__dropdown-trigger:hover,
.typeface-tester .typeface-preview__dropdown-trigger:focus-visible {
	color: #ffffff;
	background: var(--color-brand);
	border-color: var(--color-brand);
}

.typeface-tester .typeface-preview__dropdown-panel {
	color: #ffffff;
	background: var(--color-brand);
	border: 1px solid var(--color-brand);
	border-radius: 0;
	box-shadow: 0 12px 32px rgba(0, 73, 255, 0.2);
}

.typeface-tester .typeface-preview__dropdown-option {
	color: #ffffff;
	border-radius: 0;
	font-family: var(--font-ui);
	font-size: 0.6875rem;
}

.typeface-tester .typeface-preview__dropdown-option:hover,
.typeface-tester .typeface-preview__dropdown-option:focus-visible,
.typeface-tester .typeface-preview__dropdown-option.is-selected {
	color: var(--color-brand);
	background: #ffffff;
}

.typeface-tester .typeface-preview__range {
	--range-thumb: 12px;
	--range-track: 1px;
}

.typeface-tester .typeface-preview__range::-webkit-slider-runnable-track {
	background: linear-gradient(var(--color-brand), var(--color-brand)) center / 100% var(--range-track) no-repeat;
	border-radius: 0;
}

.typeface-tester .typeface-preview__range::-moz-range-track {
	background: var(--color-brand);
	border-radius: 0;
}

.typeface-tester .typeface-preview__range::-webkit-slider-thumb {
	border-radius: 0;
	background: var(--color-brand);
}

.typeface-tester .typeface-preview__range::-moz-range-thumb {
	border-radius: 0;
	background: var(--color-brand);
}

.typeface-tester .typeface-preview__control--align {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, 2.25rem);
	align-items: center;
	justify-content: flex-start;
	gap: 0.35rem;
	width: max-content;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.typeface-tester .typeface-preview__align-label {
	grid-column: 1 / -1;
	margin: 0 0 0.25rem;
	text-transform: uppercase;
}

.typeface-tester .typeface-preview__align,
.typeface-tester .typeface-preview__canvas-toggle {
	width: 2.25rem;
	height: 2.25rem;
	color: var(--color-brand);
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-brand) 32%, transparent);
	border-radius: 0;
}

.typeface-tester .typeface-preview__align.is-active,
.typeface-tester .typeface-preview__align:hover,
.typeface-tester .typeface-preview__align:focus-visible,
.typeface-tester .typeface-preview__canvas-toggle:hover,
.typeface-tester .typeface-preview__canvas-toggle:focus-visible {
	color: #ffffff;
	background: var(--color-brand);
	border-color: var(--color-brand);
}

@media (max-width: 900px) {
	.typeface-tester .typeface-preview__controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.typeface-tester__header {
		flex-direction: column;
		gap: 0.75rem;
	}

	.typeface-tester__eyebrow {
		margin: 0;
		text-align: left;
	}

	.typeface-tester .typeface-preview__stage {
		min-height: 260px;
	}

	.typeface-tester .typeface-preview__controls {
		grid-template-columns: 1fr;
	}
}

/* Typeface specimen panel
   ========================================================================== */

.typeface-specimen-panel {
	padding: clamp(1.25rem, 3vw, 2.5rem) var(--container-padding);
	color: #ffffff;
	background: var(--color-bg);
}

.typeface-specimen-panel__inner {
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
	color: #ffffff;
	background: var(--color-brand);
}

.typeface-specimen-panel__header,
.typeface-specimen-panel__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-family: var(--font-ui);
	font-size: 0.625rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.typeface-specimen-panel__header {
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.typeface-specimen-panel__header h2,
.typeface-specimen-panel__header p {
	margin: 0;
	font: inherit;
}

.typeface-specimen-panel__row {
	padding: clamp(1.75rem, 4vw, 3.25rem) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	text-align: center;
}

.typeface-specimen-panel__row-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin: 0 0 0.8rem;
	font-family: var(--font-ui);
	font-size: 0.5625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.78;
}

.typeface-specimen-panel__text {
	max-width: 100%;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.5rem, 7vw, 7rem);
	font-weight: 400;
	font-synthesis: none;
	line-height: 0.98;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
}

.typeface-specimen-panel__row--uppercase .typeface-specimen-panel__text,
.typeface-specimen-panel__row--lowercase .typeface-specimen-panel__text {
	font-size: clamp(1.8rem, 4.8vw, 5rem);
	letter-spacing: 0.01em;
}

.typeface-specimen-panel__row--numbers .typeface-specimen-panel__text {
	font-size: clamp(3rem, 9vw, 8rem);
	letter-spacing: 0.04em;
}

.typeface-specimen-panel__row--punctuation .typeface-specimen-panel__text {
	font-size: clamp(2.25rem, 6vw, 5.5rem);
	letter-spacing: 0.08em;
}

.typeface-specimen-panel__footer {
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 560px) {
	.typeface-specimen-panel {
		padding-inline: 0;
	}

	.typeface-specimen-panel__inner {
		padding-inline: var(--container-padding);
	}

	.typeface-specimen-panel__header,
	.typeface-specimen-panel__footer {
		align-items: flex-start;
		flex-direction: column;
	}
}
