/* ==================================================================
   Support IT Ventures — public site design (v2)

   Loaded after app.css by the public layout and the customer sign-in
   layout only. Everything is scoped under body.sit-v2, so the customer
   portal, invoice and payment pages (which load app.css alone) are not
   affected.

   Palette from the owner's profile: Life Path 1 (Sun, saffron gold),
   company name = 8 (Saturn, indigo night), Cancer (Moon, pearl text),
   Mars coral for actions.
   ================================================================== */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-var-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/instrument-sans-var-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

body.sit-v2 {
  --night: #0A0D1C;
  --night-2: #10142A;
  --night-3: #171C38;
  --line: rgba(226, 222, 255, 0.12);
  --fg: #ECE9F5;
  --muted: #A3A7C2;
  --sun: #F4A62A;
  --sun-soft: #FFD58A;
  --ember: #FF5B3A;
  --ember-deep: #E0431F;
  --ivory: #F5F0E6;
  --ivory-2: #EAE2D2;
  --ink: #171A2C;
  --ink-muted: #585C72;
  --maroon: #4A1E26;
  --ok: #4CC38A;
  --bad: #FF7A6B;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;

  /* app.css tokens, remapped so its components follow the dark theme */
  --brand-primary: var(--sun);
  --brand-secondary: var(--night-2);
  --brand-accent: var(--sun);
  --text-primary: var(--fg);
  --text-muted: var(--muted);
  --surface: var(--night);
  --surface-alt: var(--night-2);
  --border: var(--line);
  --danger: var(--bad);
  --success: var(--ok);
  --font-sans: var(--f-body);

  color-scheme: dark;
  margin: 0;
  background: var(--night);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.sit-v2 [hidden] { display: none !important; }
.sit-v2 img { max-width: 100%; display: block; height: auto; }
.sit-v2 a { color: inherit; }
.sit-v2 a:hover { color: inherit; }
.sit-v2 h1, .sit-v2 h2, .sit-v2 h3, .sit-v2 h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
.sit-v2 p { margin: 0; }
.sit-v2 button { font: inherit; color: inherit; cursor: pointer; }
.sit-v2 :focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.sit-v2 .sit-skip { background: var(--sun); color: var(--night); }
.sit-v2 .sit-main { min-height: 50vh; }

.sv-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sv-eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun); }
.sv-lead { color: var(--muted); font-size: var(--step-1); max-width: 60ch; }
.sv-section { padding-block: clamp(64px, 9vw, 128px); }
.sv-section--flush { padding-top: 0; }
.sv-section--band { background: var(--night-2); }
.sv-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.sv-head h2 { font-size: var(--step-3); font-weight: 600; }
.sv-stack { display: grid; gap: 16px; align-content: start; }

/* --- Buttons ------------------------------------------------------- */
.sit-v2 .sit-btn, .sv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); color: var(--fg); font-family: var(--f-body); font-weight: 600;
  font-size: var(--step-0); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.sit-v2 .sit-btn:hover, .sv-btn:hover { transform: translateY(-2px); border-color: var(--sun); background: rgba(255,255,255,0.06); color: var(--fg); }
.sit-v2 .sit-btn--primary, .sv-btn--primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.sit-v2 .sit-btn--primary:hover, .sv-btn--primary:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: #fff; }
.sit-v2 .sit-btn--ghost { background: transparent; }
.sit-v2 .sit-btn--sm { min-height: 36px; padding: 8px 16px; font-size: var(--step--1); }
.sit-v2 .sit-btn:disabled { opacity: .6; transform: none; }
.sv-btn svg { width: 18px; height: 18px; flex: none; }
.sv-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.04); display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; }
.sv-icon-btn:hover { border-color: var(--sun); }
.sv-icon-btn svg { width: 16px; height: 16px; }

/* --- Top bar + header --------------------------------------------- */
.sv-topbar { border-bottom: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); position: relative; z-index: 60; }
.sv-topbar .sv-wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.sv-topbar a { text-decoration: none; }
.sv-topbar a:hover { color: var(--fg); }
.sv-topbar__group { display: flex; gap: 20px; flex-wrap: wrap; }

.sv-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.sv-header.is-solid, .sv-header--solid { background: rgba(10, 13, 28, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.sv-header__row { display: flex; align-items: center; gap: 20px; height: 72px; }
.sv-brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.sv-brand img { height: 52px; width: auto; }
.sv-brand__custom { height: 40px; width: auto; }
.sv-nav { margin-left: auto; }
.sv-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sv-nav > ul > li { position: relative; }
.sv-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: none; border: 0; text-decoration: none; font-weight: 500; color: var(--fg); }
.sv-nav__link:hover, .sv-nav li.is-open > .sv-nav__link { background: rgba(255,255,255,0.06); }
.sv-nav__link.is-active { color: var(--sun-soft); }
.sv-nav__chev { width: 12px; height: 12px; transition: transform .2s; }
.sv-nav li.is-open .sv-nav__chev { transform: rotate(180deg); }
.sv-header__actions { display: flex; align-items: center; gap: 10px; }
.sv-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--fg); }

.sv-mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: min(700px, 90vw); background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.sv-nav li.is-open .sv-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sv-mega a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; text-decoration: none; }
.sv-mega a:hover { background: rgba(255,255,255,0.05); }
.sv-mega strong { font-weight: 600; }
.sv-mega span { color: var(--muted); font-size: var(--step--1); line-height: 1.4; }
.sv-mega__feature { grid-row: span 3; background: linear-gradient(160deg, rgba(244,166,42,0.18), rgba(255,91,58,0.08)); border: 1px solid rgba(244,166,42,0.25); align-content: end; }
.sv-mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px !important; color: var(--sun-soft); }

.sv-drawer { position: fixed; inset: 0; z-index: 95; background: var(--night); padding: 20px var(--gutter) 40px; display: grid; align-content: start; gap: 4px; overflow-y: auto; }
.sv-drawer__close { justify-self: end; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin-bottom: 12px; color: var(--fg); }
.sv-drawer a { font-family: var(--f-display); font-size: var(--step-2); text-decoration: none; padding-block: 10px; border-bottom: 1px solid var(--line); }
.sv-drawer a.sv-drawer__sub { font-family: var(--f-body); font-size: var(--step-0); color: var(--muted); padding-left: 14px; }
.sv-drawer .sv-btn { margin-top: 18px; font-family: var(--f-body); font-size: var(--step-0); border-bottom: 0; }

