/*
Theme Name:  AiMF
Theme URI:   https://aimarketingfundamentals.com
Description: Custom theme for AI Marketing Fundamentals blog.
Version:     1.0.0
Author:      Saba Sohail
Author URI:  https://aimarketingfundamentals.com
License:     GNU General Public License v2 or later
Text Domain: aimf
*/

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:           #FAFAF8;
  --surface:      #F4F3EF;
  --border:       #E5E4DF;
  --text:         #161616;
  --muted:        #6F6F6F;
  --accent:       #0043CE;
  --accent-light: #EEF4FF;
  --accent-hover: #0035A8;
  --white:        #FFFFFF;
  --font-serif:   'IBM Plex Serif', Georgia, serif;
  --font-sans:    'IBM Plex Sans', system-ui, sans-serif;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --max-w:        1160px;
  --content-w:    720px;
  --gutter:       clamp(20px, 5vw, 48px);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font-family: var(--font-sans); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.content-wrap { max-width: var(--content-w); margin-inline: auto; padding-inline: var(--gutter); }

/* ── TAGS ───────────────────────────────────────────────── */
.tag { display: inline-block; font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; background: var(--accent-light); color: var(--accent); }
.tag.orange { background: #FFF1E6; color: #AD3B00; }
.tag.green  { background: #DEFBE6; color: #0E6027; }
.tag.gray   { background: var(--surface); color: var(--muted); }
.tag.purple { background: #F5F3FF; color: #6D28D9; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; padding: 11px 22px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.12s; border: none; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--muted); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.section-header h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 2.5vw, 24px); letter-spacing: -0.01em; }
.section-header a { font-size: 13px; font-weight: 500; color: var(--accent); }
.section-header a:hover { text-decoration: underline; }

/* ── NAV ────────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(250,250,248,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { font-family: var(--font-serif); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--text); }
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--muted); transition: color 0.12s; }
.nav-links a:hover, .nav-links .current-menu-item a { color: var(--text); }

/* ── HERO (homepage) ────────────────────────────────────── */
.hero { padding-block: clamp(72px, 11vw, 128px); border-bottom: 1px solid var(--border); }
.hero-eyebrow { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.hero-headline { font-family: var(--font-serif); font-weight: 300; font-size: clamp(40px, 6vw, 76px); line-height: 1.1; letter-spacing: -0.02em; max-width: 860px; margin-bottom: 28px; }
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(16px, 1.8vw, 18px); font-weight: 300; color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 44px; }
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-categories { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-categories-label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-right: 4px; }

/* ── FEATURED POST ──────────────────────────────────────── */
.featured-section { padding-block: 72px; border-bottom: 1px solid var(--border); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.featured-image { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-image-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #EEF4FF, #D0E2FF); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.featured-content { display: flex; flex-direction: column; gap: 18px; }
.featured-meta { display: flex; align-items: center; gap: 12px; }
.featured-date { font-size: 13px; color: var(--muted); }
.featured-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -0.015em; }
.featured-title a:hover { color: var(--accent); }
.featured-excerpt { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.75; }
.featured-read { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: var(--accent); }
.featured-read:hover { text-decoration: underline; }

/* ── POST CARDS ─────────────────────────────────────────── */
.posts-section { padding-block: 72px; border-bottom: 1px solid var(--border); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts-grid-2col { grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.18s; }
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-image img { transform: scale(1.02); }
.card-image-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.card-image-ph.blue   { background: linear-gradient(135deg, #EEF4FF, #D0E2FF); color: var(--accent); }
.card-image-ph.orange { background: linear-gradient(135deg, #FFF1E6, #FFE0CC); color: #AD3B00; }
.card-image-ph.green  { background: linear-gradient(135deg, #DEFBE6, #A7F0BA); color: #0E6027; }
.card-image-ph.purple { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); color: #6D28D9; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-body-lg { padding: 28px; }
.card-meta { display: flex; align-items: center; gap: 10px; }
.card-date { font-size: 12px; color: var(--muted); }
.card-title { font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; flex: 1; }
.card-title-lg { font-size: 20px; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.65; }
.card-footer { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-footer-lg { padding: 16px 28px; }
.card-read { font-size: 13px; font-weight: 500; color: var(--accent); }
.card-read:hover { text-decoration: underline; }
.card-mins { font-size: 12px; color: var(--muted); }

/* Featured card — full width */
.card-featured { grid-column: 1 / -1; flex-direction: row; }
.card-featured .card-image { width: 44%; flex-shrink: 0; aspect-ratio: auto; }
.card-featured .card-image img { height: 100%; }
.card-featured .card-body { padding: 36px; justify-content: center; }
.card-featured .card-title { font-size: 26px; }

/* ── CATEGORIES GRID ────────────────────────────────────── */
.categories-section { padding-block: 72px; border-bottom: 1px solid var(--border); }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 24px; transition: border-color 0.15s, box-shadow 0.15s; display: block; }
.cat-card:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.cat-icon { font-size: 26px; margin-bottom: 16px; line-height: 1; }
.cat-name { font-family: var(--font-serif); font-weight: 400; font-size: 16px; margin-bottom: 6px; color: var(--text); }
.cat-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.5; }

/* ── TOOLS PREVIEW ──────────────────────────────────────── */
.tools-preview { padding-block: 72px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow 0.18s; }
.tool-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; }
.tool-logo { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; color: var(--accent); overflow: hidden; }
.tool-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.tool-stars { font-size: 13px; color: #F4A100; letter-spacing: 2px; }
.tool-name { font-family: var(--font-serif); font-weight: 400; font-size: 17px; color: var(--text); }
.tool-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.65; }
.tool-cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--accent); }
.tool-cta:hover { text-decoration: underline; }

/* ── PAGE HEADER (blog, tools pages) ───────────────────── */
.page-header { padding-block: 56px 0; border-bottom: 1px solid var(--border); }
.page-header-inner { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 32px; gap: 24px; flex-wrap: wrap; }
.page-header h1 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; line-height: 1.1; }
.page-header-meta { font-size: 14px; font-weight: 300; color: var(--muted); }
.page-header-sub { font-size: 15px; font-weight: 300; color: var(--muted); max-width: 480px; line-height: 1.65; }

/* ── FILTER TABS ────────────────────────────────────────── */
.filter-tabs { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; border-bottom: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--muted); border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.12s, border-color 0.12s; text-decoration: none; }
.filter-tab:hover { color: var(--text); }
.filter-tab.active, .filter-tab.current { color: var(--accent); border-bottom-color: var(--accent); }
.filter-tab .count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 100px; background: var(--surface); font-size: 11px; font-weight: 600; color: var(--muted); }
.filter-tab.active .count, .filter-tab.current .count { background: var(--accent-light); color: var(--accent); }

/* ── LOAD MORE ──────────────────────────────────────────── */
.load-more { padding-block: 48px; display: flex; justify-content: center; border-top: 1px solid var(--border); }
.btn-load { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--text); background: var(--white); border: 1px solid var(--border); padding: 12px 32px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.12s; }
.btn-load:hover { border-color: var(--muted); }

/* ── SINGLE POST ────────────────────────────────────────── */
.breadcrumb { padding-block: 20px; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb-inner a { color: var(--muted); transition: color 0.12s; }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }

.article-header { padding-block: 56px 0; max-width: var(--content-w); margin-inline: auto; padding-inline: var(--gutter); }
.article-header-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.article-header-date { font-size: 13px; color: var(--muted); }
.article-header-read { font-size: 13px; color: var(--muted); }
.article-header h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 24px; }
.article-deck { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 20px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.article-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--accent); flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 500; }
.author-title { font-size: 12px; color: var(--muted); }

.article-image { max-width: var(--content-w); margin-inline: auto; margin-block: 40px; padding-inline: var(--gutter); }
.article-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-md); }
.article-image figcaption { font-size: 13px; font-weight: 300; color: var(--muted); margin-top: 10px; text-align: center; }

