/* Visitor-selectable site skins - see inc/skins.php for the mechanism.
   Same layout and content; each skin swaps fonts, colour tokens, corner
   shapes, the hero artwork (drawn by homepage-skin-art.js on the galaxy
   canvas) and the treatment of raster images.

   Cascade: a skin's light block (html.ataris-home[data-skin=x]) has the
   same specificity as homepage.css's default dark block and wins by
   coming later, so it must define EVERY token the dark block does; the
   skin's own dark block ([data-skin=x][data-theme=dark]) is more specific
   still. Default skin = no data-skin attribute = homepage.css untouched. */

/* ---------- Fonts (self-hosted, OFL; downloaded only when used) ---------- */
@font-face { font-family: "Ataris Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ataris Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ataris Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ataris Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ataris Chakra"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("../fonts/chakra-petch-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ataris Chakra"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ataris Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ataris Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ataris VT323"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/vt323-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ataris VT323"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/vt323-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ======================================================================
   Picker (all skins, including the default)
   ====================================================================== */
.ataris-home .ah-skin-picker { position: relative; }
.ataris-home .ah-skin-btn svg { width: 20px; height: 20px; }
/* Visible word next to the palette icon where the header has room. */
.ataris-home .ah-skin-btn-label { display: none; }
@media (min-width: 1100px) {
  .ataris-home .ah-skin-btn { width: auto; padding: 0 14px 0 11px; gap: 6px; }
  .ataris-home .ah-skin-btn-label { display: inline; font-size: 0.85rem; font-weight: 600; line-height: 1; }
}
.ataris-home .ah-skin-btn[aria-expanded="true"] { border-color: var(--ah-accent); color: var(--ah-accent); }

.ataris-home .ah-skin-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 120;
  width: 260px;
  padding: 8px;
  background: var(--ah-surface);
  color: var(--ah-text);
  border: 1px solid var(--ah-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.35);
}
.ataris-home .ah-skin-pop[hidden] { display: none; }
.ataris-home .ah-skin-pop-title,
.ataris-home .ah-skin-drawer-title {
  margin: 4px 8px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-text-secondary);
}
.ataris-home .ah-skin-menu,
.ataris-home .ah-skin-drawer-options { display: flex; flex-direction: column; gap: 2px; }

.ataris-home .ah-skin-option {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ah-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.ataris-home .ah-skin-option:hover,
.ataris-home .ah-skin-option:focus-visible { background: var(--ah-surface-alt); }
.ataris-home .ah-skin-option:focus-visible { outline: 3px solid var(--ah-focus); outline-offset: -1px; }
.ataris-home .ah-skin-option[aria-checked="true"],
.ataris-home .ah-skin-option[aria-pressed="true"] { border-color: var(--ah-accent); }
.ataris-home .ah-skin-option[aria-checked="true"]::after,
.ataris-home .ah-skin-option[aria-pressed="true"]::after {
  content: "";
  margin-left: auto;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ah-accent);
  border-bottom: 2px solid var(--ah-accent);
  transform: translateY(-2px) rotate(-45deg);
}

/* Fixed colours on purpose: each swatch previews its own skin whatever
   skin is currently active. */