/* --- Breadcrumbs (app.css .sit-crumbs) ----------------------------- */
.sit-v2 .sit-crumbs { background: transparent; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.sit-v2 .sit-crumbs .sit-container { max-width: 1240px; padding-inline: var(--gutter); }
.sit-v2 .sit-crumbs a { color: var(--muted); text-decoration: none; }
.sit-v2 .sit-crumbs a:hover { color: var(--sun-soft); }
.sit-v2 .sit-crumbs span { color: var(--sun-soft); }

/* --- Hero ---------------------------------------------------------- */
.sv-hero { position: relative; margin-top: -73px; padding-top: 73px; overflow: hidden; isolation: isolate; }
.sv-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sv-hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10,13,28,0.92) 0%, rgba(10,13,28,0.55) 48%, rgba(10,13,28,0.1) 100%), linear-gradient(0deg, var(--night) 0%, transparent 30%); }
.sv-hero__glow { position: absolute; z-index: -2; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,213,138,0.5), rgba(244,166,42,0.18) 35%, transparent 70%); pointer-events: none; }
.sv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.sv-hero__copy { display: grid; gap: 24px; min-width: 0; }
.sv-hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
.sv-hero h1 .sv-dot { color: var(--sun); }
.sv-hero__sub { font-family: var(--f-display); font-size: var(--step-2); color: var(--muted); letter-spacing: -0.01em; }
.sv-rotator { display: inline-grid; color: var(--fg); vertical-align: bottom; }
.sv-rotator span { grid-area: 1 / 1; transition: opacity .5s ease, transform .5s ease; }
.sv-rotator span:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(0.4em); transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s; }
.sv-hero__text { color: var(--muted); max-width: 52ch; }
.sv-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sv-hero__meta { display: flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: var(--step--1); color: var(--muted); }
.sv-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; animation: sv-pulse 2.4s infinite; }
@keyframes sv-pulse { 0% { box-shadow: 0 0 0 0 rgba(244,166,42,0.6); } 70% { box-shadow: 0 0 0 10px rgba(244,166,42,0); } 100% { box-shadow: 0 0 0 0 rgba(244,166,42,0); } }

.sv-spot { background: rgba(16, 20, 42, 0.72); border: 1px solid var(--line); border-radius: 20px; padding: 18px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 14px; min-width: 0; }
.sv-spot__top { display: flex; justify-content: space-between; align-items: baseline; }
.sv-spot__count { font-family: var(--f-display); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--sun-soft); font-variant-numeric: tabular-nums; }
.sv-spot__count small { font-size: 1rem; color: var(--muted); }
.sv-spot__slides { display: grid; }
.sv-spot__slide { grid-area: 1 / 1; display: grid; gap: 12px; transition: opacity .5s ease, transform .5s ease; }
.sv-spot__slide:not(.is-on) { opacity: 0; transform: translateX(16px); pointer-events: none; visibility: hidden; }
.sv-spot__shot { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--night-3); max-width: 100%; }
.sv-spot__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sv-spot__slide h3 { font-size: var(--step-1); font-weight: 600; }
.sv-spot__slide p { color: var(--muted); font-size: var(--step--1); }
.sv-spot__tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); }
.sv-spot__nav { display: flex; gap: 8px; align-items: center; }
.sv-spot__bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sv-spot__bar i { display: block; height: 100%; width: 0; background: var(--sun); }

/* --- Client marquee ------------------------------------------------- */
.sv-marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; }
.sv-marquee__label { text-align: center; font-family: var(--f-mono); font-size: var(--step--1); color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; padding-inline: var(--gutter); }
.sv-marquee__track { display: flex; gap: 56px; width: max-content; animation: sv-slide 38s linear infinite; }
.sv-marquee:hover .sv-marquee__track { animation-play-state: paused; }
.sv-marquee__item { display: flex; align-items: center; gap: 56px; font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; color: #C9C6D9; white-space: nowrap; }
.sv-marquee__item em { font-style: normal; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-left: 10px; vertical-align: middle; }
.sv-marquee__item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 18px var(--sun); }
@keyframes sv-slide { to { transform: translateX(-50%); } }

/* --- Service panels ------------------------------------------------- */
.sv-panels { display: flex; gap: 10px; height: 500px; }
.sv-panel { position: relative; flex: 1; min-width: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--night-2); transition: flex .55s cubic-bezier(.2,.7,.2,1), border-color .3s; cursor: pointer; }
.sv-panel.is-on { flex: 3.4; border-color: rgba(244,166,42,0.4); cursor: default; }
.sv-panel__art { position: absolute; inset: 0; opacity: 0.55; transition: opacity .5s, transform 1.2s ease; }
.sv-panel.is-on .sv-panel__art { opacity: 1; transform: scale(1.04); }
.sv-art-1 { background: radial-gradient(circle at 80% 20%, rgba(244,166,42,0.55), transparent 45%), repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 40px); }
.sv-art-2 { background: radial-gradient(circle at 20% 80%, rgba(255,91,58,0.45), transparent 50%), repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 22px); }
.sv-art-3 { background: radial-gradient(circle at 70% 70%, rgba(255,213,138,0.4), transparent 50%), radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.sv-art-4 { background: conic-gradient(from 200deg at 75% 30%, rgba(244,166,42,0.5), transparent 25%, rgba(255,91,58,0.35) 45%, transparent 60%); }
.sv-art-5 { background: radial-gradient(circle at 30% 25%, rgba(255,91,58,0.4), transparent 45%), repeating-radial-gradient(circle at 80% 90%, rgba(255,255,255,0.07) 0 1px, transparent 1px 26px); }
.sv-panel__body { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; background: linear-gradient(0deg, rgba(10,13,28,0.95) 10%, rgba(10,13,28,0.2) 70%); }
.sv-panel__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(244,166,42,0.14); color: var(--sun); flex: none; }
.sv-panel__icon .sit-icon { width: 26px; height: 26px; }
.sv-panel h3 { font-size: var(--step-2); font-weight: 600; }
.sv-panel h3 a { text-decoration: none; }
.sv-panel__more { display: grid; gap: 14px; max-width: 540px; }
.sv-panel:not(.is-on) .sv-panel__more { display: none; }
.sv-panel.is-on .sv-panel__more { animation: sv-rise .4s ease .1s both; }
@keyframes sv-rise { from { opacity: 0; transform: translateY(10px); } }
.sv-panel__more p { color: var(--muted); }
.sv-ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: var(--step--1); }
.sv-ticks li { display: flex; gap: 8px; }
.sv-ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); margin-top: 0.55em; flex: none; }
.sv-panel__link { color: var(--sun-soft); font-weight: 600; text-decoration: none; }
.sv-panel__link:hover { color: var(--sun); }
.sv-panel:not(.is-on) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: var(--step-1); white-space: nowrap; }
.sv-panel:not(.is-on) .sv-panel__body { justify-content: space-between; align-items: center; padding-inline: 12px; }

