/*
Theme Name: Talkative Editorial
Theme URI: https://www.talkative.world/
Description: Editorial child theme for GeneratePress. Long-form, reading-first layout for Talkative — your personalized communication companion. Inspired by Brian Gardner's editorial patterns: restraint, big hierarchy, generous rhythm.
Author: Talkative
Author URI: https://www.talkative.world/
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talkative-editorial
*/

/* =========================================================
   Design tokens — editorial restraint, one accent
   ========================================================= */
:root {
	--tk-ink:      #1a1a1a;   /* near-black body */
	--tk-ink-soft: #333333;
	--tk-muted:    #6b6b6b;   /* captions, eyebrows */
	--tk-line:     #e6e4df;   /* hairline rules */
	--tk-paper:    #ffffff;   /* page */
	--tk-panel:    #faf9f7;   /* off-white callout */
	--tk-accent:   #9a3b2e;   /* brick — single accent */
	--tk-accent-soft: #f3e9e6;

	--tk-serif: Charter, "Iowan Old Style", Georgia, "Times New Roman", serif;
	--tk-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--tk-read: 44rem;         /* reading column ~704px */
}

/* =========================================================
   Base typography — reading first
   ========================================================= */
body {
	font-family: var(--tk-sans);
	color: var(--tk-ink);
	background: var(--tk-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.tk-page h1, .tk-page h2, .tk-page h3 {
	font-family: var(--tk-serif);
	color: var(--tk-ink);
	line-height: 1.12;
	letter-spacing: -0.01em;
	font-weight: 600;
}

.tk-page p {
	font-family: var(--tk-serif);
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--tk-ink-soft);
}

/* Reading column: every direct child centered to a narrow measure */
.tk-page > * {
	max-width: var(--tk-read);
	margin-left: auto;
	margin-right: auto;
}
.tk-page {
	padding: clamp(2.5rem, 6vw, 5.5rem) 1.5rem 4rem;
}

/* Eyebrow / reading-guide label */
.tk-eyebrow {
	font-family: var(--tk-sans);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tk-muted);
	margin: 0 0 1rem;
}

/* =========================================================
   Hero
   ========================================================= */
.tk-hero {
	text-align: left;
	padding-bottom: 2.5rem;
}
.tk-hero h1 {
	font-size: clamp(2.6rem, 6vw, 4rem);
	margin: 0 0 1.5rem;
}
.tk-hero .tk-lede {
	font-size: 1.4rem;
	color: var(--tk-muted);
	margin: 0 0 2rem;
}

/* =========================================================
   Horizontal rule — the "***" editorial break
   ========================================================= */
.tk-rule {
	border: 0;
	text-align: center;
	margin: 3.5rem auto;
	color: var(--tk-line);
}
.tk-rule::before {
	content: "* * *";
	letter-spacing: 0.6em;
	font-size: 1rem;
	color: var(--tk-muted);
}

/* =========================================================
   Section headings
   ========================================================= */
.tk-page h2 {
	font-size: clamp(2rem, 4vw, 2.6rem);
	margin: 0 0 1.25rem;
}

/* =========================================================
   Key Idea callout — highlighted statement
   ========================================================= */
.tk-keyidea {
	background: var(--tk-panel);
	border-left: 3px solid var(--tk-accent);
	padding: 1.75rem 2rem;
	margin: 3rem auto;
	border-radius: 2px;
}
.tk-keyidea .tk-eyebrow { color: var(--tk-accent); }
.tk-keyidea p {
	font-size: 1.5rem;
	line-height: 1.45;
	color: var(--tk-ink);
	margin: 0;
}

/* =========================================================
   Perspective — aside note that widens without interrupting
   ========================================================= */
.tk-perspective {
	max-width: 50rem;
	border-top: 1px solid var(--tk-line);
	border-bottom: 1px solid var(--tk-line);
	padding: 1.5rem 0;
	margin: 3rem auto;
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 1.5rem;
}
.tk-perspective .tk-eyebrow { margin: 0; }
.tk-perspective p { font-size: 1.15rem; margin: 0; }
@media (max-width: 640px) {
	.tk-perspective { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* =========================================================
   Programs — definition-style list
   ========================================================= */
.tk-defs {
	list-style: none;
	margin: 2rem auto;
	padding: 0;
}
.tk-defs li {
	display: grid;
	grid-template-columns: 1fr;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--tk-line);
}
.tk-defs li:first-child { border-top: 1px solid var(--tk-line); }
.tk-defs h3 {
	font-size: 1.35rem;
	margin: 0 0 0.4rem;
}
.tk-defs p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0;
	color: var(--tk-muted);
}

/* =========================================================
   Statistic block — isolated for impact
   ========================================================= */
.tk-stat {
	text-align: center;
	margin: 3.5rem auto;
}
.tk-stat .tk-stat-num {
	font-family: var(--tk-serif);
	font-size: clamp(3.5rem, 9vw, 5.5rem);
	line-height: 1;
	color: var(--tk-accent);
	font-weight: 600;
}
.tk-stat .tk-stat-label {
	font-family: var(--tk-sans);
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	color: var(--tk-muted);
	margin-top: 0.75rem;
}

/* =========================================================
   Buttons / CTA
   ========================================================= */
.tk-btn {
	display: inline-block;
	font-family: var(--tk-sans);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
	background: var(--tk-accent);
	padding: 0.85rem 1.75rem;
	border-radius: 2px;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}
.tk-btn:hover { background: #7f2f24; color: #fff; transform: translateY(-1px); }

.tk-btn-ghost {
	background: transparent;
	color: var(--tk-accent);
	border: 1px solid var(--tk-accent);
}
.tk-btn-ghost:hover { background: var(--tk-accent-soft); color: var(--tk-accent); transform: none; }

/* =========================================================
   Get-in-touch CTA band
   ========================================================= */
.tk-cta {
	text-align: center;
	background: var(--tk-panel);
	max-width: 100%;
	margin: 4rem 0 0;
	padding: clamp(3rem, 7vw, 5rem) 1.5rem;
	border-top: 1px solid var(--tk-line);
}
.tk-cta > * { max-width: var(--tk-read); margin-left: auto; margin-right: auto; }
.tk-cta h2 { margin-bottom: 1.5rem; }

/* =========================================================
   Connect / social footer
   ========================================================= */
.tk-connect { text-align: center; padding: 3rem 1.5rem; }
.tk-connect .tk-eyebrow { margin-bottom: 1.25rem; }
.tk-connect ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
}
.tk-connect a {
	font-family: var(--tk-sans);
	font-weight: 600;
	color: var(--tk-ink);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.tk-connect a:hover { color: var(--tk-accent); border-color: var(--tk-accent); }

/* =========================================================
   Links inside reading column
   ========================================================= */
.tk-page a:not(.tk-btn):not(.tk-connect a) {
	color: var(--tk-accent);
	text-underline-offset: 3px;
}
