/* VIP Technology Solutions Group — proof-of-concept site
   Color coding borrows from structured cabling: each division has its own "cable" color,
   used consistently in navigation, page headers and cross-links. */

:root {
  --ink: #1c1650;          /* VIP navy: text, header */
  --ink-soft: #4b4770;     /* secondary text */
  --paper: #ffffff;
  --mist: #eef1f6;         /* section bands */
  --rule: #d9dde7;
  --cn: #2463c8;           /* Computers & Networking: data-cable blue */
  --is: #d9661a;           /* Infrastructure Solutions: fiber orange */
  --is-text: #b4510f;      /* orange dark enough for text */
  --vs: #23905d;           /* Voice Services: voice green */
  --focus: #f2b705;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1180px;
  --head: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cn); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Proof-of-concept banner and "confirm" highlights ---------- */
.poc-bar { background: #fff6d6; border-bottom: 1px solid #ecd98a; font-size: .88rem; }
.poc-bar .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.poc-bar button { font: inherit; background: none; border: 1px solid #c9b45d; border-radius: var(--radius-s); padding: 2px 10px; cursor: pointer; color: var(--ink); }
mark.confirm { background: #fff1a8; color: var(--ink); padding: 0 .15em; border-bottom: 2px dotted #b99a00; border-radius: 2px; }
body.hide-confirm mark.confirm { background: none; border-bottom: 0; padding: 0; }
body.hide-confirm .poc-note { display: none; }
.poc-note { font-size: .85rem; color: #6b5a00; background: #fff8d9; border-left: 3px solid #e2c34a; padding: 6px 10px; margin: 8px 0 16px; max-width: 68ch; }

/* ---------- Header ---------- */
.utility { background: var(--ink); color: #fff; font-size: .9rem; }
.utility .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 6px; padding-bottom: 6px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }

.site-head { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: auto; height: 48px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-weight: 500; font-size: .7rem; color: var(--ink-soft); margin-top: 3px; letter-spacing: .01em; }

.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav .top { display: block; white-space: nowrap; font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--ink); text-decoration: none; padding: 24px 9px 21px; border-bottom: 3px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.nav .top[data-div="cn"] { --div: var(--cn); }
.nav .top[data-div="is"] { --div: var(--is); }
.nav .top[data-div="vs"] { --div: var(--vs); }
.nav .top:hover, .nav li:focus-within > .top, .nav .top[aria-current="page"] { border-bottom-color: var(--div, var(--ink)); }
.nav .menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--div, var(--ink)); border-radius: 0 0 var(--radius-m) var(--radius-m); box-shadow: 0 14px 30px rgba(28,22,80,.12); padding: 10px 0; list-style: none; margin: 0; display: none; }
.nav li:hover > .menu, .nav li:focus-within > .menu, .nav li.open > .menu { display: block; }
.nav .menu a { display: block; padding: 7px 18px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.nav .menu a:hover, .nav .menu a:focus-visible { background: var(--mist); }
.nav .menu-cn { --div: var(--cn); }
.nav .menu-is { --div: var(--is); }
.nav .menu-vs { --div: var(--vs); }

.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: 11px 20px; border-radius: var(--radius-s); border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; line-height: 1.2; }
.btn:hover { background: #2c2570; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--mist); color: var(--ink); }
.btn.on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.btn.on-dark:hover { background: var(--mist); }
.head-cta { flex-shrink: 0; }

.menu-toggle { display: none; margin-left: auto; font: inherit; font-family: var(--head); font-weight: 600; background: none; border: 2px solid var(--ink); border-radius: var(--radius-s); padding: 6px 12px; color: var(--ink); cursor: pointer; }

@media (max-width: 1260px) {
  .menu-toggle { display: block; }
  .head-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 8px 24px 20px; }
  .nav .top { padding: 12px 0; border-bottom: 1px solid var(--rule); width: 100%; text-align: left; white-space: normal; }
  .nav .top:hover, .nav li:focus-within > .top { border-bottom-color: var(--rule); }
  .nav .menu { position: static; display: block; box-shadow: none; border: 0; border-left: 3px solid var(--div, var(--ink)); border-radius: 0; padding: 4px 0 10px; margin: 6px 0 4px; }
  .nav .mobile-cta { display: block; margin-top: 16px; }
}
.nav .mobile-cta { display: none; }

/* ---------- Hero (home) ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { width: 100%; }
.hero-art .cable { fill: none; stroke-width: 14; stroke-linecap: round; }
.hero-art .cable-shine { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 3; stroke-linecap: round; }
.hero-art text { font-family: var(--body); font-size: 15px; fill: var(--ink); }
.hero-art .plate-text { font-family: var(--head); font-weight: 700; font-size: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.6s cubic-bezier(.6,.05,.3,1) forwards; }
  .hero-art .draw.d2 { animation-delay: .18s; }
  .hero-art .draw.d3 { animation-delay: .36s; }
  .hero-art .plate { opacity: 0; animation: appear .5s ease-out 1.5s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 48px 0 36px; border-top: 8px solid var(--div, var(--ink)); background: var(--mist); }
.page-head .kicker { font-weight: 600; color: var(--div-text, var(--ink-soft)); margin: 0 0 8px; }
.page-head h1 { max-width: 20ch; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.div-cn { --div: var(--cn); --div-text: var(--cn); }
.div-is { --div: var(--is); --div-text: var(--is-text); }
.div-vs { --div: var(--vs); --div-text: var(--vs); }

.subnav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.subnav a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; }
.subnav a:hover { border-bottom-color: var(--div, var(--ink)); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.band { background: var(--mist); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .lead, .section.dark p { color: #d9d7ea; }
.section-head { margin-bottom: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split.wide-left { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) {
  .hero .wrap, .split, .split.wide-left { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}

/* Trust bar: client names set as a quiet wordmark row */
.trust { padding: 56px 0 48px; border-bottom: 1px solid var(--rule); }
.trust .trust-more { margin: 16px 0 0; font-weight: 600; }

/* Division columns: a colored cable stripe across the top encodes the division */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.division { border-top: 8px solid var(--div); padding-top: 18px; }
.division h3 a { color: var(--ink); text-decoration: none; }
.division h3 a:hover { text-decoration: underline; text-decoration-color: var(--div); }
.division ul { margin: 0 0 18px; padding-left: 1.1em; }
.division li { margin-bottom: 4px; }
.division li::marker { color: var(--div); }
.division li a { color: inherit; text-decoration: none; }
.division li a:hover { color: var(--div-text, var(--div)); }
.division li a:focus-visible { text-decoration: underline; text-decoration-color: var(--div); }
.division .more { font-weight: 600; color: var(--div-text, var(--div)); }
@media (max-width: 900px) { .divisions { grid-template-columns: 1fr; } }

/* Situation tiles */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.situation { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 22px; text-decoration: none; color: var(--ink); display: block; }
.situation:hover { border-color: var(--ink); }
.situation p { color: var(--ink-soft); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; color: #fff; }
.chips .cn { background: var(--cn); }
.chips .is { background: var(--is-text); }
.chips .vs { background: var(--vs); }
@media (max-width: 900px) { .situations { grid-template-columns: 1fr; } }

/* Why VIP */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.reasons h3 { font-size: 1.3rem; }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; border-left: 4px solid var(--div, var(--ink)); padding: 4px 0 4px 20px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.55; }
.quote figcaption { font-size: .92rem; color: var(--ink-soft); }
.quote figcaption strong { color: var(--ink); display: block; }
.quote.single { max-width: 760px; }
.quote.single blockquote { font-size: 1.3rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Photo placeholders: stand-ins for VIP's own install photos */
.photo { aspect-ratio: 4 / 3; border-radius: var(--radius-m); background:
  repeating-linear-gradient(135deg, rgba(28,22,80,.05) 0 14px, rgba(28,22,80,.0) 14px 28px), var(--mist);
  border: 1px dashed #b9bfd0; display: flex; align-items: flex-end; padding: 14px; margin: 0; }
.photo figcaption { font-size: .85rem; color: var(--ink-soft); background: rgba(255,255,255,.85); padding: 4px 8px; border-radius: var(--radius-s); }
.photo.tall { aspect-ratio: 3 / 4; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projects h4 { margin-top: 12px; }
.projects p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr; } }

/* Service blocks on division pages */
.service { padding: 56px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.service:last-of-type { border-bottom: 0; }
.service h2 { display: flex; align-items: center; gap: 12px; }
.service h2::before { content: ""; width: 26px; height: 8px; background: var(--div); border-radius: 4px; flex-shrink: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 11px; height: 6px; border-left: 2.5px solid var(--div, var(--cn)); border-bottom: 2.5px solid var(--div, var(--cn)); transform: rotate(-45deg); }
.layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; margin-top: 8px; }
.layer { padding: 16px 0; border-top: 1px solid var(--rule); }
.layer h4 { margin-bottom: 4px; }
.layer p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 760px) { .layers { grid-template-columns: 1fr; } }

/* Plan comparison */
.table-wrap { overflow-x: auto; margin: 8px 0 12px; }
table.plans { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .97rem; }
table.plans th, table.plans td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
table.plans thead th { font-family: var(--head); font-size: 1.2rem; border-bottom: 3px solid var(--cn); }
table.plans thead th small { display: block; font-family: var(--body); font-weight: 500; font-size: .85rem; color: var(--ink-soft); }
table.plans tbody th { font-weight: 600; width: 28%; }
table.plans .yes { color: var(--vs); font-weight: 600; }
table.plans .plan-ast { margin-left: 1px; }
.plans-note { font-size: .9rem; color: var(--ink-soft); margin: 4px 0 0; }
table.plans .no { color: var(--ink-soft); }

/* Steps (a real sequence) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: step; border-top: 3px solid var(--div, var(--ink)); padding-top: 12px; }
.steps li::before { content: counter(step); font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--div-text, var(--ink)); display: block; line-height: 1; margin-bottom: 6px; }
.steps h4 { margin-bottom: 4px; }
.steps p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Offer + form */
.offer { background: var(--ink); color: #fff; border-radius: var(--radius-m); padding: 40px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.offer p { color: #d9d7ea; }
.offer h2 { color: #fff; }
.offer .ticks li::before { border-color: #fff; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; padding: 28px; } }

form.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
form.lead-form .full { grid-column: 1 / -1; }
form.lead-form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
form.lead-form input, form.lead-form select, form.lead-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #c3c8d6; border-radius: var(--radius-s); background: #fff; color: var(--ink); }
form.lead-form textarea { min-height: 110px; resize: vertical; }
form.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
form.lead-form .check input { width: auto; margin-top: 4px; }
form.lead-form .hint { font-size: .85rem; opacity: .85; margin: 0; }
.offer form.lead-form label, .offer form.lead-form .check { color: #fff; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--radius-s); background: #e3f5ec; color: #0f5a37; display: none; }
.form-status.show { display: block; }
.form-error { color: #b42318; font-size: .85rem; margin-top: 4px; display: none; }
.offer .form-error { color: #ffb4a8; }
.invalid input, .invalid select, .invalid textarea { border-color: #b42318; }
.invalid .form-error { display: block; }
@media (max-width: 560px) { form.lead-form { grid-template-columns: 1fr; } }

/* Often paired with */
.paired { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pair { border: 1px solid var(--rule); border-left: 6px solid var(--div); border-radius: var(--radius-s); padding: 18px 20px; text-decoration: none; color: var(--ink); display: block; }
.pair:hover { border-color: var(--ink); border-left-color: var(--div); }
.pair p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.paired.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .paired, .paired.three { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member .photo { aspect-ratio: 1 / 1; }
.member h4 { margin: 12px 0 2px; }
.member p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .team { grid-template-columns: repeat(2, 1fr); } }

.namelist { columns: 3; column-gap: 32px; padding: 0; list-style: none; margin: 0; }
.namelist li { padding: 6px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
@media (max-width: 760px) { .namelist { columns: 2; } }

/* Jobs */
.job { border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 26px; margin-bottom: 20px; }
.job .meta { color: var(--ink-soft); font-size: .95rem; margin-bottom: 12px; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.contact-info dt { font-weight: 600; margin-top: 16px; }
.contact-info dd { margin: 2px 0 0; }
.callout { border: 1px solid var(--rule); border-left: 6px solid var(--ink); border-radius: var(--radius-s); padding: 18px 20px; margin-top: 28px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #d9d7ea; padding: 56px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 1.05rem; padding-top: 10px; border-top: 4px solid var(--div, #fff); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 40px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* SmileBack live reviews */
.reviews-live { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule); }
.reviews-live h3 { margin-bottom: 4px; }
.reviews-note { color: var(--ink-soft); font-size: .92rem; margin-bottom: 16px; }

/* Photo slots fill automatically when a file is added to assets/photos/ */
.photo { position: relative; overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.has-photo { border: 0; background: none; }
.photo.has-photo figcaption { display: none; }
.photo .slug { opacity: .75; }

/* Client logos (white artwork) sit on VIP navy */
.logo-wall { background: var(--ink); border-radius: var(--radius-m); padding: 22px 26px; margin-top: 20px; }
.logo-wall ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.logo-wall img { height: 56px; width: auto; max-width: 200px; object-fit: contain; }
.logo-wall.big { padding: 30px 34px; }
.logo-wall.big ul { gap: 26px 48px; }
.logo-wall.big img { height: 68px; max-width: 230px; }
.logo-group + .logo-group { border-top: 1px solid rgba(255,255,255,.14); margin-top: 24px; padding-top: 22px; }
@media (max-width: 560px) {
  .logo-wall.big { padding: 22px 20px; }
  .logo-wall.big ul { gap: 20px 28px; }
  .logo-wall.big img { height: 52px; max-width: 160px; }
}
.logo-label { color: #fff; font-family: var(--head); font-weight: 600; font-size: 1.05rem; margin: 0 0 14px; }
.logo-fallback { color: #fff; font-family: var(--head); font-weight: 600; }
.trust .logo-wall { margin-top: 8px; }
.headshot { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius-m); overflow: hidden; background: #3d6fa8; }
.headshot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.brand-mark { height: 48px; width: auto; }

/* Live ratings placed at the top of Home and About */
.ratings-top { padding: 22px 0; }
/* Reviews only: hide the widget's own heading and footer credit, tighten its spacing */
.reviews-live .sb-widget .sb-widget-hint.title,
.reviews-live .sb-widget .powered-by,
.reviews-live .sb-widget .sb-widget-logo { display: none !important; }
.reviews-live .sb-widget .widget-main { padding: 0 !important; background: transparent !important; }
/* Reviews sit directly on the page: no box, border or rounded strip */
.reviews-live .sb-widget.reviewsWidget .reviews { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.reviews-live .sb-widget.reviewsWidget .reviews { min-height: 0 !important; }
.reviews-live .sb-widget.reviewsWidget .reviews .all-reviews { min-height: 0 !important; }
.ratings-top .reviews-live { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Branding: horizontal logo, VIP red, logo-ray background ---------- */
:root { --red: #ba0515; --red-dark: #960411; }
.logo-h { height: 46px; width: auto; }
@media (max-width: 560px) { .logo-h { height: 36px; } }
.foot-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: var(--radius-m); }
.foot-logo img { height: 40px; width: auto; }
.utility { border-bottom: 3px solid var(--red); }
.hero { background: url("rays.svg") right bottom / cover no-repeat; }
.page-head { background: url("rays.svg") right bottom / cover no-repeat, var(--mist); }

/* Team photos */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; margin-top: 20px; }
.person img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-m); background: var(--mist); border-bottom: 5px solid var(--div, var(--ink)); }
.person h4 { margin: 12px 0 2px; }
.person p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.4; }
.team-group { margin-top: 40px; }
.team-group h3 { display: flex; align-items: center; gap: 12px; margin: 0; }
.team-group h3::before { content: ""; width: 26px; height: 8px; background: var(--div, var(--ink)); border-radius: 4px; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .people { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; } }

/* Service area */
.area-strip { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; }
.area-strip p { margin: 0; color: var(--ink); }
.area-group { margin-top: 28px; }
.area-group h2 { font-size: 1.35rem; margin: 0 0 10px; }
.towns { list-style: none; padding: 0; margin: 0; columns: 4; column-gap: 24px; }
.towns li { padding: 4px 0; break-inside: avoid; }
@media (max-width: 900px) { .towns { columns: 3; } }
@media (max-width: 560px) { .towns { columns: 2; } }
.area-group h2::before { display: none; }

/* AI governance */
.ai-gov { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
.ai-gov > h3 { font-size: 1.6rem; margin: 0 0 8px; }
.ai-gov h4 { margin: 0 0 12px; }
.risks { list-style: none; padding: 0; margin: 0; }
.risks li { position: relative; padding: 0 0 14px 22px; }
.risks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--ink); }
.layers.one { grid-template-columns: 1fr; margin-top: 0; }
.layers.one .layer:first-child { border-top: 0; padding-top: 0; }
.ai-gov .split > div > h4 { font-size: 1.2rem; padding-bottom: 8px; border-bottom: 3px solid var(--cn); display: inline-block; margin-bottom: 16px; }

/* Form delivery */
form.lead-form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.lead-form { position: relative; }
.form-status.error { background: #fdecec; color: #8a1c1c; }
.cf-turnstile { min-height: 65px; }

/* Legal text (terms and conditions) */
.legal { max-width: 860px; }
.legal p { margin: 0 0 14px; line-height: 1.65; }
.legal p b { display: inline-block; margin-top: 14px; font-family: var(--head); font-size: 1.1rem; letter-spacing: .02em; color: var(--ink); }
.legal a { overflow-wrap: anywhere; }

/* ===================== Floating header and mega menus ===================== */
.site-head { background: transparent; border-bottom: 0; padding: 10px 0; transition: padding .25s ease; }
.site-head .wrap {
  position: relative; max-width: calc(var(--wrap) - 24px); padding: 0 18px;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 2px 10px rgba(28,22,80,.05);
  transition: box-shadow .25s ease, min-height .25s ease;
}
.site-head.scrolled { padding: 6px 0; }
.site-head.scrolled .wrap { min-height: 62px; box-shadow: 0 12px 34px rgba(28,22,80,.16); }
.site-head .nav > ul > li { position: static; }
.nav .top { padding: 22px 10px 19px; border-radius: 0; }

/* Panel */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(14,11,40,.22);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* hover bridge */
@media (min-width: 1261px) {
  .nav > ul > li:hover > .mega, .nav > ul > li:focus-within > .mega, .nav > ul > li.open > .mega {
    opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s;
  }
}
.mega-body { display: grid; grid-template-columns: 1fr 290px; gap: 28px; padding: 26px 28px 20px; }
.mega-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--ink-soft); margin: 0 0 12px; }
.mega-kicker::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: var(--div, var(--ink)); }
.mega-cn { --div: var(--cn); } .mega-is { --div: var(--is); } .mega-vs { --div: var(--vs); }
.mega-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.mega-links a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background .15s ease; }
.mega-links a strong { display: block; font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.mega-links a span { display: block; font-size: .88rem; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--mist); }
.mega-links a:hover strong { color: var(--div-text, var(--div, var(--ink))); }
.mega-is .mega-links a:hover strong { color: var(--is-text); }
.mega-feature { background: var(--mist); border-radius: 12px; padding: 22px; border-top: 4px solid var(--div, var(--ink)); align-self: start; }
.mega-feature h4 { font-size: 1.2rem; margin: 0 0 6px; }
.mega-feature p { font-size: .93rem; color: var(--ink-soft); margin: 0 0 16px; }
.mega-feature .btn { font-size: 1rem; padding: 9px 16px; }
.mega-foot { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 14px 28px 18px; border-top: 1px solid var(--rule); font-weight: 600; font-size: .95rem; }
.mega-foot a { color: var(--ink); text-decoration: none; }
.mega-foot a:hover { color: var(--cn); }
.mega-foot a:last-child { margin-left: auto; color: var(--ink-soft); font-weight: 500; }

/* Page dims and blurs behind an open menu (desktop) */
.nav-scrim { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  background: rgba(14,11,40,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@media (min-width: 1261px) {
  body:has(.nav > ul > li:hover > .mega, .nav > ul > li:focus-within > .mega, .nav > ul > li.open > .mega) .nav-scrim { opacity: 1; }
}

/* Mobile: the floating bar opens into a list; menu sections expand on tap */
@media (max-width: 1260px) {
  .site-head { padding: 8px 12px; }
  .site-head .wrap { padding: 0 14px; }
  .nav { top: calc(100% + 8px); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 20px 50px rgba(14,11,40,.22); }
  .nav > ul > li { position: relative; }
  .nav .top { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
  .nav .top::after { content: "+"; font-weight: 400; font-size: 1.3rem; color: var(--ink-soft); }
  .nav li.open > .top::after { content: "\2212"; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--div, var(--ink)); border-radius: 0; margin: 6px 0 10px; transition: none; }
  .nav li.open > .mega { display: block; }
  .mega::before { display: none; }
  .mega-body { grid-template-columns: 1fr; padding: 0 0 0 10px; gap: 10px; }
  .mega-kicker, .mega-feature { display: none; }
  .mega-links ul { grid-template-columns: 1fr; }
  .mega-links a { padding: 8px 10px; }
  .mega-links a span { display: none; }
  .mega-foot { padding: 6px 0 4px 20px; border-top: 0; }
  .mega-foot a:not(.mega-all) { display: none; }
}

/* ===================== Scroll animations ===================== */
/* Gentle, varied entrances; on the way out, items ease back to where they came from (up if scrolled past). */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .reveal {
    opacity: 0;
    transition: opacity .8s cubic-bezier(.25,.6,.3,1), transform .9s cubic-bezier(.25,.6,.3,1),
                filter .8s ease, clip-path .9s cubic-bezier(.25,.6,.3,1);
    transition-delay: var(--d, 0s);
  }
  .js-anim .reveal:not(.in) { transition-delay: 0s; transition-duration: .5s, .6s, .5s, .6s; }
  .js-anim .reveal.in { opacity: 1; transform: none; filter: none; }

  .js-anim .fx-up { transform: translateY(18px); }
  .js-anim .fx-up.above { transform: translateY(-14px); }

  .js-anim .fx-blur { transform: translateY(8px); filter: blur(6px); }
  .js-anim .fx-blur.above { transform: translateY(-8px); }

  .js-anim .fx-zoom { transform: scale(.965); }

  .js-anim .fx-left { transform: translateX(-22px); }
  .js-anim .fx-right { transform: translateX(22px); }

  .js-anim .fx-expand { transform: scale(.975); clip-path: inset(3% 2.5% 3% 2.5% round 16px); }
  .js-anim .fx-expand.in { clip-path: inset(0 0 0 0 round 10px); }

  .js-anim .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .js-anim .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.25,.7,.25,1); transition-delay: var(--d, 0s); }
  .js-anim .split-words.in .w > span { transform: none; }
}

/* ===================== Client logo marquee ===================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 26px; }
.marquee-track { display: flex; width: max-content; gap: 0; }
.marquee-track ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; list-style: none; margin: 0; flex-wrap: nowrap; }
.logo-wall.big .marquee-track ul { gap: 56px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee var(--dur, 40s) linear infinite; }
  .marquee.reverse .marquee-track { animation-direction: reverse; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track ul { flex-wrap: wrap; padding-right: 0; }
  .marquee-track ul[aria-hidden="true"] { display: none; }
}
/* Fit everything inside the floating bar */
@media (min-width: 1261px) {
  .site-head .wrap { gap: 12px; }
  .site-head .logo-h { height: 40px; }
  .nav .top { padding: 21px 8px 18px; font-size: .99rem; }
  .head-cta { padding: 9px 16px; font-size: 1rem; }
}
/* Recent projects: one per team, marked with the team color */
.projects > div[class*="div-"] h4 { display: flex; align-items: center; gap: 10px; }
.projects > div[class*="div-"] h4::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: var(--div); flex-shrink: 0; }

/* Privacy policy */
.privacy-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.privacy-toc { position: sticky; top: 110px; }
.privacy-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.privacy-toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: .93rem; }
.privacy-toc li a:hover { color: var(--ink); border-left-color: var(--cn); }
.legal.policy h2 { font-size: 1.6rem; margin: 40px 0 12px; scroll-margin-top: 110px; }
.legal.policy h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.legal.policy .ticks { margin: 0 0 16px; }
.legal.policy .updated { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 900px) { .privacy-wrap { grid-template-columns: 1fr; gap: 24px; } .privacy-toc { position: static; } }

/* Photo slideshow (cross-fade) */
.slideshow { overflow: hidden; border-radius: var(--radius-m); }
.slideshow img { opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s ease-out; }
.slideshow img.active { opacity: 1; transform: scale(1); }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slide-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.25); cursor: pointer; transition: background .2s, width .2s; }
.slide-dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { .slideshow img { transition: opacity .01s; transform: none !important; } }

/* Clickable solution panels: whole card goes to the team's section; inline links go to each technology */
.link-card { position: relative; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.link-card .card-link { color: inherit; text-decoration: none; }
.link-card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-card p a { position: relative; z-index: 1; color: inherit; text-decoration: underline; text-decoration-color: var(--div); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link-card p a:hover { color: var(--div-text, var(--div)); }
.link-card .card-more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.link-card:hover { border-color: var(--ink); box-shadow: 0 10px 26px rgba(28,22,80,.12); transform: translateY(-2px); }
.link-card:hover .card-more { color: var(--div); }
.link-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Security self-check (homepage module + security-check.html) ---------- */
[hidden] { display: none !important; }
.sc-teaser .kicker, .sc .kicker, .sc-card .kicker { font-family: var(--head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cn); font-size: .9rem; margin: 0 0 6px; }
.sc-teaser-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.sc-teaser h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0; padding: 0; }
.sc-chips li { font-size: .85rem; border: 1px solid var(--rule); background: var(--mist); border-radius: 999px; padding: 4px 12px; }
.sc-meta, .sc-hint, .sc-count, .sc-fine { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.sc-hint { margin-top: 14px; }
.sc { max-width: 900px; margin: 0 auto; display: grid; gap: 22px; }
.sc-card { background: var(--mist); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(20px, 4vw, 36px); min-width: 0; }
.sc-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.sc-card > p { color: var(--ink-soft); max-width: 62ch; }
.sc-qhead { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 8px; }
.sc-q { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 600; margin-bottom: 8px; }
.sc-why { color: var(--ink-soft); font-size: .97rem; margin: 0 0 18px; }
.sc-progress { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 20px; }
.sc-progress span { height: 6px; border-radius: 3px; background: var(--paper); position: relative; overflow: hidden; }
.sc-progress i { position: absolute; inset: 0; width: 0; background: var(--cn); transition: width .3s ease; }
.sc-answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.sc-teaser-card .sc-answers { margin-bottom: 0; margin-top: 16px; }
.sc-answer { text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule); border-radius: 10px; padding: 13px 16px; cursor: pointer; display: flex; gap: 12px; align-items: center; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.sc-answer:hover { border-color: var(--cn); color: var(--ink); transform: translateY(-1px); }
.sc-answer.picked { border-color: var(--cn); background: color-mix(in srgb, var(--cn) 16%, var(--paper)); }
.sc-answer kbd { font: 600 .8rem var(--body); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 7px; color: var(--ink-soft); }
.sc-answer strong { display: block; font-weight: 600; }
.sc-answer small { color: var(--ink-soft); font-size: .82rem; }
.sc-results { display: grid; gap: 22px; }
.sc-top { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-bottom: 26px; }
.sc-top p { color: var(--ink-soft); margin: .5em 0 0; }
.sc-gauge { width: 100%; max-width: 220px; }
.sc-arc-bg { stroke: var(--paper); }
.sc-arc { stroke: var(--cn); transition: stroke-dasharray 1s cubic-bezier(.2,.8,.2,1); }
.sc-num { font-family: var(--head); font-size: 46px; font-weight: 700; fill: var(--ink); }
.sc-of { font-size: 14px; fill: var(--ink-soft); }
.sc-pill { display: inline-block; font: 600 .85rem var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; color: #0e0b28; }
.sc-pill.good, .sc-fill.good { background: var(--vs); } .sc-arc.good { stroke: var(--vs); }
.sc-pill.warn, .sc-fill.warn { background: var(--focus); } .sc-arc.warn { stroke: var(--focus); }
.sc-pill.bad,  .sc-fill.bad  { background: #ff7a6b; } .sc-arc.bad { stroke: #ff7a6b; }
.sc-bars { display: grid; gap: 12px; }
.sc-bar { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 3.2rem; gap: 12px; align-items: center; }
.sc-label { font-weight: 600; font-size: .95rem; }
.sc-label small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .78rem; }
.sc-track { height: 10px; background: var(--paper); border-radius: 5px; overflow: hidden; }
.sc-fill { height: 100%; width: 0; border-radius: 5px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.sc-pct { text-align: right; font: 600 1rem var(--head); font-variant-numeric: tabular-nums; }
.sc-gaps { display: grid; gap: 12px; margin-top: 12px; }
.sc-gap { border-left: 4px solid #ff7a6b; background: var(--paper); border-radius: 0 10px 10px 0; padding: 14px 16px; }
.sc-gap.warn { border-left-color: var(--focus); } .sc-gap.good { border-left-color: var(--vs); }
.sc-gap h3 { font-size: 1.15rem; margin-bottom: 4px; }
.sc-gap p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.sc-gap p + p { margin-top: 6px; color: var(--ink); }
.sc-offer .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .sc-teaser-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) {
  .sc-answers { grid-template-columns: 1fr; }
  .sc-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sc-bar { grid-template-columns: 1fr 3rem; }
  .sc-track { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .sc-arc, .sc-fill, .sc-progress i, .sc-answer { transition: none; } }
