/* Website Design Galaxy v166: professional studio visual system */

html[data-theme] {
  --studio-page: #0a0e13;
  --studio-page-alt: #111821;
  --studio-surface: #f4f5f6;
  --studio-surface-alt: #e9edf0;
  --studio-ink: #171c22;
  --studio-copy: #4b5661;
  --studio-on-dark: #f2f4f5;
  --studio-on-dark-muted: #bcc5cd;
  --studio-accent: #2f767b;
  --studio-accent-hover: #235b60;
  --studio-accent-soft: #70b9bb;
  --studio-metal: #b99b5d;
  --studio-border: #cfd5da;
  --studio-border-dark: rgba(232, 237, 240, .2);
  --studio-header: rgba(10, 14, 19, .96);
  --studio-header-alt: #141c25;
  --studio-header-text: #f4f6f7;
  --studio-header-muted: #c2c9cf;
  --studio-control: #17212b;
  --studio-control-hover: #23333e;
  --studio-active: #e8ebed;
  --studio-active-text: #10161c;
  --studio-dark-panel: rgba(15, 21, 29, .94);
  --studio-focus: #6bc2c4;
  --studio-shadow: 0 16px 38px rgba(3, 7, 11, .22);
  --studio-shadow-soft: 0 8px 22px rgba(3, 7, 11, .12);
  --studio-radius: 5px;
  --studio-radius-small: 3px;
  --studio-transition: 180ms ease;

  /* Existing components consume these variables. */
  --plum: #171c22;
  --purple: #334651;
  --violet: #42989b;
  --lav: #e9edf0;
  --lav2: #f4f5f6;
  --ink: #171c22;
  --muted: #4b5661;
  --line: #cfd5da;
  --aqua: #42989b;
  --theme-deep: #0a0e13;
  --theme-mid: #17212b;
  --theme-accent: #42989b;
  --theme-aqua: #70b9bb;
  --theme-soft: #e9edf0;
  --theme-soft-2: #f4f5f6;
  --theme-panel: rgba(244, 245, 246, .97);
  --theme-card-tint: rgba(244, 245, 246, .98);
  --theme-link: #2f767b;
  --theme-contrast: #f2f4f5;
  --theme-hero-a: rgba(7, 10, 14, .8);
  --theme-hero-b: rgba(13, 19, 26, .94);
  --theme-glow-a: rgba(66, 152, 155, .13);
  --theme-glow-b: rgba(185, 155, 93, .1);
  --theme-card-title: #d4bd86;
  --theme-card-kicker: #d4bd86;
  --theme-border-strong: rgba(112, 185, 187, .42);
  --theme-button: #2f767b;
  --theme-link-bg: #d8c089;
  --theme-button-shadow: 0 10px 24px rgba(3, 7, 11, .2);
  --theme-card-shadow: 0 18px 42px rgba(3, 7, 11, .24);
  --readable-panel-bg: #f4f5f6;
  --readable-text: #171c22;
  --readable-muted: #4b5661;
  --readable-accent: #2f767b;
}

html[data-theme="light"] {
  --studio-page: #f3f5f6;
  --studio-page-alt: #e8ecef;
  --studio-surface: #ffffff;
  --studio-surface-alt: #edf0f2;
  --studio-ink: #121920;
  --studio-copy: #46515c;
  --studio-on-dark: #f4f7f8;
  --studio-on-dark-muted: #c5cdd3;
  --studio-accent: #1b5b60;
  --studio-accent-hover: #103f43;
  --studio-accent-soft: #398c91;
  --studio-metal: #8c713e;
  --studio-border: #c8cfd4;
  --studio-header: rgba(250, 251, 252, .97);
  --studio-header-alt: #e9edf0;
  --studio-header-text: #121920;
  --studio-header-muted: #4d5862;
  --studio-control: #e7ebee;
  --studio-control-hover: #d7dee2;
  --studio-active: #17212a;
  --studio-active-text: #f6f8f9;
  --studio-dark-panel: #17212a;
  --studio-focus: #267e84;
  --plum: #121920;
  --purple: #2d5961;
  --violet: #236f75;
  --lav: #e8ecef;
  --lav2: #f6f7f8;
  --ink: #121920;
  --muted: #46515c;
  --line: #c8cfd4;
  --aqua: #236f75;
  --theme-deep: #f3f5f6;
  --theme-mid: #e1e6e9;
  --theme-accent: #236f75;
  --theme-aqua: #398c91;
  --theme-soft: #edf0f2;
  --theme-soft-2: #ffffff;
  --theme-panel: rgba(255, 255, 255, .98);
  --theme-card-tint: rgba(255, 255, 255, .99);
  --theme-link: #1c6268;
  --theme-contrast: #121920;
  --theme-hero-a: rgba(248, 250, 251, .9);
  --theme-hero-b: rgba(229, 235, 238, .94);
  --theme-glow-a: rgba(35, 111, 117, .09);
  --theme-glow-b: rgba(140, 113, 62, .07);
  --theme-card-title: #173e43;
  --theme-card-kicker: #69552f;
  --theme-border-strong: rgba(35, 111, 117, .38);
  --theme-button: #236f75;
  --theme-link-bg: #d8c089;
  --readable-panel-bg: #ffffff;
  --readable-text: #121920;
  --readable-muted: #46515c;
  --readable-accent: #1c6268;
}