.article-layout { display: grid; grid-template-columns: var(--content-w) 1fr; gap: 0; max-width: calc(var(--content-w) + 320px + 48px); margin-inline: auto; padding-inline: var(--gutter); padding-bottom: 80px; align-items: start; }

.article-body { min-width: 0; padding-right: 56px; }
.article-body p { font-family: var(--font-serif); font-weight: 300; font-size: 18px; line-height: 1.8; color: var(--text); margin-bottom: 24px; }
.article-body h2 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; line-height: 1.3; margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { font-family: var(--font-serif); font-weight: 600; font-size: 19px; margin-top: 36px; margin-bottom: 12px; }
.article-body ul, .article-body ol { margin-bottom: 24px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li { font-family: var(--font-serif); font-weight: 300; font-size: 18px; line-height: 1.7; padding-left: 20px; position: relative; }
.article-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 400; }
.article-body ol li { font-family: var(--font-serif); font-weight: 300; font-size: 18px; line-height: 1.7; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 24px; margin-block: 36px; }
.article-body blockquote p { font-style: italic; font-size: 20px; }
.article-body img { border-radius: var(--radius-md); margin-block: 28px; }
.article-body strong { font-weight: 600; }

.callout { background: var(--accent-light); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px; margin-block: 32px; }
.callout p { font-family: var(--font-sans) !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.65 !important; margin-bottom: 0 !important; color: var(--accent) !important; }

