/* SalesViking colour fields, as the design system's Field component defines them (SalesViking Website
   design system, components/Field, 22 November 2026): "one sky, one light", grainy, still, subtle.
   Paper stays the page; a field is the soft light behind a product moment, never the ground.

   Strength over paper: Soft (default, the field at 55%) behind a demo window or a closing band;
   Whisper (16%, data-strength="whisper") for a section band. Full strength is for video and social only.
   At most two fields on a page, never in neighbouring sections, at most one Soft; content on a field sits
   on a solid paper card. Backgrounds and illustration only, never UI, body copy or navigation.
   This is the one stylesheet the cool-colour and purple guards exempt (scripts/check-public-output.mjs). */
:root {
  --field-sky-deep: #0e6de8; --field-sky-mid: #2a84f0; --field-sky-pale: #9ccbfa;
  --field-light-dusk: #f6a6be; --field-light-lemon: #f4ff3a; --field-light-mint: #5ef0a8;
  --field-light-sun: #ffa552; --field-light-violet: #a46cf2; --field-light-lilac: #c48cf0;
  --field-light-leaf: #12c64c; --field-sky-sea: #1a7fc8; --field-sky-iris: #4f6ef0;
}
:where(.field) { position: relative; overflow: hidden; isolation: isolate; display: block; background: #faf9f4; }
:where(.field)::before { content: ''; position: absolute; inset: -18%; z-index: -2; background: var(--f-layers);
  filter: blur(var(--f-blur, 18px)); transform: rotate(var(--f-tilt, 0deg)); opacity: 0.55; }
:where(.field)::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='3' intercept='-1'/%3E%3CfeFuncG type='linear' slope='3' intercept='-1'/%3E%3CfeFuncB type='linear' slope='3' intercept='-1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px; }
.field[data-strength='whisper']::before { opacity: 0.16; }
.field[data-strength='whisper']::after { opacity: 0.06; }
/* Still: a field on a web page does not move. */

/* Wave: pink sweeping through one corner and across the foot. */
.field[data-field='wave'] { --f-tilt: 20deg; --f-blur: 20px; --f-layers:
  radial-gradient(ellipse 30% 26% at 16% 18%, #6eabf4e6 0%, #6eabf400 100%),
  radial-gradient(ellipse 46% 30% at 14% 84%, var(--field-sky-mid) 0%, #1f80f0e6 45%, #4d92f200 100%),
  radial-gradient(ellipse 22% 13% at 86% 40%, #2a83f1 0%, #3a8cf2d9 40%, #7da6f000 100%),
  radial-gradient(ellipse 72% 44% at 36% 50%, var(--field-sky-deep) 0%, #1677ee 40%, #3a8cf2 58%, #96aef0 68%, #f1a2c2 77%, var(--field-light-dusk) 100%); }
/* Evening: the sky deep at the top, pink rising from the horizon. */
.field[data-field='evening'] { --f-tilt: -8deg; --f-layers:
  radial-gradient(ellipse 90% 46% at 70% 86%, #f9a8bc 0%, var(--field-light-dusk) 34%, #e7a5c8cc 58%, #8e9fe800 84%),
  linear-gradient(180deg, var(--field-sky-deep) 0%, var(--field-sky-mid) 38%, #4f87e2 62%, var(--field-sky-pale) 100%); }
/* Streaks: soft diagonal streaks of dusk light across the sky. */
.field[data-field='streaks'] { --f-tilt: 10deg; --f-blur: 9px; --f-layers:
  linear-gradient(96deg, #f7a8c2 0%, #f5a6c4 10%, #a9b6f000 22%, #f3a4c6d9 30%, #f3a4c6b3 34%, #a4b2f000 46%, #e7a3d08c 54%, #9ea2ef00 64%),
  linear-gradient(100deg, #e6a6cf 0%, #a2b1ef 36%, #6f9af2 62%, var(--field-sky-mid) 100%); }
/* Sea: shore light, lemon and mint in two opposite corners. */
.field[data-field='sea'] { --f-layers:
  radial-gradient(ellipse 46% 44% at 50% 52%, #08529c 0%, #0d64aacc 38%, #1f8ec400 74%),
  radial-gradient(ellipse 58% 54% at 12% 10%, var(--field-light-lemon) 0%, #eafc42 20%, #b4f07ad0 40%, #7fe4b400 64%),
  radial-gradient(ellipse 48% 44% at 90% 92%, var(--field-light-mint) 0%, #47e3d0d0 30%, #3fd6d800 62%),
  linear-gradient(160deg, #2ab3d6 0%, #1f8ec4 50%, #27b7cf 100%); }
/* Sunrise: a lilac and violet sky, the sun low on one side. */
.field[data-field='sunrise'], .field[data-field='glow'] { --f-layers:
  radial-gradient(50% 35% at 0 25%, var(--field-light-sun), transparent 70%),
  radial-gradient(70% 60% at 62% 62%, var(--field-light-violet), transparent 75%),
  linear-gradient(var(--field-light-lilac), var(--field-light-lilac)); }
/* Aurora: green into sea blue, one soft fold of light. */
.field[data-field='aurora'] { --f-tilt: -6deg; --f-layers:
  radial-gradient(45% 70% at 0 55%, var(--field-light-leaf), transparent 75%),
  linear-gradient(118deg, transparent 44%, #ffffff26 52%, transparent 60%),
  linear-gradient(90deg, var(--field-light-leaf), var(--field-sky-sea) 55%); }
/* Veil: blue rising into lilac, soft vertical folds. */
.field[data-field='veil'], .field[data-field='lilac'] { --f-tilt: 8deg; --f-blur: 10px; --f-layers:
  radial-gradient(40% 90% at 78% 30%, var(--field-light-lilac), transparent 75%),
  linear-gradient(92deg, #7f8cf4 0%, #8d88f0 16%, #a58bef00 28%, #9a8cf2b3 40%, #b48ef000 54%),
  linear-gradient(20deg, var(--field-sky-iris), var(--field-light-violet) 60%, var(--field-light-lilac)); }

/* Slot placement: on the homepage closing the copy sits on the right on a paper card. */
