/* Bespoke systems service page.
   Page shell, sub-nav, structure tabs, diagram frame and pricing come from
   service-page.css (.sv- prefix). Only what this page alone uses is here. */

/* ---------- Confidentiality, standing in for a portfolio ---------- */

/* A visitor notices there is no work shown and wonders why. This answers it
   before they have to ask, and turns the gap into the argument. */
.sy-private {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 32px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-1);
}
.sy-private > i { color: var(--accent-1); font-size: 2rem; }
.sy-private > div { flex: 1 1 460px; }
.sy-private h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  text-transform: uppercase;
}
.sy-private p { margin: 0 0 12px; color: var(--text-muted); font-size: 0.94rem; line-height: 1.75; }
.sy-private p:last-child { margin-bottom: 0; }
.sy-private strong { color: var(--text); }

/* ---------- Wide diagrams ---------- */

.sy-wide-wrap {
  margin: 0 0 12px;
  padding: 24px;
  overflow-x: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
}
.sy-wide { display: block; width: 100%; min-width: 860px; height: auto; }

.sy-scroll-hint {
  margin: 0 0 40px;
  color: #6A6A6A;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Cards ---------- */

.sy-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.sy-cards > .sy-card { flex: 1 1 330px; max-width: 400px; }

.sy-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease;
}
.sy-card:hover { border-color: var(--accent-1); }
.sy-card > i { color: var(--accent-1); font-size: 1.3rem; }
.sy-card h3 {
  margin: 16px 0 12px;
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sy-card-what { margin: 0 0 14px; color: var(--text); font-size: 0.9rem; line-height: 1.65; }
.sy-card-why {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.75;
}
/* What we ask of the client, marked as asks rather than features. */
.sy-cards-ask > .sy-card { border-left: 2px solid var(--accent-2); }
.sy-cards-ask > .sy-card > i { color: var(--accent-2); }
.sy-cards-ask > .sy-card:hover { border-color: var(--accent-2); }

/* ---------- Diagram beside its explanation ---------- */

.sy-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; margin-bottom: 48px; }
.sy-pair:last-of-type { margin-bottom: 0; }
.sy-pair-text h3 { margin: 0 0 14px; font-size: 1.45rem; }
.sy-pair-text p { margin: 0 0 14px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.8; }
.sy-pair-text p:last-child { margin-bottom: 0; }
.sy-pair-text strong { color: var(--text); }
.sy-pair .sv-diagram-wrap { margin: 0; }

.sy-sub { margin: 64px 0 12px; font-size: 1.45rem; }
.sy-sub-first { margin-top: 0; }
.sy-sub-p { max-width: 720px; margin: 0 0 24px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.8; }
.sy-sub-p strong { color: var(--text); }

.sy-note {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg);
  border-left: 2px solid var(--accent-2);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.sy-note i { margin-right: 8px; color: var(--accent-2); }
.sy-note strong { color: var(--text); }

/* ---------- Where the time goes ---------- */