.comparison-table { width: 100%; border-collapse: collapse; margin-block: 32px; font-size: 14px; }
.comparison-table th { font-family: var(--font-sans); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 16px; text-align: left; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.comparison-table td { padding: 12px 16px; border: 1px solid var(--border); font-family: var(--font-sans); font-weight: 300; color: var(--text); vertical-align: top; }
.comparison-table tr:nth-child(even) td { background: var(--surface); }

.affiliate-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-block: 40px; display: flex; align-items: flex-start; gap: 20px; }
.affiliate-box-logo { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 600; font-size: 12px; color: var(--accent); overflow: hidden; }
.affiliate-box-logo img { width: 100%; height: 100%; object-fit: cover; }
.affiliate-box-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 4px; }
.affiliate-box-name { font-family: var(--font-serif); font-weight: 400; font-size: 18px; margin-bottom: 6px; }
.affiliate-box-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.affiliate-box-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--white); padding: 9px 18px; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 13px; font-weight: 600; transition: background 0.12s; }
.affiliate-box-cta:hover { background: var(--accent-hover); color: var(--white); }
.affiliate-disclaimer { font-size: 11px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* SIDEBAR */
.article-sidebar { position: sticky; top: 80px; padding-top: 4px; }
.sidebar-block { margin-bottom: 32px; }
.sidebar-block-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.toc { display: flex; flex-direction: column; gap: 4px; }
.toc a { font-size: 13px; font-weight: 400; color: var(--muted); padding: 5px 0 5px 12px; border-left: 2px solid var(--border); transition: all 0.12s; line-height: 1.4; display: block; }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.sidebar-tool { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sidebar-tool-top { display: flex; align-items: center; gap: 12px; }
.sidebar-tool-logo { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 600; font-size: 11px; color: var(--accent); overflow: hidden; flex-shrink: 0; }
.sidebar-tool-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.sidebar-tool-name { font-family: var(--font-serif); font-weight: 400; font-size: 15px; }
.sidebar-tool-stars { font-size: 12px; color: #F4A100; }
.sidebar-tool-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.6; }
.sidebar-tool-btn { display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--white); padding: 9px; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 13px; font-weight: 600; transition: background 0.12s; }
.sidebar-tool-btn:hover { background: var(--accent-hover); color: var(--white); }

.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-block: 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: var(--content-w); margin-inline: auto; padding-inline: var(--gutter); }
.post-tags-label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── RELATED ─────────────────────────────────────────────── */
.related-section { padding-block: 64px; border-top: 1px solid var(--border); background: var(--surface); }
.related-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.related-header h2 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-hero { padding-block: 80px 64px; border-bottom: 1px solid var(--border); }
.about-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.about-hero h1 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 28px; max-width: 780px; }
.about-hero h1 em { font-style: italic; color: var(--accent); }
.about-lead { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); line-height: 1.7; max-width: 640px; }

