/*
Theme Name: Candid
Theme URI: https://example.com/candid
Author: Your Name
Author URI: https://example.com
Description: An intimate personal-column theme with a high-contrast display serif (DM Serif Display), a signature pull-quote feature, a lead column beside recent dispatches and warm segmented sections. Per-category colour accents, light and dark modes, self-hosted fonts and one-click demo content with original artwork.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
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: candid
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template
*/

:root {
  --bg: #faf6f1;
  --surface: #ffffff;
  --surface-2: #f2ebe3;
  --text: #2b2420;
  --text-2: #574c45;
  --muted: #8d7f75;
  --line: #e8ded3;
  --accent: #a8516b;
  --accent-ink: #ffffff;
  --accent-hover: #2b2420;
  --accent-hover-ink: #ffffff;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-display: 400;
  --lh-display: 1.12;
  --track-display: 0;

  --radius: 12px;
  --radius-ui: 8px;
  --footer-bg: #2b2420;
  --footer-text: #f3ebe3;
  --footer-muted: #ab9d92;
  --footer-line: rgba(255,255,255,.12);
  --overlay: linear-gradient(180deg, rgba(30,22,20,0) 34%, rgba(30,22,20,.88) 100%);
}
:root[data-theme="dark"] {
  --bg: #1b1715;
  --surface: #231d1a;
  --surface-2: #2c2420;
  --text: #f3ebe3;
  --text-2: #cfc3b9;
  --muted: #9a8b80;
  --line: #352c27;
  --accent: #d1788f;
  --accent-ink: #1b1715;
  --accent-hover: #f3ebe3;
  --accent-hover-ink: #1b1715;
  --footer-bg: #130f0e;
}

body { font-size: 17px; }
.meta, .cat, .primary-menu a, .mobile-menu a, .section-link, .widget-title, .btn, .header-cta { font-family: var(--font-ui); }
.brand__name { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0; }
h1, h2, h3, h4, .card__title, .mini__title, .entry-title, .section-title { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.entry-content { font-family: var(--font-body); }

.site-header { border-bottom: 1px solid var(--line); }
.primary-menu > li > a { font-weight: 500; font-size: .9rem; }
.header-cta { background: var(--accent); color: #fff; border-radius: 100px; }
.cat { color: hsl(var(--cat-hue,338) 42% 46%); font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .71rem; }
[data-theme="dark"] .cat { color: hsl(var(--cat-hue,338) 55% 70%); }
.card-overlay .cat { color: #fff; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.section-head { align-items: baseline; }
.section-head::after { content: none; }

/* ---------- Intro ---------- */
.cd-intro { padding-block: clamp(30px, 4vw, 48px); }
.cd-intro__text { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.2; max-width: 22ch; color: var(--text); }
.cd-intro__text::first-letter { color: var(--accent); }

/* ---------- Hero ---------- */
.cd-hero__grid { display: grid; gap: clamp(26px, 4vw, 44px); }
@media (min-width: 900px) { .cd-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.cd-hero__lead .card--lead .card__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; }
.cd-hero__lead .card--lead .card__excerpt { font-size: 1.1rem; }
.cd-hero__recent { border-top: 2px solid var(--text); padding-top: 1rem; }
.cd-hero__head { font-family: var(--font-ui); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .5rem; font-weight: 700; }
.cd-hero__recent .card-row { grid-template-columns: 80px 1fr; gap: 14px; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.cd-hero__recent .card-row:last-child { border-bottom: 0; }
.cd-hero__recent .card-row .media { aspect-ratio: 1; border-radius: var(--radius-ui); }
.cd-hero__recent .card__title { font-size: 1.1rem; }

/* ---------- Pull-quote ---------- */
.cd-pull { background: var(--surface-2); padding-block: clamp(44px, 6vw, 84px); }
.cd-pull .wrap { max-width: 920px; text-align: center; }
.cd-pull__quote { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.24; color: var(--text); margin: 0; border: 0; padding: 0; }
.cd-pull__cite { display: inline-block; margin-top: 1.4rem; font-family: var(--font-ui); font-weight: 600; font-size: .95rem; color: var(--muted); }
.cd-pull__cat { color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-left: .4rem; }

/* ---------- Sections ---------- */
.cd-band { background: var(--surface-2); padding-block: clamp(32px, 4vw, 52px); }
.cd-latest .card .media { aspect-ratio: 16/10; }

/* ---------- Signup ---------- */
.cd-signup .signup--band { background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.cd-signup .signup--band .signup__title { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.cd-signup .signup--band .signup__desc { color: rgba(255,255,255,.9); }
.cd-signup .signup--band .signup__form { min-width: 320px; }
.cd-signup .signup--band .signup__button { background: #2b2420; color: #fff; }
.cd-signup .signup--band .signup__note { color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .cd-signup .signup--band { grid-template-columns: 1fr; } .cd-signup .signup--band .signup__form { min-width: 0; } }

.entry-content { font-size: 1.12rem; line-height: 1.75; }
.entry-content blockquote { border-left: 3px solid var(--accent); font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.35; font-style: normal; }
