/* =========================================================
   Plainvert Digital — static site styles
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --charcoal: #111827;
  --offwhite: #F8FAFC;
  --slate: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --subtle: #F1F5F9;
  --blue: #3B82F6;
  --green: #10B981;
  --g1: #12BE85;
  --g2: #009766;
  --g3: #006E4A;
  --g4: #003F2B;
  --tint-blue: #E6F1FB;
  --tint-green: #EAF3DE;
  --on-green: #27500A;
  --on-blue: #0C447C;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1200px;
  --radius: 16px;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(16,185,129,.2); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 80px 0; }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.bg-white { background: #fff; }
.bg-subtle { background: var(--subtle); }
.eyebrow { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--g2); }
.eyebrow--light { color: var(--green); }
.gradient-text { background: linear-gradient(100deg,#10B981 0%,#12BE85 40%,#3B82F6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.h-xl { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.h-lg { font-size: clamp(1.875rem, 4vw, 3rem); }
.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 600; transition: background-color .2s, color .2s, transform .2s, border-color .2s; border: 1px solid transparent; }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn--primary { background: var(--green); color: var(--charcoal); }
.btn--primary:hover { background: var(--g1); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: var(--g3); }
.btn--ghost { background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.15); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: #fff; }

/* ---------- Navbar ---------- */
.nav-wrap { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 12px 16px 0; }
.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.6); border-radius: 16px;
  padding: 12px 20px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px -12px rgba(17,24,39,.18); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 12px 40px -12px rgba(17,24,39,.28); }
.logo { font-family: var(--font-mono); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.logo .br-open { color: var(--blue); }
.logo .br-close { color: var(--green); }
.logo .pv { color: var(--charcoal); }
.logo--light .pv { color: #fff; }
.nav-links { display: none; gap: 32px; font-size: 14px; font-weight: 500; color: var(--slate); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta { padding: 10px 16px; font-size: 14px; }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--charcoal); }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: none; max-width: var(--max); margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.15); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 16px; border-radius: 12px; font-weight: 500; color: var(--slate); }
.mobile-menu a:hover { background: var(--subtle); }
.mobile-menu .btn { width: 100%; margin-top: 4px; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; padding: 160px 0 128px; }
.hero-grid-bg, .grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .6; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.blob--g2 { background: rgba(0,151,102,.3); }
.blob--green { background: rgba(16,185,129,.2); }
.blob--blue { background: rgba(59,130,246,.15); }
.hero-inner { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.05fr .95fr; } }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8); backdrop-filter: blur(8px); }
.ping { position: relative; display: inline-flex; width: 8px; height: 8px; }
.ping::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); opacity: .75; animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite; }
.ping::after { content: ""; position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { margin-top: 24px; }
.hero p.lead { color: rgba(255,255,255,.7); max-width: 36rem; margin-top: 24px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); max-width: 32rem; }
.stats dt { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; }
.stats dd { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* dashboard card */
.dash-wrap { position: relative; }
.dash-glow { position: absolute; inset: -16px; border-radius: 32px; background: linear-gradient(to top right, rgba(16,185,129,.2), transparent, rgba(59,130,246,.2)); filter: blur(32px); }
.dash { position: relative; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); border-radius: 24px; padding: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); backdrop-filter: blur(16px); animation: float 6s ease-in-out infinite; }
.dash-head { display: flex; align-items: center; justify-content: space-between; }
.dash-head .dot { display: flex; align-items: center; gap: 8px; }
.dash-head .dot span { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.mono-xs { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.6); }
.pill { border-radius: 999px; padding: 2px 8px; font-family: var(--font-mono); font-size: 10px; }
.pill--live { background: rgba(16,185,129,.15); color: var(--g1); }
.dash-chart { margin-top: 20px; border-radius: 12px; background: rgba(17,24,39,.6); padding: 16px; }
.dash-chart p { font-size: 12px; color: rgba(255,255,255,.5); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; margin-top: 12px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; }
.bars .b-low { background: rgba(255,255,255,.1); }
.bars .b-mid { background: rgba(59,130,246,.55); }
.bars .b-high { background: rgba(16,185,129,.8); }
.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.dash-cards > div { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px; }
.dash-cards .lbl { font-size: 11px; color: rgba(255,255,255,.5); }
.dash-cards .val { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-top: 4px; }
.dash-cards .val.blue { color: var(--blue); }
.dash-cards .val.green { color: var(--green); }
.dash-cards .delta { font-size: 11px; color: var(--green); }

