/*
Theme Name: BeauFonts
Theme URI: https://beaufonts.com
Description: Custom GeneratePress child theme for BeauFonts.
Author: BeauFonts
Template: generatepress
Version: 0.1.2
*/

:root {
	--beau-ink: #102a43;
	--beau-blue: #2563eb;
	--beau-gold: #f2b134;
	--beau-paper: #f7f3ea;
	--beau-white: #ffffff;
	--beau-line: #dcd7cc;
	--beau-muted: #637083;
	--beau-radius: 14px;
	--beau-shadow: 0 18px 50px rgba(16, 42, 67, 0.08);
	--beau-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--beau-ink);
	background: var(--beau-paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.beau-wrap { width: min(calc(100% - 40px), var(--beau-width)); margin-inline: auto; }
.beau-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(247, 243, 234, 0.94);
	border-bottom: 1px solid rgba(16, 42, 67, 0.12);
	backdrop-filter: blur(18px);
}
.admin-bar .beau-site-header { top: 32px; }
.beau-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 86px;
	gap: 32px;
}
.beau-logo img { display: block; width: 220px; max-height: 54px; object-fit: contain; object-position: left center; }
.beau-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.beau-nav a { text-decoration: none; }
.beau-nav a:hover, .beau-nav a:focus { color: var(--beau-blue); }
.beau-nav-cta {
	padding: 10px 16px;
	color: var(--beau-white);
	background: var(--beau-ink);
	border-radius: 999px;
}
.beau-main { min-height: 70vh; }
.beau-hero { padding: 96px 0 76px; border-bottom: 1px solid var(--beau-line); }
.beau-eyebrow {
	margin: 0 0 18px;
	color: var(--beau-blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.beau-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 70px; align-items: center; }
.beau-hero h1 {
	max-width: 780px;
	margin: 0 0 22px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(52px, 7vw, 92px);
	font-weight: 500;
	line-height: .96;
	letter-spacing: -.045em;
}
.beau-hero h1 em { color: var(--beau-blue); font-style: italic; }
.beau-hero-copy { max-width: 620px; margin: 0 0 30px; color: var(--beau-muted); font-size: 19px; }
.beau-search {
	display: flex;
	align-items: center;
	padding: 8px;
	overflow: hidden;
	background: var(--beau-white);
	border: 1px solid var(--beau-line);
	border-radius: 999px;
	box-shadow: var(--beau-shadow);
}
.beau-search:focus-within {
	border-color: var(--beau-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), var(--beau-shadow);
}
.beau-search input {
	min-width: 0;
	width: 100%;
	flex: 1;
	margin: 0;
	padding: 14px 18px;
	color: var(--beau-ink);
	background: transparent !important;
	border: 0 !important;
	border-radius: 999px;
	box-shadow: none !important;
	font: inherit;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}
.beau-search input:focus,
.beau-search input:focus-visible {
	color: var(--beau-ink);
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0;
}
.beau-search button, .beau-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 22px;
	color: var(--beau-white);
	background: var(--beau-blue);
	border: 0;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}