.founder-section { padding-block: 72px; border-bottom: 1px solid var(--border); }
.founder-grid { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.founder-photo { position: sticky; top: 80px; }
.founder-photo-frame { aspect-ratio: 4/5; border-radius: var(--radius-md); background: linear-gradient(160deg, #EEF4FF 0%, #D0E2FF 60%, #C0D4F5 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; overflow: hidden; }
.founder-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-initials { font-family: var(--font-serif); font-weight: 300; font-size: 48px; color: var(--accent); opacity: 0.5; }
.founder-name { font-family: var(--font-serif); font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.founder-role { font-size: 13px; font-weight: 300; color: var(--muted); margin-bottom: 16px; }
.founder-socials { display: flex; gap: 12px; }
.founder-social { font-size: 12px; font-weight: 500; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.founder-body p { font-family: var(--font-serif); font-weight: 300; font-size: 18px; line-height: 1.85; color: var(--text); margin-bottom: 24px; }
.founder-body p:first-child::first-letter { font-size: 52px; font-weight: 400; line-height: 0.85; float: left; margin-right: 8px; margin-top: 6px; color: var(--accent); }
.founder-body h2 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; margin-top: 48px; margin-bottom: 16px; }
.founder-body blockquote { border-left: 3px solid var(--accent); padding-left: 24px; margin-block: 36px; }
.founder-body blockquote p { font-style: italic; font-size: 20px; }
.founder-body blockquote p::first-letter { all: unset; }
.founder-body a { color: var(--accent); font-weight: 500; }

.site-values { padding-block: 72px; border-bottom: 1px solid var(--border); background: var(--surface); }
.site-values-header { text-align: center; margin-bottom: 56px; }
.site-values-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.site-values-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3.5vw, 38px); letter-spacing: -0.02em; line-height: 1.2; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px 28px; }
.value-number { font-family: var(--font-serif); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 16px; display: block; }
.value-title { font-family: var(--font-serif); font-weight: 400; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.3; }
.value-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; }

.content-areas { padding-block: 72px; border-bottom: 1px solid var(--border); }
.content-areas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.content-areas-intro h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.content-areas-intro p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.content-areas-intro a { font-size: 14px; font-weight: 500; color: var(--accent); }
.content-areas-intro a:hover { text-decoration: underline; }
.content-list { display: flex; flex-direction: column; }
.content-item { display: flex; align-items: flex-start; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--border); }
.content-item:first-child { border-top: 1px solid var(--border); }
.content-item-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.content-item-title { font-family: var(--font-serif); font-weight: 400; font-size: 16px; margin-bottom: 4px; }
.content-item-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.6; }

.transparency { padding-block: 72px; }
.transparency-inner { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.transparency-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.transparency h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; }
.transparency p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.transparency a { color: var(--accent); font-weight: 500; }
.transparency a:hover { text-decoration: underline; }

.cta-band { background: var(--text); padding-block: 72px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(24px, 3.5vw, 38px); letter-spacing: -0.02em; line-height: 1.2; color: var(--white); max-width: 540px; }
.cta-band h2 em { font-style: italic; color: #93B8F5; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── CONTACT PAGE ───────────────────────────────────────── */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 61px); }
.contact-info { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; }
.contact-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.contact-info h1 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 24px; }
.contact-info h1 em { font-style: italic; color: var(--accent); }
.contact-lead { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.75; max-width: 400px; margin-bottom: 48px; }
.inquiry-types { display: flex; flex-direction: column; margin-bottom: 48px; }
.inquiry-type { display: flex; align-items: flex-start; gap: 16px; padding-block: 20px; border-top: 1px solid var(--border); }
.inquiry-type:last-child { border-bottom: 1px solid var(--border); }
.inquiry-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 16px; margin-top: 2px; }
.inquiry-title { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.inquiry-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.55; }
.contact-detail { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-item { display: flex; align-items: center; gap: 12px; }
.contact-detail-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); width: 56px; flex-shrink: 0; }
.contact-detail-value { font-size: 14px; font-weight: 300; }
.contact-detail-value a { color: var(--accent); font-weight: 500; }
.contact-detail-value a:hover { text-decoration: underline; }
.response-note { margin-top: 24px; padding: 16px 18px; background: var(--surface); border-radius: var(--radius-sm); font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.6; }
.response-note strong { font-weight: 500; color: var(--text); }

.contact-form-wrap { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.form-header { margin-bottom: 36px; }
.form-header h2 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 6px; }
.form-header p { font-size: 14px; font-weight: 300; color: var(--muted); }
.subject-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.subject-tab { font-family: var(--font-sans); font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); background: var(--white); color: var(--muted); cursor: pointer; transition: all 0.12s; }
.subject-tab:hover { border-color: var(--muted); color: var(--text); }
.subject-tab.active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text); }
.field label .req { color: var(--accent); margin-left: 2px; }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; outline: none; transition: border-color 0.12s, box-shadow 0.12s; width: 100%; appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: #ADADAD; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F6F6F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field-check input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; border: 1px solid var(--border); border-radius: 2px; accent-color: var(--accent); cursor: pointer; margin-top: 2px; padding: 0; }
.field-check label { font-size: 13px; font-weight: 300; color: var(--muted); cursor: pointer; line-height: 1.55; }
.field-check label a { color: var(--accent); font-weight: 500; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.btn-submit { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 13px 28px; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 15px; font-weight: 500; border: none; cursor: pointer; transition: background 0.12s; }
.btn-submit:hover { background: var(--accent-hover); }
.btn-submit svg { transition: transform 0.15s; }
.btn-submit:hover svg { transform: translateX(3px); }
.form-submit-note { font-size: 12px; font-weight: 300; color: var(--muted); }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 48px 32px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.form-success.visible { display: flex; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--accent); }
.form-success h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; }
.form-success p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.65; max-width: 360px; }