/* page hero (interior) */
.page-hero { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; padding: 176px 0 96px; }
.page-hero .inner { position: relative; max-width: 48rem; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 36rem; margin-top: 20px; font-size: 1.125rem; }

/* ---------- Marquee ---------- */
.marquee-sec { border-block: 1px solid var(--line); background: #fff; padding: 32px 0; }
.marquee-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.marquee-mask { margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; width: max-content; gap: 56px; padding-right: 56px; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: rgba(51,65,85,.45); white-space: nowrap; }

/* ---------- Grids / cards ---------- */
.head-block { max-width: 42rem; }
.head-block h2 { margin-top: 12px; }
.head-block .lead { margin-top: 16px; }
.cards-3 { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3,1fr); } }
.cards-2 { display: grid; gap: 24px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; } }

/* Plain card (no icon) — title sits under a small category eyebrow */
.card--plain h3 { margin-top: 12px; }
.eyebrow--blue { color: var(--on-blue); }

.card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 32px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.4); box-shadow: 0 24px 60px -24px rgba(16,185,129,.45); }
.card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tint-blue); color: var(--on-blue); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-top: 24px; font-size: 1.25rem; font-weight: 600; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.card ul { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--slate); }
.card li { display: flex; gap: 8px; }
.card li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--blue); }
.card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--on-blue); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(2px); }

/* featured (GEO) dark card */
.card--dark { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; border-color: rgba(0,110,74,.4); }
.card--dark:hover { border-color: rgba(0,110,74,.6); box-shadow: none; }
.card--dark .glow { position: absolute; top: -64px; right: -48px; width: 176px; height: 176px; border-radius: 50%; background: rgba(16,185,129,.3); filter: blur(48px); transition: left .2s ease, top .2s ease, opacity .3s ease; will-change: left, top; pointer-events: none; }
.card--dark .ico { background: rgba(16,185,129,.15); color: var(--green); }
.card--dark p { color: rgba(255,255,255,.65); }
.card--dark ul { color: rgba(255,255,255,.8); }
.card--dark li svg { color: var(--green); }
.card--dark .more { color: var(--green); }
.tag-new { position: absolute; top: 20px; right: 20px; border-radius: 999px; background: rgba(16,185,129,.15); padding: 4px 10px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--g1); }
/* NEW badge only renders on the active (dark) card */
.card:not(.card--dark) .tag-new { display: none; }

/* ---------- Bento work ---------- */
.bento { display: grid; gap: 20px; margin-top: 56px; grid-template-columns: 1fr; grid-auto-rows: 15rem; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3,1fr); } }
.bento article { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.04); transition: background-color .25s; display: flex; flex-direction: column; }
.bento article:hover { background: rgba(255,255,255,.07); }
.bento .big { background: linear-gradient(to bottom right, var(--g3), var(--g4)); justify-content: space-between; }
@media (min-width: 640px) { .bento .big { grid-column: span 2; grid-row: span 2; } .bento .wide { grid-column: span 2; } }
.bento h3 { font-size: 1.25rem; margin-top: 16px; }
.bento .big h3 { font-size: clamp(1.5rem,3vw,1.875rem); }
.bento p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.6); max-width: 28rem; }
.bento .big p { color: rgba(255,255,255,.7); }
.tag { display: inline-block; border-radius: 999px; padding: 4px 10px; font-family: var(--font-mono); font-size: 10px; width: fit-content; }
.tag--blue { background: rgba(230,241,251,.2); color: var(--blue); }
.tag--green { background: rgba(16,185,129,.2); color: var(--g1); }
.bento .metric { margin-top: auto; padding-top: 24px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--green); }
.bento .metric small { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.55); }
.metrics-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; max-width: 28rem; }
.metrics-row .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--green); }
.metrics-row .k { font-size: 12px; color: rgba(255,255,255,.55); }
.bento-wide-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.bento-wide-inner .metric { margin-top: 0; padding-top: 0; font-size: 1.875rem; }
.bento-wide-inner .metric small { display: block; }
/* Concept projects — uniform cards with a themed webpage mockup */
.work-grid { display: grid; gap: 24px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.04); transition: transform .25s ease, background-color .25s ease; }
.work-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.work-card .mock { display: block; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
.work-card .mock svg { display: block; width: 100%; height: auto; }
.work-body { padding: 24px; }
.work-body h3 { color: #fff; font-size: 1.2rem; margin-top: 12px; }
.work-body p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.62); }
.approach-note { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--g1); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 20px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 28px; transition: background-color .5s ease, border-color .5s ease; }
.step .no { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--green); transition: color .5s ease; }
.step h3 { margin-top: 12px; font-size: 1.125rem; font-weight: 600; transition: color .5s ease; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); transition: color .5s ease; }
.step--green { border-color: rgba(16,185,129,.4); background: var(--tint-green); }
.step--green .no, .step--green h3 { color: var(--on-green); }
.step--green p { color: rgba(39,80,10,.8); }