/* --- Flagship client (ivory band) ---------------------------------- */
.sv-flagship { background: var(--ivory); color: var(--ink); }
.sv-flagship .sv-eyebrow { color: #B4421F; }
.sv-flagship .sv-lead { color: var(--ink-muted); }
.sv-flagship__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.sv-flagship__head h2 { font-size: var(--step-3); font-weight: 600; }
.sv-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.sv-badge { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--ivory-2); color: var(--ink); }
.sv-badge--hot { background: var(--ink); color: var(--sun-soft); }
.sv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #D9CFBB; border-radius: var(--r); margin-bottom: 32px; }
.sv-facts div { padding: 16px 18px; border-left: 1px solid #D9CFBB; min-width: 0; }
.sv-facts div:first-child { border-left: 0; }
.sv-facts span { display: block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.sv-facts strong { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; overflow-wrap: anywhere; }
.sv-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ivory-2); gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.sv-tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--ink-muted); }
.sv-tabs button[aria-selected="true"] { background: var(--ink); color: var(--ivory); }

.sv-stage { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.sv-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(40, 20, 10, 0.45), 0 0 0 1px rgba(0,0,0,0.08); min-width: 0; }
.sv-browser__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #ECE6DA; }
.sv-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D3C9B6; flex: none; }
.sv-browser__url { flex: 1; min-width: 0; margin-left: 8px; background: #fff; border-radius: 6px; padding: 4px 10px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--ink-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sv-browser--dark { background: var(--night-3); box-shadow: 0 40px 100px -40px rgba(244,166,42,0.35), 0 0 0 1px var(--line); }
.sv-browser--dark .sv-browser__bar { background: var(--night); }
.sv-browser--dark .sv-browser__bar i { background: #2C3152; }
.sv-browser--dark .sv-browser__url { background: var(--night-2); color: var(--muted); }
.sv-rec { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; background: var(--maroon); max-width: 100%; }
.sv-rec img { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-width: none; animation: sv-rec 42s ease-in-out infinite alternate; }
.sv-rec.is-paused img { animation-play-state: paused; }
@keyframes sv-rec { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.sv-rec__hud { position: absolute; left: 12px; bottom: 12px; }
.sv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(23, 26, 44, 0.85); color: #fff; border: 0; font-size: 0.78rem; font-weight: 600; }
.sv-chip svg { width: 14px; height: 14px; }
.sv-chip__live { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.sv-phone { border-radius: 34px; padding: 10px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(40,20,10,0.5); }
.sv-phone .sv-rec { aspect-ratio: 9 / 19; border-radius: 26px; }
.sv-phone .sv-rec img { animation-duration: 36s; }
.sv-phone-note { margin-top: 12px; font-size: var(--step--1); color: var(--ink-muted); text-align: center; }
.sv-built { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.sv-built div { padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid #E3DAC8; display: grid; gap: 6px; align-content: start; }
.sv-built h4 { font-size: var(--step-0); font-weight: 600; letter-spacing: -0.01em; }
.sv-built p { color: var(--ink-muted); font-size: var(--step--1); }
.sv-note { font-size: var(--step--1); color: var(--ink-muted); margin-top: 10px; }
.sv-flagship__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.sv-flagship .sv-btn { color: var(--ink); border-color: #D3C9B6; background: transparent; }
.sv-flagship .sv-btn:hover { border-color: var(--ink); color: var(--ink); }
.sv-flagship .sv-btn--primary { color: #fff; background: var(--ember); border-color: var(--ember); }
.sv-flagship .sv-btn--primary:hover { color: #fff; }

/* CMS demo */
.sv-cms { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr); min-height: 460px; background: #fff; }
.sv-cms__side { background: #1E1A22; color: #D8D2DA; padding: 16px 10px; font-size: 0.82rem; display: grid; align-content: start; gap: 2px; }
.sv-cms__side b { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8C8390; padding: 10px 10px 4px; font-weight: 500; }
.sv-cms__side span { padding: 6px 10px; border-radius: 6px; }
.sv-cms__side span.is-on { background: rgba(244,166,42,0.18); color: #FFD58A; }
.sv-cms__form { padding: 20px; display: grid; gap: 14px; align-content: start; border-right: 1px solid #EEE7DA; min-width: 0; }
.sv-cms__form h4 { font-size: var(--step-1); font-weight: 600; }
.sv-cfield { display: grid; gap: 6px; }
.sv-cfield label, .sv-cfield .sv-lbl { font-size: 0.78rem; font-weight: 600; color: var(--ink-muted); }
.sv-cfield input, .sv-cfield textarea { font: inherit; font-size: 0.92rem; padding: 10px 12px; border-radius: 8px; border: 1px solid #DCD3C2; background: #FBF8F2; color: var(--ink); width: 100%; }
.sv-cfield textarea { resize: vertical; min-height: 70px; }
.sv-toggles { display: grid; gap: 6px; }
.sv-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: #FBF8F2; border: 1px solid #EEE5D4; font-size: 0.88rem; }
.sv-toggle input { accent-color: #B4421F; width: 18px; height: 18px; }
.sv-cms__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sv-btn--ink { background: var(--ink) !important; color: var(--ivory) !important; border-color: var(--ink) !important; padding: 10px 18px; font-size: 0.9rem; min-height: 40px; }
.sv-saved { font-size: 0.82rem; color: #2F7A4B; font-weight: 600; }
.sv-cms__preview { padding: 16px; background: #F2ECE2; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sv-cms__preview .sv-lbl { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.sv-pv-hero { border-radius: 10px; padding: 22px 18px; background: linear-gradient(160deg, #5A2430, #2E1218); color: #fff; display: grid; gap: 8px; }
.sv-pv-hero small { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: #E7BFA8; }
.sv-pv-hero h5 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.15; font-weight: 700; overflow-wrap: anywhere; }
.sv-pv-hero p { font-size: 0.8rem; color: #EAD9D3; overflow-wrap: anywhere; }
.sv-pv-blocks { display: grid; gap: 6px; }
.sv-pv-block { padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid #E3DAC8; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 8px; }
.sv-pv-block small { color: var(--ink-muted); }
.sv-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px; background: #F2ECE2; min-height: 420px; }
.sv-kcol { background: #FBF8F2; border: 1px solid #E3DAC8; border-radius: 12px; padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sv-kcol h5 { margin: 0; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); display: flex; justify-content: space-between; }
.sv-kcard { background: #fff; border: 1px solid #E3DAC8; border-radius: 10px; padding: 12px; display: grid; gap: 6px; font-size: 0.84rem; animation: sv-pop .35s ease; }
.sv-kcard b { font-family: var(--f-mono); font-size: 0.78rem; }
.sv-kcard span { color: var(--ink-muted); }
.sv-kcard button { justify-self: start; border: 0; border-radius: 999px; padding: 6px 12px; background: var(--ink); color: var(--ivory); font-size: 0.78rem; font-weight: 600; }
.sv-kcard .sv-roll { color: #2F7A4B; font-weight: 600; font-family: var(--f-mono); font-size: 0.76rem; }
@keyframes sv-pop { from { transform: scale(0.96); opacity: 0.4; } }

/* --- Product bento --------------------------------------------------- */
.sv-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.sv-filter button { border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: var(--step--1); transition: all .2s; }
.sv-filter button:hover { border-color: var(--sun); }
.sv-filter button[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--night); }
.sv-filter b { font-family: var(--f-mono); font-weight: 500; opacity: 0.7; margin-left: 4px; }
.sv-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sv-pcard { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--night-2); display: grid; grid-template-rows: 220px auto; text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; min-width: 0; }
.sv-pcard:hover { transform: translateY(-4px); border-color: rgba(244,166,42,0.45); box-shadow: 0 30px 60px -30px rgba(244,166,42,0.35); }
.sv-pcard--wide { grid-column: span 2; }
.sv-bento.is-filtered .sv-pcard--wide { grid-column: auto; }
.sv-pcard__shot { overflow: hidden; background: var(--night-3); border-bottom: 1px solid var(--line); position: relative; }
.sv-pcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s ease; }
.sv-pcard:hover .sv-pcard__shot img { transform: scale(1.05); }
.sv-pcard__body { padding: 18px 20px 20px; display: grid; gap: 4px; align-content: start; }
.sv-pcard__kind { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.sv-pcard__name { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; }
.sv-pcard__tag { color: var(--muted); font-size: var(--step--1); }
.sv-pcard__url { font-family: var(--f-mono); font-size: 0.74rem; color: var(--sun-soft); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.sv-pcard__url svg { width: 14px; height: 14px; transition: transform .2s; }
.sv-pcard:hover .sv-pcard__url svg { transform: translateX(4px); }
.sv-pcard__new { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--ember); color: #fff; }
.sv-glow { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; }
.sv-glow strong { display: block; font-family: var(--f-display); font-size: var(--step-2); line-height: 1.05; margin-bottom: 6px; }
.sv-glow span { color: rgba(255,255,255,0.8); }
.sv-glow--led { background: radial-gradient(circle at 50% 40%, #FFF4D6 0%, #F4A62A 18%, #3A2A10 46%, #0E0C08 75%); color: #fff; }
.sv-glow--plain { background: radial-gradient(circle at 70% 20%, rgba(244,166,42,0.35), transparent 55%), radial-gradient(circle at 20% 90%, rgba(255,91,58,0.25), transparent 50%), var(--night-3); color: var(--fg); }

/* --- Nimble family ------------------------------------------------- */
.sv-nimble { background: radial-gradient(ellipse at 85% 0%, rgba(244,166,42,0.14), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(255,91,58,0.10), transparent 50%), var(--night-2); border-block: 1px solid var(--line); }
.sv-nimble__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.sv-nimble__head h2 { font-size: var(--step-3); font-weight: 600; }
.sv-nimble__head h2 em { font-style: normal; color: var(--sun); }
.sv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-pills span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.sv-ntools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.sv-ntool { text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10,13,28,0.55); display: flex; gap: 14px; align-items: center; transition: border-color .2s, background .2s; min-width: 0; }
.sv-ntool:hover { border-color: rgba(244,166,42,0.4); }
.sv-ntool[aria-selected="true"] { border-color: var(--sun); background: rgba(244,166,42,0.08); }
.sv-ntool .sv-nmark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1; color: var(--night); background: var(--sun); }
.sv-ntool:nth-child(2) .sv-nmark { background: #FF7A59; }
.sv-ntool:nth-child(3) .sv-nmark { background: var(--sun-soft); }
.sv-ntool:nth-child(4) .sv-nmark { background: #E9E4F5; }
.sv-ntool__text { display: grid; min-width: 0; }
.sv-ntool__text strong { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); }
.sv-ntool__text span { color: var(--muted); font-size: var(--step--1); line-height: 1.35; }
.sv-nview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.sv-shot { aspect-ratio: 16 / 8; overflow: hidden; max-width: 100%; position: relative; }
.sv-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; animation: sv-fadein .5s ease; }
@keyframes sv-fadein { from { opacity: 0.2; transform: scale(1.02); } }
.sv-ninfo { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10,13,28,0.55); min-width: 0; }
.sv-ninfo h3 { font-size: var(--step-2); font-weight: 600; }
.sv-ninfo p { color: var(--muted); }
.sv-ninfo .sv-ticks { grid-template-columns: 1fr; }
.sv-ninfo .sv-btn { justify-self: start; }
.sv-nlinks { display: flex; gap: 10px; flex-wrap: wrap; }
.sv-tryit { margin-top: 18px; padding: 22px; border-radius: 18px; border: 1px dashed rgba(244,166,42,0.45); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 22px; align-items: start; }
.sv-tryit h3 { font-size: var(--step-1); font-weight: 600; margin: 8px 0 6px; }
.sv-tryit p { color: var(--muted); font-size: var(--step--1); }
.sv-tryit label { display: block; margin-bottom: 8px; color: var(--muted); }
.sv-tryit textarea { width: 100%; min-height: 110px; resize: vertical; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--night); color: var(--fg); }
.sv-tryit__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sv-tryit__btns button { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 999px; padding: 7px 12px; font-size: var(--step--1); font-weight: 500; }
.sv-tryit__btns button:hover { border-color: var(--sun); color: var(--sun-soft); }
.sv-tryit__stats { display: flex; gap: 16px; margin-top: 10px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.sv-tryit__stats b { color: var(--sun-soft); font-weight: 500; }

/* --- Numbers, process, founder, closing CTA ------------------------- */
.sv-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sv-numbers div { padding: 28px 24px 8px 0; display: grid; gap: 6px; align-content: start; }
.sv-numbers strong { font-family: var(--f-display); font-size: var(--step-4); font-weight: 400; line-height: 1; color: var(--sun-soft); font-variant-numeric: tabular-nums; }
.sv-numbers span { color: var(--muted); max-width: 24ch; }
.sv-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: sv-step; padding: 0; margin: 0; list-style: none; }
.sv-step { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--night-2); display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .3s; }
.sv-step:hover { border-color: rgba(244,166,42,0.4); transform: translateY(-4px); }
.sv-step::before { counter-increment: sv-step; content: "Step " counter(sv-step); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.sv-step h3 { font-size: var(--step-1); font-weight: 600; }
.sv-step p { color: var(--muted); font-size: var(--step--1); }
.sv-founder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.sv-seal { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,213,138,0.95), rgba(244,166,42,0.9) 30%, rgba(255,91,58,0.5) 55%, transparent 72%); position: relative; max-width: 100%; }
.sv-seal svg { width: 38%; height: 38%; }
.sv-seal::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(244,166,42,0.4); animation: sv-spin 60s linear infinite; }
@keyframes sv-spin { to { transform: rotate(360deg); } }
.sv-founder blockquote { margin: 18px 0 0; font-family: var(--f-display); font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.015em; }
.sv-founder cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); }
.sv-founder cite b { color: var(--fg); font-weight: 600; }
.sv-closing { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 24px; border: 1px solid rgba(244,166,42,0.3); background: radial-gradient(ellipse at 100% 0%, rgba(244,166,42,0.25), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(255,91,58,0.15), transparent 55%), var(--night-2); }
.sv-closing h2 { font-size: var(--step-3); font-weight: 600; }
.sv-closing p { color: var(--muted); margin-top: 12px; max-width: 56ch; }
.sv-closing__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Footer --------------------------------------------------------- */
.sv-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--muted); font-size: var(--step--1); }
.sv-footer__big { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 11vw, 9.5rem); letter-spacing: -0.05em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(244,166,42,0.35); margin-bottom: 40px; user-select: none; white-space: nowrap; overflow: hidden; }
.sv-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.sv-footer h2 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); margin-bottom: 14px; font-weight: 500; }
.sv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sv-footer a { text-decoration: none; }
.sv-footer a:hover { color: var(--fg); }
.sv-footer__brand { display: grid; gap: 12px; align-content: start; }
.sv-footer__brand img { height: 56px; width: auto; margin-left: -8px; }
.sv-footer__legal { display: grid; gap: 4px; }
.sv-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }

/* --- Reel modal ----------------------------------------------------- */
.sv-reel { position: fixed; inset: 0; z-index: 100; background: rgba(5, 7, 15, 0.92); display: grid; place-items: center; padding: 24px var(--gutter); }
.sv-reel__box { width: min(1100px, 100%); display: grid; gap: 14px; }
.sv-reel__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--night-2); border: 1px solid var(--line); max-width: 100%; }
.sv-reel__scene { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.sv-reel__scene.is-on { opacity: 1; }
.sv-reel__scene img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sv-reel__scene--phone { background: #2E1218; }
.sv-reel__scene--phone img { width: 34%; margin: 0 auto; }
.sv-reel__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(0deg, rgba(10,13,28,0.95), transparent); display: grid; gap: 4px; }
.sv-reel__cap span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.sv-reel__cap strong { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; }
.sv-reel__controls { display: flex; gap: 12px; align-items: center; }
.sv-reel__progress { flex: 1; display: flex; gap: 4px; }
.sv-reel__progress button { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,0.16); position: relative; overflow: hidden; }
.sv-reel__progress button i { position: absolute; inset: 0; width: 0; background: var(--sun); }
.sv-reel__time { font-family: var(--f-mono); font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 5ch; text-align: right; }

.sv-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 110; background: var(--ivory); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-size: var(--step--1); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.4); max-width: calc(100vw - 32px); text-align: center; }

/* ==================================================================
   Existing templates (services, products, pages, contact, errors)
   ================================================================== */
.sit-v2 .sit-container { max-width: 1240px; padding-inline: var(--gutter); }
.sit-v2 .sit-section { padding-block: clamp(48px, 7vw, 96px); background: transparent; }
.sit-v2 .sit-section--alt { background: var(--night-2); background-image: none; border-block: 1px solid var(--line); }
.sit-v2 .sit-page-heading { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; max-width: 18ch; }
.sit-v2 .sit-section__title { font-size: var(--step-3); font-weight: 600; margin-bottom: 14px; }
.sit-v2 .sit-section__lead, .sit-v2 .sit-lead { color: var(--muted); font-size: var(--step-1); max-width: 62ch; margin-bottom: 32px; }
.sit-v2 .sit-muted { color: var(--muted); }
.sit-v2 .sv-pagehead { position: relative; overflow: hidden; isolation: isolate; }
.sit-v2 .sv-pagehead::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(244,166,42,0.32), rgba(255,91,58,0.1) 40%, transparent 70%); pointer-events: none; }

.sit-v2 .sit-grid { gap: 14px; }
.sit-v2 .sit-card-item { background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .3s ease, border-color .3s ease; }
.sit-v2 .sit-card-item:hover { transform: translateY(-4px); border-color: rgba(244,166,42,0.45); box-shadow: none; }
.sit-v2 .sit-card-item h2, .sit-v2 .sit-card-item h3 { font-size: var(--step-1); font-weight: 600; margin-bottom: 8px; }
.sit-v2 .sit-card-item p { color: var(--muted); }
.sit-v2 .sit-card-item a { text-decoration: none; }
.sit-v2 .sit-card-item a:hover { color: var(--sun-soft); text-decoration: none; }
.sit-v2 .sit-card-item__icon, .sit-v2 .sit-section--alt .sit-card-item__icon { background: rgba(244,166,42,0.14); color: var(--sun); }
.sit-v2 .sit-card-item__tagline { color: var(--fg); }
.sit-v2 .sit-cover { border-radius: 18px; border: 1px solid var(--line); }

.sit-v2 .sit-tag { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--sun); background: rgba(244,166,42,0.1); border-color: rgba(244,166,42,0.3); }
.sit-v2 .sit-tag--live { color: var(--ok); background: rgba(76,195,138,0.1); border-color: rgba(76,195,138,0.35); }
.sit-v2 .sit-tag--beta { color: var(--sun-soft); background: rgba(255,213,138,0.1); border-color: rgba(255,213,138,0.3); }
.sit-v2 .sit-tag--retired { color: var(--muted); background: transparent; border-color: var(--line); }

