/* ProductVelocity — recreated from the original Wix design */
:root {
  --navy: #3c518d;
  --navy-600: #4b66b1;
  --navy-400: #5c75ba;
  --navy-300: #93a3d1;
  --lavender: #dbe0f0;
  --lavender-200: #c9d1e8;
  --orange: #ca7725;
  --cream: #f7ede0;
  --font-head: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Nunito Sans', 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--navy); font-family: var(--font-body); font-weight: 300; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 700; color: var(--navy); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--cream); font-size: 13px; }
.topbar .wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a { text-decoration: none; color: var(--navy); }
.topbar a:hover { color: var(--orange); }
.topbar .contact { display: flex; gap: 28px; }
.brand { display: flex; justify-content: center; padding: 22px 20px 6px; }
.brand img { width: 250px; }

/* ---------- Hero ---------- */
.hero { max-width: 800px; margin: 26px auto 0; padding: 0 24px; display: grid; grid-template-columns: 420px 330px; justify-content: center; align-items: center; transform: translateX(-30px); }
.wheel-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--navy); box-shadow: 0 10px 14px -6px rgba(0,0,0,.35); width: 420px; height: 350px; margin: 0; padding: 6px 30px 4px; }
.wheel-card img { width: 100%; height: 100%; object-fit: contain; }
.mission { background: var(--navy); color: #fff; padding: 24px 28px; min-height: 310px; display: flex; align-items: center; }
.mission h1 { font-family: var(--font-body); font-weight: 300; font-size: 14.5px; line-height: 1.8; text-align: center; color: #fff; }

/* ---------- Services intro ---------- */
.intro { max-width: 640px; margin: 34px auto 0; padding: 0 24px 0 74px; }
.intro h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.15; color: var(--navy); margin-bottom: 18px; letter-spacing: -.005em; }
.intro p { font-size: 15px; line-height: 1.8; color: var(--navy-400); }
.intro p + p { margin-top: 1.6em; }

/* ---------- Services band ---------- */
.band { background: var(--lavender); max-width: 1440px; margin: 22px auto 0; padding: 50px 24px 48px; width: calc(100% - 80px); }
.services { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; }
.service .photo { aspect-ratio: 293 / 300; overflow: hidden; }
.service .photo img { width: 100%; height: 100%; object-fit: cover; }
.service .card { background: #fff; margin: -50px 12px 0; padding: 16px 14px 18px; position: relative; flex: 1; }
.service h3 { font-family: var(--font-body); font-weight: 400; font-size: 14.5px; line-height: 1.6; text-align: center; color: var(--navy); margin-bottom: 8px; }
.service p { font-size: 13px; line-height: 1.75; color: var(--navy-400); }

/* ---------- Blog grid ---------- */
.rule { max-width: 680px; height: 1px; background: var(--navy-300); border: 0; margin: 10px auto 0; }
.blog-grid { max-width: 700px; margin: 12px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: #fff; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,40,.28) 0%, rgba(20,24,40,.18) 45%, rgba(20,24,40,.6) 100%); transition: background .3s; }
.tile:hover img { transform: scale(1.04); }
.tile:hover::after { background: linear-gradient(180deg, rgba(20,24,40,.4) 0%, rgba(20,24,40,.3) 45%, rgba(20,24,40,.75) 100%); }
.tile .meta { position: absolute; z-index: 1; top: 14px; left: 14px; font-size: 10.5px; }
.tile .title { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; font-family: var(--font-head); font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 40px 20px 34px; font-size: 13px; }
.site-footer a { text-decoration: none; color: var(--navy); }
.site-footer a:hover { color: var(--orange); }
.site-footer .copy { margin-top: 6px; font-size: 11.5px; color: var(--navy-300); }

/* ---------- Blog post ---------- */
.post-shell { max-width: 940px; margin: 40px auto 0; padding: 0 24px; }
.post-nav { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 22px; }
.post-nav a { text-decoration: none; color: var(--navy); }
.post-nav a:hover { color: var(--orange); }
.post { border: 1px solid var(--lavender-200); padding: 56px 98px 40px; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy); margin-bottom: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #c9cdd6; display: grid; place-items: center; color: #fff; }
.avatar svg { width: 18px; height: 18px; }
.post h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(28px, 3.4vw, 37px); line-height: 1.4; color: var(--navy); margin-bottom: 28px; }
.post-body { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.6; color: var(--navy); }
.post-body p, .post-body ul, .post-body ol, .post-body h2, .post-body h3 { margin: 0 0 1.3em; }
.post-body h2, .post-body h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.35; }
.post-body h2 { font-size: 26px; } .post-body h3 { font-size: 21px; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body a { color: var(--navy-600); }
.post-body figure { margin: 2em 0 1em; }
.post-body figure img { width: 100%; }
.post-foot { border-top: 1px solid var(--lavender-200); margin-top: 26px; padding-top: 16px; display: flex; gap: 18px; align-items: center; }
.post-foot a { color: var(--navy); display: inline-flex; }
.post-foot a:hover { color: var(--orange); }
.post-foot svg { width: 16px; height: 16px; }
.post-foot .label { font-size: 13px; margin-right: 4px; }

.recent { max-width: 940px; margin: 40px auto 0; padding: 0 24px; }
.recent-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.recent-head h2 { font-family: var(--font-head); font-weight: 400; font-size: 19px; }
.recent-head a { font-size: 13px; text-decoration: none; color: var(--navy); }
.recent-head a:hover { color: var(--orange); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card-post { border: 1px solid var(--lavender-200); text-decoration: none; color: var(--navy); display: flex; flex-direction: column; transition: box-shadow .25s; }
.card-post:hover { box-shadow: 0 6px 18px rgba(60,81,141,.14); }
.card-post .img { aspect-ratio: 16 / 9; overflow: hidden; }
.card-post img { width: 100%; height: 100%; object-fit: cover; }
.card-post .txt { padding: 18px 22px 22px; }
.card-post h3 { font-family: var(--font-head); font-weight: 400; font-size: 18px; line-height: 1.35; }
.card-post .meta { font-size: 12.5px; margin-top: 10px; color: var(--navy-400); }
.card-post .excerpt { font-size: 14px; line-height: 1.6; margin-top: 10px; color: var(--navy-400); }

/* All posts page */
.all-posts { max-width: 940px; margin: 40px auto 0; padding: 0 24px; }
.all-posts h1 { font-family: var(--font-head); font-weight: 400; font-size: 36px; margin-bottom: 26px; }
.all-posts .cards { grid-template-columns: repeat(2, 1fr); }

.notfound { text-align: center; max-width: 600px; margin: 80px auto; padding: 0 24px; }
.notfound h1 { font-family: var(--font-head); font-weight: 400; font-size: 40px; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; justify-items: center; gap: 0; transform: none; }
  .wheel-card { width: min(420px, 100%); height: auto; aspect-ratio: 420 / 350; }
  .mission { max-width: 420px; width: 100%; height: auto; padding: 30px 26px; }
  .intro { padding: 0 24px; }
  .band { width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .post { padding: 40px 36px 30px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cards .card-post:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .topbar .wrap { padding: 0 16px; font-size: 12px; }
  .topbar .contact { gap: 14px; }
  .brand img { width: 190px; }
  .services { grid-template-columns: 1fr; max-width: 340px; }
  .service .photo { aspect-ratio: 16 / 10; }
  .mission { min-height: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
  .tile .title { font-size: 13.5px; }
  .post-shell, .recent, .all-posts { padding: 0 14px; }
  .post { padding: 28px 20px 24px; }
  .post-body { font-size: 16.5px; }
  .cards, .all-posts .cards { grid-template-columns: 1fr; }
  .cards .card-post:nth-child(3) { display: flex; }
}
