/*
Theme Name:   FixThinks
Theme URI:    https://fixthinks.com
Author:       Richet
Author URI:   https://richet.ca
Description:  Standalone WordPress theme for FixThinks.com — automate the small, repetitive computer tasks that quietly eat your team's week. Warm, playful, vector-heavy.
Version:      1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fixthinks
Tags:         business, services, illustrated, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   FIXTHINKS DESIGN SYSTEM
   Warm cream paper, ink navy, sunshine yellow.
   Vector-first: lots of hand-drawn-feel SVGs, squiggles, doodles.
   ============================================================ */

:root {
	color-scheme: light;

	/* Brand */
	--ft-paper:       #fdfaf3;  /* warm cream background           */
	--ft-paper-soft:  #f6efe1;  /* sand                             */
	--ft-card:        #ffffff;  /* card surface                     */
	--ft-ink:         #1c2440;  /* deep ink navy — primary text     */
	--ft-ink-soft:    #4a5275;  /* secondary text                   */
	--ft-ink-faint:   #8b94b3;  /* faint                            */
	--ft-line:        #e8ddc6;  /* warm line / border on paper      */
	--ft-line-soft:   #f0e7d3;
	--ft-rule:        #1c2440;  /* heavy ink rule                   */

	--ft-sun:         #ffd23f;  /* primary accent — sun yellow      */
	--ft-sun-deep:    #f4b400;  /* hover / pressed                  */
	--ft-coral:       #ff6b6b;  /* "broken" / before-state accent   */
	--ft-mint:        #7bd389;  /* "fixed"  / after-state accent    */
	--ft-lav:         #a08bd6;  /* lavender — decorative            */
	--ft-sky:         #6fb1d6;  /* sky      — decorative            */

	/* Type */
	--ft-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--ft-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ft-font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Geometry */
	--ft-r-sm: 10px;
	--ft-r-md: 16px;
	--ft-r-lg: 24px;
	--ft-r-pill: 999px;

	--ft-stroke:    2.2px;
	--ft-stroke-lg: 3px;

	--ft-shadow-soft: 0 1px 0 var(--ft-line), 0 18px 36px -22px rgba(28, 36, 64, 0.18);
	--ft-shadow-pop:  0 2px 0 var(--ft-ink), 0 14px 30px -16px rgba(28, 36, 64, 0.28);
	--ft-shadow-sun:  0 2px 0 var(--ft-ink), 0 16px 0 -8px var(--ft-sun);

	--ft-maxw: 1180px;
}

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

html, body {
	margin: 0;
	padding: 0;
	background: var(--ft-paper);
	color: var(--ft-ink);
	font-family: var(--ft-font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a {
	color: var(--ft-ink);
	text-decoration: underline;
	text-decoration-color: var(--ft-sun);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: text-decoration-color 120ms ease;
}
a:hover { text-decoration-color: var(--ft-coral); }

/* Typography */
h1, h2, h3, h4 {
	font-family: var(--ft-font-display);
	font-weight: 600;
	font-variation-settings: "SOFT" 50, "WONK" 0;
	margin: 0 0 0.4em;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--ft-ink);
}
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; font-weight: 600; }
h4 {
	font-family: var(--ft-font-body);
	font-size: 13px; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--ft-ink-soft);
}

p { margin: 0 0 1em; }
strong { font-weight: 700; }
em { font-style: italic; }

hr {
	border: 0; height: 0;
	border-top: 2px dashed var(--ft-line);
	margin: 44px 0;
}

code, pre {
	font-family: var(--ft-font-mono);
	font-size: 14px;
	background: var(--ft-paper-soft);
	border: 1px solid var(--ft-line);
	border-radius: 6px;
	padding: 1px 6px;
	color: var(--ft-ink);
}
pre { padding: 14px; overflow-x: auto; }