.sit-v2 .sit-prose { max-width: 70ch; color: #D9D6E6; }
.sit-v2 .sit-prose h2 { font-size: var(--step-2); font-weight: 600; color: var(--fg); margin: 40px 0 14px; }
.sit-v2 .sit-prose h3 { font-size: var(--step-1); font-weight: 600; color: var(--fg); margin: 28px 0 10px; }
.sit-v2 .sit-prose p, .sit-v2 .sit-prose ul, .sit-v2 .sit-prose ol { margin: 0 0 16px; }
.sit-v2 .sit-prose a { color: var(--sun-soft); text-decoration: underline; text-underline-offset: 3px; }
.sit-v2 .sit-prose a:hover { color: var(--sun); }
.sit-v2 .sit-prose strong { color: var(--fg); }
.sit-v2 .sit-prose ul { list-style: none; padding-left: 0; }
.sit-v2 .sit-prose ul li { position: relative; padding-left: 20px; }
.sit-v2 .sit-prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.sit-v2 .sit-prose blockquote { border-left-color: var(--sun); background: var(--night-2); color: var(--fg); border-radius: 0 12px 12px 0; }
.sit-v2 .sit-prose pre { background: var(--night-2); border: 1px solid var(--line); }
.sit-v2 .sit-prose th, .sit-v2 .sit-prose td { border-color: var(--line); }
.sit-v2 .sit-prose img { border: 1px solid var(--line); }

.sit-v2 .sit-faqs details { border-color: var(--line); background: var(--night-2); border-radius: 14px; }
.sit-v2 .sit-faqs summary { color: var(--fg); }
.sit-v2 .sit-faqs details[open] { border-color: rgba(244,166,42,0.35); }

.sit-v2 .sit-field label { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.sit-v2 .sit-field input:not([type="checkbox"]):not([type="radio"]), .sit-v2 .sit-field select, .sit-v2 .sit-field textarea {
  background: var(--night); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; min-height: 48px; padding: 12px 14px;
}
.sit-v2 .sit-field input:focus, .sit-v2 .sit-field select:focus, .sit-v2 .sit-field textarea:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 3px rgba(244,166,42,0.2); }
.sit-v2 .sit-field input[aria-invalid="true"], .sit-v2 .sit-field textarea[aria-invalid="true"] { border-color: var(--bad); }
.sit-v2 .sit-field--check label { color: var(--muted); font-weight: 400; align-items: flex-start; }
.sit-v2 .sit-field--check input { accent-color: var(--sun); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.sit-v2 .sit-field-error { color: var(--bad); }
.sit-v2 .sit-field-hint { color: var(--muted); }
.sit-v2 .sit-contactgrid .sit-form { padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--night-2); border: 1px solid var(--line); }
.sit-v2 .sit-contactaside { background: transparent; border: 1px solid var(--line); border-radius: 20px; }
.sit-v2 .sit-contactaside h2 { font-size: var(--step-1); font-weight: 600; }
.sit-v2 .sit-contactaside a { color: var(--sun-soft); font-family: var(--f-mono); overflow-wrap: anywhere; }

.sit-v2 .sit-alert { border-radius: 14px; border-color: var(--line); background: var(--night-2); color: var(--fg); }
.sit-v2 .sit-alert--success { border-color: rgba(76,195,138,0.5); background: rgba(76,195,138,0.08); }
.sit-v2 .sit-alert--warning { border-color: rgba(244,166,42,0.5); background: rgba(244,166,42,0.08); }
.sit-v2 .sit-alert--danger { border-color: rgba(255,122,107,0.5); background: rgba(255,122,107,0.08); }
.sit-v2 .sit-alert--info { border-color: rgba(255,213,138,0.4); background: rgba(255,213,138,0.06); }
.sit-v2 .sit-main > .sit-alert { max-width: 1240px; margin: 20px auto 0; }

.sit-v2 .sit-error { padding-block: clamp(64px, 10vw, 140px); }
.sit-v2 .sit-error__code { font-family: var(--f-mono); color: var(--sun); letter-spacing: 0.2em; }
.sit-v2 .sit-error__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.sit-v2 .sit-error__text, .sit-v2 .sit-error__ref { color: var(--muted); margin-bottom: 24px; }

.sit-v2 .sit-cta { background: var(--night-2); border-block: 1px solid var(--line); }
.sit-v2 .sit-cta::after { background: var(--sun); opacity: .15; }
.sit-v2 .sit-cta .sit-btn--primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.sit-v2 .sit-producthead { align-items: center; }
.sit-v2 .sv-detail-shot { margin: 8px 0 40px; }
.sit-v2 .sv-detail-shot .sv-shot { aspect-ratio: 16 / 8.5; }
.sit-v2 .sit-section__more { gap: 12px; }

/* --- Services listing ----------------------------------------------- */
.sv-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sv-scard { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--night-2); padding: 28px; display: grid; gap: 14px; align-content: start; text-decoration: none; min-height: 280px; transition: transform .3s ease, border-color .3s ease; isolation: isolate; }
.sv-scard:hover { transform: translateY(-4px); border-color: rgba(244,166,42,0.45); }
.sv-scard .sv-panel__art { z-index: -1; opacity: 0.35; }
.sv-scard:hover .sv-panel__art { opacity: 0.7; }
.sv-scard h2 { font-size: var(--step-2); font-weight: 600; }
.sv-scard p { color: var(--muted); max-width: 52ch; }
.sv-scard .sv-panel__link { margin-top: auto; }

