/* Point A Industrial Analytics: consultancy site.
   Brand carried over from the existing site: lime #8bff01 + graphite #303030 logo,
   ink #0d131a, Roboto for content, DM Sans for navigation, pill buttons. */
:root {
  --ink: #0d131a;
  --char: #1d1e20;
  --graphite: #303030;
  --muted: #56585e;
  --soft: #b8c0cc;
  --line: #e3e6ea;
  --mist: #f4f5f6;
  --lime: #8bff01;
  --lime-deep: #79d900;
  --lime-text: #3e7a00;   /* lime family, readable on white */
  --white: #ffffff;
  --radius: 14px;
  --pill: 28px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(13, 19, 26, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--char); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--lime-deep); text-underline-offset: 3px; }
a:hover { color: var(--lime-text); }
h1, h2, h3, h4 { font-family: "Roboto", system-ui, sans-serif; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 720px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.measure { max-width: 780px; }
.center { text-align: center; }
.center .lead, .center.measure, .measure.center { margin-left: auto; margin-right: auto; }

/* eyebrow: graphite text with a lime marker, like the logo's split */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: "DM Sans", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--lime); box-shadow: 4px 0 0 var(--graphite); margin-right: 4px; }
.dark .eyebrow { color: #dfe6ee; }
.dark .eyebrow::before { box-shadow: 4px 0 0 #fff; }

/* sections */
.s { padding: 92px 0; }
.s.tight { padding: 64px 0; }
.s.gray { background: var(--mist); }
.dark { background: var(--ink); color: #c9d2dc; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #aab8c6; }
.dark a:not(.btn) { color: #fff; }

/* buttons: pills, as on the live site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--pill); font-family: "Roboto", sans-serif; font-weight: 500; font-size: 1rem; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--graphite); }
.btn-lime:hover { background: #9dff2e; color: var(--graphite); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.dark .btn-line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.dark .btn-line:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* header */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 3px solid var(--ink); backdrop-filter: saturate(1.2) blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-text small { font-family: "DM Sans", sans-serif; font-weight: 500; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-family: "DM Sans", sans-serif; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--lime); color: var(--ink); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .site-header.open .nav { flex-wrap: wrap; height: auto; padding: 12px 24px 22px; }
  .site-header.open .nav > nav { order: 3; width: 100%; border-top: 1px solid var(--line); margin-top: 12px; }
  .site-header.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; }
  .site-header.open .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-cta { display: flex; width: 100%; order: 4; margin-top: 16px; }
  .site-header.open .nav-cta .btn { width: 100%; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* hero: dark with the green data-grid motif from the current site */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #c9d2dc; padding: 110px 0 100px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(139, 255, 1, .22) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 900px; }
.hero .lead { color: #aab8c6; max-width: 700px; font-size: 1.22rem; }
.hero-mark { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 300px; opacity: .9; }
.hero-mark .plus { stroke: var(--lime); stroke-width: 2; }
@media (max-width: 1100px) { .hero-mark { display: none; } }
.page-hero { background: var(--ink); color: #c9d2dc; padding: 76px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(139, 255, 1, .16) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent 35%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 920px; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: #aab8c6; }
.crumbs { font-family: "DM Sans", sans-serif; font-size: .88rem; color: #8d9aa8; margin-bottom: 18px; }
.crumbs a { color: #c9d2dc; text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

/* grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card.ink { background: var(--ink); border-color: var(--ink); color: #c9d2dc; }
.card.ink h3, .card.ink strong { color: #fff; }
.dark .card { background: #151d26; border-color: rgba(255, 255, 255, .08); color: #c9d2dc; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--soft); color: inherit; }
a.card .more { margin-top: auto; padding-top: 10px; }
.more { font-weight: 600; color: var(--ink); text-decoration: none; }
.more::after { content: " →"; color: var(--lime-deep); }
.dark .more { color: #fff; }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; }
.dark .ico, .card.ink .ico { background: rgba(139, 255, 1, .12); }
.meta { font-family: "DM Sans", sans-serif; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.dark .meta { color: #8d9aa8; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats.s3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .big { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink); line-height: 1.1; }
.stat .big::after { content: ""; display: block; width: 28px; height: 4px; background: var(--lime); margin: 12px 0 10px; }
.stat .label { color: var(--muted); font-size: .96rem; }
.dark .stats { border-color: rgba(255, 255, 255, .1); }
.dark .stat { border-color: rgba(255, 255, 255, .1); }
.dark .stat .big { color: #fff; }
.dark .stat .label { color: #aab8c6; }
@media (max-width: 900px) { .stats, .stats.s3 { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stats, .stats.s3 { grid-template-columns: 1fr; } .stat { border-left: 0; } }

/* lists */
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 32px; margin-bottom: 14px; }
.check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23303030' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.x-list { list-style: none; padding: 0; margin: 0; }
.x-list li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; }
.x-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 2px; background: var(--muted); }
.dark .x-list li { border-color: rgba(255, 255, 255, .1); }
.defs { display: grid; gap: 0; }
.def { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.def h3 { margin: 0; font-size: 1.08rem; }
.def p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .def { grid-template-columns: 1fr; gap: 6px; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: "DM Sans", sans-serif; font-size: .86rem; color: var(--graphite); }
.dark .chip, .page-hero .chip { background: transparent; border-color: rgba(255, 255, 255, .22); color: #dfe6ee; }
.chip.status { background: var(--lime); border-color: var(--lime); color: var(--graphite); font-weight: 600; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--ink); color: var(--lime); }
.dark .step::before { background: var(--lime); color: var(--graphite); }
.step h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); }
.dark .step p { color: #aab8c6; }
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: m; border-top: 1px solid rgba(255,255,255,.12); }
.method > div { padding: 26px 22px 6px 0; }
.method > div::before { counter-increment: m; content: "0" counter(m); display: block; font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--lime); margin-bottom: 12px; }
.method h3 { font-size: 1.05rem; }
.method p { color: #aab8c6; font-size: .96rem; }
@media (max-width: 1000px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } }

/* packages */
.pkg { display: flex; flex-direction: column; }
.pkg .code { font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--muted); font-size: .85rem; }
.pkg .price { font-size: 1.9rem; font-weight: 700; color: var(--ink); margin: 6px 0 2px; }
.pkg .price small { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.pkg .delivery { display: inline-block; font-size: .85rem; font-family: "DM Sans", sans-serif; background: var(--mist); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.pkg .deliverable { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.pkg .deliverable::before { content: "Deliverable: "; color: var(--muted); font-weight: 400; }
.pkg.feature { border: 2px solid var(--ink); }
.pkg ul { font-size: .96rem; }

.pkg-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pkg-row:last-child { border-bottom: 0; }
.pkg-row strong { color: var(--ink); }
.pkg-row span span { color: var(--muted); font-size: .92rem; }
.pkg-row b { white-space: nowrap; color: var(--ink); }
.pkg-row small { font-weight: 400; color: var(--muted); }
.pkg-row:hover strong { text-decoration: underline; text-decoration-color: var(--lime-deep); }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--lime-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* note + disclosure */
.note { font-size: .9rem; color: var(--muted); border-left: 4px solid var(--lime); padding: 6px 0 6px 16px; }

/* forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--soft); border-radius: 10px; background: #fff; color: var(--char); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(139, 255, 1, .5); border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-success { display: none; padding: 22px; border-radius: var(--radius); background: var(--mist); border-left: 5px solid var(--lime); }
.form-error { color: #b42318; font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: var(--ink); color: #9fb0c0; padding: 72px 0 28px; font-size: .95rem; }
.site-footer a { color: #dfe6ee; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-family: "DM Sans", sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.foot-brand .tile { width: 44px; height: 44px; background: #fff; border-radius: 10px; display: grid; place-items: center; }
.foot-brand .tile img { width: 32px; height: 32px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== best-of-both additions: motion, photography, image-led cards ===== */
.hero { min-height: 560px; display: flex; align-items: center; }
.hero::before { display: none; }
.hero .wrap { width: 100%; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 35%, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 35%, #000 70%); }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 18px rgba(13,19,26,.85); }

.page-hero.has-photo { background: linear-gradient(90deg, rgba(13,19,26,.96) 0%, rgba(13,19,26,.88) 45%, rgba(13,19,26,.55) 100%), var(--bg) center/cover no-repeat, var(--ink); }
.page-hero.has-photo::before { opacity: .6; }

.card.has-media { padding: 0; overflow: hidden; }
.card.has-media .card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .35s; }
a.card:hover .card-media img { transform: scale(1.03); }
.card-media.tile { display: grid; place-items: center; color: var(--lime);
  background: radial-gradient(rgba(139,255,1,.22) 1px, transparent 1.4px) 0 0/22px 22px, linear-gradient(135deg, #0d131a, #1b2530); }
.card-media.tile svg { width: 56px; height: 56px; stroke-width: 1.4; }

.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-split .photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo-split .photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--lime); }
.photo-split .photo img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .photo-split { grid-template-columns: 1fr; gap: 32px; } }

.expertise-links { margin-top: 26px; font-family: "DM Sans", sans-serif; color: var(--muted); }
.expertise-links a { font-weight: 600; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ===== Point A branded graphics (replace AI-generated photos) ===== */
svg.art { display: block; width: 100%; height: auto; }
svg.art .flow { stroke-dasharray: 4 14; animation: pa-flow 1.4s linear infinite; }
svg.art .pulse { animation: pa-pulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pa-flow { to { stroke-dashoffset: -18; } }
@keyframes pa-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { svg.art .flow, svg.art .pulse { animation: none; } }
.art-fig { margin: 24px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid #1f2a35; box-shadow: var(--shadow); }
.split > div > .art-fig:first-child { margin-top: 0; }
.card-media.art-media { background: var(--ink); }
.card-media.art-media svg { width: 100%; height: 100%; }
.photo-split .photo svg.art { border-radius: var(--radius); }
.page-hero.has-art .hero-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(40vw, 560px); opacity: .5; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.page-hero.has-art .wrap > * { position: relative; }
@media (min-width: 1101px) { .page-hero.has-art h1, .page-hero.has-art .lead { max-width: calc(100% - min(40vw, 560px) + 40px); } .page-hero.has-art h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); } }
@media (max-width: 1100px) { .page-hero.has-art .hero-art { display: none; } }