html[data-theme="solar"] {
  --studio-page: #15120e;
  --studio-page-alt: #262018;
  --studio-surface: #f5f1e9;
  --studio-surface-alt: #e9e0d0;
  --studio-ink: #211c17;
  --studio-copy: #5d5348;
  --studio-accent: #8e5d2b;
  --studio-accent-hover: #6e461e;
  --studio-accent-soft: #d0a062;
  --studio-metal: #c49a55;
  --studio-border: #d5c9b7;
  --studio-header: rgba(22, 18, 13, .97);
  --studio-header-alt: #2b241a;
  --studio-control: #2c251d;
  --studio-control-hover: #44382a;
  --studio-active: #e7d8bd;
  --studio-active-text: #21180e;
  --studio-dark-panel: #241d16;
  --studio-focus: #d0a062;
  --plum: #211c17;
  --purple: #684c30;
  --violet: #b77b39;
  --lav: #e9e0d0;
  --lav2: #f5f1e9;
  --ink: #211c17;
  --muted: #5d5348;
  --line: #d5c9b7;
  --aqua: #4c8588;
  --theme-deep: #15120e;
  --theme-mid: #30271c;
  --theme-accent: #b77b39;
  --theme-aqua: #6a999a;
  --theme-soft: #e9e0d0;
  --theme-soft-2: #f5f1e9;
  --theme-panel: rgba(245, 241, 233, .98);
  --theme-card-tint: rgba(245, 241, 233, .98);
  --theme-link: #875a2f;
  --theme-contrast: #f6f1e8;
  --theme-card-title: #e3c894;
  --theme-card-kicker: #e3c894;
  --theme-border-strong: rgba(208, 160, 98, .42);
  --theme-button: #875a2f;
  --theme-link-bg: #d8bd86;
  --readable-panel-bg: #f5f1e9;
  --readable-text: #211c17;
  --readable-muted: #5d5348;
  --readable-accent: #875a2f;
}

html[data-theme="midnight"] {
  --studio-page: #07101b;
  --studio-page-alt: #111d2b;
  --studio-surface: #f0f3f6;
  --studio-surface-alt: #e1e7ed;
  --studio-ink: #141d27;
  --studio-copy: #4b5a68;
  --studio-accent: #3c6080;
  --studio-accent-hover: #2c4a64;
  --studio-accent-soft: #79a4c2;
  --studio-metal: #a9a17d;
  --studio-border: #c7d0d9;
  --studio-header: rgba(7, 16, 27, .97);
  --studio-header-alt: #142235;
  --studio-control: #152438;
  --studio-control-hover: #213651;
  --studio-active: #dce6ee;
  --studio-active-text: #111a24;
  --studio-dark-panel: #101b29;
  --studio-focus: #79a4c2;
  --plum: #141d27;
  --purple: #385a75;
  --violet: #527ca3;
  --lav: #e1e7ed;
  --lav2: #f0f3f6;
  --ink: #141d27;
  --muted: #4b5a68;
  --line: #c7d0d9;
  --aqua: #5f9dab;
  --theme-deep: #07101b;
  --theme-mid: #142235;
  --theme-accent: #527ca3;
  --theme-aqua: #79a4c2;
  --theme-soft: #e1e7ed;
  --theme-soft-2: #f0f3f6;
  --theme-panel: rgba(240, 243, 246, .98);
  --theme-card-tint: rgba(240, 243, 246, .98);
  --theme-link: #3c6080;
  --theme-contrast: #f2f5f7;
  --theme-card-title: #c8dae7;
  --theme-card-kicker: #c8dae7;
  --theme-border-strong: rgba(121, 164, 194, .42);
  --theme-button: #3c6080;
  --theme-link-bg: #c9d9e5;
  --readable-panel-bg: #f0f3f6;
  --readable-text: #141d27;
  --readable-muted: #4b5a68;
  --readable-accent: #3c6080;
}

