/* =========================================================
   Vinch Digital: styles.css
   Brand: blue #3992F8 · gray #58595B
   ========================================================= */

:root {
  /* Brand */
  --brand-blue: #3992f8;      /* logo blue: accents, large shapes */
  --brand-gray: #58595b;      /* logo gray: secondary text */

  /* Semantic */
  --primary: #1a6ad4;         /* accessible blue for buttons/links (AA on white) */
  --primary-hover: #1559b3;
  --primary-soft: #eaf3fe;
  --ink: #16171a;             /* headings */
  --text: #2f3033;            /* body */
  --muted: #58595b;           /* secondary */
  --line: #e5e6e8;
  --bg: #ffffff;
  --surface: #f6f7f8;
  --dark: #141518;
  --dark-2: #1d1f23;
  --on-dark: #f3f4f6;
  --on-dark-muted: #a9abb0;
  --error: #c62828;
  --success: #1e7b3c;

  /* Type */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* Spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }
.h-small { font-size: 1.25rem; letter-spacing: -0.01em; }

/* Shared stroke icons */
.i, .service-icon svg, .socials svg {
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.i { width: 18px; height: 18px; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary .i { transition: transform .2s var(--ease); }
.btn-primary:hover .i { transform: translateX(3px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--s2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue); }
.eyebrow-light { color: var(--brand-blue); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(10px); } }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand-logo { width: 148px; }

.nav { display: flex; align-items: center; gap: var(--s4); }
.nav-list { display: flex; gap: var(--s4); }
.nav-list a { color: var(--text); font-weight: 500; font-size: .975rem; padding: 10px 0; position: relative; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--brand-blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--ink); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.75px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--s3);
    background: #fff; padding: var(--s3) 20px var(--s4); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--s6) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 1000px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: var(--s7); }
}
.hero h1 { max-width: 15ch; }
.hero .accent { color: var(--primary); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 54ch; margin-top: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s5); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: var(--s5); font-size: .95rem; color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta li::before { content: ""; width: 14px; height: 2px; background: var(--brand-blue); }

.hero-panel {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: var(--s4) var(--s4) var(--s3);
}
.panel-label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.panel-list { position: relative; z-index: 1; }
.panel-list li + li { border-top: 1px solid var(--line); }
.panel-list a {
  display: flex; align-items: center; gap: 16px; padding: 16px 0; min-height: 56px;
  color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  transition: padding .2s var(--ease), color .2s var(--ease);
}
.panel-list .num { font-family: var(--font-body); font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; width: 22px; }
.panel-list .i { margin-left: auto; color: var(--muted); transition: transform .2s var(--ease), color .2s var(--ease); }
.panel-list a:hover { color: var(--primary); padding-left: 6px; }
.panel-list a:hover .i { color: var(--primary); transform: translate(2px, -2px); }
/* Diagonal stroke echoing the logo mark */
.panel-slash {
  position: absolute; width: 22px; height: 160%; right: 18%; top: -30%;
  background: var(--brand-blue); opacity: .08; transform: rotate(30deg); pointer-events: none;
}

