/* The public site in the window design (brand kit v4, 29 Nov 2026).
   Loaded LAST on every public page in Andrei's name (home, services, solo,
   about, the case study, the two booking pages, pay, privacy, linktree, AI
   Resources, the demos index and The Board page). Each page's own colours
   and fonts were swapped to v4 in place; this file adds what a swap cannot:
   the graphite desk behind the page, glass for the light surfaces, the type
   voice, no scroll reveals, and the shared nav panel and cookie banner,
   which are injected by scripts other pages share too.
   Tokens are the shell's (public/pm/shell.css). No other page links this. */

@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format('woff2-variations'); 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: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format('woff2-variations'); 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; }

:root {
  --v4-ink: #0E0E10; --v4-ink2: #22252B; --v4-text: #3A3E46; --v4-stone: #5E6470; --v4-mute: #7A808B;
  --v4-line: rgba(14, 14, 16, .10); --v4-burg: #8E2438; --v4-burg-dark: #5E1424; --v4-rose: #E6C3CB;
  --v4-pri: linear-gradient(180deg, #8E2438, #5E1424);
  --v4-glass: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52));
  --v4-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 .5px rgba(14, 14, 16, .10), 0 14px 34px -18px rgba(14, 22, 40, .35);
  --v4-desk: radial-gradient(70% 60% at 10% 0%, #E9EDF3 0%, rgba(233, 237, 243, 0) 60%),
             radial-gradient(60% 55% at 95% 10%, #D7DEE9 0%, rgba(215, 222, 233, 0) 60%),
             radial-gradient(60% 60% at 60% 100%, #B9C2CF 0%, rgba(185, 194, 207, 0) 65%),
             linear-gradient(160deg, #D9DDE3 0%, #BCC3CC 100%);
  /* the v3 names the pages still use, pointed at v4 */
  --paper: rgba(255, 255, 255, .62); --ink: #0E0E10; --oxblood: #8E2438; --oxblood-dark: #5E1424;
  --oxblood-on-dark: #E6C3CB; --mist: rgba(255, 255, 255, .45); --stone: #5E6470; --stone-text: #5E6470;
  --sage: #1E9E6A; --sage-on-dark: #1E9E6A;   /* only live dots and ticks are left on it */ --hairline: rgba(14, 14, 16, .12);
  --shadow: 0 14px 34px -18px rgba(14, 22, 40, .35);
}

/* ---- the desk: graphite, never flat, never white ---- */
html { background: #CDD3DB; }
body { background: var(--v4-desk) !important; background-attachment: fixed !important; color: var(--v4-ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(142, 36, 56, .18); color: inherit; }

/* ---- type: Archivo for words, JetBrains Mono for labels ---- */
h1, h2, h3 { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.015em; }
h1 { font-weight: 700; letter-spacing: -.02em; }
em { font-style: normal; }
.mono, code, kbd { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---- the sticky header: frosted glass on the desk ---- */
header.top, header.sn-host, .site-header, .sc-header {
  background: rgba(244, 246, 249, .72) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border-bottom: .5px solid var(--v4-line) !important;
}

/* ---- buttons: the burgundy one is the only main action ---- */
.btn, a.btn { background: var(--v4-pri); border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn:hover, a.btn:hover { background: linear-gradient(180deg, #A12C42, #6E1A2C); }
.btn-ghost, a.btn-ghost { border-radius: 10px; border-color: rgba(14, 14, 16, .18) !important;
  background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.btn-ghost:hover { background: rgba(255, 255, 255, .8) !important; }

/* ---- no scroll reveals (kit: nothing reveals on scroll) ---- */
.rv, .rv.rv-in { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---- the nav's phone panel (site-nav.js) ---- */
.sn-panel { background: rgba(244, 246, 249, .96) !important; border-top: .5px solid var(--v4-line) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); }
.sn-panel a { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif !important; color: var(--v4-ink) !important;
  border-bottom-color: rgba(14, 14, 16, .08) !important; }
.sn-panel a.sn-cta { background: var(--v4-pri) !important; color: #fff !important; border-radius: 10px !important; }
.sn-burger { border-color: rgba(14, 14, 16, .18) !important; background: rgba(255, 255, 255, .55) !important; border-radius: 10px !important; }

/* ---- the cookie banner (consent.js): an Ink card, rose for links ---- */
.da-consent { background: #0E0E10 !important; color: #F4F6F9 !important; border-color: rgba(255, 255, 255, .12) !important;
  border-radius: 16px !important; box-shadow: 0 30px 60px -24px rgba(14, 22, 40, .7) !important;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif !important; }
.da-consent .da-k { font-family: 'JetBrains Mono', ui-monospace, monospace !important; color: #9AA0AA !important; }
.da-consent .da-h { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif !important; font-weight: 700 !important; color: #fff !important; letter-spacing: -.01em; }
.da-consent .da-b { color: #C9CED6 !important; }
.da-consent a { color: #E6C3CB !important; }
.da-consent button { border-radius: 10px !important; background: rgba(255, 255, 255, .92) !important; color: #0E0E10 !important; }
.da-consent button:hover { background: #fff !important; }
.da-consent button:focus-visible { outline-color: #E6C3CB !important; }

/* ---- the product, shown in its real window (kit §5.4): a still of /demos/hq that opens it ---- */
.v4win { display: block; border-radius: 16px; overflow: hidden; background: rgba(244, 246, 249, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(14, 14, 16, .12), 0 40px 90px -30px rgba(14, 22, 40, .45); }
.v4win img { display: block; width: 100%; height: auto; }
.v4win:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(142, 36, 56, .35), 0 40px 90px -30px rgba(14, 22, 40, .5); }
.v4live { display: block; width: 100%; height: 900px; border: 0; border-radius: 16px; background: #CDD3DB;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(14, 14, 16, .12), 0 40px 90px -30px rgba(14, 22, 40, .45); }
@media (max-width: 899px) { .v4live { height: 760px; } }
.v4live-still { display: none; max-width: 390px; margin: 0 auto; }
@media (max-width: 700px) { .v4live { display: none; } .v4live-still { display: block; } }
