/*
Theme Name: Fernrain
Template: newsite-base
Description: Fernrain's brand layer on the Newsite Base theme — colours, fonts, logo and anything genuinely Fernrain-only. Everything shared (security, checkout protection, speed) lives in the base theme. Source: /usr/local/lsws/sites-src/fernrain/themes/fernrain (fernrain-git); deploy with fernrain-deploy.
Version: 0.3.5
Text Domain: fernrain
*/

/*
 * Size-matched stand-ins, shown for the moment before Figtree / Newsreader arrive, so text
 * keeps its size and nothing jumps when the real font swaps in. Measured 27 Oct 2026 against
 * Arial / Times New Roman (via their metric clones) on a sample sentence.
 */
@font-face {
	font-family: "Figtree Fallback";
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 99.19%;
	ascent-override: 95.78%;
	descent-override: 25.2%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Newsreader Fallback";
	src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("Times");
	size-adjust: 106.17%;
	ascent-override: 69.23%;
	descent-override: 24.96%;
	line-gap-override: 0%;
}

/* Wordmark: a step lighter than the 800 headline so the two don't compete. */
.nsb-brand__word { font-weight: 700; letter-spacing: -0.025em; }
.nsb-brand__mark svg { width: 24px; }

/* Founder note (tej approved 27 Oct): a letter card, no photo. Newsreader for the letter, Figtree for the heading. */
.fr-note { position: relative; max-width: 680px; margin: 0 auto; background: #fffdf7; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: 2.4rem 2.2rem 2rem; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 18px 40px -24px rgba(28, 58, 42, 0.35); }
.fr-note::before { content: ""; position: absolute; left: 0; top: 1.6rem; bottom: 1.6rem; width: 4px; border-radius: 0 4px 4px 0; background: var(--wp--preset--color--cta); }
.fr-note > * { margin-top: 0; }
.fr-note__mark { width: 30px; color: var(--wp--preset--color--accent); margin-bottom: 0.9rem; }
.fr-note__mark svg { width: 30px; height: auto; display: block; }
.fr-note__kicker { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.nsb-pdp__details .fr-note__title { margin: 0.35rem 0 1rem; text-align: left; font-size: clamp(1.5rem, 4.5vw, 2rem); }
.fr-note__body p { font-family: var(--wp--preset--font-family--evidence); font-size: 1.12rem; line-height: 1.6; margin: 0 0 0.9rem; color: var(--wp--preset--color--contrast); }
.fr-note__sig { margin: 1.2rem 0 0; font-family: var(--wp--preset--font-family--evidence); font-style: italic; font-size: 1.9rem; line-height: 1; color: var(--wp--preset--color--accent); }
.fr-note__role { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--wp--preset--color--contrast-soft); }
.fr-note__role a { color: inherit; }
@media (max-width: 781px) { .fr-note { padding: 1.8rem 1.3rem 1.5rem; } .fr-note__body p { font-size: 1.05rem; } }
