/*
 * Studio look (inc/studio-look.php, 1.4.382): the homepage's red, black and cream
 * design on every page of the Champsera website. Light mode only.
 *
 * 1. Fonts.  2. Colours: the semantic tokens of design-tokens.css re-pointed, so every
 * component that reads a token follows.  3. Base type.  4. Header and footer (moved
 * here from home-scrolls.css so every page shares them).
 */

/* 1. Fonts (SIL OFL, assets/fonts/home-scrolls/LICENSE.txt) */
@font-face { font-family: "HS Display"; src: url("../fonts/home-scrolls/display.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HS Word"; src: url("../fonts/home-scrolls/champsera-word.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HS Serif"; src: url("../fonts/home-scrolls/serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "HS Mono"; src: url("../fonts/home-scrolls/mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* 2. Colours */
html:has(> body.ch-studio-look) {
  --brand-cyan: #d90f26; --brand-blue: #b80c20; --brand-purple: #0d0d0d; --brand-pink: #ff3a4f; --brand-green: #0d0d0d; --brand-orange: #d90f26;
  --gradient-builder: linear-gradient(135deg, #d90f26 0%, #8f0716 100%);
  --gradient-grow: linear-gradient(135deg, #0d0d0d 0%, #3a3734 100%);
  --gradient-domain: linear-gradient(135deg, #d90f26 0%, #0d0d0d 100%);
  --gradient-tools: linear-gradient(135deg, #ff3a4f 0%, #d90f26 100%);
  --gradient-downloads: linear-gradient(135deg, #0d0d0d 0%, #d90f26 100%);
  --gradient-spectrum: linear-gradient(90deg, #d90f26, #0d0d0d, #d90f26);
  --font-heading: "HS Display", "Sora", sans-serif;
  --font-mono: "HS Mono", ui-monospace, monospace;
  --tracking-hero: -0.035em; --tracking-h2: -0.03em; --tracking-h3: -0.015em;
  font-synthesis: none;
}
html[data-theme]:has(> body.ch-studio-look) {
  color-scheme: light;
  --bg-primary: #f4f1ea; --bg-secondary: #ece7dc; --bg-tertiary: #e3ddcf;
  --surface-primary: #fbf9f4; --surface-secondary: #f4f1ea; --surface-elevated: #ffffff; --surface-hover: #efe9dd; --surface-selected: #f7dfe2; --surface-glass: rgba(251, 249, 244, .9);
  --text-primary: #0d0d0d; --text-secondary: #46423b; --text-muted: #5c574e; --text-disabled: #9c968a; --text-on-brand: #ffffff; --text-on-strong: #ffffff;
  --border-primary: #d6cfc0; --border-subtle: #e4ded2; --border-strong: #0d0d0d; --border-hover: #0d0d0d;
  --input-bg: #ffffff; --input-border: #0d0d0d; --input-placeholder: #6b665c; --input-disabled-bg: #ece7dc;
  --brand-cyan-text: #b80c20; --brand-blue-text: #b80c20; --brand-purple-text: #0d0d0d; --brand-pink-text: #b80c20; --brand-green-text: #0d0d0d; --brand-orange-text: #b80c20;
  --eyebrow-1: #b80c20; --eyebrow-2: #0d0d0d; --eyebrow-3: #b80c20; --eyebrow-4: #0d0d0d;
  --gradient-primary: linear-gradient(135deg, #d90f26 0%, #b80c20 100%);
  --gradient-primary-hover: linear-gradient(135deg, #0d0d0d 0%, #0d0d0d 100%);
  --text-on-primary: #ffffff;
  --color-link: #b80c20; --color-link-hover: #0d0d0d; --color-link-visited: #8f0716;
  --focus-color: #d90f26; --focus-ring: 0 0 0 3px rgba(217, 15, 38, .32); --input-focus-ring: 0 0 0 2px #d90f26;
  --icon-primary: #0d0d0d; --icon-secondary: #46423b; --icon-muted: #9c968a; --icon-accent: #d90f26;
  --info: #0d0d0d; --info-bg: #ece7dc; --info-border: #d6cfc0;
  --shadow-sm: 0 1px 0 rgba(13, 13, 13, .08); --shadow-md: 0 10px 28px rgba(13, 13, 13, .08); --shadow-lg: 0 24px 48px rgba(13, 13, 13, .12);
  --glow-primary: 0 10px 26px rgba(217, 15, 38, .25); --glow-card-hover: 6px 6px 0 #0d0d0d;
  --overlay: rgba(13, 13, 13, .55); --tooltip-bg: #0d0d0d; --tooltip-text: #f4f1ea;
  --selection-bg: #d90f26; --selection-text: #ffffff;
  --scrollbar-track: #ece7dc; --scrollbar-thumb: #0d0d0d; --scrollbar-thumb-hover: #d90f26;
  --skeleton-base: #ece7dc; --skeleton-shine: #f4f1ea;
  --page-background: #f4f1ea;
  --header-bg: #f4f1ea; --header-border: transparent; --header-shadow: none;
  --footer-bg: #0d0d0d; --newsletter-bg: #f4f1ea;
  --ch-line-glow: rgba(217, 15, 38, .28);
  --ch-accent: #b80c20; --ch-cyan: #b80c20; --ch-electric: #d90f26; --ch-purple: #0d0d0d; --ch-violet: #0d0d0d; --ch-pink: #d90f26; --ch-neon-pink: #d90f26; --ch-orange: #d90f26; --ch-amber: #b80c20; --ch-lime: #0d0d0d; --ch-mint: #0d0d0d;
  --ch-glow-cyan: 0 10px 26px rgba(217, 15, 38, .18); --ch-glow-purple: 0 10px 26px rgba(13, 13, 13, .16); --ch-glow-pink: 0 10px 26px rgba(217, 15, 38, .18); --ch-glow-lime: 0 10px 26px rgba(13, 13, 13, .16);
  --cpb-primary: #d90f26; --cpb-secondary: #0d0d0d; --cpb-electric: #d90f26; --cpb-violet: #0d0d0d; --cpb-pink: #d90f26; --cpb-orange: #d90f26; --cpb-lime: #0d0d0d; --cpb-warm: #b80c20;
  --ch-auto-cyan: #b80c20; --ch-auto-purple: #0d0d0d;
  --ch-studio-primary: #d90f26; --ch-studio-accent: #0d0d0d;
}
/* Bands that were dark navy: the page heroes turn red, the rest black. */
html:has(> body.ch-studio-look) :is(.ch-service-page, .ch-policy-page, .ch-downloads-page) :is(.ch-service-hero, .ch-policy-hero, .ch-downloads-hero),
html:has(> body.ch-studio-look) :is(.ch-service-page, .ch-policy-page, .ch-downloads-page) :is(.ch-service-deliverables, .ch-btn-custom-quote, .ch-service-cta, .ch-policy-contact) {
  color-scheme: dark;
  --bg-primary: #0d0d0d; --bg-secondary: #141414; --bg-tertiary: #1c1c1c;
  --surface-primary: #161616; --surface-secondary: #1c1c1c; --surface-elevated: #222; --surface-hover: #262626; --surface-glass: rgba(22, 22, 22, .9);
  --text-primary: #f4f1ea; --text-secondary: #d2ccc1; --text-muted: #b5afa4;
  --border-primary: rgba(244, 241, 234, .22); --border-subtle: rgba(244, 241, 234, .12); --border-strong: #f4f1ea;
  --color-link: #f4f1ea; --color-link-hover: #ff3a4f;
  --gradient-primary: linear-gradient(135deg, #d90f26 0%, #b80c20 100%);
}
html:has(> body.ch-studio-look) :is(.ch-service-page, .ch-policy-page, .ch-downloads-page) :is(.ch-service-hero, .ch-policy-hero, .ch-downloads-hero) {
  --bg-primary: #d90f26; --bg-secondary: #c40d22; --surface-primary: rgba(13, 13, 13, .14); --surface-secondary: rgba(13, 13, 13, .2);
  --text-primary: #ffffff; --text-secondary: #ffffff; --text-muted: #ffe5e8;
  --border-primary: rgba(255, 255, 255, .4);
  --gradient-primary: linear-gradient(135deg, #0d0d0d 0%, #0d0d0d 100%);
}
html[data-theme]:has(> body.ch-studio-look) .chb { --chb-on-accent: #ffffff; --chb-on-warm: #ffffff; --chb-teal: #b80c20; --chb-violet: #0d0d0d; --chb-blue: #b80c20; --chb-pink: #d90f26; --chb-amber: #b80c20; }
/* Pages made with Elementor take the same colours. */
html body.ch-studio-look[class*="elementor-kit-"] { --e-global-color-primary: #d90f26; --e-global-color-secondary: #0d0d0d; --e-global-color-text: #46423b; --e-global-color-accent: #d90f26; }

/* Paper pages (service, policy, downloads) use their own paper colours. */
body.ch-studio-look :is(.ch-service-page, .ch-policy-page, .ch-downloads-page) { --content-ink: #0d0d0d; --content-paper: #f4f1ea; --content-line: rgba(13, 13, 13, .16); --content-muted: #5c574e; }

/* 3. Base type */
html body.ch-studio-look { background: #f4f1ea; }
body.ch-studio-look ::selection { color: #fff; background: #d90f26; }
body.ch-studio-look :is(h1, h2) { letter-spacing: -.03em; }
body.ch-studio-look :is(.ch-page-kicker, .ch-eyebrow, .ch-kicker) { font-family: "HS Mono", ui-monospace, monospace !important; font-weight: 500 !important; letter-spacing: .09em; text-transform: uppercase; }
body.ch-studio-look .ch-motion-layer, body.ch-studio-look .ch-theme-switch { display: none !important; }

/* 4. Header and footer */
html body.ch-studio-look header.ch-header[data-site-header] { --hh-bg: #d90f26; --hh-ink: #0d0d0d; --hh-btn: #f4f1ea; --hh-btn-ink: #0d0d0d; background: var(--hh-bg) !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transition: background-color .35s ease; }
html body.ch-studio-look header.ch-header[data-site-header][data-hs-tone="paper"] { --hh-bg: #f4f1ea; --hh-ink: #0d0d0d; --hh-btn: #0d0d0d; --hh-btn-ink: #f4f1ea; }
html body.ch-studio-look header.ch-header[data-site-header][data-hs-tone="black"] { --hh-bg: #0d0d0d; --hh-ink: #f4f1ea; --hh-btn: #f4f1ea; --hh-btn-ink: #0d0d0d; }
html body.ch-studio-look header.ch-header[data-site-header]::before, html body.ch-studio-look header.ch-header[data-site-header]::after, .ch-studio-look .ch-motion-progress { display: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths { gap: clamp(14px, 2vw, 32px) !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a { position: relative; padding: 6px 0 !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; filter: none !important; font-size: 15px !important; font-weight: 700 !important; color: var(--hh-ink) !important; -webkit-text-fill-color: var(--hh-ink) !important; transform: none !important; text-shadow: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a::before { display: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22, 1, .36, 1); display: block !important; border: 0 !important; opacity: 1 !important; width: auto !important; top: auto !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a:hover::after { transform: scaleX(1); }
html body.ch-studio-look header.ch-header[data-site-header] .ch-lang-btn, html body.ch-studio-look header.ch-header[data-site-header] .ch-header__account, html body.ch-studio-look header.ch-header[data-site-header] .ch-header__cart-btn, html body.ch-studio-look header.ch-header[data-site-header] .ch-header__back, html body.ch-studio-look header.ch-header[data-site-header] .ch-header__toggle, html body.ch-studio-look header.ch-header[data-site-header] .ch-curr-switcher button { color: var(--hh-ink) !important; background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__toggle :is(span, i) { background: var(--hh-ink) !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__action { color: var(--hh-btn-ink) !important; background: var(--hh-btn) !important; border: 0 !important; box-shadow: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__action * { color: inherit !important; -webkit-text-fill-color: currentColor !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand img { filter: brightness(0); transition: filter .35s ease; }
html body.ch-studio-look header.ch-header[data-site-header][data-hs-tone="black"] .ch-brand img { filter: brightness(0) invert(1); }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand, html body.ch-studio-look header.ch-header[data-site-header] .ch-brand * { color: var(--hh-ink) !important; -webkit-text-fill-color: var(--hh-ink) !important; }
.ch-studio-look .ch-motion-layer { display: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a, html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a * { background-image: none !important; }
html body.ch-studio-look .ch-footer { --ch-footer-ink: #f4f1ea; --ch-footer-muted: #bdb8ae; --ch-footer-line: rgba(244, 241, 234, .22); position: relative; color: #f4f1ea !important; background: #0d0d0d !important; }
html body.ch-studio-look .ch-footer::before { display: none !important; }
html body.ch-studio-look .ch-footer::after { content: "CHAMPSERA" !important; position: static !important; display: block !important; width: auto !important; height: auto !important; padding: 10px 0 0 !important; background: none !important; filter: none !important; opacity: 1 !important; border-radius: 0 !important; color: var(--hs-red, #d90f26); font-family: var(--font-heading, "Sora", sans-serif); font-size: 15.4vw; font-weight: 800; line-height: .8; letter-spacing: -.06em; text-align: center; white-space: nowrap; overflow: hidden; }
html body.ch-studio-look .ch-footer a, html body.ch-studio-look .ch-footer h2, html body.ch-studio-look .ch-footer h3, html body.ch-studio-look .ch-footer h4 { color: #f4f1ea !important; }
html body.ch-studio-look .ch-footer p, html body.ch-studio-look .ch-footer__legal, html body.ch-studio-look .ch-footer__legal * { color: #bdb8ae !important; }
html body.ch-studio-look .ch-footer a:hover { color: #ff3a4f !important; }
html body.ch-studio-look .ch-footer h2::after, html body.ch-studio-look .ch-footer h3::after, html body.ch-studio-look .ch-footer h4::after { background: #d90f26 !important; }
html body.ch-studio-look .ch-footer__social a { background: transparent !important; border: 1px solid rgba(244, 241, 234, .4) !important; box-shadow: none !important; }
html body.ch-studio-look .ch-footer .ch-brand img { filter: brightness(0) invert(1); }
html body.ch-studio-look .ch-footer-newsletter { color: #0d0d0d !important; background: #f4f1ea !important; border: 0 !important; }
html body.ch-studio-look .ch-footer-newsletter::before, html body.ch-studio-look .ch-footer-newsletter::after { display: none !important; }
html body.ch-studio-look .ch-footer-newsletter h2, html body.ch-studio-look .ch-footer-newsletter p, html body.ch-studio-look .ch-footer-newsletter label, html body.ch-studio-look .ch-footer-newsletter span, html body.ch-studio-look .ch-footer-newsletter .ch-page-kicker { color: #0d0d0d !important; -webkit-text-fill-color: #0d0d0d !important; }
html body.ch-studio-look .ch-footer-newsletter input[type="email"] { color: #0d0d0d !important; background: #fff !important; border: 2px solid #0d0d0d !important; border-radius: 999px 0 0 999px !important; box-shadow: none !important; }
html body.ch-studio-look .ch-footer-newsletter button { color: #fff !important; background: #d90f26 !important; border-radius: 0 999px 999px 0 !important; box-shadow: none !important; }
html body.ch-studio-look .ch-footer-newsletter button * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand *, html body.ch-studio-look .ch-footer .ch-footer__column > :first-child, html body.ch-studio-look .ch-footer .ch-footer__column > :first-child * { color: #f4f1ea !important; -webkit-text-fill-color: #f4f1ea !important; }
html body.ch-studio-look .ch-footer .ch-footer__column > :first-child::after { background: #d90f26 !important; background-image: none !important; }
html body.ch-studio-look .ch-footer .ch-footer__bottom, html body.ch-studio-look .ch-footer .ch-footer__bottom *:not(svg):not(path) { color: #bdb8ae !important; -webkit-text-fill-color: #bdb8ae !important; }
html body.ch-studio-look .ch-footer-newsletter form button, html body.ch-studio-look .ch-footer-newsletter form .ch-button { background: #d90f26 !important; background-image: none !important; border: 0 !important; }
html body.ch-studio-look .ch-footer-newsletter form input[type="email"] { border-color: #0d0d0d !important; }
html[data-theme] body.ch-studio-look .ch-footer-newsletter .ch-newsletter-form .ch-newsletter-form__row button[type="submit"] { color: #fff !important; background: #d90f26 !important; background-image: none !important; box-shadow: none !important; }
html[data-theme] body.ch-studio-look .ch-footer-newsletter .ch-newsletter-form .ch-newsletter-form__row button[type="submit"] * { color: #fff !important; }
html[data-theme] body.ch-studio-look .ch-footer-newsletter .ch-newsletter-form .ch-newsletter-form__row input[type="email"] { border: 2px solid #0d0d0d !important; box-shadow: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-header__paths a { font-family: "HS Mono", ui-monospace, monospace !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: .05em; text-transform: uppercase; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand > *, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand > * { display: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand { display: inline-flex !important; align-items: center; gap: 8px; color: var(--hh-ink, #f4f1ea) !important; text-decoration: none; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand::before, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand::before { content: ""; width: 30px; height: 30px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' transform='rotate(38 12 12)' d='M12 1c3.6 2.7 5.6 6.6 5.6 11v4.6l3 4H16l-1.6-1.8H9.6L8 20.600H3.400l3-4V12C6.400 7.600 8.400 3.700 12 1zm0 6.800a2.500 2.500 0 1 0 0 5 2.500 2.500 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' transform='rotate(38 12 12)' d='M12 1c3.6 2.7 5.6 6.6 5.6 11v4.6l3 4H16l-1.6-1.8H9.6L8 20.600H3.400l3-4V12C6.400 7.600 8.400 3.700 12 1zm0 6.800a2.500 2.500 0 1 0 0 5 2.500 2.500 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand::after, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand::after { content: "CHAMPSERA"; font-family: "HS Display", sans-serif; font-size: 23px; letter-spacing: -.02em; color: inherit; -webkit-text-fill-color: currentColor; }
html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand { color: #f4f1ea !important; }
html body.ch-studio-look .ch-footer::after { font-family: "HS Display", sans-serif !important; font-weight: 400 !important; font-size: 14.2vw !important; letter-spacing: -.035em !important; }
.ch-studio-look .ch-theme-switch { display: none !important; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand::before, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand::before { width: 36px; height: 36px; -webkit-mask: url("../images/home-scrolls/logo-star.svg") center / contain no-repeat; mask: url("../images/home-scrolls/logo-star.svg") center / contain no-repeat; }
/* 1.4.398: the owner's star mark replaces the rocket C (logo-star.svg, traced from their icon). */
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand { align-items: center; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand::after, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand::after { font-family: "HS Word", "HS Display", sans-serif; font-size: 29px; font-weight: 400 !important; font-synthesis: none; line-height: 1; letter-spacing: .035em; }
html body.ch-studio-look header.ch-header[data-site-header] .ch-brand, html body.ch-studio-look .ch-footer .ch-footer__about .ch-brand { gap: 7px; }
@media (max-width: 720px) { html body.ch-studio-look header.ch-header[data-site-header] .ch-brand::before { width: 30px; height: 30px; } html body.ch-studio-look header.ch-header[data-site-header] .ch-brand::after { font-size: 24px; } }
/* 1.4.402: the both-markets price line under plan cards (homepage, plans, Start Building). */
.ch-market-note { max-width: 860px; margin: 22px auto 0; text-align: center; font-size: 14px; line-height: 1.6; opacity: .85; }
/* 1.4.411: the star mark + wordmark printed in the page (inc/branding.php) on every logo: header, footer, mobile menu. Drawn in the text colour, so black on light backgrounds and white on the dark footer. */
html body .ch-brand.ch-brand--star:not(#ch-x) { display: inline-flex !important; align-items: center; gap: 8px; color: inherit; text-decoration: none; line-height: 1; }
html body.ch-studio-look header.ch-header .ch-brand.ch-brand--star:not(#ch-x) { color: var(--hh-ink, #0d0d0d) !important; }
html body.ch-studio-look .ch-footer .ch-brand.ch-brand--star:not(#ch-x) { color: #f4f1ea !important; }
html body .ch-brand.ch-brand--star:not(#ch-x)::before, html body .ch-brand.ch-brand--star:not(#ch-x)::after { content: none !important; display: none !important; }
html body .ch-brand.ch-brand--star:not(#ch-x) > .ch-star-mark { display: block !important; width: 36px; height: 36px; flex: 0 0 auto; color: inherit; }
html body .ch-brand.ch-brand--star:not(#ch-x) > .ch-star-word { display: inline-block !important; font-family: "HS Word", "HS Display", sans-serif; font-size: 29px; font-weight: 400; font-synthesis: none; line-height: 1; letter-spacing: .035em; color: inherit; -webkit-text-fill-color: currentColor; white-space: nowrap; }
@media (max-width: 720px) { html body .ch-brand.ch-brand--star:not(#ch-x) > .ch-star-mark { width: 30px; height: 30px; } html body .ch-brand.ch-brand--star:not(#ch-x) > .ch-star-word { font-size: 24px; } }