/* ---------- What's included ---------- */
.includes { list-style: none; padding: 0; margin-top: 56px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .includes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .includes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .includes--4 { grid-template-columns: repeat(4, 1fr); } }
.includes li { display: flex; gap: 14px; }
.includes li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--green); }
.includes .t { font-family: var(--font-display); font-weight: 600; }
.includes .d { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Testimonial ---------- */
.quote-sec { text-align: center; }
.quote-sec .q-icon { width: 40px; height: 40px; margin: 0 auto; color: rgba(16,185,129,.4); }
.quote-sec blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem,3vw,1.875rem); line-height: 1.3; letter-spacing: -.02em; margin-top: 24px; }
.quote-sec blockquote span { color: var(--green); }
.q-author { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.q-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g2); color: #fff; font-family: var(--font-display); font-weight: 700; }
.q-author .name { font-weight: 600; text-align: left; }
.q-author .role { font-size: 14px; color: var(--muted); text-align: left; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 24px; margin-top: 56px; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(3,1fr); } }
.price { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 32px; }
.price h3 { font-size: 1.125rem; font-weight: 600; }
.price .blurb { margin-top: 4px; font-size: 14px; color: var(--muted); }
.price .amount { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; margin-top: 24px; }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price .btn { width: 100%; margin-top: 24px; }
.price ul { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; font-size: 14px; color: var(--slate); }
.price li { display: flex; gap: 8px; }
.price li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green); }
.price--featured { position: relative; border: 2px solid var(--green); background: var(--charcoal); color: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
@media (min-width: 1024px) { .price--featured { margin-top: -16px; } }
.price--featured .blurb, .price--featured .amount small { color: rgba(255,255,255,.6); }
.price--featured ul { color: rgba(255,255,255,.8); }
.price-badge { position: absolute; top: -12px; right: 24px; background: var(--green); color: var(--charcoal); border-radius: 999px; padding: 4px 12px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--charcoal); color: #fff; text-align: center; padding: 80px 24px; }
.cta-band .inner { position: relative; max-width: 42rem; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 16px; font-size: 1.125rem; }
.cta-band .btn { margin-top: 32px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid .lead { color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--charcoal); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--green); }
.chip:nth-child(2)::before { background: var(--blue); }
.chip:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 10px 24px -14px rgba(16,185,129,.5); }
.chip:nth-child(2):hover { border-color: var(--blue); box-shadow: 0 10px 24px -14px rgba(59,130,246,.5); }
@media (max-width: 640px) {
  .chips { flex-direction: column; align-items: stretch; }
  .chip { width: 100%; justify-content: flex-start; padding: 14px 18px; }
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { border-radius: var(--radius); padding: 28px; }
.stat-box .v { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; }
.stat-box .k { margin-top: 8px; font-size: 14px; }
.stat-box.dark { background: var(--charcoal); color: #fff; } .stat-box.dark .v { color: var(--green); } .stat-box.dark .k { color: rgba(255,255,255,.6); }
.stat-box.subtle { background: var(--subtle); border: 1px solid var(--line); } .stat-box.subtle .v { color: var(--charcoal); } .stat-box.subtle .k { color: var(--muted); }
.stat-box.blue { background: var(--tint-blue); } .stat-box.blue .v { color: var(--on-blue); } .stat-box.blue .k { color: rgba(12,68,124,.8); }
.stat-box.green { background: var(--tint-green); } .stat-box.green .v { color: var(--on-green); } .stat-box.green .k { color: rgba(39,80,10,.8); }

/* ---------- Who we serve ---------- */
.prose { max-width: 48rem; margin-top: 28px; display: grid; gap: 16px; }
.prose p { color: var(--slate); }
.industries { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .industries { grid-template-columns: repeat(4, 1fr); } }
.industry { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 20px; transition: transform .25s, box-shadow .25s; }
.industry:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(17,24,39,.35); }
.industry p { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
/* Match the stat-box color combination */
.industry--dark { background: var(--charcoal); border-color: var(--charcoal); }
.industry--dark p { color: #fff; }
.industry--subtle { background: var(--subtle); }
.industry--subtle p { color: var(--charcoal); }
.industry--blue { background: var(--tint-blue); border-color: transparent; }
.industry--blue p { color: var(--on-blue); }
.industry--green { background: var(--tint-green); border-color: transparent; }
.industry--green p { color: var(--on-green); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.next-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 16px; }
.next-list li { display: flex; gap: 12px; color: var(--slate); }
.next-list .tick { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--tint-green); color: var(--on-green); margin-top: 2px; }
.next-list .tick svg { width: 14px; height: 14px; }
.contact-aside-box { margin-top: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 24px; }
.contact-aside-box a { font-family: var(--font-mono); color: var(--green); }
.contact-aside-box a:hover { text-decoration: underline; }
.form-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--slate); }
.field label .opt { color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 16px;
  color: var(--charcoal); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.3); }
