/* ============================================================
   RISE Consulting Group — main stylesheet
   Design tokens extracted from the original site (Conult/Elementor):
   primary #0787D9 · secondary/navy #00294B · text #696969
   Headings: Gilmer · Body: Roboto (system fallback)
   ============================================================ */

@font-face {
  font-family: 'Gilmer';
  src: url('../fonts/gilmerregular.woff2') format('woff2'), url('../fonts/GilmerRegular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('../fonts/gilmermedium.woff2') format('woff2'), url('../fonts/GilmerMedium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('../fonts/gilmerbold.woff2') format('woff2'), url('../fonts/GilmerBold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --blue: #067BC5;
  --navy: #00294B;
  --navy-dark: #001F39;
  --text: #696969;
  --light: #F2F6FA;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 41, 75, .08);
  --heading: 'Gilmer', 'Segoe UI', sans-serif;
  --body: 'Roboto', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); font-size: 16px; line-height: 1.7; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
h1,h2,h3,h4,h5 { font-family: var(--heading); color: var(--navy); line-height: 1.25; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.section-tag { color: var(--blue); font-family: var(--heading); font-weight: 500; letter-spacing: .5px; margin-bottom: 8px; display: block; }
.section-tag::before { content: "— "; }
h2.section-title { font-size: 40px; margin-bottom: 18px; }
.center { text-align: center; }

.btn {
  display: inline-block; background: var(--blue); color: #fff; font-family: var(--heading);
  font-weight: 500; padding: 14px 32px; border-radius: 6px; border: 2px solid var(--blue);
  transition: all .25s; cursor: pointer; font-size: 16px;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--navy); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-dark); color: #cfe0ee; font-size: 14px; padding: 9px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #cfe0ee; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 24px; align-items: center; }

/* ---------- header ---------- */
header.site { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
header.site .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo img { height: 46px; width: auto; }
nav.main { display: flex; align-items: center; gap: 34px; }
nav.main > ul { list-style: none; display: flex; gap: 34px; }
nav.main > ul > li { position: relative; }
nav.main a { color: #fff; font-family: var(--heading); font-weight: 500; font-size: 16px; padding: 30px 0; display: inline-block; }
nav.main a:hover { color: #7cc4ef; }
nav.main li.has-sub > a::after { content: " ▾"; font-size: 11px; opacity: .8; }
nav.main .sub {
  position: absolute; top: 100%; left: -18px; background: #fff; min-width: 210px; border-radius: 8px;
  box-shadow: var(--shadow); list-style: none; padding: 10px 0; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .25s;
}
nav.main li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
nav.main .sub a { color: var(--navy); padding: 9px 22px; display: block; font-weight: 500; }
nav.main .sub a:hover { color: var(--blue); background: var(--light); }
.call-now { display: flex; align-items: center; gap: 12px; color: #fff; }
.call-now .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.call-now small { display: block; color: #9db8cd; font-size: 13px; }
.call-now a { color: #fff; font-family: var(--heading); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- hero slider ---------- */
.hero { position: relative; height: 640px; overflow: hidden; padding: 0; background: var(--navy); }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.hero .slide.active { opacity: 1; }
.hero .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,25,46,.82) 25%, rgba(0,25,46,.25) 70%); z-index: 1; }
.hero .slide img.bg { width: 100%; height: 100%; object-fit: cover; }
.hero .slide .caption { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 100%; }
.hero .caption h1 { color: #fff; font-size: 56px; max-width: 640px; margin-bottom: 14px; }
.hero .caption p { color: #dbe9f5; font-size: 20px; max-width: 560px; margin-bottom: 30px; }
.hero .dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero .dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero .dots button.on { background: var(--blue); border-color: var(--blue); }

/* ---------- services cards ---------- */
.services-strip { background: var(--light); padding-top: 90px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }
.card .photo { height: 210px; overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .photo img { transform: scale(1.06); }
.card .body { padding: 26px 28px 30px; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--blue); }
.card p { font-size: 15px; }
.card .more { font-family: var(--heading); font-weight: 500; margin-top: 14px; display: inline-block; }

/* ---------- split section (Let RISE Help You) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .img-blob img { border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%; box-shadow: var(--shadow); }
.badge-line { display: flex; align-items: center; gap: 14px; font-family: var(--heading); font-weight: 700; color: var(--navy); font-size: 19px; margin: 18px 0; }
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; margin: 18px 0 24px; }
.check-cols span { font-weight: 500; color: var(--navy); }
.check-cols span::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 9px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(rgba(0,31,57,.88), rgba(0,31,57,.88)), url('../images/misc/let-rise-help.jpg') center/cover; text-align: center; padding: 90px 20px; }
.cta-band h2 { color: #fff; font-size: 42px; margin-bottom: 10px; }
.cta-band p { color: #c9dcec; font-size: 18px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 32px; }

/* ---------- testimonials ---------- */
.testimonials { background: var(--light); }
.t-slider { position: relative; max-width: 860px; margin: 40px auto 0; }
.t-slide { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 50px; text-align: center; }
.t-slide.active { }
.t-slide blockquote { font-size: 17px; font-style: italic; margin-bottom: 24px; }
.t-slide .who { font-family: var(--heading); font-weight: 700; color: var(--navy); }
.t-slide .who small { display: block; color: var(--blue); font-weight: 500; margin-top: 3px; }
.t-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.t-nav button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--blue); background: transparent; cursor: pointer; padding: 0; }
.t-nav button.on { background: var(--blue); }

/* ---------- stats ---------- */
.stats { background: var(--navy); position: relative; overflow: hidden; }
.stats .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stats .num { font-family: var(--heading); font-weight: 700; font-size: 54px; color: #fff; }
.stats .num span { color: var(--blue); }
.stats .lbl { color: #b9cede; font-size: 17px; }

/* ---------- articles ---------- */
.articles .cards .meta { font-size: 13px; color: #6e6e6e; display: flex; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.articles .cards .meta a { color: var(--blue); }
.articles .card h3 { font-size: 19px; }

/* ---------- team ---------- */
.team { background: var(--light); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px; margin-top: 40px; }
.member { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; padding-bottom: 22px; transition: transform .25s; }
.member:hover { transform: translateY(-5px); }
.member img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; object-position: top; margin-bottom: 16px; }
.member h3 { font-size: 18px; }
.member h3 a { color: var(--navy); }
.member h3 a:hover { color: var(--blue); }
.member .role { color: var(--blue); font-size: 14px; font-weight: 500; }

/* ---------- accordion (Reasons to Hire) ---------- */
.accordion { max-width: 900px; margin: 40px auto 0; }
.acc-item { background: #fff; border: 1px solid #e3ecf3; border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
.acc-item button.q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 54px 20px 24px;
  font-family: var(--heading); font-weight: 700; font-size: 17px; color: var(--navy); position: relative;
}
.acc-item button.q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 24px; font-weight: 400; }
.acc-item.open button.q::after { content: "–"; }
.acc-item .a { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 24px; }
.acc-item.open .a { max-height: 260px; padding-bottom: 20px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(rgba(0,31,57,.82), rgba(0,31,57,.82)), url('../images/misc/let-rise-help.jpg') center/cover; padding: 84px 0; }
.page-hero h1 { color: #fff; font-size: 46px; }
.page-hero .crumbs { color: #9db8cd; font-size: 14px; margin-top: 8px; }
.page-hero .crumbs a { color: #cfe0ee; }

/* ---------- prose (article/legal bodies) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 28px; margin: 36px 0 14px; }
.prose h3 { font-size: 22px; margin: 28px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose .art-meta { color: #6e6e6e; font-size: 14px; margin-bottom: 26px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; }
.info-tile { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 18px; }
.info-tile .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.info-tile h3 { font-size: 17px; margin-bottom: 3px; }
form.contact label { display: block; font-family: var(--heading); font-weight: 500; color: var(--navy); margin: 16px 0 6px; }
form.contact input, form.contact textarea {
  width: 100%; border: 1px solid #dbe6ef; border-radius: 6px; padding: 13px 15px; font-family: var(--body);
  font-size: 15px; color: #333; background: #fff;
}
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-note { font-size: 13px; line-height: 1.5; margin: 15px 0; color: #666; }
.form-note a { text-decoration: underline; }

/* ---------- footer ---------- */
footer.site { background: var(--navy-dark); color: #b9cede; padding: 70px 0 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
footer.site h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 10px; }
footer.site a { color: #b9cede; }
footer.site a:hover { color: #fff; }
footer.site .logo img { height: 52px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 14px; color: #7f9ab2; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  h2.section-title { font-size: 32px; }
  .hero { height: 540px; }
  .hero .caption h1 { font-size: 38px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main > ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy);
    flex-direction: column; gap: 0; padding: 12px 24px 20px;
  }
  nav.main.open > ul { display: flex; }
  nav.main a { padding: 12px 0; }
  nav.main .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding-left: 16px; }
  nav.main .sub a { color: #cfe0ee; }
  .nav-toggle { display: block; }
  .call-now { display: none; }
  .stats .grid { grid-template-columns: 1fr; }
}

/* ============ MOTION / "FANCY" LAYER ============ */
@media (prefers-reduced-motion: no-preference) {
  /* Ken Burns slow zoom-pan on active hero slide (Slider-Revolution feel) */
  .hero .slide.active img.bg { animation: kenburns 9s ease-out forwards; }
  @keyframes kenburns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.1) translate(-1.5%, -1%); }
  }
  /* Staged caption entrance */
  .hero .slide.active .caption h1 { animation: riseUp .9s .15s cubic-bezier(.2,.8,.2,1) both; }
  .hero .slide.active .caption p { animation: riseUp .9s .45s cubic-bezier(.2,.8,.2,1) both; }
  .hero .slide.active .caption .btn, .hero .slide.active .caption .btn.ghost { animation: riseUp .9s .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes riseUp {
    from { opacity: 0; transform: translateY(46px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .cards > .reveal:nth-child(2), .team-grid > .reveal:nth-child(3n+2) { transition-delay: .12s; }
  .cards > .reveal:nth-child(3), .team-grid > .reveal:nth-child(3n) { transition-delay: .24s; }
  .cards > .reveal:nth-child(4) { transition-delay: .36s; }
  .cards > .reveal:nth-child(5) { transition-delay: .48s; }
  /* Floating decorative shapes */
  .float-shape { position: absolute; opacity: .5; pointer-events: none; animation: floaty 7s ease-in-out infinite; }
  .float-shape.s2 { animation-duration: 9s; animation-delay: 1.2s; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(4deg); }
  }
  .img-blob img { animation: blobmorph 12s ease-in-out infinite; }
  @keyframes blobmorph {
    0%,100% { border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%; }
    50% { border-radius: 52% 48% 44% 56% / 52% 56% 44% 48%; }
  }
}
/* Watch-video button + lightbox (always available) */
.play-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--heading); font-weight: 500; margin-left: 22px; }
.play-link .pb { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all .25s; }
.play-link:hover .pb { background: var(--blue); border-color: var(--blue); }
.video-lightbox { position: fixed; inset: 0; background: rgba(0,15,28,.9); z-index: 300; display: none; align-items: center; justify-content: center; padding: 4vw; }
.video-lightbox.open { display: flex; }
.video-lightbox video { width: min(1100px, 100%); max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.video-lightbox .close-x { position: absolute; top: 22px; right: 30px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* Services: centered pair row above the trio */
.cards-pair { grid-template-columns: repeat(2, minmax(280px, 1fr)); max-width: 810px; margin-left: auto; margin-right: auto; }
.cards-pair + .cards { margin-top: 30px; }
@media (max-width: 960px) { .cards-pair { grid-template-columns: 1fr; } }

/* ============ LIVE-SITE PARITY COMPONENTS ============ */
/* testimonials 2-up with stars */
.t-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.t-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 36px; text-align: left; position: relative; }
.t-card::after { content: "”"; position: absolute; right: 26px; bottom: 6px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: #e4edf5; }
.t-card .stars { color: var(--blue); letter-spacing: 3px; font-size: 17px; margin-bottom: 14px; }
.t-card blockquote { font-size: 15.5px; font-style: italic; margin-bottom: 18px; color: #5a6a77; }
.t-card .who { font-family: var(--heading); font-weight: 700; color: var(--navy); }
.t-card .who small { display: block; color: var(--blue); font-weight: 500; margin-top: 2px; }
.t-slide { background: none; box-shadow: none; padding: 0; }
.t-slider { max-width: 1000px; }
@media (max-width: 860px) { .t-pair { grid-template-columns: 1fr; } }

/* A Partner You Can Trust band */
.stats { background: var(--light); padding: 80px 0; }
.partner-band { background: var(--navy); border-radius: 14px; padding: 46px 54px 54px; position: relative; overflow: hidden; }
.partner-band::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; background: var(--blue); opacity: .25; border-radius: 34% 66% 55% 45% / 45% 40% 60% 55%; }
.pb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 34px; }
.pb-head h2 { color: #fff; font-size: 38px; max-width: 380px; }
.pb-photo { width: 46%; max-width: 520px; border-radius: 8px; margin-top: -8px; }
.stat-item { display: flex; align-items: center; gap: 16px; text-align: left; }
.stat-ic { width: 74px; height: 74px; flex: none; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: rgba(255,255,255,.05); }
@media (max-width: 860px) { .pb-head { flex-direction: column; } .pb-photo { width: 100%; } .partner-band { padding: 34px 26px; } }

/* case studies */
.case-studies { background: #fff; }
.case-card { max-width: 760px; margin: 30px auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: left; display: grid; grid-template-columns: 300px 1fr; }
.case-card img { width: 100%; height: 100%; object-fit: cover; }
.case-card .cc-body { padding: 28px 30px; }
.case-card .cc-cats { color: var(--blue); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.case-card h3 { font-size: 21px; margin-bottom: 10px; }
.case-card h3 a { color: var(--navy); }
.case-card h3 a:hover { color: var(--blue); }
@media (max-width: 700px) { .case-card { grid-template-columns: 1fr; } .case-card img { max-height: 220px; } }

/* carousels */
.carousel-wrap { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; grid-template-columns: none !important; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.team-car { grid-auto-columns: minmax(230px, 262px); }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  box-shadow: 0 6px 18px rgba(0,41,75,.18); font-size: 24px; cursor: pointer; transition: all .2s;
}
.car-btn:hover { background: var(--blue); color: #fff; }
.car-btn.prev { left: -14px; }
.car-btn.next { right: -14px; }

/* article image badges */
.card .photo { position: relative; }
.card .photo .badge {
  position: absolute; left: 14px; bottom: 14px; background: var(--blue); color: #fff;
  font-family: var(--heading); font-size: 12.5px; padding: 6px 12px; border-radius: 4px; display: flex; gap: 10px; align-items: center;
}
.card .photo .badge b { font-weight: 700; border-right: 1px solid rgba(255,255,255,.4); padding-right: 10px; }

/* hero mosaic strips transition */
.hero .mosaic { position: absolute; inset: 0; z-index: 4; display: none; pointer-events: none; }
.hero .mosaic.on { display: block; }
.hero .mosaic i {
  position: absolute; top: 0; bottom: 0; background-size: cover; background-position: center;
  opacity: 0; animation: stripIn .55s cubic-bezier(.3,.7,.3,1) forwards;
}
@keyframes stripIn { from { opacity: 0; transform: translateY(18px) scaleY(1.06); } to { opacity: 1; transform: none; } }

/* ============ ARTICLES BLOG LAYOUT (live-site style) ============ */
.blog-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.post-card { margin-bottom: 54px; }
.pc-img { width: 100%; border-radius: 6px 6px 0 0; display: block; max-height: 430px; object-fit: cover; }
.pc-box {
  position: relative; background: #fff; box-shadow: var(--shadow);
  margin: -70px 34px 0; padding: 28px 32px 30px; border-radius: 4px;
}
.pc-meta { display: flex; gap: 22px; font-size: 14px; color: #6e6e6e; margin-bottom: 10px; flex-wrap: wrap; }
.pc-box h2 { font-size: 26px; margin-bottom: 12px; }
.pc-box h2 a { color: var(--navy); }
.pc-box h2 a:hover { color: var(--blue); }
.pc-btn { background: #fff; color: var(--navy); border: 1px solid #d7e2ec; padding: 11px 26px; font-size: 14.5px; margin-top: 16px; }
.pc-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.side-box, .side-cta { background: #fff; box-shadow: var(--shadow); border-radius: 6px; padding: 26px 28px; margin-bottom: 26px; }
.side-box h4, .side-cta h4 { font-size: 18px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; }
.side-box h4::after { content: "— —"; display: block; color: var(--blue); font-size: 13px; letter-spacing: 2px; margin-top: 2px; }
.side-cats { list-style: none; margin-top: 12px; }
.side-cats li { border-bottom: 1px solid #eef3f8; }
.side-cats a { display: block; padding: 9px 0; color: var(--text); }
.side-cats a:hover, .side-cats a.on { color: var(--blue); }
.recent-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef3f8; color: var(--navy); font-family: var(--heading); font-weight: 500; font-size: 14.5px; line-height: 1.4; }
.recent-item:last-child { border-bottom: 0; }
.recent-item img { width: 62px; height: 62px; object-fit: cover; border-radius: 4px; flex: none; }
.recent-item:hover span { color: var(--blue); }
.side-cta { background: var(--navy); }
.side-cta h4 { color: #fff; }
.side-cta p { color: #b9cede; font-size: 14.5px; margin: 8px 0 16px; }
@media (max-width: 960px) { .blog-wrap { grid-template-columns: 1fr; } .pc-box { margin: -50px 16px 0; } }

/* ---------- P1 fix: constant-height testimonial slider ----------
   All slides occupy the same grid cell; the tallest slide sets the height,
   so auto-rotation never reflows the page (no scroll-anchor fighting). */
.t-slider { display: grid; grid-template-rows: 1fr auto; overflow-anchor: none; }
.t-slider > .t-slide {
  grid-row: 1; grid-column: 1; display: block;
  visibility: hidden; opacity: 0; transition: opacity .6s ease;
}
.t-slider > .t-slide.active { visibility: visible; opacity: 1; }
.t-slider > .t-nav { grid-row: 2; grid-column: 1; }

/* Articles carousel: show exactly 3 full cards per view on desktop (no mid-card clip) */
@media (min-width: 961px) {
  .articles .car-track { grid-auto-columns: calc((100% - 60px) / 3); }
}

/* Stat icons are inline SVG now */
.stat-ic { color: #fff; }
.stat-ic svg { display: block; }

/* Founder intro (contact / consultation) */
.founder-intro { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 26px; }
.founder-intro > img { width: 150px; aspect-ratio: 1/1.15; object-fit: cover; object-position: top; border-radius: 10px; flex: none; box-shadow: var(--shadow); }
.founder-sig { margin-top: 12px; color: var(--navy); font-family: var(--heading); font-weight: 700; }
@media (max-width: 600px) { .founder-intro { flex-direction: column; } }

/* Play button over blob images (opens promo video lightbox) */
.img-blob { position: relative; }
.blob-play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(0,41,75,.4); transition: transform .2s, background .2s;
}
.blob-play:hover { background: var(--navy); transform: scale(1.07); }
.blob-play svg { margin-left: 4px; }

/* ---------- accessibility layer ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 22px; font-family: var(--heading);
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
/* keyboard-visible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid currentColor; outline-offset: 3px; border-radius: 2px;
}
/* keyboard access to dropdown submenus */
nav.main li:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
/* slider pause/play buttons */
.slider-pause {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; background: transparent;
  cursor: pointer; font-size: 12px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; margin-left: 6px;
}
.hero .dots .slider-pause { color: #fff; width: 28px; height: 28px; }
.t-nav .slider-pause { color: var(--blue); }

/* in-text links must not rely on color alone (WCAG 1.4.1) */
.more, .prose p a, .prose li a, footer.site .cols > div:first-child p a { text-decoration: underline; text-underline-offset: 3px; }