.ataris-home .ah-skin-swatch {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--ah-border);
  background: conic-gradient(var(--s1) 0 50%, var(--s2) 0 75%, var(--s3) 0);
}
.ataris-home .ah-skin-swatch[data-swatch="ataris"] { --s1: #2455EB; --s2: #B8B6FF; --s3: #080C16; }
.ataris-home .ah-skin-swatch[data-swatch="ocean"] { --s1: #0B7A8C; --s2: #5FD4DE; --s3: #04161D; }
.ataris-home .ah-skin-swatch[data-swatch="neon"] { --s1: #FF2E97; --s2: #2EE6FF; --s3: #0B0418; }
.ataris-home .ah-skin-swatch[data-swatch="warm"] { --s1: #D9774E; --s2: #D8A23A; --s3: #FBF6EE; }
.ataris-home .ah-skin-swatch[data-swatch="terminal"] { --s1: #6DBF84; --s2: #E0B35A; --s3: #0B110D; }

.ataris-home .ah-skin-note {
  margin: 8px 8px 4px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ah-text-secondary);
}

/* Header picker on wider screens; inside the mobile drawer below 600px,
   where the header has no room for a fourth control. */
.ataris-home .ah-skin-drawer { padding: 4px 20px 20px; }
@media (max-width: 599px) {
  .ataris-home .ah-skin-picker { display: none; }
}
@media (min-width: 600px) {
  .ataris-home .ah-skin-drawer { display: none; }
}
.ataris-home .ah-skin-drawer .ah-skin-drawer-title { margin: 12px 0 8px; }
.ataris-home .ah-skin-drawer .ah-skin-note { margin: 10px 0 0; }

/* ======================================================================
   Shared skin plumbing
   ====================================================================== */
/* The skins' artwork is drawn on .galaxy-sparkle; the galaxy rings stay in
   the DOM (homepage-galaxy.js reads the tilt matrix from them) but are
   never shown, and their images are never downloaded (template-homepage.php). */
html.ataris-home[data-skin] .ataris-home :is(.galaxy-ring, .galaxy-core-glow) { visibility: hidden; }
html.ataris-home[data-skin] { --ah-galaxy-blend: normal; }

/* Skins without a matching photo set: same editorial images, recoloured. */
html.ataris-home[data-skin] .ataris-home :is(.ah-example-media, .ah-service-hero-media) img { filter: var(--ah-img-filter, none); }
html.ataris-home[data-skin] .ataris-home .ah-logo-img { filter: var(--ah-logo-filter, none); }

/* Contact band backgrounds become pure CSS patterns per skin. */
html.ataris-home[data-skin] .ataris-home .ah-contact-bg { background-size: auto; background-position: center; }

/* ======================================================================
   OCEAN - soft rounded sans, teal water, generous radii
   ====================================================================== */
html.ataris-home[data-skin="ocean"] {
  --ah-font-body: "Ataris Nunito", "Segoe UI", system-ui, sans-serif;
  --ah-font-heading: "Ataris Nunito", "Segoe UI", system-ui, sans-serif;
  --ah-page-bg: #F3FAFB;
  --ah-surface: #FFFFFF;
  --ah-surface-alt: #E3F2F4;
  --ah-text: #0E2A33;
  --ah-text-secondary: #46626A;
  --ah-primary: #0A7385;
  --ah-primary-text: #FFFFFF;
  --ah-accent: #0A7385;
  --ah-border: #CBE1E5;
  --ah-focus: #0A7385;
  --ataris-mark: #0A7385;
  --ataris-word: #0E2A33;
  --ataris-logo-knockout: #F3FAFB;
  --ah-galaxy-glow: transparent;
  --ah-img-filter: hue-rotate(-28deg) saturate(0.9);
  --ah-logo-filter: hue-rotate(-38deg) saturate(0.85);
  --ah-contact-bg-desktop: radial-gradient(120% 90% at 100% 100%, rgb(10 115 133 / 0.20), transparent 60%), repeating-radial-gradient(circle at 100% 100%, transparent 0 22px, rgb(10 115 133 / 0.10) 22px 23px);
  --ah-contact-bg-mobile: var(--ah-contact-bg-desktop);
}
html.ataris-home[data-skin="ocean"][data-theme="dark"] {
  --ah-page-bg: #04161D;
  --ah-surface: #082129;
  --ah-surface-alt: #0A2730;
  --ah-text: #E6F6F8;
  --ah-text-secondary: #9DBEC5;
  --ah-primary: #2BB3C0;
  --ah-primary-text: #04161D;
  --ah-accent: #5FD4DE;
  --ah-border: #17404A;
  --ah-focus: #5FD4DE;
  --ataris-mark: #5FD4DE;
  --ataris-word: #E6F6F8;
  --ataris-logo-knockout: #04161D;
  --ah-img-filter: hue-rotate(-28deg) saturate(0.9) brightness(0.92);
  --ah-contact-bg-desktop: radial-gradient(120% 90% at 100% 100%, rgb(95 212 222 / 0.18), transparent 60%), repeating-radial-gradient(circle at 100% 100%, transparent 0 22px, rgb(95 212 222 / 0.09) 22px 23px);
}
html.ataris-home[data-skin="ocean"] .ataris-home :is(h1, h2, h3) { font-weight: 800; letter-spacing: -0.01em; }
html.ataris-home[data-skin="ocean"] .ataris-home :is(.ah-btn, .ah-menu-btn, .star) { border-radius: 999px; }
html.ataris-home[data-skin="ocean"] .ataris-home :is(.ah-service-card, .ah-solution-card, .ah-example-card, .ah-contact-form, .ah-contact-fallback, .ah-problem-card, .ah-illustration, .ah-service-hero-media, .ah-demo-panel, .ah-contact-inner) { border-radius: 24px; }
html.ataris-home[data-skin="ocean"] .ataris-home :is(.ah-example-media, .ah-form-row input, .ah-form-row select, .ah-form-row textarea, .ah-form-status-msg) { border-radius: 16px; }
html.ataris-home[data-skin="ocean"] .ataris-home :is(.ah-service-card, .ah-example-card, .ah-problem-card) { box-shadow: 0 10px 30px -18px rgb(10 115 133 / 0.45); }
html.ataris-home[data-skin="ocean"] .ataris-home .star { --cl: 140 240 250; --cd: 10 115 133; }
html.ataris-home[data-skin="ocean"] .ataris-home .star[data-star="it"],
html.ataris-home[data-skin="ocean"] .ataris-home .star[data-star="automation"] { --cl: 200 255 230; --cd: 20 120 95; }
/* Water droplets instead of stars: a teardrop (one square corner, turned
   to point up) with a glassy highlight, sitting in a ripple ring that
   swells with the twinkle (--tw). */
html.ataris-home[data-skin="ocean"] .ataris-home .star-dot,
html.ataris-home[data-skin="ocean"] .ataris-home .star:is(:hover, :focus-visible) .star-dot {
  width: 14px; height: 16px; background: none; box-shadow: none;
}
html.ataris-home[data-skin="ocean"] .ataris-home .star-dot::before {
  width: 13px; height: 13px;
  border-radius: 0 50% 50% 50%;
  background: radial-gradient(circle at 62% 62%, rgb(255 255 255 / 0.95) 0 14%, rgb(var(--c)) 48%, rgb(var(--cd)) 100%);
  opacity: 1;
  transform: translate(-50%, -62%) rotate(45deg);
  box-shadow: 0 1px 3px rgb(var(--cd) / 0.45);
}
html.ataris-home[data-skin="ocean"] .ataris-home .star-dot::after {
  top: 100%;
  width: calc(20px + 6px * var(--tw));
  height: calc(6px + 2px * var(--tw));
  border-radius: 50%;
  border: 1.5px solid rgb(var(--c) / calc(0.35 + 0.4 * var(--tw)));
  background: none;
  opacity: 1;
  transform: translate(-50%, -50%);
}
html.ataris-home[data-skin="ocean"]:not([data-theme="dark"]) .ataris-home .star-dot::after { border-color: rgb(var(--cd) / calc(0.3 + 0.35 * var(--tw))); }
html.ataris-home[data-skin="ocean"][data-theme="dark"] .ataris-home .star-dot::before { box-shadow: 0 0 8px rgb(var(--c) / 0.55); }

/* ======================================================================
   NEON - synthwave: techy display face, magenta + cyan glow
   ====================================================================== */
html.ataris-home[data-skin="neon"] {
  --ah-font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --ah-font-heading: "Ataris Chakra", "Segoe UI", system-ui, sans-serif;
  --ah-page-bg: #FBF7FF;
  --ah-surface: #FFFFFF;
  --ah-surface-alt: #F2E9FF;
  --ah-text: #1C0F33;
  --ah-text-secondary: #5A4A77;
  --ah-primary: #B8156F;
  --ah-primary-text: #FFFFFF;
  --ah-accent: #7426D6;
  --ah-border: #E2D2F6;
  --ah-focus: #B8156F;
  --ataris-mark: #B8156F;
  --ataris-word: #1C0F33;
  --ataris-logo-knockout: #FBF7FF;
  --ah-galaxy-glow: transparent;
  --ah-img-filter: hue-rotate(55deg) saturate(1.35) contrast(1.05);
  --ah-logo-filter: hue-rotate(75deg) saturate(1.4);
  --ah-contact-bg-desktop: linear-gradient(to top, rgb(184 21 111 / 0.14), transparent 70%), repeating-linear-gradient(90deg, transparent 0 39px, rgb(116 38 214 / 0.14) 39px 40px), repeating-linear-gradient(0deg, transparent 0 39px, rgb(116 38 214 / 0.14) 39px 40px);
  --ah-contact-bg-mobile: var(--ah-contact-bg-desktop);
}
html.ataris-home[data-skin="neon"][data-theme="dark"] {
  --ah-page-bg: #0B0418;
  --ah-surface: #140A28;
  --ah-surface-alt: #170B2E;
  --ah-text: #F5EEFF;
  --ah-text-secondary: #BEADDB;
  /* Neon pink/cyan, a notch below full saturation so it glows without
     vibrating against the near-black background. */
  --ah-primary: #F0609F;
  --ah-primary-text: #12041F;
  --ah-accent: #4FDFF5;
  --ah-border: #3A2463;
  --ah-focus: #4FDFF5;
  --ataris-mark: #F0609F;
  --ataris-word: #F5EEFF;
  --ataris-logo-knockout: #0B0418;
  --ah-img-filter: hue-rotate(55deg) saturate(1.5) contrast(1.1) brightness(0.9);
  --ah-contact-bg-desktop: linear-gradient(to top, rgb(240 96 159 / 0.2), transparent 70%), repeating-linear-gradient(90deg, transparent 0 39px, rgb(79 223 245 / 0.12) 39px 40px), repeating-linear-gradient(0deg, transparent 0 39px, rgb(79 223 245 / 0.12) 39px 40px);
}
html.ataris-home[data-skin="neon"] .ataris-home :is(h1, h2, h3) { font-weight: 600; letter-spacing: 0.01em; }
html.ataris-home[data-skin="neon"] .ataris-home :is(.ah-eyebrow, .ah-btn, .ah-cta-header, .star-label, .ah-nav a) { font-family: var(--ah-font-heading); letter-spacing: 0.06em; text-transform: uppercase; }
html.ataris-home[data-skin="neon"] .ataris-home :is(.ah-btn, .ah-menu-btn, .ah-service-card, .ah-solution-card, .ah-example-card, .ah-example-media, .ah-contact-form, .ah-contact-fallback, .ah-problem-card, .ah-illustration, .ah-service-hero-media, .ah-demo-panel, .ah-contact-inner, .ah-form-row input, .ah-form-row select, .ah-form-row textarea, .star) { border-radius: 4px; }
html.ataris-home[data-skin="neon"][data-theme="dark"] .ataris-home .ah-heading-accent { text-shadow: 0 0 16px rgb(79 223 245 / 0.45); }
html.ataris-home[data-skin="neon"][data-theme="dark"] .ataris-home :is(.ah-btn-primary, .ah-cta-header) { box-shadow: 0 0 16px -3px rgb(240 96 159 / 0.55); }
html.ataris-home[data-skin="neon"][data-theme="dark"] .ataris-home :is(.ah-service-card, .ah-example-card, .ah-problem-card):hover { border-color: var(--ah-accent); box-shadow: 0 0 20px -7px rgb(79 223 245 / 0.55); }
html.ataris-home[data-skin="neon"] .ataris-home .star { --cl: 79 223 245; --cd: 116 38 214; }
html.ataris-home[data-skin="neon"] .ataris-home .star[data-star="it"],
html.ataris-home[data-skin="neon"] .ataris-home .star[data-star="automation"] { --cl: 240 96 159; --cd: 184 21 111; }
/* Neon-tube diamonds instead of starlight: an outlined, glowing rhombus
   whose glow breathes with the twinkle (--tw). The dot itself becomes an
   invisible anchor; the shape lives on ::before (::after unused). */
html.ataris-home[data-skin="neon"] .ataris-home .star-dot,
html.ataris-home[data-skin="neon"] .ataris-home .star:is(:hover, :focus-visible) .star-dot {
  width: 14px; height: 14px; background: none; box-shadow: none;
}
html.ataris-home[data-skin="neon"] .ataris-home .star-dot::before {
  width: 11px; height: 11px;
  border: 2px solid rgb(var(--c));
  border-radius: 1px;
  background: rgb(var(--c) / 0.18);
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 4px rgb(var(--c) / 0.9), 0 0 calc(8px + 8px * var(--tw)) rgb(var(--c) / 0.55), inset 0 0 4px rgb(var(--c) / 0.7);
}
html.ataris-home[data-skin="neon"] .ataris-home .star-dot::after { display: none; }
html.ataris-home[data-skin="neon"]:not([data-theme="dark"]) .ataris-home .star-dot::before { box-shadow: 0 0 6px rgb(var(--c) / 0.45); }

/* ======================================================================
   WARM MINIMAL - editorial serif, cream paper, flat terracotta
   ====================================================================== */
html.ataris-home[data-skin="warm"] {
  --ah-font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --ah-font-heading: "Ataris Fraunces", Georgia, "Times New Roman", serif;
  --ah-page-bg: #FBF6EE;
  --ah-surface: #FFFDF8;
  --ah-surface-alt: #F3EADB;
  --ah-text: #2B2118;
  --ah-text-secondary: #67564A;
  --ah-primary: #A8492A;
  --ah-primary-text: #FFFFFF;
  --ah-accent: #A8492A;
  --ah-border: #E4D6C1;
  --ah-focus: #A8492A;
  --ataris-mark: #A8492A;
  --ataris-word: #2B2118;
  --ataris-logo-knockout: #FBF6EE;
  --ah-galaxy-glow: transparent;
  --ah-img-filter: sepia(0.45) saturate(0.85) hue-rotate(-8deg);
  --ah-logo-filter: hue-rotate(160deg) saturate(0.75) brightness(0.9);
  --ah-contact-bg-desktop: radial-gradient(circle at 88% 120%, rgb(217 119 78 / 0.30) 0 32%, transparent 32.3%), radial-gradient(circle at 70% 130%, rgb(216 162 58 / 0.22) 0 26%, transparent 26.3%);
  --ah-contact-bg-mobile: var(--ah-contact-bg-desktop);
}
html.ataris-home[data-skin="warm"][data-theme="dark"] {
  --ah-page-bg: #1A1410;
  --ah-surface: #231B15;
  --ah-surface-alt: #261E17;
  --ah-text: #F4EADC;
  --ah-text-secondary: #C4B4A0;
  --ah-primary: #E07B52;
  --ah-primary-text: #1A1410;
  --ah-accent: #E9A27E;
  --ah-border: #3D3127;
  --ah-focus: #E9A27E;
  --ataris-mark: #E9A27E;
  --ataris-word: #F4EADC;
  --ataris-logo-knockout: #1A1410;
  --ah-img-filter: sepia(0.5) saturate(0.8) hue-rotate(-8deg) brightness(0.9);
  --ah-contact-bg-desktop: radial-gradient(circle at 88% 120%, rgb(224 123 82 / 0.26) 0 32%, transparent 32.3%), radial-gradient(circle at 70% 130%, rgb(216 162 58 / 0.16) 0 26%, transparent 26.3%);
}
html.ataris-home[data-skin="warm"] .ataris-home :is(h1, h2, h3) { font-weight: 560; letter-spacing: -0.015em; }
html.ataris-home[data-skin="warm"] .ataris-home .ah-heading { font-weight: 500; }
html.ataris-home[data-skin="warm"] .ataris-home .ah-eyebrow { letter-spacing: 0.16em; font-weight: 600; }
html.ataris-home[data-skin="warm"] .ataris-home :is(.ah-btn, .ah-menu-btn, .ah-service-card, .ah-solution-card, .ah-example-card, .ah-example-media, .ah-contact-form, .ah-contact-fallback, .ah-problem-card, .ah-illustration, .ah-service-hero-media, .ah-demo-panel, .ah-contact-inner, .ah-form-row input, .ah-form-row select, .ah-form-row textarea, .ah-form-status-msg, .star) { border-radius: 3px; }
html.ataris-home[data-skin="warm"] .ataris-home :is(.ah-service-card, .ah-example-card, .ah-problem-card) { border-top: 3px solid var(--ah-accent); }
/* Flat, printed-looking service stars: no glow, no diffraction cross. */
html.ataris-home[data-skin="warm"] .ataris-home .star { --cl: 233 162 126; --cd: 168 73 42; }
html.ataris-home[data-skin="warm"] .ataris-home .star[data-star="it"],
html.ataris-home[data-skin="warm"] .ataris-home .star[data-star="automation"] { --cl: 216 162 58; --cd: 124 132 85; }
html.ataris-home[data-skin="warm"] .ataris-home .star-dot,
html.ataris-home[data-skin="warm"] .ataris-home .star:is(:hover, :focus-visible) .star-dot { width: 12px; height: 12px; background: rgb(var(--c)); box-shadow: 0 0 0 3px var(--ah-page-bg), 0 0 0 4px rgb(var(--c)); }
html.ataris-home[data-skin="warm"] .ataris-home .star-dot::before,
html.ataris-home[data-skin="warm"] .ataris-home .star-dot::after { display: none; }

/* ======================================================================
   RETRO TERMINAL - monospace, phosphor green, square everything
   ====================================================================== */
html.ataris-home[data-skin="terminal"] {
  --ah-font-body: "Ataris Mono", ui-monospace, Consolas, monospace;
  --ah-font-heading: "Ataris VT323", "Ataris Mono", ui-monospace, monospace;
  --ah-page-bg: #EEF3E8;
  --ah-surface: #F7FAF3;
  --ah-surface-alt: #E2EAD9;
  --ah-text: #0F2A12;
  --ah-text-secondary: #385A3C;
  --ah-primary: #1F6B2A;
  --ah-primary-text: #FFFFFF;
  --ah-accent: #1F6B2A;
  --ah-border: #BFD0B6;
  --ah-focus: #9A5B00;
  --ataris-mark: #1F6B2A;
  --ataris-word: #0F2A12;
  --ataris-logo-knockout: #EEF3E8;
  --ah-galaxy-glow: transparent;
  --ah-img-filter: grayscale(1) sepia(1) hue-rotate(55deg) saturate(1.6) contrast(1.05);
  --ah-logo-filter: grayscale(1) sepia(1) hue-rotate(60deg) saturate(2.4) brightness(0.8);
  --ah-scanline: rgb(15 42 18 / 0.035);
  --ah-contact-bg-desktop: repeating-linear-gradient(0deg, transparent 0 3px, rgb(31 107 42 / 0.08) 3px 4px);
  --ah-contact-bg-mobile: var(--ah-contact-bg-desktop);
}
html.ataris-home[data-skin="terminal"][data-theme="dark"] {
  /* Muted phosphor: green-tinted greys for text, one calm green for
     actions - a full-saturation #33FF66 was tiring to read. */
  --ah-page-bg: #0B110D;
  --ah-surface: #111A14;
  --ah-surface-alt: #121C15;
  --ah-text: #C9DDCC;
  --ah-text-secondary: #93AD98;
  --ah-primary: #6DBF84;
  --ah-primary-text: #08120B;
  --ah-accent: #84C996;
  --ah-border: #253A2B;
  --ah-focus: #E0B35A;
  --ataris-mark: #84C996;
  --ataris-word: #C9DDCC;
  --ataris-logo-knockout: #0B110D;
  --ah-img-filter: grayscale(1) sepia(0.8) hue-rotate(55deg) saturate(1.1) brightness(0.72) contrast(1.05);
  --ah-logo-filter: grayscale(1) sepia(1) hue-rotate(60deg) saturate(1.6) brightness(1.05);
  --ah-scanline: rgb(0 0 0 / 0.16);
  --ah-contact-bg-desktop: repeating-linear-gradient(0deg, transparent 0 3px, rgb(132 201 150 / 0.05) 3px 4px);
}
html.ataris-home[data-skin="terminal"] .ataris-home * { border-radius: 0 !important; }
html.ataris-home[data-skin="terminal"] body.ataris-home { font-size: 15px; }
@media (min-width: 600px) { html.ataris-home[data-skin="terminal"] body.ataris-home { font-size: 16px; } }
/* VT323 is a narrow bitmap face: larger sizes, single weight. */
html.ataris-home[data-skin="terminal"] .ataris-home :is(h1, h2, h3) { font-weight: 400; letter-spacing: 0.02em; }
html.ataris-home[data-skin="terminal"] .ataris-home .ah-heading { font-size: clamp(42px, 5vw, 74px); line-height: 1; }
html.ataris-home[data-skin="terminal"] .ataris-home h2.ah-section-heading { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; }
html.ataris-home[data-skin="terminal"] .ataris-home h3 { font-size: 27px; line-height: 1.1; }
html.ataris-home[data-skin="terminal"] .ataris-home .ah-eyebrow::before { content: "> "; }
html.ataris-home[data-skin="terminal"] .ataris-home .ah-heading-accent::after {
  content: "_";
  animation: ah-term-cursor 1.06s steps(1) infinite;
}
@keyframes ah-term-cursor { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html.ataris-home[data-skin="terminal"] .ataris-home .ah-heading-accent::after { animation: none; }
}
html.ataris-home[data-skin="terminal"] .ataris-home .ah-btn::before { content: "[\00a0"; }
html.ataris-home[data-skin="terminal"] .ataris-home .ah-btn::after { content: "\00a0]"; }
html.ataris-home[data-skin="terminal"] .ataris-home :is(.ah-service-card, .ah-example-card, .ah-problem-card, .ah-contact-form) { border-style: dashed; }
html.ataris-home[data-skin="terminal"][data-theme="dark"] .ataris-home :is(h1, h2, .ah-heading-accent) { text-shadow: 0 0 8px rgb(132 201 150 / 0.18); }
/* Faint CRT scanlines over the whole page; never intercepts input. */
html.ataris-home[data-skin="terminal"] body.ataris-home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, var(--ah-scanline) 2px 3px);
}
/* Radar blips instead of stars: square, no diffraction cross. */
html.ataris-home[data-skin="terminal"] .ataris-home .star { --cl: 132 201 150; --cd: 31 107 42; }
html.ataris-home[data-skin="terminal"] .ataris-home .star[data-star="ai"] { --cl: 224 179 90; --cd: 154 91 0; }
html.ataris-home[data-skin="terminal"] .ataris-home .star-dot { width: 9px; height: 9px; background: rgb(var(--c)); }
html.ataris-home[data-skin="terminal"][data-theme="dark"] .ataris-home .star-dot { box-shadow: 0 0 6px 1px rgb(var(--c) / 0.45); }
html.ataris-home[data-skin="terminal"] .ataris-home .star-dot::before,
html.ataris-home[data-skin="terminal"] .ataris-home .star-dot::after { display: none; }