/* ── TOOLS FULL PAGE ─────────────────────────────────────── */
.top-picks { padding-block: 64px; border-bottom: 1px solid var(--border); }
.featured-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.featured-tool { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 20px; transition: box-shadow 0.18s; }
.featured-tool:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.featured-tool-primary { background: var(--accent); color: var(--white); border-color: var(--accent); grid-row: span 2; }
.tool-header { display: flex; align-items: center; justify-content: space-between; }
.tool-logo-lg { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; color: var(--accent); overflow: hidden; }
.tool-logo-lg img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.featured-tool-primary .tool-logo-lg { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); color: var(--white); }
.tool-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; background: #DEFBE6; color: #0E6027; }
.featured-tool-primary .tool-badge { background: rgba(255,255,255,0.2); color: var(--white); }
.tool-name-lg { font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.tool-stars-lg { font-size: 15px; color: #F4A100; letter-spacing: 2px; }
.featured-tool-primary .tool-stars-lg { color: #FFD060; }
.tool-desc-lg { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.7; }
.featured-tool-primary .tool-desc-lg { color: rgba(255,255,255,0.7); }
.tool-pros { display: flex; flex-direction: column; gap: 8px; }
.tool-pro { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 300; color: var(--muted); }
.featured-tool-primary .tool-pro { color: rgba(255,255,255,0.8); }
.tool-pro::before { content: '✓'; font-size: 12px; font-weight: 600; color: #0E6027; flex-shrink: 0; margin-top: 2px; }
.featured-tool-primary .tool-pro::before { color: #7DD3A8; }
.tool-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.btn-tool-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--accent); padding: 10px 20px; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; font-weight: 600; transition: all 0.12s; border: none; cursor: pointer; }
.btn-tool-primary:hover { background: var(--accent-light); color: var(--accent); }
.btn-tool-outline { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: rgba(255,255,255,0.8); padding: 10px 20px; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; font-weight: 500; border: 1px solid rgba(255,255,255,0.3); cursor: pointer; transition: all 0.12s; }
.btn-tool-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-review { font-size: 13px; font-weight: 500; color: var(--accent); background: none; border: none; cursor: pointer; padding: 0; }
.btn-review:hover { text-decoration: underline; }
.all-tools { padding-block: 64px; }
.tools-all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card-full { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow 0.18s; }
.tool-card-full:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.tool-card-full-top { display: flex; align-items: center; justify-content: space-between; }
.tool-category { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.tool-review-link { font-size: 13px; font-weight: 500; color: var(--accent); }
.tool-review-link:hover { text-decoration: underline; }
.tool-price { font-size: 12px; color: var(--muted); }

/* ── 404 ─────────────────────────────────────────────────── */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px var(--gutter); }
.not-found h1 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 8vw, 96px); color: var(--border); letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.not-found h2 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; margin-bottom: 12px; }
.not-found p { font-size: 15px; font-weight: 300; color: var(--muted); margin-bottom: 32px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding-block: 56px 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-serif); font-weight: 400; font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-brand-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-col-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; font-weight: 300; color: var(--muted); transition: color 0.12s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 13px; font-weight: 300; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; font-weight: 300; color: var(--muted); }
.footer-legal a:hover { color: var(--text); }

/* ── WORDPRESS DEFAULTS ─────────────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; font-style: italic; }
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; max-width: var(--content-w); }
  .article-body { padding-right: 0; }
  .article-sidebar { position: static; display: none; }
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-all-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-tools { grid-template-columns: 1fr; }
  .featured-tool-primary { grid-row: auto; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { position: static; display: flex; align-items: center; gap: 24px; }
  .founder-photo-frame { width: 120px; height: 150px; flex-shrink: 0; margin-bottom: 0; }
  .founder-initials { font-size: 28px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .content-areas-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-page { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card-featured { flex-direction: column; }
  .card-featured .card-image { width: 100%; aspect-ratio: 16/9; }
  .related-section .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .tools-all-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .related-section .posts-grid { grid-template-columns: 1fr; }
  .nav-hide { display: none; }
}
