/* MarketFisher overrides on top of the Consulo template. Kept deliberately small:
   the template's own CSS does the design; this only adds what the template has
   no concept of — our wordmark, the contact form's status line and honeypot,
   and a text ticker where the template expected brand logos. */

/* Wordmark: emblem + text, so no raster logo file is needed at any size. */
.sf-brand { display: inline-flex !important; align-items: center; gap: .55rem; text-decoration: none; }
/* The "M" mark, transparent, in two cuts: logo-mark.png for dark surfaces
   (floating header, footer, legal header) and logo-mark-light.png for the
   white mobile drawer - the light cut has dark folds that would vanish on navy.
   78px with a negative block margin keeps the header and footer rows at their
   original height while the mark overhangs them. */
.sf-logo-mark { width: 78px; height: 78px; margin-block: -19px; display: inline-block; flex: none; }
.sf-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
/* Below 992px the template pins the header bar to the very top of the screen,
   so the full overhang would push the mark off-screen (measured -7px). A
   smaller mark whose overhang matches the bar's own 12px padding keeps the
   pop-out without clipping. */
@media (max-width: 991px) {
  .sf-logo-mark { width: 60px; height: 60px; margin-block: -10px; }
}
.sf-wordmark { font-family: var(--font-heading--family); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
/* "Market" takes the logo's cyan, "Fisher" the surrounding ink (white on the
   dark header and footer, dark in the white mobile drawer). On the white drawer
   the cyan is deepened so it stays readable. */
.sf-wordmark { color: #2ed3e0; }
.header-1 .drawer-menu .sf-brand .sf-wordmark { color: #0b8ea3; }
.sf-wordmark em { font-style: normal; }
/* The floating header sits over the dark hero and turns solid navy on hover and
   scroll, so in the header the wordmark is always white. The mobile drawer is a
   white panel, so its copy of the logo is dark. Specific selectors on purpose:
   the template's own colour rules would otherwise win. */
.header-1 .header-grid > .sf-brand .sf-wordmark { font-size: 1.74rem; /* header wordmark +20% over the shared 1.45rem (asked 2026-08-23) */ }
.header-1 .header-grid > .sf-brand .sf-wordmark em { color: #fff; }
.header-1 .drawer-menu .sf-brand .sf-wordmark em { color: var(--color-foreground-heading); }
footer .sf-wordmark em { color: #fff; }

/* Ticker items are text, not brand images. */
.sf-ticker-link { white-space: nowrap; }
.sf-ticker-link span { opacity: .8; }
.sf-ticker-link::after { content: "•"; margin: 0 1.6rem; opacity: .35; }

/* Blog cards repurposed as audience cards want a line of copy under the heading. */
.sf-card-text { margin-top: .6rem; }

/* The form panel is dark but its inputs are white, and the template puts
   class="text" on every input — which inside this panel resolves to near-white.
   A class selector beats the template's own `input { color: var(--color-input-text) }`,
   so typed text AND placeholders came out white on white. Put the intended ink
   back, with enough specificity to win. */
.contact-form-wrap .contact-form input,
.contact-form-wrap .contact-form textarea { color: var(--color-input-text); }
.contact-form-wrap .contact-form input::placeholder,
.contact-form-wrap .contact-form textarea::placeholder { color: var(--color-input-text); opacity: .8; }

/* Contact form: honeypot (invisible to people) and the status line. */
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-form-note { min-height: 1.4em; margin: 0 0 .25rem; }
/* Light, not dark: this line sits ON the dark panel, so the conventional green
   and red were as unreadable as the white input text was. */
.sf-form-note.ok { color: #6ee7a7; }
.sf-form-note.err { color: #fca5a5; }

.sf-trademarks { opacity: .7; }

/* Type is 15% larger than the template ships it (asked for 2026-08-23). The
   template sizes headings/buttons via px variables in the page head and ~117 px
   rules in assets/css — those were scaled in place (×1.15, and build-index.js
   re-applies the head scaling on every rebuild). Body copy has no explicit size,
   so the root percentage lifts it, and any rem/em sizing, by the same 15%. */
html { font-size: 115%; }

/* The hero slider card was locked to the viewport height with the content
   vertically centred inside it. With the larger type the content block is
   taller than the space under the floating header, so it overflowed upward
   and the slogan badge sat under the menu. Let the card grow with its content:
   the template's own padding then keeps the content 60px clear of the header. */
.hero-slider.hero-slider-3.with-fixed-bg,
.hero-slider.hero-slider-3.with-fixed-bg .slider-card { height: auto; min-height: 100vh; }
.hero-slider.hero-slider-3.with-fixed-bg .slider-content .container.height-100 { height: auto; }
