/* All color and typography definitions live here. System fonts stay local. */
:root {
 color-scheme: light;
 --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 --font-heading: Georgia, "Times New Roman", serif;
 /* Maritime palette from the completed read-only inventory. */
 --maritime-navy-950: #041526; --maritime-navy-900: #061a31;
 --maritime-navy-800: #092541; --maritime-navy-700: #123a5c;
 --maritime-gold-500: #d0a34b; --maritime-gold-400: #e0b457;
 --maritime-gold-100: #fff3d8; --maritime-gold-dark: #9b7128;
 --maritime-paper: #f4f6f7; --maritime-cream: #fffaf0;
 --maritime-line: #d9e0e5; --maritime-copy: #677786;
 --bg: var(--maritime-paper); --surface: var(--maritime-cream);
 --text: var(--maritime-navy-900); --muted: var(--maritime-copy);
 --accent: var(--maritime-gold-dark); --accent-soft: var(--maritime-gold-100);
 --line: var(--maritime-line); --focus: var(--maritime-gold-dark);
 --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-5: 3rem; --space-6: 5rem;
 --radius: 1.25rem; --small-radius: .5rem; --max: 72rem;
 --body: 1rem; --small: .875rem; --title: clamp(2.5rem, 7vw, 5.75rem); --h2: clamp(1.75rem, 4vw, 2.5rem); --h3: 1.5rem;
 --regular: 400; --medium: 550; --bold: 700;
 --leading: 1.6; --heading-leading: 1.06; --tracking: -.045em;
}
html[data-theme="dark"] {color-scheme:dark;
 --bg:var(--maritime-navy-950); --surface:var(--maritime-navy-900);
 --text:var(--maritime-cream); --muted:#b3c3cd;
 --accent:var(--maritime-gold-500); --accent-soft:var(--maritime-navy-700);
 --line:var(--maritime-navy-700); --focus:var(--maritime-gold-400);
}

html {color-scheme:light!important;}
html[data-theme=dark]{color-scheme:dark!important;}
html[data-theme=dark] body:has(.home-hero)::before {opacity:.25;}
@media(max-width:47.99rem){html[data-theme=dark] body:has(.home-hero)::before{opacity:.20;}}
html[data-theme=dark] .home-page .card-logo {filter:brightness(0) invert(1);}
.home-page .footer .footer-group-emblem {mix-blend-mode:normal;background:transparent;}

/* Dirk 13.10: same original sea photograph, visible evening tint; light stays unchanged. */
html[data-theme="dark"] body:has(.home-hero)::before {
 background-image:linear-gradient(to bottom,#041526 0%,rgba(4,21,38,.80) 28%,rgba(4,21,38,.32) 100%),linear-gradient(to right,rgba(4,21,38,.45) 0%,transparent 70%),url('/referenz-20261012/sigvora-assets/legacy/ui-assets/sigvora-entry-dawn.webp');
 opacity:.72;
}
@media(max-width:47.99rem){html[data-theme="dark"] body:has(.home-hero)::before {opacity:.72;}}

/* Preview 14.10: lighter dark typography only; every light rule stays unchanged. */
html[data-theme=dark] .home-page :is(h1#hero-title,h2#areas-title,.card-title) {font-weight:400;}
html[data-theme=dark] .home-page .home-hero p.intro {font-weight:400;}