/* ==================================================================
   Visitor chat assistant (views/partials/chat-widget.php, site.js)
   ================================================================== */
.sv-chat { position: fixed; right: 18px; bottom: 18px; z-index: 90; font-family: var(--f-body); }
.sv-chat__launchers { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.sv-chat__wa, .sv-chat__toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.sv-chat__wa { width: 54px; background: #25D366; color: #fff; box-shadow: 0 14px 40px -12px rgba(37,211,102,0.6); }
.sv-chat__toggle { padding: 0 22px 0 18px; background: var(--ember); color: #fff; box-shadow: 0 14px 40px -10px rgba(255,91,58,0.65); }
.sv-chat__toggle:hover, .sv-chat__wa:hover { transform: translateY(-2px); }
.sv-chat__toggle:hover { background: var(--ember-deep); }
.sv-chat__ico-close { display: none; }
.sv-chat.is-open .sv-chat__ico-open { display: none; }
.sv-chat.is-open .sv-chat__ico-close { display: block; }
.sv-chat.is-open .sv-chat__toggle-label { display: none; }
.sv-chat.is-open .sv-chat__toggle { width: 54px; padding: 0; }
.sv-chat.is-open .sv-chat__wa { display: none; }
.sv-chat__badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sun); color: var(--night); font-size: 0.74rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--night); }