.field textarea { resize: vertical; }
.field .err { margin-top: 6px; font-size: 14px; color: #dc2626; }
.two-col { display: grid; gap: 20px; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-alert { border-radius: 12px; background: #fef2f2; color: #b91c1c; padding: 12px 16px; font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.form-success { border: 1px solid rgba(16,185,129,.3); background: var(--tint-green); border-radius: var(--radius); padding: 40px; text-align: center; }
.form-success .ok { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--green); color: #fff; }
.form-success .ok svg { width: 28px; height: 28px; }
.form-success h3 { margin-top: 20px; font-size: 1.5rem; color: var(--on-green); }
.form-success p { margin-top: 8px; color: rgba(39,80,10,.85); }
.form-success button { margin-top: 24px; background: none; border: none; font-size: 14px; font-weight: 600; color: var(--on-green); text-decoration: underline; text-underline-offset: 4px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-top: 8px; }
.legal h2 { font-size: 1.4rem; margin-top: 44px; }
.legal h3 { font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; margin-top: 24px; }
.legal p { margin-top: 14px; color: var(--slate); font-size: 15px; line-height: 1.75; }
.legal ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal li { color: var(--slate); font-size: 15px; line-height: 1.7; }
.legal a { color: var(--g2); text-decoration: underline; text-underline-offset: 2px; }
.legal .note { margin-top: 28px; padding: 16px 18px; background: var(--tint-green); border: 1px solid rgba(16,185,129,.25); border-radius: 12px; color: var(--on-green); font-size: 14px; line-height: 1.6; }
.legal .note p { margin: 0; color: inherit; font-size: 14px; }

/* ---------- Blog index ---------- */
.posts-grid { display: grid; gap: 24px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 18px 40px -24px rgba(16,185,129,.4); }
.post-card .tag { margin-bottom: 14px; align-self: flex-start; }
.post-card .tag--green { background: var(--tint-green); color: var(--on-green); }
.post-card .tag--blue { background: var(--tint-blue); color: var(--on-blue); }
.post-card h3 { font-size: 1.2rem; font-weight: 600; }
.post-card p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.post-card .post-meta { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--muted); font-family: var(--font-mono); }

/* ---------- Article (single post) ---------- */
.article { max-width: 720px; }
.article .post-meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 10px; }
.article .lede { font-size: 1.125rem; color: var(--slate); margin-top: 20px; line-height: 1.7; }
.article h2 { font-size: 1.5rem; margin-top: 44px; }
.article h3 { font-size: 1.15rem; font-family: var(--font-display); font-weight: 600; margin-top: 28px; }
.article p { margin-top: 16px; color: var(--slate); font-size: 16px; line-height: 1.8; }
.article ul, .article ol { margin-top: 16px; padding-left: 22px; display: grid; gap: 8px; }
.article li { color: var(--slate); font-size: 16px; line-height: 1.7; }
.article a { color: var(--g2); text-decoration: underline; text-underline-offset: 2px; }
.article strong { color: var(--charcoal); }
.article blockquote { margin: 24px 0; padding: 14px 20px; border-left: 3px solid var(--green); background: var(--subtle); border-radius: 0 12px 12px 0; }
.article blockquote p { margin: 0; }
.article code { font-family: var(--font-mono); font-size: .9em; background: var(--subtle); padding: 2px 6px; border-radius: 6px; }
.article img { border-radius: var(--radius); margin-top: 20px; max-width: 100%; }
.article hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
.post-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--g2); }
.post-cta { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #fff; padding: 64px 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer p.desc { max-width: 20rem; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: rgba(255,255,255,.7); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--green); border-color: var(--green); }
.socials svg { width: 16px; height: 16px; }
.footer h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 12px; font-size: 14px; color: rgba(255,255,255,.55); }
.footer ul a:hover { color: var(--green); }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.45); }
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dash, .marquee, .ping::before { animation: none !important; }
  html { scroll-behavior: auto; }
}
