/*
Theme Name: Rostra Media Network
Theme URI: https://rostramedia.com
Author: Ryan Constant
Description: Custom theme for Rostra Media Network — independent voices, any audience, one buy. Includes the homepage, an "Audiences" section for vertical landing pages, and a built-in media kit request form.
Version: 1.0.0
Requires at least: 6.0
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: rostra
*/

:root {
	--ink: #0E1A2B;
	--accent: #FF6A2B;
	--slate: #3A4A60;
	--muted: #5B6472;
	--mist: #A9B4C4;
	--fog: #D5DCE6;
	--line: #E1E5EB;
	--paper: #F4F5F7;
	--white: #FFFFFF;
	--font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--slate); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; 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(--white); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.section--ink .eyebrow { color: var(--mist); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: 44px; }
.section-head p { font-size: 18px; color: var(--slate); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 8px; font-family: var(--font); font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); background: #FF7E47; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { color: var(--white); background: #1C2B42; }
.btn--outline { border: 1.5px solid var(--white); color: var(--white); background: transparent; }
.btn--outline:hover { color: var(--ink); background: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Header */
.site-header { background: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-weight: 700; font-size: 22px; letter-spacing: 0.08em; line-height: 1; }
.brand__tag { font-weight: 500; font-size: 8px; letter-spacing: 0.48em; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.primary-nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--fog); color: var(--white); border-radius: 8px; min-width: 44px; min-height: 44px; font-family: var(--font); font-size: 14px; cursor: pointer; }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 88px 0 104px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: 68px; line-height: 1.02; color: var(--white); }
.hero__lede { font-size: 19px; color: var(--fog); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__art svg { width: 300px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 460px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--slate); color: var(--fog); font-size: 14px; padding: 8px 14px; border-radius: 999px; }

/* Built-from strip */
.strip { background: var(--paper); padding: 36px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.strip span { font-size: 16px; font-weight: 500; }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.card__bar { width: 36px; height: 6px; background: var(--accent); border-radius: 3px; }
.card h3 { font-size: 23px; }
.card p { font-size: 15px; color: var(--slate); }
.aud-card { background: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.aud-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(14,26,43,.08); }
.aud-card__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.aud-card h3 { font-size: 24px; }
.aud-card p { font-size: 15px; color: var(--slate); }
.aud-card__more { margin-top: 6px; font-size: 15px; font-weight: 600; }
.aud-card--custom { background: var(--accent); }
.aud-card--custom .aud-card__eyebrow, .aud-card--custom p { color: var(--ink); }

/* Steps */
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num { font-size: 48px; font-weight: 700; }
.step h3 { font-size: 23px; }
.step p { font-size: 16px; color: var(--slate); }

/* Story */
.story h2 { font-size: 44px; color: var(--white); }
.story p { font-size: 18px; line-height: 1.65; color: var(--fog); }

/* Publishers */
.perks { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.perks li { background: var(--paper); border-radius: 12px; padding: 20px 24px; font-weight: 600; font-size: 17px; }
.pub-copy { display: flex; flex-direction: column; gap: 18px; }
.pub-copy h2 { font-size: 44px; }
.pub-copy p { font-size: 18px; color: var(--slate); }

/* Form */
.kit-copy { display: flex; flex-direction: column; gap: 16px; }
.kit-copy h2 { font-size: 44px; }
.kit-copy p { font-size: 18px; color: var(--slate); }
.kit-form { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { font-family: var(--font); font-size: 16px; border: 1px solid #C9D0DA; border-radius: 8px; padding: 12px 14px; min-height: 48px; color: var(--ink); background: var(--white); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 8px; font-weight: 600; }
.notice--ok { background: #E6F4EA; color: #14532D; }
.notice--err { background: #FDECEA; color: #7F1D1D; }

/* Audience landing page */
.aud-hero { background: var(--ink); color: var(--white); padding: 88px 0; }
.aud-hero .eyebrow { color: var(--mist); }
.aud-hero h1 { font-size: 60px; color: var(--white); margin: 14px 0 20px; }
.aud-hero__lede { font-size: 19px; color: var(--fog); max-width: 720px; }
.entry-content { font-size: 18px; color: var(--slate); max-width: 760px; }
.entry-content h2 { font-size: 32px; color: var(--ink); margin: 48px 0 16px; }
.entry-content h3 { font-size: 23px; color: var(--ink); margin: 32px 0 12px; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 18px; }
.entry-content li { margin-bottom: 8px; }

/* Generic page */
.page-hero { background: var(--ink); color: var(--white); padding: 72px 0; }
.page-hero h1 { font-size: 52px; color: var(--white); }

/* Footer */
.site-footer { background: var(--ink); color: var(--fog); padding: 56px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; letter-spacing: 0.08em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--fog); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--white); }
.copyright { color: var(--mist); font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; }
	.primary-nav { display: none; width: 100%; order: 3; }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; gap: 4px; padding: 12px 0; }
	.primary-nav a { display: block; padding: 10px 0; }
	.site-header .wrap { flex-wrap: wrap; }
	.header-cta { display: none; }
}
@media (max-width: 720px) {
	.wrap { padding: 0 20px; }
	.section { padding: 72px 0; }
	.hero { padding: 56px 0 72px; }
	.hero h1 { font-size: 44px; }
	.section-head h2, .story h2, .pub-copy h2, .kit-copy h2 { font-size: 32px; }
	.aud-hero h1, .page-hero h1 { font-size: 38px; }
	.hero__art svg { width: 200px; }
	.split { grid-template-columns: 1fr; }
}
