/*
Theme Name: Fama Equity Partners
Theme URI: https://famaequity.com
Author: Fama Equity Partners
Description: One-page homepage theme for Fama Equity Partners (media, services and production for equity). Navy, gold and ivory, with the Herald Seal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fama
*/

:root {
	--navy: #14213D;
	--navy-soft: #1B2A4A;
	--navy-line: #2F416A;
	--ivory: #F5F1E8;
	--gold: #C9A24A;
	--gold-text: #7A5C1C;
	--muted-on-navy: #D5D9E2;
	--card-line: #E4DCC8;
	--serif: 'Cinzel', Georgia, serif;
	--sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--ivory);
	color: var(--navy);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: #0A1222; }
img, svg { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 880px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--gold); color: var(--navy); padding: 10px 16px;
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 14px 28px; border-radius: 3px;
	font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent;
	transition: opacity .15s ease;
}
.btn:hover { opacity: .88; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { color: var(--ivory); }
.btn-outline-light { border-color: var(--ivory); color: var(--ivory); }
.btn-outline-light:hover { color: var(--ivory); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header { background: var(--navy); }
.site-header .container {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ivory); }
.brand:hover { color: var(--ivory); }
.brand svg { width: 52px; height: 52px; flex-shrink: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .16em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.main-nav a:not(.btn) { color: var(--ivory); text-decoration: none; font-size: 15px; }
.main-nav a:not(.btn):hover { color: var(--gold); }
.main-nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Sections */
.section { padding: 96px 0; }
.section-white { background: #FFFFFF; }
.section-navy { background: var(--navy); color: var(--ivory); }
.eyebrow { font-size: 13px; letter-spacing: .2em; font-weight: 600; color: var(--gold-text); text-transform: uppercase; }
.section-navy .eyebrow { color: var(--gold); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.section-head p { margin: 0; font-size: 17px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h2 { font-size: 40px; line-height: 1.2; }

/* Hero */
.hero { background: var(--navy); color: var(--ivory); padding: 88px 0 112px; }
.hero .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.seal-disc {
	width: 300px; height: 300px; max-width: 100%; border-radius: 50%;
	background: var(--navy-soft); border: 1px solid var(--navy-line);
	display: flex; align-items: center; justify-content: center;
}
.seal-disc svg { width: 230px; height: 230px; }
.hero h1 { font-size: 64px; line-height: 1.1; }
.hero p { margin: 0; font-size: 20px; color: var(--muted-on-navy); max-width: 720px; }

/* Offering cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.card {
	background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 4px; padding: 28px;
	display: flex; flex-direction: column; gap: 14px;
}
.card h3 { font-size: 19px; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; flex-grow: 1; }
.card .takes { border-top: 1px solid var(--card-line); padding-top: 14px; font-size: 14px; }
.card .takes span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 4px; }

/* Diagram */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 48px; }
.flow-box {
	flex: 1 1 200px; min-width: 0; background: var(--ivory); border: 1px solid var(--card-line);
	border-radius: 6px; padding: 20px; text-align: center;
}
.flow-box strong { display: block; font-size: 16px; }
.flow-box small { display: block; font-size: 14px; color: #4A5468; margin-top: 6px; }
.flow-box.center { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.flow-box.center small { color: var(--muted-on-navy); }
.flow-arrows { flex: 0 1 170px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #4A5468; text-align: center; }
.flow-arrows span:first-child { border-bottom: 1px solid #B8AE96; padding-bottom: 4px; }
.flow-arrows span:last-child { border-top: 1px solid #B8AE96; padding-top: 4px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 40px; }
.steps li { display: flex; gap: 16px; }
.steps .num { font-family: var(--serif); font-size: 30px; color: var(--gold-text); line-height: 1; }
.steps strong { display: block; font-size: 17px; }
.steps p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; }

/* About */
.about .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-text h2 { font-size: 36px; line-height: 1.25; }
.about-text p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted-on-navy); }
.about-quote { flex: 1 1 300px; font-family: var(--serif); font-size: 30px; line-height: 1.4; color: var(--gold); border-left: 1px solid #3A4A6B; padding-left: 32px; margin: 0; }

/* CTA */
.cta { text-align: center; }
.cta .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta p { margin: 0; font-size: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted-on-navy); padding: 48px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer .brand svg { width: 40px; height: 40px; }
.site-footer .brand-name { font-size: 15px; letter-spacing: .14em; }
.legal { font-size: 13px; margin: 0; }

/* Inner pages */
.page-content { padding: 72px 0 96px; }
.page-content h1 { font-size: 44px; margin-bottom: 24px; }
.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 30px; margin: 40px 0 12px; }
.entry-content > * { max-width: 760px; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }

@media (max-width: 720px) {
	.container { padding: 0 20px; }
	.hero { padding: 64px 0 80px; }
	.hero h1 { font-size: 42px; }
	.hero p { font-size: 18px; }
	h2 { font-size: 30px; }
	.section { padding: 72px 0; }
	.about-quote { font-size: 24px; }
	.main-nav { gap: 16px; }
	.main-nav ul { gap: 16px; }
}