::selection { background: var(--ft-sun); color: var(--ft-ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: absolute; top: -100px; left: 8px;
	padding: 10px 14px; background: var(--ft-ink); color: var(--ft-sun);
	border-radius: 8px; z-index: 9999; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

.site { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.site-main { flex: 1 0 auto; }
.container { width: 100%; max-width: var(--ft-maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-paper-soft { background: var(--ft-paper-soft); }
.section-ink { background: var(--ft-ink); color: var(--ft-paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--ft-paper); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--ft-ink-soft);
	margin-bottom: 16px;
}
.eyebrow::before {
	content: ""; width: 28px; height: 2px;
	background: var(--ft-coral); border-radius: 2px;
}

.lead {
	font-size: 19px; line-height: 1.5;
	color: var(--ft-ink-soft);
	max-width: 58ch;
}

/* The "scribble underline" effect for emphasis spans */
.scribble {
	position: relative; display: inline-block; padding: 0 2px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'><path d='M2 12 C 30 4, 60 16, 100 8 S 170 14, 198 6' stroke='%23ffd23f' stroke-width='6' fill='none' stroke-linecap='round'/></svg>");
	background-repeat: no-repeat;
	background-position: 0 90%;
	background-size: 100% 0.45em;
}
.scribble-coral {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'><path d='M2 12 C 30 4, 60 16, 100 8 S 170 14, 198 6' stroke='%23ff6b6b' stroke-width='6' fill='none' stroke-linecap='round'/></svg>");
}
.scribble-mint {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'><path d='M2 12 C 30 4, 60 16, 100 8 S 170 14, 198 6' stroke='%237bd389' stroke-width='6' fill='none' stroke-linecap='round'/></svg>");
}

/* Floating decorative SVGs around sections */
.deco {
	position: absolute; pointer-events: none; opacity: 0.9;
	z-index: 0;
}
.deco--tl { top: 32px;    left: 24px; }
.deco--tr { top: 32px;    right: 24px; }
.deco--bl { bottom: 32px; left: 24px; }
.deco--br { bottom: 32px; right: 24px; }

/* Content always sits above decorations */
.section > .container { position: relative; z-index: 1; }

/* ============================================================
   HEADER + NAV
   ============================================================ */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(253, 250, 243, 0.92);
	backdrop-filter: saturate(120%) blur(8px);
	border-bottom: 1px solid var(--ft-line);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 14px 0;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding a { text-decoration: none; }
.site-mark {
	width: 40px; height: 40px; flex: 0 0 auto;
	display: grid; place-items: center;
}
.site-title { margin: 0; font-family: var(--ft-font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.site-title a { color: var(--ft-ink); text-decoration: none; }

.nav-toggle {
	display: none; background: var(--ft-card); border: 2px solid var(--ft-ink);
	color: var(--ft-ink); border-radius: 10px; padding: 8px 12px; cursor: pointer;
	font-family: inherit; font-weight: 600;
}
.nav-toggle:focus-visible { outline: 3px solid var(--ft-sun); outline-offset: 2px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav a {
	color: var(--ft-ink-soft); padding: 8px 14px; border-radius: 8px;
	font-size: 15px; font-weight: 500; text-decoration: none;
}
.main-nav a:hover { color: var(--ft-ink); background: var(--ft-paper-soft); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a {
	color: var(--ft-ink); background: var(--ft-paper-soft);
}
.main-nav .btn { margin-left: 8px; }

@media (max-width: 820px) {
	.nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--ft-paper); border-bottom: 2px solid var(--ft-ink);
		padding: 12px 0;
	}
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 2px; }
	.main-nav a { display: block; }
	.main-nav .btn { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ============================================================
   BUTTONS — chunky, ink-outlined, "stamped" feel
   ============================================================ */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border-radius: var(--ft-r-pill);
	font-weight: 700; font-size: 15px; line-height: 1.1;
	font-family: var(--ft-font-body);
	border: 2px solid var(--ft-ink); cursor: pointer;
	text-decoration: none; color: var(--ft-ink);
	background: var(--ft-card);
	box-shadow: 0 2px 0 var(--ft-ink);
	transition: transform 80ms ease, box-shadow 100ms ease, background 120ms ease;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translate(-1px, -1px); box-shadow: 0 4px 0 var(--ft-ink); }
.btn:active { transform: translate(0, 1px); box-shadow: 0 1px 0 var(--ft-ink); }

.btn-primary { background: var(--ft-sun); }
.btn-primary:hover { background: var(--ft-sun-deep); }

.btn-secondary { background: var(--ft-card); }

.btn-ink { background: var(--ft-ink); color: var(--ft-paper); border-color: var(--ft-ink); }
.btn-ink:hover { background: #2a3454; color: var(--ft-paper); }

.btn-ghost {
	background: transparent; border-color: transparent; box-shadow: none;
	color: var(--ft-ink-soft); padding: 8px 14px;
}
.btn-ghost:hover {
	background: var(--ft-paper-soft); color: var(--ft-ink);
	box-shadow: none; transform: none;
}

.btn-lg { padding: 16px 26px; font-size: 16px; }

/* Inline SVGs inside buttons / links should sit nicely next to text.
 * Without explicit sizing some browsers (and many email clients) will
 * blow them up to 300x150 — which is exactly the kind of "looks broken"
 * we don't want. */
.btn svg, .main-nav svg, .hero-meta svg {
	width: 1.1em; height: 1.1em;
	display: inline-block; vertical-align: middle;
	flex: 0 0 auto;
}
.btn .arrow, .btn svg.arrow {
	width: 1.4em; height: 0.9em;
	transition: transform 120ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Doodle icons used in service cards — explicit box so the SVG fills it
 * predictably across browsers. Display must be block-ish for width/height
 * to apply (the wrapper is a <span>). */
.card .doodle-icon {
	display: inline-block;
	width: 64px; height: 64px; padding: 8px;
	margin-bottom: 14px;
	line-height: 0;
	vertical-align: top;
}
.card .doodle-icon svg { display: block; width: 100%; height: 100%; max-width: 100%; }

/* ============================================================
   HERO
   ============================================================ */

.hero { padding: 64px 0 96px; position: relative; }
.hero-grid {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero h1 { margin-bottom: 22px; }
.hero h1 .scribble { padding: 0 6px; }
.hero p.lead { font-size: 20px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
	margin-top: 32px; display: flex; gap: 22px;
	color: var(--ft-ink-faint); font-size: 14px; flex-wrap: wrap;
}
.hero-meta strong { color: var(--ft-ink); font-weight: 600; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

/* Floating sticky-note vignettes */
.hero-stickies {
	position: absolute; inset: 0;
	pointer-events: none;
}
.hero-sticky {
	position: absolute; padding: 8px 12px;
	font-size: 13px; font-weight: 500;
	border: 2px solid var(--ft-ink);
	border-radius: 4px;
	box-shadow: 0 6px 0 -3px rgba(28, 36, 64, 0.2);
	background: var(--ft-sun);
	transform: rotate(-4deg);
	white-space: nowrap;
}
.hero-sticky--coral { background: var(--ft-coral); color: var(--ft-paper); transform: rotate(3deg); }
.hero-sticky--mint  { background: var(--ft-mint);  transform: rotate(-2deg); }
.hero-sticky--lav   { background: var(--ft-lav);   color: var(--ft-paper); transform: rotate(5deg); }
.hero-sticky--sky   { background: var(--ft-sky);   transform: rotate(-6deg); }

/* ============================================================
   CARDS / GRID
   ============================================================ */

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
	background: var(--ft-card);
	border: 2px solid var(--ft-ink);
	border-radius: var(--ft-r-md);
	padding: 24px;
	box-shadow: var(--ft-shadow-pop);
	position: relative;
	transition: transform 120ms ease, box-shadow 120ms ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 0 4px 0 var(--ft-ink), 0 18px 32px -14px rgba(28, 36, 64, 0.28); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--ft-ink-soft); margin: 0; font-size: 15.5px; line-height: 1.55; }
/* (Consolidated above with the inline-block fallback for older renderers.) */
.card .tag {
	position: absolute; top: -10px; right: 14px;
	background: var(--ft-sun); color: var(--ft-ink);
	border: 2px solid var(--ft-ink); border-radius: var(--ft-r-pill);
	font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
	text-transform: uppercase; padding: 4px 10px;
	box-shadow: 0 2px 0 var(--ft-ink);
	transform: rotate(2deg);
}

/* Numbered process card */
.card-feature {
	display: flex; gap: 20px; padding: 24px;
	background: var(--ft-card); border: 2px solid var(--ft-ink);
	border-radius: var(--ft-r-md);
	box-shadow: var(--ft-shadow-pop);
}
.card-feature .num {
	flex: 0 0 auto; width: 56px; height: 56px;
	border-radius: 50%;
	display: grid; place-items: center;
	background: var(--ft-sun); color: var(--ft-ink);
	font-family: var(--ft-font-display); font-weight: 700; font-size: 26px;
	border: 2px solid var(--ft-ink);
	box-shadow: 0 2px 0 var(--ft-ink);
}
.card-feature h3 { font-size: 20px; margin: 0 0 6px; }
.card-feature p { font-size: 15px; color: var(--ft-ink-soft); margin: 0; }

/* ============================================================
   BEFORE / AFTER vignette
   ============================================================ */

.beforeafter {
	display: grid; gap: 22px; grid-template-columns: 1fr auto 1fr;
	align-items: stretch; margin-top: 32px;
}
@media (max-width: 720px) { .beforeafter { grid-template-columns: 1fr; } .beforeafter .ba-arrow { transform: rotate(90deg); justify-self: center; } }

.ba-panel {
	background: var(--ft-card); border: 2px solid var(--ft-ink);
	border-radius: var(--ft-r-md); padding: 24px;
	box-shadow: var(--ft-shadow-pop);
	display: flex; flex-direction: column; gap: 14px;
}
.ba-panel--before { background: #fff6f6; }
.ba-panel--after  { background: #f3fbf4; }
.ba-panel h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; margin: 0; }
.ba-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ba-panel li {
	display: flex; gap: 10px; align-items: flex-start; font-size: 15px;
	color: var(--ft-ink);
}
.ba-panel--before li::before {
	content: "✕"; flex: 0 0 auto; width: 22px; height: 22px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--ft-coral); color: var(--ft-paper);
	font-size: 13px; font-weight: 700;
}
.ba-panel--after li::before {
	content: "✓"; flex: 0 0 auto; width: 22px; height: 22px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--ft-mint); color: var(--ft-ink);
	font-size: 13px; font-weight: 700;
}
.ba-arrow { align-self: center; display: grid; place-items: center; color: var(--ft-ink); }
.ba-arrow svg { width: 64px; height: 64px; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
	display: grid; gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch; margin-top: 8px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
	background: var(--ft-card);
	border: 2px solid var(--ft-ink);
	border-radius: var(--ft-r-lg);
	padding: 28px;
	display: flex; flex-direction: column; gap: 14px;
	box-shadow: var(--ft-shadow-pop);
	position: relative;
}
.plan.featured {
	background: var(--ft-sun);
	box-shadow: 0 2px 0 var(--ft-ink), 0 22px 36px -16px rgba(244, 180, 0, 0.55);
}
.plan.featured .plan-name { color: var(--ft-ink); }
.plan-badge {
	position: absolute; top: -14px; left: 50%;
	transform: translateX(-50%) rotate(-3deg);
	background: var(--ft-coral); color: var(--ft-paper);
	border: 2px solid var(--ft-ink); border-radius: var(--ft-r-pill);
	font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
	text-transform: uppercase; padding: 4px 12px;
	box-shadow: 0 2px 0 var(--ft-ink);
}
.plan-name {
	font-size: 13px; font-weight: 800; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--ft-ink-soft);
}
.plan-price {
	font-family: var(--ft-font-display);
	font-size: 44px; font-weight: 700; line-height: 1;
}
.plan-price small {
	font-family: var(--ft-font-body);
	font-size: 14px; color: var(--ft-ink-soft); font-weight: 500;
}
.plan-desc { color: var(--ft-ink-soft); font-size: 15px; min-height: 3em; }
.plan-features { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.plan-features li {
	display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ft-ink);
}
.plan-features li::before {
	content: "✓"; width: 20px; height: 20px; flex: 0 0 auto;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--ft-mint); color: var(--ft-ink);
	font-size: 12px; font-weight: 800; margin-top: 2px;
}
.plan.featured .plan-features li::before { background: var(--ft-paper); }

/* ============================================================
   FAQ
   ============================================================ */

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details {
	background: var(--ft-card); border: 2px solid var(--ft-ink);
	border-radius: var(--ft-r-md); padding: 18px 22px;
	box-shadow: var(--ft-shadow-pop);
}
.faq summary {
	cursor: pointer; font-weight: 600; list-style: none;
	display: flex; justify-content: space-between; gap: 12px;
	font-family: var(--ft-font-display); font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; color: var(--ft-ink-soft); font-size: 24px; line-height: 1;
	transition: transform 200ms ease; flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
	margin: 12px 0 0; color: var(--ft-ink-soft);
	font-size: 16px; font-family: var(--ft-font-body);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
	border-top: 2px solid var(--ft-ink);
	background: var(--ft-ink);
	color: var(--ft-paper);
	padding: 56px 0 36px;
	font-size: 15px;
	position: relative;
}
.site-footer h4 { color: var(--ft-paper); }
.footer-grid {
	display: grid; gap: 32px;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	align-items: flex-start;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: rgba(253, 250, 243, 0.7); font-size: 15px; max-width: 32ch; }
.footer-grid h4 { margin-bottom: 12px; color: var(--ft-sun); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(253, 250, 243, 0.85); text-decoration: none; }
.footer-grid a:hover { color: var(--ft-sun); }
.footer-bottom {
	margin-top: 36px; padding-top: 18px;
	border-top: 1px solid rgba(253, 250, 243, 0.18);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	color: rgba(253, 250, 243, 0.55); font-size: 13px;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */

.page-header { padding: 64px 0 24px; }
.page-header h1 { margin: 0; }
.entry-content { max-width: 740px; font-size: 17px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 0.25em; }
.entry-content blockquote {
	border-left: 4px solid var(--ft-sun);
	padding: 6px 0 6px 18px; margin: 1.8em 0;
	color: var(--ft-ink-soft); font-style: italic;
	font-family: var(--ft-font-display); font-size: 19px;
}
.entry-content code { background: var(--ft-paper-soft); }

article.post, article.page { padding: 24px 0; }
article.post + article.post { border-top: 2px dashed var(--ft-line); }

.entry-meta { font-size: 13px; color: var(--ft-ink-faint); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.entry-title { font-family: var(--ft-font-display); margin: 0 0 10px; }
.entry-title a { color: var(--ft-ink); text-decoration: none; background-image: linear-gradient(transparent 60%, var(--ft-sun) 60%); background-size: 100% 100%; transition: background-size 200ms ease; }
.entry-title a:hover { background-size: 100% 100%; }

/* ============================================================
   FORMS
   ============================================================ */

input[type=text], input[type=email], input[type=password], input[type=url], textarea, select {
	background: var(--ft-card); color: var(--ft-ink);
	border: 2px solid var(--ft-ink); border-radius: 10px;
	padding: 12px 14px; font-size: 15px; font-family: inherit;
	width: 100%; max-width: 420px;
	box-shadow: 0 2px 0 var(--ft-ink);
}
input:focus, textarea:focus, select:focus {
	outline: none; border-color: var(--ft-ink);
	box-shadow: 0 2px 0 var(--ft-ink), 0 0 0 3px var(--ft-sun);
}
label { display: block; font-size: 14px; font-weight: 600; color: var(--ft-ink); margin: 14px 0 6px; }

/* Comment block, less hostile defaults */
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea { max-width: 100%; }

/* Subscriptions plugin styling overrides — match the playful card vibe */
.richet-subs {
	background: var(--ft-card);
	border: 2px solid var(--ft-ink);
	border-radius: var(--ft-r-md);
	padding: 22px;
	box-shadow: var(--ft-shadow-pop);
}
.richet-subs__plan { font-family: var(--ft-font-display); font-size: 22px; }
.richet-subs__btn--primary { background: var(--ft-sun); border: 2px solid var(--ft-ink); border-radius: var(--ft-r-pill); padding: 12px 20px; font-weight: 700; }
.richet-subs__btn--secondary { background: var(--ft-card); border: 2px solid var(--ft-ink); border-radius: var(--ft-r-pill); padding: 12px 20px; font-weight: 600; color: var(--ft-ink); }
.richet-subs--error { background: #fff6f6; border: 2px solid var(--ft-coral); color: var(--ft-ink); padding: 14px; border-radius: var(--ft-r-md); }
