/* ===========================================================
   AI Vision Solutions — Blocks theme · supplemental styles
   Distinctive Swiss-grid details applied via block "Additional CSS class".
   Global color / font / spacing live in theme.json (Site Editor > Styles).
   =========================================================== */

/* Accessibility: skip link */
.skip-link.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; background: #0d0d0d; color: #fff; padding: .6rem 1rem; border-radius: 0; }

/* Eyebrow / label */
.aiv-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--wp--preset--color--accent); }

/* Big section numbers */
.aiv-num { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--wp--preset--color--hairline); line-height: 1; }
.aiv-num--red { color: var(--wp--preset--color--accent); }

/* Oversized hero headline */
.aiv-hero-title { line-height: .9 !important; letter-spacing: -.03em; }

/* Hairline rule above a section */
.aiv-line-top { border-top: 1.5px solid var(--wp--preset--color--hairline); }

/* Meta row labels */
.aiv-meta-k { display: block; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: var(--wp--preset--color--muted); }
.aiv-meta-v { display: block; font-weight: 700; font-size: 1.05rem; }

/* Solution / step cards */
.aiv-card { border: 1px solid var(--wp--preset--color--hairline); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.aiv-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(13,13,13,.45); }
.aiv-card__no { font-size: .82rem; font-weight: 700; color: var(--wp--preset--color--accent); }

/* Ticks list with red square markers */
.aiv-ticks { list-style: none; padding-left: 0; }
.aiv-ticks li { position: relative; padding-left: 1.9rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--wp--preset--color--hairline); font-size: 1.08rem; }
.aiv-ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--wp--preset--color--accent); }

/* Brand square accent next to the site title */
.aiv-brand-sq { display: inline-block; width: 9px; height: 9px; background: var(--wp--preset--color--accent); margin-left: .35rem; vertical-align: middle; }

/* Logo images in header and footer */
.aiv-brand-link { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.aiv-logo { display: block; width: auto; max-width: 100%; height: auto; }
.aiv-logo--header { height: 42px; }
.aiv-logo--footer { height: 42px; margin-bottom: 1rem; }

/* Header mobile tweaks */
@media (max-width: 760px) {
  .aiv-logo--header,
  .aiv-logo--footer { height: 36px; }
}

/* Footer on dark background — make headings and links legible.
   (Overrides the global ink heading/link color from theme.json for this section.) */
.aiv-footer h1, .aiv-footer h2, .aiv-footer h3,
.aiv-footer h4, .aiv-footer h5, .aiv-footer h6 { color: #ffffff; }
.aiv-footer a { color: #c9ccd2; text-decoration: none; }
.aiv-footer a:hover, .aiv-footer a:focus { color: #ffffff; text-decoration: underline; }
.aiv-footer .wp-block-separator { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.18); }

/* Image polish */
.aiv-img img { width: 100%; height: 100%; object-fit: cover; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .aiv-card { transition: none; }
  .aiv-card:hover { transform: none; }
}