.sv-chat__teaser { position: absolute; right: 0; bottom: calc(100% + 14px); width: 290px; animation: sv-rise .4s ease both; }
.sv-chat__teaser-body { display: grid; gap: 4px; width: 100%; text-align: left; padding: 14px 36px 14px 16px; border-radius: 16px 16px 4px 16px; border: 1px solid rgba(244,166,42,0.35); background: var(--night-2); color: var(--fg); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7); }
.sv-chat__teaser-body span { color: var(--muted); font-size: var(--step--1); line-height: 1.4; }
.sv-chat__teaser-x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.06); color: var(--muted); display: grid; place-items: center; z-index: 1; }

.sv-chat__panel { position: absolute; right: 0; bottom: 70px; width: min(390px, calc(100vw - 36px)); height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,0.65); overflow: hidden; animation: sv-chat-in .25s ease both; }
@keyframes sv-chat-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.sv-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(120deg, rgba(244,166,42,0.22), rgba(255,91,58,0.12)), var(--night-3); border-bottom: 1px solid var(--line); }
.sv-chat__avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.sv-chat__avatar img { width: 30px; height: 30px; }
.sv-chat__online { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--night-3); }
.sv-chat__who { display: grid; min-width: 0; flex: 1; }
.sv-chat__title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.sv-chat__sub { color: var(--muted); font-size: 0.78rem; }
.sv-chat__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); display: grid; place-items: center; flex: none; }
.sv-chat__close:hover { border-color: var(--sun); }