.beau-specimen {
	position: relative;
	min-height: 430px;
	padding: 36px;
	overflow: hidden;
	color: var(--beau-white);
	background: var(--beau-ink);
	border-radius: 28px;
	box-shadow: var(--beau-shadow);
}
.beau-specimen .letter { position: absolute; font-family: Georgia, serif; line-height: 1; }
.beau-specimen .letter-a { top: -48px; right: 12px; color: var(--beau-white); font-size: 240px; }
.beau-specimen .letter-g { right: -18px; bottom: -70px; color: var(--beau-gold); font-size: 250px; font-style: italic; }
.beau-specimen .letter-amp { left: 30px; bottom: 24px; color: var(--beau-blue); font-size: 120px; }
.beau-specimen-note { position: relative; z-index: 2; max-width: 170px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.beau-section { padding: 84px 0; }
.beau-section--white { background: var(--beau-white); }
.beau-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.beau-section h2, .beau-page-header h1, .beau-font-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -.035em;
}
.beau-text-link { color: var(--beau-blue); font-weight: 800; text-decoration: none; }
.beau-category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.beau-category {
	padding: 26px 18px;
	background: var(--beau-white);
	border: 1px solid var(--beau-line);
	border-radius: var(--beau-radius);
	text-align: center;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease;
}
.beau-category:hover { transform: translateY(-3px); border-color: var(--beau-blue); }
.beau-category strong { display: block; font-family: Georgia, serif; font-size: 22px; }
.beau-font-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.beau-font-card {
	min-width: 0;
	background: var(--beau-white);
	border: 1px solid var(--beau-line);
	border-radius: var(--beau-radius);
	transition: transform .2s ease, box-shadow .2s ease;
}
.beau-font-card:hover { transform: translateY(-4px); box-shadow: var(--beau-shadow); }
.beau-font-card a { display: block; min-height: 220px; padding: 24px; text-decoration: none; }
.beau-card-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--beau-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.beau-font-card h3 { margin: 46px 0 20px; overflow-wrap: anywhere; font-size: clamp(27px, 3vw, 40px); line-height: 1.05; }
.beau-font-card p { margin: 0; color: var(--beau-muted); font-size: 13px; }
.beau-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.beau-step { padding-top: 22px; border-top: 2px solid var(--beau-blue); }
.beau-step span { color: var(--beau-gold); font-family: Georgia, serif; font-size: 34px; }
.beau-step h3 { margin: 12px 0 6px; font-size: 20px; }
.beau-step p { margin: 0; color: var(--beau-muted); }
.beau-page-header { padding: 70px 0 36px; }
.beau-content-page { padding: 72px 0 96px; }
.beau-content-shell {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(180px, 1fr);
	gap: 80px;
	align-items: start;
}
.beau-content-shell--wide { grid-template-columns: minmax(0, 860px) 1fr; }
.beau-content-title {
	margin: 0 0 30px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(44px, 6vw, 72px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.04em;
}
.beau-page-content {
	padding: 38px;
	background: var(--beau-white);
	border: 1px solid var(--beau-line);
	border-radius: 20px;
	box-shadow: var(--beau-shadow);
}
.beau-page-content h2 { margin: 42px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 500; }
.beau-page-content h2:first-child { margin-top: 0; }
.beau-page-content h3 { margin: 30px 0 8px; font-size: 21px; }
.beau-page-content p, .beau-page-content ul { margin-top: 0; }
.beau-page-content a { color: var(--beau-blue); }
.beau-page-aside { padding-top: 12px; color: var(--beau-muted); font-size: 14px; }
.beau-page-aside strong { display: block; margin-bottom: 8px; color: var(--beau-ink); }
.beau-page-content .ff-el-form-control {
	border-color: var(--beau-line);
	border-radius: 10px;
	padding: 13px 14px;
}
.beau-page-content .ff-btn-submit {
	padding: 13px 22px;
	background: var(--beau-blue) !important;
	border-radius: 999px;
	font-weight: 800;
}
.beau-filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.beau-filter-bar a {
	padding: 9px 15px;
	background: var(--beau-white);
	border: 1px solid var(--beau-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}
.beau-filter-bar a.is-active { color: var(--beau-white); background: var(--beau-ink); border-color: var(--beau-ink); }
.beau-pagination { margin-top: 42px; }
.beau-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; margin-right: 6px; border: 1px solid var(--beau-line); border-radius: 50%; text-decoration: none; }
.beau-font-page { padding: 68px 0 96px; }
.beau-font-kicker { color: var(--beau-blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.beau-preview-panel { margin-top: 38px; padding: 28px; background: var(--beau-white); border: 1px solid var(--beau-line); border-radius: 22px; box-shadow: var(--beau-shadow); }
.beau-preview-label { display: block; margin-bottom: 8px; color: var(--beau-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.beau-preview-input { width: 100%; padding: 14px 16px; border: 1px solid var(--beau-line); border-radius: 10px; font: inherit; }
.beau-preview-output {
	min-height: 190px;
	display: flex;
	align-items: center;
	margin: 22px 0;
	padding: 26px;
	overflow-wrap: anywhere;
	background: var(--beau-paper);
	border-radius: 14px;
	font-family: "BeauPreview", sans-serif;
	font-size: 58px;
	font-weight: 400;
	line-height: 1.12;
}
.beau-control-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.beau-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.beau-pill {
	padding: 8px 12px;
	color: var(--beau-ink);
	background: transparent;
	border: 1px solid var(--beau-line);
	border-radius: 999px;
	font-weight: 800;
	cursor: pointer;
}
.beau-pill.is-active { color: var(--beau-white); background: var(--beau-ink); border-color: var(--beau-ink); }
.beau-size-control { display: flex; align-items: center; gap: 12px; }
.beau-font-content { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 70px; margin-top: 54px; }
.beau-prose { max-width: 760px; font-family: Georgia, serif; font-size: 20px; line-height: 1.75; }
.beau-prose p:first-child { margin-top: 0; }
.beau-facts { padding: 24px; background: var(--beau-white); border: 1px solid var(--beau-line); border-radius: var(--beau-radius); }
.beau-facts dl { margin: 0; }
.beau-facts div { padding: 12px 0; border-bottom: 1px solid var(--beau-line); }
.beau-facts div:last-child { border-bottom: 0; }
.beau-facts dt { color: var(--beau-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.beau-facts dd { margin: 3px 0 0; font-weight: 700; }
.beau-site-footer { padding: 46px 0; color: rgba(255,255,255,.75); background: var(--beau-ink); }
.beau-footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.beau-footer-inner p { margin: 0; }
.beau-footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.beau-footer-nav a { color: inherit; text-decoration: none; }
.beau-empty { padding: 50px; background: var(--beau-white); border: 1px solid var(--beau-line); border-radius: var(--beau-radius); text-align: center; }

@media (max-width: 900px) {
	.beau-hero-grid, .beau-font-content, .beau-content-shell, .beau-content-shell--wide { grid-template-columns: 1fr; }
	.beau-specimen { min-height: 330px; }
	.beau-category-grid { grid-template-columns: repeat(3, 1fr); }
	.beau-font-grid { grid-template-columns: repeat(2, 1fr); }
	.beau-font-content { gap: 34px; }
}
@media (max-width: 680px) {
	.admin-bar .beau-site-header { top: 46px; }
	.beau-wrap { width: min(calc(100% - 28px), var(--beau-width)); }
	.beau-header-inner { min-height: 72px; }
	.beau-logo img { width: 170px; }
	.beau-nav a:not(.beau-nav-cta) { display: none; }
	.beau-hero { padding: 64px 0 54px; }
	.beau-hero-grid { gap: 42px; }
	.beau-hero h1 { font-size: 52px; }
	.beau-section { padding: 62px 0; }
	.beau-section-head { align-items: flex-start; flex-direction: column; }
	.beau-category-grid, .beau-font-grid, .beau-steps { grid-template-columns: 1fr; }
	.beau-font-card a { min-height: 190px; }
	.beau-preview-panel { padding: 18px; }
	.beau-content-page { padding: 52px 0 72px; }
	.beau-page-content { padding: 24px; }
	.beau-preview-output { min-height: 155px; padding: 18px; font-size: 42px; }
	.beau-footer-inner { align-items: flex-start; flex-direction: column; }
}