html[data-theme="nebula"] {
  --studio-page: #120f16;
  --studio-page-alt: #211b27;
  --studio-surface: #f3f0f3;
  --studio-surface-alt: #e7e0e8;
  --studio-ink: #201a22;
  --studio-copy: #5b515d;
  --studio-accent: #604a67;
  --studio-accent-hover: #49374f;
  --studio-accent-soft: #a68aaa;
  --studio-metal: #ad9567;
  --studio-border: #d1c8d2;
  --studio-header: rgba(18, 15, 22, .97);
  --studio-header-alt: #29212f;
  --studio-control: #2a2230;
  --studio-control-hover: #403448;
  --studio-active: #e5dfe6;
  --studio-active-text: #201822;
  --studio-dark-panel: #211a27;
  --studio-focus: #a68aaa;
  --plum: #201a22;
  --purple: #624c68;
  --violet: #806487;
  --lav: #e7e0e8;
  --lav2: #f3f0f3;
  --ink: #201a22;
  --muted: #5b515d;
  --line: #d1c8d2;
  --aqua: #5d9398;
  --theme-deep: #120f16;
  --theme-mid: #29212f;
  --theme-accent: #806487;
  --theme-aqua: #6da0a4;
  --theme-soft: #e7e0e8;
  --theme-soft-2: #f3f0f3;
  --theme-panel: rgba(243, 240, 243, .98);
  --theme-card-tint: rgba(243, 240, 243, .98);
  --theme-link: #604a67;
  --theme-contrast: #f5f2f5;
  --theme-card-title: #d9c5dc;
  --theme-card-kicker: #d9c5dc;
  --theme-border-strong: rgba(166, 138, 170, .42);
  --theme-button: #604a67;
  --theme-link-bg: #d5c2d7;
  --readable-panel-bg: #f3f0f3;
  --readable-text: #201a22;
  --readable-muted: #5b515d;
  --readable-accent: #604a67;
}

html[data-theme="emerald"] {
  --studio-page: #08130f;
  --studio-page-alt: #14251e;
  --studio-surface: #f0f4f1;
  --studio-surface-alt: #e0e9e3;
  --studio-ink: #15221c;
  --studio-copy: #4a5b52;
  --studio-accent: #315f49;
  --studio-accent-hover: #254838;
  --studio-accent-soft: #69a184;
  --studio-metal: #aa9b65;
  --studio-border: #c5d1ca;
  --studio-header: rgba(8, 19, 15, .97);
  --studio-header-alt: #172a22;
  --studio-control: #182b23;
  --studio-control-hover: #254136;
  --studio-active: #dce8e1;
  --studio-active-text: #112019;
  --studio-dark-panel: #12231c;
  --studio-focus: #69a184;
  --plum: #15221c;
  --purple: #315f49;
  --violet: #438162;
  --lav: #e0e9e3;
  --lav2: #f0f4f1;
  --ink: #15221c;
  --muted: #4a5b52;
  --line: #c5d1ca;
  --aqua: #4f8d79;
  --theme-deep: #08130f;
  --theme-mid: #172a22;
  --theme-accent: #438162;
  --theme-aqua: #69a184;
  --theme-soft: #e0e9e3;
  --theme-soft-2: #f0f4f1;
  --theme-panel: rgba(240, 244, 241, .98);
  --theme-card-tint: rgba(240, 244, 241, .98);
  --theme-link: #315f49;
  --theme-contrast: #f1f5f2;
  --theme-card-title: #c8d9cf;
  --theme-card-kicker: #c8d9cf;
  --theme-border-strong: rgba(105, 161, 132, .42);
  --theme-button: #315f49;
  --theme-link-bg: #c7d8cc;
  --readable-panel-bg: #f0f4f1;
  --readable-text: #15221c;
  --readable-muted: #4a5b52;
  --readable-accent: #315f49;
}

html[data-theme="crimson"] {
  --studio-page: #170c0e;
  --studio-page-alt: #2a1a1d;
  --studio-surface: #f5f1f1;
  --studio-surface-alt: #e9dfdf;
  --studio-ink: #261a1c;
  --studio-copy: #625154;
  --studio-accent: #6f343b;
  --studio-accent-hover: #54272d;
  --studio-accent-soft: #b36b72;
  --studio-metal: #b19462;
  --studio-border: #d4c6c8;
  --studio-header: rgba(23, 12, 14, .97);
  --studio-header-alt: #321f22;
  --studio-control: #332024;
  --studio-control-hover: #4a2e33;
  --studio-active: #eadedf;
  --studio-active-text: #261619;
  --studio-dark-panel: #29191c;
  --studio-focus: #b36b72;
  --plum: #261a1c;
  --purple: #6f343b;
  --violet: #91474f;
  --lav: #e9dfdf;
  --lav2: #f5f1f1;
  --ink: #261a1c;
  --muted: #625154;
  --line: #d4c6c8;
  --aqua: #628e8c;
  --theme-deep: #170c0e;
  --theme-mid: #321f22;
  --theme-accent: #91474f;
  --theme-aqua: #779f9c;
  --theme-soft: #e9dfdf;
  --theme-soft-2: #f5f1f1;
  --theme-panel: rgba(245, 241, 241, .98);
  --theme-card-tint: rgba(245, 241, 241, .98);
  --theme-link: #6f343b;
  --theme-contrast: #f7f2f2;
  --theme-card-title: #e0c7ca;
  --theme-card-kicker: #e0c7ca;
  --theme-border-strong: rgba(179, 107, 114, .42);
  --theme-button: #6f343b;
  --theme-link-bg: #dcc2c4;
  --readable-panel-bg: #f5f1f1;
  --readable-text: #261a1c;
  --readable-muted: #625154;
  --readable-accent: #6f343b;
}

/* Shared finish: typography, quiet surfaces, and explicit interaction states. */
@font-face {
  font-family: "WDG Manrope";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "WDG Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