.sv-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; scroll-behavior: smooth; }
.sv-msg { max-width: 88%; display: grid; gap: 3px; animation: sv-pop .25s ease; }
.sv-msg__author { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-inline: 4px; }
.sv-msg__body { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 0.93rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.sv-msg--bot, .sv-msg--agent { align-self: flex-start; }
.sv-msg--bot .sv-msg__body { background: var(--night-3); border-top-left-radius: 4px; }
.sv-msg--agent .sv-msg__body { background: var(--night-3); border: 1px solid rgba(244,166,42,0.45); border-top-left-radius: 4px; }
.sv-msg--visitor { align-self: flex-end; }
.sv-msg--visitor .sv-msg__author { text-align: right; }
.sv-msg--visitor .sv-msg__body { background: var(--sun); color: var(--night); border-top-right-radius: 4px; }
.sv-msg__body a { color: var(--sun-soft); text-decoration: underline; text-underline-offset: 2px; }
.sv-msg--visitor .sv-msg__body a { color: var(--night); }
.sv-msg__time { font-size: 0.68rem; color: var(--muted); padding-inline: 4px; }
.sv-msg--visitor .sv-msg__time { text-align: right; }
.sv-chat__note { align-self: center; font-size: 0.75rem; color: var(--muted); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); }
.sv-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-top-left-radius: 4px; background: var(--night-3); }
.sv-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: sv-dot 1.2s infinite ease-in-out; }
.sv-typing i:nth-child(2) { animation-delay: .15s; }
.sv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sv-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.sv-chat__chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; flex: none; }
.sv-chat__chips::-webkit-scrollbar { display: none; }
.sv-chat__chips button { flex: none; border: 1px solid rgba(244,166,42,0.4); background: rgba(244,166,42,0.08); color: var(--sun-soft); border-radius: 999px; padding: 7px 12px; font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
.sv-chat__chips button:hover { background: rgba(244,166,42,0.18); }
.sv-chat__status { margin: 0; padding: 0 16px 8px; font-size: 0.8rem; color: var(--muted); }
.sv-chat__status.is-error { color: var(--bad); }

.sv-chat__form { border-top: 1px solid var(--line); padding: 10px 12px 10px; display: grid; gap: 8px; background: var(--night-2); flex: none; }
.sv-chat__identity summary { cursor: pointer; font-size: 0.8rem; color: var(--muted); list-style: none; padding-inline: 4px; }
.sv-chat__identity summary::-webkit-details-marker { display: none; }
.sv-chat__identity summary::before { content: "+ "; color: var(--sun); }
.sv-chat__identity[open] summary::before { content: "− "; }
.sv-chat__idfields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.sv-chat__idfields input, .sv-chat__compose textarea { width: 100%; font: inherit; font-size: 0.92rem; color: var(--fg); background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.sv-chat__idfields input:focus, .sv-chat__compose textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(244,166,42,0.18); }
.sv-chat__compose { display: flex; gap: 8px; align-items: flex-end; }
.sv-chat__compose textarea { resize: none; max-height: 120px; line-height: 1.4; }
.sv-chat__send { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--ember); color: #fff; display: grid; place-items: center; }
.sv-chat__send:hover { background: var(--ember-deep); }
.sv-chat__send:disabled { opacity: .5; }
.sv-chat__legal { margin: 0; font-size: 0.7rem; color: var(--muted); padding-inline: 4px; }
.sv-chat__legal a { color: var(--muted); }

@media (max-width: 600px) {
  .sv-chat { right: 12px; bottom: 12px; }
  .sv-chat__toggle { width: 54px; padding: 0; }
  .sv-chat__toggle-label { display: none; }
  .sv-chat__teaser { display: none; }
  .sv-chat__panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 120; }
  .sv-chat__idfields { grid-template-columns: 1fr; }
  .sv-chat__compose textarea { font-size: 16px; } /* stops iOS zooming into the field */
  .sv-chat.is-open .sv-chat__launchers { display: none; }
}