.tg-seg { fill: #1A1A1A; stroke: #2E2E2E; stroke-width: 1; }
.tg-seg-on { fill: rgba(238, 62, 201, 0.14); stroke: var(--accent-1); stroke-width: 1.4; }
.tg-name { fill: var(--text-muted); font-family: var(--font-nav); font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.tg-name-on { fill: var(--accent-1); }
.tg-pct { fill: var(--text); font-family: var(--font-display); font-size: 26px; }
.tg-pct-on { fill: var(--accent-1); }
.tg-lead { stroke: var(--accent-1); stroke-width: 1; stroke-dasharray: 3 3; }
.tg-note { fill: var(--accent-1); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Scope trap ---------- */

.st-head { font-family: var(--font-nav); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.st-warn { fill: var(--accent-2); }
.st-on { fill: var(--accent-1); }
.st-block { fill: #191919; stroke: #2E2E2E; stroke-width: 1; }
.st-dead { fill: #111111; stroke: rgba(255, 111, 60, 0.45); stroke-dasharray: 5 4; }
.st-live { fill: rgba(238, 62, 201, 0.1); stroke: var(--accent-1); }
.st-in { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.st-s { fill: #6A6A6A; font-family: var(--font-body); font-size: 11.5px; }
.st-grow { fill: none; stroke: var(--accent-1); stroke-width: 1.4; }

/* ---------- Seconds arithmetic ---------- */

.sm-box { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.sm-box-on { fill: rgba(238, 62, 201, 0.1); stroke: var(--accent-1); stroke-width: 1.4; }
.sm-fig { fill: var(--text); font-family: var(--font-display); font-size: 34px; }
.sm-fig-on { fill: var(--accent-1); }
.sm-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11.5px; }
.sm-op { fill: #6A6A6A; font-family: var(--font-display); font-size: 24px; }
.sm-month { fill: #101010; stroke: rgba(238, 62, 201, 0.35); stroke-width: 1; }
.sm-month-t { fill: var(--text-muted); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.sm-month-f { fill: var(--accent-1); font-family: var(--font-display); font-size: 30px; }
.sm-note { fill: #6A6A6A; font-family: var(--font-body); font-size: 12px; }

/* ---------- Access and history ---------- */

.ah-role { fill: #141414; stroke: #2E2E2E; stroke-width: 1.1; }
.ah-role-t { fill: var(--text); font-family: var(--font-nav); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.ah-track { fill: #232323; }
.ah-fill { fill: var(--accent-1); opacity: 0.75; }
.ah-s { fill: #6A6A6A; font-family: var(--font-body); font-size: 11px; }
.ah-box { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.ah-box-warn { stroke: rgba(255, 111, 60, 0.55); }
.ah-box-on { fill: rgba(238, 62, 201, 0.08); stroke: var(--accent-1); }
.ah-t { fill: var(--text); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.ah-warn { fill: var(--accent-2); }
.ah-on { fill: var(--accent-1); }
.ah-link { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }
.ah-link-on { stroke: var(--accent-1); }

/* ---------- Cutover ---------- */

.co-overlap { fill: rgba(238, 62, 201, 0.06); stroke: rgba(238, 62, 201, 0.35); stroke-width: 1; stroke-dasharray: 4 4; }
.co-overlap-t { fill: var(--accent-1); font-family: var(--font-nav); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.co-lane { fill: var(--text-muted); font-family: var(--font-nav); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.co-on { fill: var(--accent-1); }
.co-bar { fill: #232323; stroke: #3A3A3A; stroke-width: 1; }
.co-bar-on { fill: rgba(238, 62, 201, 0.18); stroke: var(--accent-1); }
.co-mark { stroke: var(--accent-1); stroke-width: 1.2; stroke-dasharray: 3 3; }
.co-mark-warn { stroke: var(--accent-2); }
.co-mark-t { fill: var(--text-muted); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.co-warn { fill: var(--accent-2); }

/* ---------- Feedback loop ---------- */

.fl-node { fill: #141414; stroke: #2E2E2E; stroke-width: 1.1; }
.fl-node-on { fill: rgba(238, 62, 201, 0.08); stroke: var(--accent-1); }
.fl-t { fill: var(--text); font-family: var(--font-nav); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.fl-s { fill: var(--text-muted); font-family: var(--font-body); font-size: 11.5px; }
.fl-link { fill: none; stroke: var(--accent-1); stroke-width: 1.4; opacity: 0.8; }
.fl-mid { fill: var(--accent-1); font-family: var(--font-nav); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.fl-mid-s { fill: #6A6A6A; font-family: var(--font-body); font-size: 11.5px; }

/* ---------- Kind-of-system thumbnails ---------- */

.sk2-site { fill: #141414; stroke: #3A3A3A; stroke-width: 1.2; }
.sk2-item { fill: #2E2E2E; }
.sk2-item-on { fill: rgba(238, 62, 201, 0.6); }
.sk2-move { fill: none; stroke: var(--accent-1); stroke-width: 1.3; }
.sk2-scan { fill: #0C0C0C; stroke: var(--accent-1); stroke-width: 1.4; }
.sk2-scan-t { fill: var(--accent-1); font-family: var(--font-nav); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.sk2-h { fill: #6A6A6A; font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.sk2-cell { fill: #191919; stroke: #2A2A2A; stroke-width: 1; }
.sk2-cell-on { fill: rgba(238, 62, 201, 0.22); stroke: var(--accent-1); }
.sk2-stage { fill: #191919; stroke: #2E2E2E; stroke-width: 1; }
.sk2-stage-on { fill: rgba(238, 62, 201, 0.18); stroke: var(--accent-1); }
.sk2-note { fill: #101010; stroke: #2C2C2C; stroke-width: 1; }
.sk2-note-t { fill: var(--text-muted); font-family: var(--font-body); font-size: 11px; }
.sk2-sheet { fill: #141414; stroke: rgba(255, 111, 60, 0.4); stroke-width: 1; }
.sk2-row { stroke: #2E2E2E; stroke-width: 1; }
.sk2-warn { fill: var(--accent-2); font-family: var(--font-nav); font-size: 11px; letter-spacing: 0.06em; }
.sk2-rec { fill: #141414; stroke: var(--accent-1); stroke-width: 1.2; }
.sk2-rec-row { fill: #232323; }
.sk2-rec-row-on { fill: rgba(238, 62, 201, 0.35); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .sy-pair { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .sy-private { padding: 26px; }
}
