/* ==========================================================================
   Editorial - locked magazine/typography theme (loaded AFTER vanilla).
   Warm paper, DM Serif Display headings over a Newsreader serif body, an
   editorial-red accent, drop caps on lead paragraphs + large pull-quotes.
     page #fbfaf7   surface #fff   bands #1a1a1a   accent red #b3261e
   ========================================================================== */

.theme-editorial {
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Newsreader', Georgia, 'Times New Roman', serif;

    --color-accent: #b3261e;
    --color-accent-hover: #8f1d17;

    --color-bg: #fbfaf7;
    --color-surface: #ffffff;
    --color-surface-dark: #1a1a1a;
    --color-border: #e7e3da;

    --color-text: #1c1a17;
    --color-text-secondary: #5e5950;
    --color-text-muted: #3a362f;
    --color-text-on-dark: #ffffff;
    --color-text-on-dark-muted: #b0aaa0;

    --radius-sm: 0;
    --radius-md: 2px;
    --radius-lg: 4px;
}

body.theme-editorial { background: var(--color-bg); }

/* Display-serif headings; a kicker-style red uppercase eyebrow. */
.theme-editorial h1,
.theme-editorial h2,
.theme-editorial h3,
.theme-editorial h4 { font-weight: 400; letter-spacing: 0; }
.theme-editorial .c-hero__title { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1.02; }
.theme-editorial .c-hero__label,
.theme-editorial .c-section-head__label,
.theme-editorial .c-services__label,
.theme-editorial .c-label {
    font-family: 'Inter', sans-serif;
    color: var(--color-accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}
.theme-editorial .c-hero--image .c-hero__label { color: rgba(255, 255, 255, 0.92); }

/* UI controls stay in a clean sans for legibility (buttons, nav, fields). */
.theme-editorial .c-nav__link,
.theme-editorial .c-nav__mobile a,
.theme-editorial .btn,
.theme-editorial .btn-primary,
.theme-editorial .btn-secondary,
.theme-editorial .btn--primary,
.theme-editorial .btn--secondary,
.theme-editorial .field label,
.theme-editorial .field input,
.theme-editorial .field select,
.theme-editorial .field textarea { font-family: 'Inter', system-ui, sans-serif; }
.theme-editorial .c-nav__link,
.theme-editorial .c-nav__mobile a { letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; font-size: 0.85rem; }

/* Drop cap on the lead paragraph of prose + article bodies. */
.theme-editorial .c-prose > p:first-of-type::first-letter,
.theme-editorial .c-service-detail__body > p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.4em;
    line-height: 0.82;
    padding: 0.05em 0.12em 0 0;
    color: var(--color-accent);
}

/* Pull-quote styling for blockquotes inside rich content. */
.theme-editorial .c-prose blockquote {
    margin: 1.4em 0;
    padding: 0.2em 0 0.2em 1.1em;
    border-left: 3px solid var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.6em;
    line-height: 1.25;
    color: var(--color-text);
}

/* Eyebrow already handled; cards on paper. */
.theme-editorial .c-service-card,
.theme-editorial .c-pricing-index__card,
.theme-editorial .oh-dept { background: var(--color-surface); }
.theme-editorial .c-service-card:hover { box-shadow: 0 14px 36px rgba(28, 26, 23, 0.12); }
.theme-editorial .c-pricing-index__card:hover { border-color: var(--color-accent); }
.theme-editorial .c-services,
.theme-editorial .c-tabs { background: var(--color-surface); }

/* Red focus ring. */
.theme-editorial .field input:focus,
.theme-editorial .field select:focus,
.theme-editorial .field textarea:focus,
.theme-editorial .bk-search input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.16); }

/* ===== HERO: red "banner", white text, paper button ===== */
.theme-editorial .c-hero--banner { background: var(--color-accent); color: #fff; }
.theme-editorial .c-hero--banner .c-hero__title,
.theme-editorial .c-hero--banner .c-hero__desc { color: #fff; }
.theme-editorial .c-hero--banner .c-hero__label { color: rgba(255, 255, 255, 0.88); }
.theme-editorial .c-hero--banner .btn-primary,
.theme-editorial .c-hero--banner .btn--primary { background: #fff; color: var(--color-accent); }
.theme-editorial .c-hero--banner .btn-primary:hover,
.theme-editorial .c-hero--banner .btn--primary:hover { background: rgba(255, 255, 255, 0.9); }