/* ==================================================================
   Customer sign-in (form markup unchanged)
   ================================================================== */
.sit-v2.sit-cauth { min-height: 100vh; background: radial-gradient(ellipse at 85% -10%, rgba(244,166,42,0.28), transparent 50%), radial-gradient(ellipse at 0% 110%, rgba(255,91,58,0.14), transparent 45%), var(--night); }
.sit-v2 .sit-cauth__brand img { width: 220px; height: auto; }
.sit-v2 .sit-cauth__card { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8); max-width: 440px; }
.sit-v2 .sit-cauth__title { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; }
.sit-v2 .sit-cauth__sub { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun); }
.sit-v2 .sit-cauth__labelrow a, .sit-v2 .sit-cauth__note a { color: var(--sun-soft); }
.sit-v2 .sit-cauth__submit { margin-top: 8px; }
.sit-v2 .sit-cauth__foot a { color: var(--muted); text-decoration: none; }
.sit-v2 .sit-cauth__foot a:hover { color: var(--fg); }

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 1080px) {
  .sv-nav, .sv-header__actions .sv-btn--primary { display: none; }
  .sv-burger { display: inline-flex; }
  .sv-header__actions { margin-left: auto; }
  .sv-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .sv-spot { max-width: 560px; }
  .sv-panels { flex-direction: column; height: auto; }
  .sv-panel, .sv-panel.is-on { flex: none; }
  .sv-panel { min-height: 88px; }
  .sv-panel.is-on { min-height: 400px; }
  .sv-panel:not(.is-on) h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; }
  .sv-panel:not(.is-on) .sv-panel__body { flex-direction: row; justify-content: flex-start; align-items: center; padding: 18px; gap: 16px; }
  .sv-bento { grid-template-columns: 1fr 1fr; }
  .sv-ntools { grid-template-columns: 1fr 1fr; }
  .sv-nview, .sv-nimble__head, .sv-tryit, .sv-closing { grid-template-columns: 1fr; }
  .sv-process { grid-template-columns: 1fr 1fr; }
  .sv-cms { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sv-cms__side { display: none; }
  .sv-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .sv-topbar__hide-sm { display: none; }
  .sv-topbar .sv-wrap { justify-content: flex-end; }
  .sv-topbar__group:first-child { display: none; }
  .sv-brand img { height: 44px; }
  .sv-flagship__head, .sv-stage, .sv-founder { grid-template-columns: 1fr; }
  .sv-phone { max-width: 240px; margin-inline: auto; }
  .sv-facts { grid-template-columns: 1fr 1fr; }
  .sv-facts div:nth-child(3) { border-left: 0; }
  .sv-facts div:nth-child(n+3) { border-top: 1px solid #D9CFBB; }
  .sv-built, .sv-services { grid-template-columns: 1fr; }
  .sv-numbers { grid-template-columns: 1fr 1fr; }
  .sv-process { grid-template-columns: 1fr; }
  .sv-cms { grid-template-columns: 1fr; }
  .sv-cms__form { border-right: 0; border-bottom: 1px solid #EEE7DA; }
  .sv-kanban { grid-template-columns: 1fr; min-height: 0; }
  .sv-bento { grid-template-columns: 1fr; }
  .sv-pcard--wide { grid-column: auto; }
  .sv-pcard { grid-template-rows: 190px auto; }
  .sv-ntools { grid-template-columns: 1fr; }
  .sv-seal { max-width: 200px; }
  .sv-ticks { grid-template-columns: 1fr; }
  .sv-panel.is-on { min-height: 460px; }
  .sv-footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sit-v2 *, .sit-v2 *::before, .sit-v2 *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .sv-rec img { animation: none !important; }
}
@media print {
  .sv-topbar, .sv-header, .sv-footer, .sv-chat, .sv-hero__canvas { display: none !important; }
  body.sit-v2 { background: #fff; color: #000; }
}

.sv-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sit-v2 .sit-section .sv-eyebrow + .sit-page-heading { margin-top: 14px; }
.sv-spot__slide h3 a { text-decoration: none; }
.sv-spot__slide h3 a:hover { color: var(--sun-soft); }

/* The v2 reset zeroes paragraph margins; the older components rely on them. */
.sit-v2 .sit-card-item p, .sit-v2 .sit-contactaside p, .sit-v2 .sit-alert p, .sit-v2 .sit-error p { margin: 0 0 10px; }
.sit-v2 .sit-faqs details p { margin: 12px 0 0; }
.sit-v2 .sit-cauth__sub { margin: 6px 0 24px; }
.sit-v2 .sit-cauth__note { margin: 20px 0 0; }
.sit-v2 .sit-section__more { margin-top: 28px; }

/* --- Selected work: one compact case card ----------------------------- */
.sv-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(ellipse at 0% 0%, rgba(244,166,42,0.14), transparent 55%), var(--night-2); }
.sv-case__lead { display: grid; gap: 16px; align-content: start; min-width: 0; }
.sv-case__lead h3 { font-size: var(--step-3); font-weight: 600; }
.sv-case__body { display: grid; gap: 18px; align-content: center; min-width: 0; }
.sv-case__body p { color: var(--muted); font-size: var(--step-1); max-width: 46ch; }
.sv-case .sv-badge { background: rgba(244,166,42,0.1); color: var(--sun-soft); border: 1px solid rgba(244,166,42,0.3); }
.sv-case__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.sv-pills a { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(244,166,42,0.35); color: var(--sun-soft); text-decoration: none; }
.sv-pills a:hover { background: rgba(244,166,42,0.12); }
.sv-numbers:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .sv-case { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sv-numbers:has(> div:nth-child(3):last-child) { grid-template-columns: 1fr 1fr; } }

/* --- Clientele page: names as a tidy grid ------------------------------ */
.sv-page-clientele .sit-prose { max-width: none; }
.sv-page-clientele .sit-prose ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
@media (max-width: 900px) { .sv-page-clientele .sit-prose ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sv-page-clientele .sit-prose ul { grid-template-columns: 1fr; } }
.sv-page-clientele .sit-prose ul li { margin: 0; padding: 22px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--night-2); font-family: var(--f-display); font-size: var(--step-1); line-height: 1.25; color: var(--fg); }
.sv-page-clientele .sit-prose ul li::before { display: none; }
.sv-page-clientele .sit-prose ul li strong { font-weight: 600; }
.sv-page-clientele .sit-prose ul li em { display: block; margin-top: 8px; font-style: normal; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); }