/* ---------- Channels ---------- */
.channels { border-block: 1px solid var(--line); }
.channels-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); padding-block: var(--s4); }
.channels-label { font-size: .875rem; color: var(--muted); font-weight: 500; }
.channels-list { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.channels-list li { font-family: var(--font-head); font-weight: 600; color: #6e6f72; font-size: 1.05rem; letter-spacing: -0.01em; }

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
@media (min-width: 1000px) { .section { padding: var(--s8) 0; } }
.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-sub { color: var(--muted); margin-top: var(--s2); max-width: 58ch; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service { background: #fff; padding: var(--s5) var(--s4); transition: background-color .25s var(--ease); }
.service:hover { background: #fbfcfd; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: var(--s3);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.service-icon svg { width: 24px; height: 24px; }
.service:hover .service-icon { background: var(--primary); color: #fff; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 1rem; }
.ticks { margin-top: var(--s3); display: grid; gap: 8px; font-size: .95rem; }
.ticks li { display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.ticks li::before {
  content: ""; flex: none; width: 10px; height: 6px; border-left: 2px solid var(--brand-blue); border-bottom: 2px solid var(--brand-blue);
  transform: rotate(-45deg) translateY(-3px);
}
.services-more { margin-top: var(--s4); color: var(--muted); }
.services-more a { font-weight: 600; }

/* ---------- Approach ---------- */
.approach-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .approach-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s7); align-items: start; } }
.approach-intro p:not(.eyebrow) { color: var(--muted); margin: var(--s3) 0 var(--s4); max-width: 46ch; }
@media (min-width: 1000px) { .approach-intro { position: sticky; top: calc(var(--header-h) + 48px); } }
.approach-points { display: grid; gap: var(--s2); }
.point {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s3);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4);
}
.point-num { width: 28px; font-variant-numeric: tabular-nums; font-family: var(--font-head); font-weight: 600; color: var(--brand-blue); font-size: 1rem; padding-top: 2px; }
.point h3 { margin-bottom: 8px; }
.point p { color: var(--muted); font-size: 1rem; }

/* ---------- Process ---------- */
.process { display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }
.step { position: relative; padding-top: var(--s4); border-top: 2px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--brand-blue);
}
.step-num { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Industries ---------- */
.industries { display: grid; gap: var(--s3); }
@media (min-width: 1000px) { .industries { grid-template-columns: 280px 1fr; align-items: center; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; color: var(--text); background: #fff; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: var(--s7); } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; min-height: 56px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); border-color: var(--primary); }
.faq-list summary:hover { color: var(--primary); }
.faq-list details p { color: var(--muted); padding: 0 var(--s5) var(--s3) 0; max-width: 64ch; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--on-dark); padding: var(--s7) 0; position: relative; overflow: hidden; }
@media (min-width: 1000px) { .contact { padding: var(--s8) 0; } }
.contact::before {
  content: ""; position: absolute; width: 40px; height: 180%; left: 38%; top: -40%;
  background: var(--brand-blue); opacity: .07; transform: rotate(30deg); pointer-events: none;
}
.contact-grid { position: relative; display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s7); align-items: start; } }
.contact h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { color: var(--on-dark-muted); margin-top: var(--s3); max-width: 44ch; }
.contact-list { margin-top: var(--s5); display: grid; gap: var(--s2); }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--on-dark); }
.contact-list .i { color: var(--brand-blue); width: 20px; height: 20px; }
.contact-list a { color: var(--on-dark); border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-list a:hover { color: #fff; border-color: var(--brand-blue); }

.form { background: #fff; color: var(--text); border-radius: 20px; padding: var(--s4); display: grid; gap: var(--s3); }
@media (min-width: 640px) { .form { padding: var(--s5); } }
.field-row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label span { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358595b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9cbcf; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(57,146,248,.18);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.error { color: var(--error); font-size: .875rem; margin-top: 6px; min-height: 0; }
.error:empty { display: none; }
.form-status { font-size: .95rem; text-align: center; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); padding: var(--s6) 0 var(--s4); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { width: 150px; margin-bottom: var(--s2); }
.footer-brand p { max-width: 34ch; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: var(--s2); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.socials { display: flex !important; gap: 10px !important; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); transition: border-color .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { border-color: var(--brand-blue); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; align-items: center; padding-top: var(--s3); }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   COLOUR LAYER: brand blue accents
   ========================================================= */

/* Hero: soft blue wash + white panel */
.site-header { background: rgba(243, 248, 255, .9); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); }
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
}
.hero::after {
  content: ""; position: absolute; width: 56px; height: 140%; right: 9%; top: -20%;
  background: var(--brand-blue); opacity: .07; transform: rotate(30deg); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }
.hero-panel { background: #fff; border-color: #dfe9f7; box-shadow: 0 24px 48px -28px rgba(26, 106, 212, .28); }
.panel-list .num { color: var(--primary); font-weight: 600; }

/* Services: solid brand-blue section */
.section-blue { position: relative; overflow: hidden; background: var(--primary); color: #fff; }
.section-blue .container { position: relative; z-index: 1; }
.section-blue h2 { color: #fff; }
.section-blue .eyebrow { color: #cfe3fd; }
.section-blue .section-sub { color: rgba(255, 255, 255, .85); }
.blue-slash {
  position: absolute; width: 64px; height: 170%; top: -35%;
  background: var(--brand-blue); transform: rotate(30deg); pointer-events: none;
}
.blue-slash-1 { right: 14%; opacity: .55; }
.blue-slash-2 { right: calc(14% + 110px); width: 18px; opacity: .4; }

.section-blue .services-grid { gap: 16px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.section-blue .service {
  border-radius: 16px; background: #fff;
  box-shadow: 0 18px 40px -24px rgba(10, 40, 90, .45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.section-blue .service:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 26px 48px -24px rgba(10, 40, 90, .55); }
.section-blue .services-more { color: rgba(255, 255, 255, .85); }
.section-blue .services-more a { color: #fff; border-bottom: 1.5px solid rgba(255, 255, 255, .5); }
.section-blue .services-more a:hover { border-color: #fff; }
.section-blue :focus-visible { outline-color: #fff; }

/* Approach: blue numbers in soft pills */
.point-num {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: .9rem;
}
.point { transition: border-color .25s var(--ease); }
.point:hover { border-color: #b9d5f8; }

/* Process: blue step labels + progress line */
.step { border-top-color: #dce8f8; }
.step::before { width: 64px; height: 3px; top: -2.5px; background: var(--primary); }
.step-num { color: var(--primary); }

/* Industries chips: blue on hover */
.chips li { transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.chips li:hover { border-color: #b9d5f8; background: var(--primary-soft); color: var(--primary); }

/* =========================================================
   PHOTO HERO
   ========================================================= */
.hero { background: var(--dark); color: #fff; isolation: isolate; padding: var(--s7) 0 var(--s7); }
@media (min-width: 1000px) { .hero { padding: 120px 0 128px; } }
.hero::after { display: none; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -1; }
.hero-bg img { object-fit: cover; object-position: center 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 32, .92) 0%, rgba(10, 18, 32, .78) 45%, rgba(10, 18, 32, .35) 100%),
    linear-gradient(0deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, 0) 40%);
}
@media (max-width: 999px) { .hero-bg::after { background: rgba(10, 18, 32, .8); } }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .accent { color: #8cc0ff; }
.hero .eyebrow { color: #b9d8ff; }
.hero .lead { color: rgba(255, 255, 255, .86); }
.hero-meta { color: rgba(255, 255, 255, .8); }
.hero-meta li::before { background: #8cc0ff; }
.hero :focus-visible { outline-color: #fff; }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
@supports (backdrop-filter: blur(4px)) { .btn-light { backdrop-filter: blur(6px); } }

.hero-card {
  background: #fff; color: var(--text); border-radius: 20px; overflow: hidden; max-width: 420px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
@media (min-width: 1000px) { .hero-card { justify-self: end; } }
.hero-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-card-body { padding: var(--s3); }
.hero-card-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.1rem; line-height: 1.3; margin-bottom: var(--s2); }
.hero-card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-card-list a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: .92rem;
}
.hero-card-list a:hover { background: var(--primary); color: #fff; }

.approach-photo { margin-top: var(--s4); border-radius: 16px; overflow: hidden; max-width: 520px; }
.approach-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* =========================================================
   BLOG
   ========================================================= */
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); max-width: none; }
.post-grid { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: #b9d5f8; box-shadow: 0 24px 48px -28px rgba(26, 106, 212, .35); }
.post-card > a { display: flex; flex-direction: column; flex: 1; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: var(--s3); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-tag { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: .97rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 6px; font-size: .95rem; color: var(--primary); }
.post-grid-lg .post-card:first-child { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .post-grid-lg .post-card:first-child > a { flex-direction: row; }
  .post-grid-lg .post-card:first-child img { width: 55%; aspect-ratio: auto; min-height: 340px; }
  .post-grid-lg .post-card:first-child .post-card-body { padding: var(--s5); justify-content: center; }
  .post-grid-lg .post-card:first-child h3 { font-size: 1.75rem; }
}

.page-head { padding: var(--s6) 0 var(--s5); background: linear-gradient(180deg, #f3f8ff 0%, #fff 100%); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 22ch; }
.page-head .lead { margin-top: var(--s2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b3b5b9; }

/* Article */
.article-head { padding: var(--s6) 0 var(--s4); }
.article-head .container, .article-body, .article-foot { max-width: 760px; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; margin-top: var(--s3); }
.article-cover { max-width: 1080px; margin: 0 auto var(--s5); padding-inline: 20px; }
.article-cover img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 8; object-fit: cover; }
.article-cover figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.article-cover figcaption a { color: var(--muted); text-decoration: underline; }
.article-body { margin-inline: auto; padding-inline: 20px; font-size: 1.125rem; line-height: 1.75; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-top: 1.8em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: .45em; }
.article-body li::marker { color: var(--brand-blue); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { border-left: 3px solid var(--brand-blue); padding: 4px 0 4px 20px; color: var(--ink); font-style: italic; }

.cta-box {
  margin: 2.2em 0 !important; padding: var(--s4); border-radius: 16px;
  background: var(--primary); color: #fff; position: relative; overflow: hidden;
}
.cta-box::after { content: ""; position: absolute; width: 36px; height: 220%; right: 12%; top: -60%; background: var(--brand-blue); opacity: .6; transform: rotate(30deg); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; margin: 0; }
.cta-box .cta-title { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.cta-box .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.cta-box .btn { text-decoration: none; }
.cta-box .btn-white { background: #fff; color: var(--primary); }
.cta-box .btn-white:hover { background: #eaf3fe; color: var(--primary-hover); }
.cta-box .btn-light:hover { color: var(--primary); }

.article-foot { margin: var(--s5) auto 0; padding: 0 20px var(--s6); }

/* Share row: neutral class names on purpose (social-blocking filter lists target "share"/"social") */
.pass-on { border-block: 1px solid var(--line); padding: var(--s3) 0; }
.pass-on-title { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.pass-on-list { display: flex; flex-wrap: wrap; gap: 8px; }
.po-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none !important;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.po-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.po-btn:hover { color: #fff; border-color: transparent; }
.po-btn[data-net="whatsapp"]:hover { background: #1f9e55; }
.po-btn[data-net="x"]:hover { background: #111; }
.po-btn[data-net="facebook"]:hover { background: #1877f2; }
.po-btn[data-net="linkedin"]:hover { background: #0a66c2; }
.po-btn[data-net="pinterest"]:hover { background: #e60023; }
.po-btn[data-net="telegram"]:hover { background: #229ed9; }
.po-btn[data-net="email"]:hover, .po-btn[data-net="copy"]:hover, .po-btn[data-net="native"]:hover { background: var(--ink); }
.po-btn[hidden] { display: none; }

.author-box { display: flex; gap: var(--s3); align-items: center; margin-top: var(--s4); padding: var(--s3); border-radius: 16px; background: var(--surface); }
.author-box img { width: 72px; height: auto; flex: none; }
.author-box p { color: var(--muted); font-size: .97rem; }
.author-box strong { color: var(--ink); display: block; }

.related { background: var(--surface); padding: var(--s6) 0; }
.related h2 { font-size: 1.6rem; margin-bottom: var(--s4); }

/* Floating WhatsApp (named neutrally so annoyance filters don't hide it) */
.quick-msg {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #1f9e55; color: #fff; font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.quick-msg:hover { color: #fff; background: #198a49; transform: translateY(-2px); }
.quick-msg svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 639px) { .quick-msg span { display: none; } .quick-msg { padding: 0; width: 56px; justify-content: center; } }

.footer-contact { margin-top: var(--s2); line-height: 1.9; }
.contact-list li { align-items: flex-start; }
.contact-list .i { margin-top: 3px; }

/* ---------- Hero v2: full-bleed photo, dark fade, text on top ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(88vh, 780px); min-height: min(88svh, 780px); }
.hero-grid { display: block; width: 100%; }
.hero-copy { max-width: 720px; }
.hero h1 { max-width: 17ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .lead { max-width: 56ch; }
.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 14, .94) 0%, rgba(5, 8, 14, .82) 40%, rgba(5, 8, 14, .45) 75%, rgba(5, 8, 14, .3) 100%),
    linear-gradient(0deg, rgba(5, 8, 14, .7) 0%, rgba(5, 8, 14, 0) 45%);
}
@media (max-width: 999px) { .hero-bg::after { background: linear-gradient(180deg, rgba(5, 8, 14, .7) 0%, rgba(5, 8, 14, .88) 100%); } }
.hero .btn { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.hero .btn-primary { background: var(--brand-blue); }
.hero .btn-primary:hover { background: #fff; color: var(--ink); }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

/* ---------- Industries v2 ---------- */
.section-industries { background: var(--surface); }
.ind-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }
.ind-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: var(--s4) var(--s3);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ind-card:hover { transform: translateY(-3px); border-color: #b9d5f8; box-shadow: 0 20px 40px -28px rgba(26, 106, 212, .4); }
.ind-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: var(--s3); transition: background-color .2s var(--ease), color .2s var(--ease); }
.ind-card:hover .ind-icon { background: var(--primary); color: #fff; }
.ind-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ind-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.ind-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Tables (blog) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; min-width: 540px; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body thead th { background: var(--primary-soft); color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.article-body tbody th { color: var(--ink); font-weight: 600; background: #fafbfc; }
.article-body tr:last-child > * { border-bottom: 0; }
.faq-block details { border-bottom: 1px solid var(--line); }
.faq-block summary { cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; float: right; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq-block details[open] summary::after { content: "\2212"; }
.faq-block details p { padding-bottom: 16px; color: var(--muted); }

/* ---------- Inner pages (about / services) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: #fff; padding: 112px 0 96px; }
.page-hero .hero-bg { z-index: -1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.page-hero .eyebrow { color: #b9d8ff; }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255, 255, 255, .75); }
.page-hero .crumbs a:hover { color: #fff; }
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s7); } .split-rev > :first-child { order: 2; } }
.split img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: var(--s2); }
.prose h2 { margin-bottom: var(--s3); }
.timeline { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.tl-item { border-top: 3px solid var(--primary); padding-top: var(--s3); }
.tl-item .tl-year { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 1rem; }
.values { display: grid; gap: 16px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: var(--s4); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 1rem; }
.svc-detail { display: grid; gap: var(--s4); padding: var(--s6) 0; border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1000px) { .svc-detail { grid-template-columns: 1fr 1.4fr; gap: var(--s7); } }
.svc-detail h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 8px; }
.svc-detail .svc-lead { color: var(--muted); margin-top: var(--s2); }
.svc-cols { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .svc-cols { grid-template-columns: 1fr 1fr; } }
.svc-cols h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 12px; font-family: var(--font-body); }
.svc-cols p { color: var(--muted); font-size: 1rem; }
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.svc-jump a { padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 500; font-size: .95rem; }
.svc-jump a:hover { background: #fff; color: var(--ink); }
.cta-band { background: var(--primary); color: #fff; padding: var(--s6) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.88); margin-top: var(--s2); max-width: 52ch; }
.cta-band .hero-actions { margin-top: var(--s4); }
.cta-band .btn-white { background: #fff; color: var(--primary); }
.cta-band .btn-white:hover { background: var(--primary-soft); }
.about-list { grid-template-columns: 1fr; gap: 10px; } @media (min-width: 640px) { .about-list { grid-template-columns: 1fr 1fr; } } .about-list a { min-height: 64px; font-size: 1rem; padding: 12px 18px; background: #fff; border: 1px solid #d6e6fb; }

/* ---------- Contact: Calendly button, form extras, sent animation ---------- */
.contact-cal { margin-top: var(--s4); background: var(--brand-blue); }
.contact-cal:hover { background: #fff; color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-alt { text-align: center; font-size: .92rem; color: var(--muted); }
.form-alt a { font-weight: 600; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-wrap { position: relative; }
.sent {
  background: #fff; color: var(--text); border-radius: 20px; padding: var(--s5) var(--s4);
  text-align: center; display: grid; justify-items: center; gap: var(--s2); outline: none;
}
.sent[hidden] { display: none; }
.sent-art { position: relative; width: 96px; height: 96px; margin-bottom: var(--s1); }
.sent-plane, .sent-check { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sent-plane { stroke: var(--primary); stroke-width: 1.6; padding: 18px; opacity: 0; }
.sent-check circle { stroke: #1e7b3c; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.sent-check path { stroke: #1e7b3c; stroke-width: 3.5; stroke-dasharray: 40; stroke-dashoffset: 40; }
.sent.is-playing .sent-plane { animation: fly 1s var(--ease) forwards; }
.sent.is-playing .sent-check circle { animation: draw .6s ease-out 1s forwards; }
.sent.is-playing .sent-check path { animation: draw .4s ease-out 1.5s forwards; }
.sent.is-playing .sent-title, .sent.is-playing .sent-steps, .sent.is-playing .sent-note, .sent.is-playing .sent-again { animation: rise .5s var(--ease) both; }
.sent.is-playing .sent-title { animation-delay: 1.4s; }
.sent.is-playing .sent-steps { animation-delay: .2s; }
.sent.is-playing .sent-note { animation-delay: 1.9s; }
.sent.is-playing .sent-again { animation-delay: 2.1s; }
@keyframes fly {
  0% { opacity: 0; transform: translate(-30px, 30px) scale(.7); }
  30% { opacity: 1; transform: translate(0, 0) scale(1); }
  70% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(60px, -60px) scale(.6) rotate(-10deg); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sent-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.sent-steps { display: grid; gap: 10px; text-align: left; margin: var(--s1) 0; }
.sent-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); transition: color .3s var(--ease); }
.sent-steps li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); background: #fff center / 12px no-repeat;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.sent-steps li.is-done { color: var(--ink); }
.sent-steps li.is-done::before {
  background-color: #1e7b3c; border-color: #1e7b3c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.sent-note { color: var(--muted); max-width: 40ch; }
.sent-again { margin-top: var(--s1); }
@media (prefers-reduced-motion: reduce) {
  .sent-check circle, .sent-check path { stroke-dashoffset: 0; }
}

/* ---------- Industries v3: colour-coded, duotone icons, compact on mobile ---------- */
.ind-sub { max-width: 34ch; margin: 0; }
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 1000px) { .ind-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ind-card {
  --c: var(--primary);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
}
.ind-card::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--c); opacity: .07; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.ind-card:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: 0 18px 36px -26px var(--c); }
.ind-card:hover::after { transform: scale(1.6); opacity: .1; }
.ind-icon {
  width: 44px; height: 44px; margin: 0; border-radius: 12px; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
}
.ind-card:hover .ind-icon { background: var(--c); color: #fff; }
.ind-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind-icon .duo { fill: currentColor; opacity: .22; stroke: none; }
.ind-card h3 { font-size: .98rem; line-height: 1.3; margin: 0; }
.ind-card p { display: none; color: var(--muted); font-size: .94rem; margin-top: 6px; }
@media (min-width: 640px) {
  .ind-card { padding: 22px; }
  .ind-card p { display: block; }
  .ind-card h3 { font-size: 1.08rem; }
}

/* =========================================================
   BLOG v2
   ========================================================= */
.tag-pill {
  --c: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
}
.tag-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Cards */
.post-card-img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .5s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--muted); }
.post-card-meta > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.post-card-meta .i { width: 15px; height: 15px; }
.post-card h3 { transition: color .2s var(--ease); }
.post-card:hover h3 { color: var(--primary); }

.featured-wrap { margin-bottom: var(--s4); }
.post-card-featured { border-radius: 20px; }
@media (min-width: 900px) {
  .post-card-featured > a { display: grid; grid-template-columns: 1.15fr 1fr; }
  .post-card-featured .post-card-img { aspect-ratio: auto; min-height: 380px; }
  .post-card-featured .post-card-body { padding: var(--s5); justify-content: center; gap: 16px; }
  .post-card-featured h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; }
  .post-card-featured p { font-size: 1.05rem; }
}


/* Filter chips */
.blog-list { padding-top: var(--s5); }
.chip-row { display: flex; gap: 8px; margin-bottom: var(--s4); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chip-row { flex-wrap: wrap; overflow: visible; } }
.chip {
  --c: var(--ink);
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--c); color: var(--c); }
.chip.is-on { background: var(--c); border-color: var(--c); color: #fff; }
.post-card[hidden], .featured-wrap[hidden] { display: none; }
.empty-note { color: var(--muted); text-align: center; padding: var(--s5) 0; }

/* Article hero */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--brand-blue); transform-origin: left; transform: scaleX(0); }
.post-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 96px 0 72px; background: var(--dark); }
@media (min-width: 1000px) { .post-hero { padding: 128px 0 96px; } }
.post-hero .hero-bg { z-index: -1; }
.post-hero-inner { max-width: 900px; }
.post-hero .crumbs, .post-hero .crumbs a { color: rgba(255,255,255,.75); }
.post-hero .crumbs a:hover { color: #fff; }
.post-hero .tag-pill { background: color-mix(in srgb, var(--c) 30%, transparent); color: #fff; backdrop-filter: blur(6px); }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; margin-top: var(--s2); max-width: 24ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.post-hero-lead { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-top: var(--s2); max-width: 60ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: var(--s4); color: rgba(255,255,255,.85); font-size: .95rem; }
.post-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta .i { width: 17px; height: 17px; opacity: .8; }
.post-author img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 4px; }

/* Layout */
.post-layout { display: grid; gap: var(--s5); padding-top: var(--s5); padding-bottom: var(--s6); }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; padding-top: var(--s6); } }
.post-main { min-width: 0; }
.post-side { display: none; }
@media (min-width: 1100px) {
  .post-side { display: grid; gap: var(--s3); align-content: start; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
  .toc-mobile { display: none; }
}
.side-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: .92rem; line-height: 1.4;
  border-left: 2px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c, var(--primary)); opacity: .7; }
.toc a:hover { background: var(--surface); color: var(--ink); }
.toc a.is-current { color: var(--ink); background: color-mix(in srgb, var(--c, var(--primary)) 8%, #fff); border-left-color: var(--c, var(--primary)); }
.toc-side { padding: var(--s3); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.toc-mobile { border: 1px solid var(--line); border-radius: 14px; margin-bottom: var(--s4); background: var(--surface); }
.toc-mobile summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); line-height: 1; }
.toc-mobile[open] summary::after { content: "\2212"; }
.toc-mobile ol { padding: 0 8px 12px; }
.side-cta { padding: var(--s3); border-radius: 16px; background: var(--dark); color: var(--on-dark-muted); display: grid; gap: 10px; }
.side-cta .side-title { color: #fff; margin: 0; }
.side-cta p { font-size: .95rem; }
.side-cta .btn { min-height: 46px; font-size: .95rem; }
.side-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.side-cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.post-side .pass-on { border: 1px solid var(--line); border-radius: 16px; padding: var(--s3); }
.post-side .pass-on-title { font-family: var(--font-head); }
.post-side .po-btn { width: 44px; padding: 0; justify-content: center; }
.post-side .po-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Article typography */
.post .article-body { padding: 0; margin: 0; max-width: none; font-size: 1.1rem; }
.article-body .answer {
  font-size: 1.2rem; line-height: 1.7; color: var(--ink);
  padding: var(--s3); border-radius: 14px; background: color-mix(in srgb, var(--c, var(--primary)) 7%, #fff);
  border-left: 4px solid var(--c, var(--primary));
}
.post .article-body h2 { position: relative; padding-top: var(--s3); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.post .article-body h2::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--c, var(--primary)); }
.post .article-body h3 { font-size: 1.2rem; }
.post .article-body ul { list-style: none; padding-left: 0; }
.post .article-body ul > li { position: relative; padding-left: 28px; }
.post .article-body ul > li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px;
  background: var(--c, var(--primary)); transform: rotate(45deg);
}
.post .article-body ol { list-style: none; padding-left: 0; counter-reset: step; }
.post .article-body ol > li { counter-increment: step; position: relative; padding-left: 44px; min-height: 30px; }
.post .article-body ol > li::before {
  content: counter(step); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; font-family: var(--font-head);
  color: var(--c, var(--primary)); background: color-mix(in srgb, var(--c, var(--primary)) 12%, #fff);
}
.post .article-body blockquote {
  position: relative; font-style: normal; border: 0; padding: var(--s3) var(--s3) var(--s3) 64px;
  border-radius: 14px; background: var(--surface); color: var(--ink); font-weight: 500;
}
.post .article-body blockquote::before {
  content: "\201C"; position: absolute; left: 20px; top: 6px; font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--c, var(--primary)); opacity: .6;
}
.post .article-body thead th { background: color-mix(in srgb, var(--c, var(--primary)) 10%, #fff); }
.post .faq-block { border-top: 1px solid var(--line); }
.post .faq-block summary::after { color: var(--c, var(--primary)); }
.post .pass-on { margin-top: var(--s5); }
.post-main > .pass-on { border: 1px solid var(--line); border-radius: 16px; padding: var(--s3); }
.photo-credit { font-size: .82rem; color: var(--muted); margin-top: var(--s3); }
.photo-credit a { color: var(--muted); text-decoration: underline; }
.related .section-head { margin-bottom: var(--s4); align-items: center; }
.related h2 { margin: 0; }

/* Blog: one neutral colour, no rainbow tags */
.tag-pill { color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.tag-pill::before { display: none; }
.post-hero .tag-pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.chip { --c: var(--ink); }
.post { --c: var(--primary); }
.post .article-body h2::before { display: none; }
.post .article-body h2 { padding-top: 0; }
.post .article-body ul > li::before { width: 6px; height: 6px; border-radius: 50%; transform: none; top: .7em; left: 6px; background: var(--muted); }
.post .article-body ol > li::before { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.post .article-body thead th { background: var(--surface); }
.toc a::before { color: var(--muted); }

/* ---------- Who we work with v4: plain numbered list on dark ---------- */
.who { background: var(--dark); color: var(--on-dark); padding: var(--s7) 0; }
@media (min-width: 1000px) { .who { padding: var(--s8) 0; } }
.who-grid { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .who-grid { grid-template-columns: 1fr 1.6fr; gap: var(--s7); align-items: start; } .who-intro { position: sticky; top: calc(var(--header-h) + 48px); } }
.who h2 { color: #fff; }
.who-intro > p:not(.eyebrow) { color: var(--on-dark-muted); margin: var(--s3) 0 var(--s4); max-width: 40ch; }
.who .link-arrow { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; }
.who .link-arrow:hover { border-color: var(--brand-blue); }
.who :focus-visible { outline-color: #fff; }
.who-list { display: grid; border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 640px) { .who-list { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
.who-row {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.who-num { font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.who-row h3 { color: #fff; font-size: 1.12rem; font-weight: 600; }
.who-row p { color: var(--on-dark-muted); font-size: .95rem; margin-top: 4px; line-height: 1.5; }

/* ---------- Blog slider (homepage) ---------- */
.slider-nav { display: flex; align-items: center; gap: 10px; }
.slider-nav .link-arrow { margin-right: 10px; }
.slide-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.slide-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slide-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.slide-btn:disabled { opacity: .35; cursor: default; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px 2px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .slider-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { .slider-track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }
.slider-track:focus-visible { outline-offset: 6px; }
@media (max-width: 639px) {
  #blog .section-head-row { align-items: flex-start; }
  .slider-nav { width: 100%; }
  .slider-nav .link-arrow { margin-right: auto; }
}
.cta-box .cta-form { margin-top: var(--s2); font-size: .95rem; color: rgba(255,255,255,.85); }
.cta-box .cta-form a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sharp-cornered buttons everywhere ---------- */
.btn, .quick-msg, .slide-btn, .hero-card-list a, .svc-jump a { border-radius: 0; }
.btn:focus-visible, .quick-msg:focus-visible, .slide-btn:focus-visible { border-radius: 0; }

/* Floating WhatsApp: logo only */
.quick-msg { width: 60px; height: 60px; min-height: 0; padding: 0; justify-content: center; gap: 0; }
.quick-msg svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }

/* In-article photos and form box */
.post-figure { margin: 2em 0 !important; }
.post-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.form-box {
  margin: 2.2em 0 !important; padding: var(--s4); border: 1px solid var(--line); border-left: 4px solid var(--primary);
  background: var(--surface); display: grid; gap: var(--s3);
}
@media (min-width: 760px) { .form-box { grid-template-columns: 1fr auto; align-items: center; } }
.form-box-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }
.form-box p { margin: 0; font-size: 1rem; color: var(--muted); }
.form-box-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-box .btn { text-decoration: none; min-height: 48px; }
