/* Lotterease — single stylesheet, no framework.
   Values are taken from the original Elementor build and checked against it at widths from 320px to 2560px.
   Breakpoints match the original: tablet 768–1024px, phone up to 767px. */

/* Self-hosted copies of the exact font files the WordPress site loaded from Google Fonts (Poppins: OFL, Roboto: OFL). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/roboto-latin.woff2") format("woff2"); }

:root {
  --purple: #6a2468;
  --purple-hero: #6b2569;
  --orange: #ff7f27;
  --green: #5dbc44;
  --ink: #272b36;
  --text: #606060;
  --muted: #828282;
  --slate: #8d94a8;
  --gray: #f7f7f7;
  --white: #fff;
  --header-h: 147px;
  --head: "Poppins", sans-serif;
  --body: "Roboto", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 15px/28px var(--body); color: var(--muted); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font: 600 40px/44px var(--head); letter-spacing: -1px; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1140px, 100% - 30px); margin-inline: auto; }
.center { text-align: center; }

.eyebrow { font: 600 14px/24px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.eyebrow--white { color: var(--white); }

.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
.icon { flex: none; }

@media (max-width: 1024px) { h1, h2, h3 { font-size: 32px; line-height: 40px; } }
@media (max-width: 767px) { h1, h2, h3 { font-size: 28px; line-height: 36px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 27px; border: 0; border-radius: 0; cursor: pointer; text-align: center;
  font: 600 12px/18px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--white);
  transition: filter .3s;
}
.btn:hover { filter: brightness(.92); }
.btn--orange { background: var(--orange); }
.btn--purple { background: var(--purple); }
.btn--wide { padding: 16px 32px; }

/* ---------- Header (sits over the top of the page and scrolls away, like the original) ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; }
.header-inner { display: flex; align-items: center; height: 114px; padding: 15px 50px; background: var(--white); }
.brand { flex: none; width: 25%; } /* the original logo column: 294px at 1280 */
.brand img { width: 100%; }
.nav-desktop { margin-left: 8px; }
.nav-desktop ul { display: flex; flex-wrap: wrap; }
.nav-desktop a { display: block; padding: 0 15px; font: 500 16px/25.6px var(--head); color: #000; transition: color .3s; }
.nav-desktop a:hover { color: var(--orange); }

.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10%; color: #000; transition: transform .3s; }
.social a:hover { transform: scale(1.1); }
.social--header { margin-left: auto; margin-right: 4px; }

.menu-toggle { display: none; margin-left: auto; padding: 0; border: 0; background: none; color: #000; line-height: 0; cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 27px; }

/* Slide-in menu (phones) */
.nav-mobile {
  position: fixed; inset: 0 0 0 auto; width: 270px; height: 100%; max-height: none; margin: 0; padding: 10px 5px;
  border: 0; background: var(--white); overflow-y: auto;
  translate: 100% 0; transition: translate .2s cubic-bezier(.35, .19, .45, .91), overlay .2s allow-discrete, display .2s allow-discrete;
}
.nav-mobile:popover-open { translate: 0 0; }
@starting-style { .nav-mobile:popover-open { translate: 100% 0; } }
.nav-mobile::backdrop { background: transparent; }
.nav-close { position: absolute; top: 10px; right: 10px; padding: 0; border: 0; background: none; line-height: 0; color: #000; cursor: pointer; }
.nav-close .icon { width: 10px; height: 15px; }
.nav-mobile a { display: block; padding: 8px 15px; font: 500 16px/25.6px var(--head); color: #000; }
.nav-mobile a:hover { color: var(--orange); }

/* Tablet: logo, nav and icons in 20/60/20 columns; the nav wraps onto a second row, the icons stack. */
@media (max-width: 1024px) {
  .header-inner { display: grid; grid-template-columns: 20% 60% 20%; height: auto; padding: 4% 10%; }
  .brand { width: auto; }
  .brand img { width: 100%; }
  .nav-desktop { margin: 0; }
  .nav-desktop ul { justify-content: center; }
  .nav-desktop a { padding: 8px 15px; }
  .social--header { flex-wrap: wrap; justify-content: flex-end; gap: 0 5px; margin: 0; }
}
@media (max-width: 767px) {
  .header-inner { display: flex; padding: 7% 10%; }
  .brand { width: 70%; }
  .nav-desktop, .social--header { display: none; }
  .menu-toggle { display: block; margin-right: 7.5px; }
}

/* ---------- Home hero ---------- */
.hero { padding: 10% 5% 3%; }
.hero-grid { display: grid; grid-template-columns: 442fr 65fr 645fr; grid-template-rows: minmax(70vh, auto); }
.hero-card {
  grid-area: 1 / 1 / 2 / 3; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 70px 50px 80px 70px; background: var(--purple-hero); border-radius: 70px 30px;
}
.hero-card h1 { margin-bottom: 20px; font-size: 45px; line-height: 57px; color: var(--white); }
.hero-card p { margin: 0 50px 25px 0; font: 400 18px/30px var(--body); color: var(--white); }
.btn--hero { align-self: flex-start; padding: 16px 50px; line-height: 18px; }
.hero-img { grid-area: 1 / 2 / 2 / 4; width: 100%; height: 100%; contain: size; object-fit: cover; border-radius: 0 30px 30px 0; }
@media (max-width: 1024px) {
  .hero { padding: 16% 5% 0; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-card { grid-area: auto; padding: 80px 60px; }
  .hero-card p { margin-right: 0; }
  .btn--hero { padding-inline: 52px; }
  .hero-img { grid-area: auto; height: 450px; margin-top: -80px; contain: none; border-radius: 0 0 50px 50px; }
}
@media (max-width: 767px) {
  .hero { padding: 35% 5% 0; }
  .hero-card { padding: 30px 35px 57px; border-radius: 30px 30px 0 0; }
  .hero-card h1 { margin: 18px 0 20px; font-size: 35px; line-height: 45px; }
  .hero-card p { margin-bottom: 10px; }
  .btn--hero { align-self: stretch; }
  .hero-img { height: calc(305px + 9vw); margin-top: 0; border-radius: 0 0 30px 30px; }
}
@media (min-width: 480px) and (max-width: 767px) {
  /* the original card gains space above and below its text as the screen widens */
  .hero-card { padding-bottom: calc(62px + 5.23vw); }
  .hero-card h1 { margin-top: calc(23px + 5.23vw); }
}
@media (max-width: 479.98px) {
  .hero-img { height: 285px; }
}

/* ---------- Media in a purple frame (Build Trust, Waitlists, Notifications) ---------- */
.trust { padding: 130px 0; }
.trust-grid { display: grid; grid-template-columns: 48.68% 12.37% 38.95%; align-items: center; }
.feature--framed .feature-grid { grid-template-columns: 48.68% 12.89% 38.43%; }
.trust-media, .feature--framed .feature-media { position: relative; background: var(--purple); border-radius: 15px; }
.trust-media video, .feature--framed .feature-media img {
  position: relative; left: 20px; top: -20px; width: 100%; border-radius: 15px; background: #000;
}
.trust-media video { aspect-ratio: 16 / 9; object-fit: cover; }
.trust-body { grid-column: 3; }
.trust-title { display: flex; align-items: flex-start; }
.trust-title h2 { flex: none; width: 326px; margin: 10px 0 0 10px; line-height: 50px; }
.trust-title img { flex: none; width: 138px; margin-top: -15px; }
.trust-body p { margin: 30px 0 20px; }
@media (max-width: 1024px) {
  .trust { padding: 80px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-media { margin-right: 15px; }
  .trust-body { grid-column: 2; padding-left: 30px; }
  .trust-title { align-items: flex-start; }
  .trust-title h2 { flex: 1; width: auto; line-height: 40px; }
  .trust-title img { width: 25%; margin: 0 -10px -40px 10px; } /* overhangs the column by 10px and does not push the text down, as on the original */
  .trust-body p { margin-bottom: 30px; }
}
@media (max-width: 767px) {
  .trust { padding: 80px 0 50px; }
  .trust-grid { grid-template-columns: 1fr; text-align: center; }
  .trust-media { margin-right: 0; }
  .trust-body { grid-column: 1; padding: 0; }
  .trust-title { flex-direction: column; align-items: center; }
  .trust-title h2 { flex: none; margin: 40px 0 20px; line-height: 36px; }
  .trust-title img { width: 33%; margin: 0; }
  .trust-body p { margin: 10px 0 25px; }
}

/* ---------- Login band ---------- */
.login-band {
  display: grid; align-content: center; min-height: 546px; text-align: center;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url("/assets/img/login-bg.webp") center / cover;
}
.login-band .eyebrow { margin-bottom: 58px; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; }
.login-grid > div:first-child { border-right: 2px solid rgba(255, 255, 255, .47); }
.login-grid h2 { margin-bottom: 60px; line-height: 32px; color: var(--white); }
.login-band--notes .container { width: min(1170px, 100%); }
.login-band--notes .login-grid h2 { margin-bottom: 20px; }
.login-grid p { margin-bottom: 20px; padding: 0 60px; font: 400 16px/28px var(--body); color: var(--white); }
.login-grid div:first-child p { padding: 0 25%; }
.btn--login { padding: 16px 35px; line-height: 20px; border: 1px solid var(--white); }
.login-band--notes .btn--login { padding: 16px 35px; border: 0; }
.login-band--notes .login-grid { align-items: center; }
@media (max-width: 1024px) {
  .login-band { min-height: 610px; }
  .login-band .eyebrow { margin-bottom: 20px; }
  .login-grid h2 { line-height: 40px; }
  .login-band--notes .container { width: calc(100% - 30px); }
  .login-band--notes .login-grid h2 { margin-bottom: 30px; }
  .login-grid p, .login-grid div:first-child p { padding: 0 20px; }
}
@media (max-width: 767px) {
  .login-band { display: block; min-height: 0; padding: 50px 0 60px; }
  .login-band .eyebrow { margin-bottom: 41px; }
  .login-grid { grid-template-columns: 1fr; gap: 20px; }
  .login-grid h2 { margin-bottom: 40px; line-height: 36px; }
  .login-band--notes .login-grid { gap: 30px; }
  .login-band--notes .login-grid h2 { margin-bottom: 40px; }
  .login-band--notes .login-grid p { margin-bottom: 0; }
}

/* ---------- Home testimonial carousel (keyframes are generated in index.html) ---------- */
.home-testimonials { padding: 130px 0; background: var(--gray); }
.home-testimonials .eyebrow { margin-bottom: 13px; }
.home-testimonials h2, .testimonials-intro h2 { line-height: 48px; text-transform: capitalize; }
.quotes-viewport { --per: 3; --gap: 23px; width: min(1140px, 100% - 30px); margin: 100px auto 0; overflow: hidden; container-type: inline-size; }
.quotes-track { --slide: calc((100cqw - (var(--per) - 1) * var(--gap)) / var(--per)); --step: calc(var(--slide) + var(--gap)); display: flex; gap: var(--gap); }
.quote-card, .t-card { flex: none; padding: 55px 50px; background: var(--white); border-radius: 16px; text-align: center; }
/* fixed height with overflow hidden, as on the original (its longest quote is cut off there too) */
.quote-card { display: flex; flex-direction: column; justify-content: center; width: var(--slide); height: 383px; overflow: hidden; padding: 85px 50px 55px; }
.quote-card blockquote, .t-card blockquote { margin: 0 0 25px; font: 400 15px/28px var(--body); color: var(--muted); }
.quote-name { font: 500 14px/26px var(--head); text-transform: uppercase; color: var(--ink); }
.quote-org { font: 400 14px/22px var(--body); color: var(--muted); }
.quote-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: min(1140px, 100% - 30px); margin: 25px auto 0; }
.quote-dots li { width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, .2); }
.brochure-link { display: block; margin-top: 31px; font: 400 15px/24px var(--body); color: var(--slate); text-align: center; }
@media (max-width: 1024px) {
  .home-testimonials { padding: 80px 0; }
  .home-testimonials .eyebrow { margin-bottom: 6px; }
  .home-testimonials h2 { line-height: 40px; }
  .quotes-viewport { --per: 1; --gap: 0px; margin-top: 60px; }
  .quote-card { height: 383px; }
  .quote-dots { display: none; }
  .brochure-link { margin-top: 63px; }
}

@media (max-width: 767px) {
  .home-testimonials { padding: 50px 0; }
  .home-testimonials .eyebrow { margin-bottom: 3px; }
  .home-testimonials h2 { line-height: 36px; }
  .quotes-viewport { --gap: 10px; margin-top: 40px; }
  .quote-card { height: 403px; }
  .quote-dots { display: flex; position: relative; margin-top: -47px; }
  .brochure-link { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) { .quotes-track, .logos-track, .quote-dots li { animation: none !important; } }

/* ---------- Text + image bleeding off the right edge (home teaser, Our System) ---------- */
.teaser, .feature { padding: 130px 0; overflow: hidden; }
.feature--first { padding-top: 65px; }
.teaser-grid, .feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.teaser-body, .feature-body { padding-right: 130px; }
.teaser-media img, .feature-media img { width: 160.7%; max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-left: 30px; border-radius: 15px; }
.teaser-body .eyebrow, .feature-body .eyebrow { margin-bottom: 13px; }
.teaser-body h2, .feature-body h2 { text-transform: capitalize; }
.teaser-body p { margin: 30px 0; }
.checklist { display: grid; gap: 8px; margin-top: 30px; }
.checklist li { display: flex; align-items: center; padding-bottom: 8px; font: 400 15px/24px var(--body); color: var(--muted); text-align: left; }
.checklist li:last-child { padding-bottom: 0; }
.checklist .icon { width: 16px; height: 16px; margin-right: 16px; color: var(--green); }
.checklist span { padding-left: 5px; }

/* framed variant: gray band, purple-framed photo on the left */
.feature--framed { background: var(--gray); }
.feature--framed .feature-grid { grid-template-columns: 48.68% 12.89% 38.43%; }
.feature--framed .feature-body { grid-area: 1 / 3; padding: 0; }
.feature--framed .feature-media { grid-area: 1 / 1; }
.feature--framed .feature-media img { height: auto; aspect-ratio: 3 / 2; margin: 0; object-fit: cover; }
.feature--framed .feature-body h2 { line-height: 50px; text-transform: none; }
.feature--framed .checklist { margin-top: 20px; }

/* Tablet: photo above the text (Notifications keeps the side-by-side frame, like Build Trust). */
@media (max-width: 1024px) {
  .teaser, .feature { padding: 80px 0; }
  .teaser-body h2, .feature-body h2 { line-height: 40px; }
  .teaser-body p { margin-top: 20px; }
  .teaser-grid, .feature-grid, .feature--framed .feature-grid { grid-template-columns: 1fr; }
  .teaser-body, .feature-body, .feature--framed .feature-body { grid-area: 1 / 1; padding: 0; }
  .teaser-media { grid-area: 2 / 1; margin-top: 40px; }
  .teaser-media img, .feature-media img { width: 100%; height: auto; margin: 0; }
  .feature-media, .feature--framed .feature-media { grid-area: 1 / 1; }
  .feature-body, .feature--framed .feature-body { grid-area: 2 / 1; margin-top: 40px; }
  .feature-body .eyebrow { margin-bottom: 11px; }
  .feature--framed .feature-body { padding: 0 15px; }
  .feature--framed .feature-media img { height: auto; aspect-ratio: 3 / 2; }
  .feature--framed .feature-body h2 { line-height: 40px; }
  .feature--side .feature-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .feature--side .feature-media { grid-area: 1 / 1; margin-right: 15px; }
  .feature--side .feature-body { grid-area: 1 / 2; margin: 0; padding: 0 0 0 30px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .teaser .container, .feature:not(.feature--framed) .container { width: calc(100% - 80px); }
  .teaser-body > *, .feature-body > * { max-width: 90%; }
  .feature--inset .feature-body { padding-left: 15px; }
}
@media (max-width: 767px) {
  .teaser, .feature { padding: 50px 0; }
  .teaser-body, .feature:not(.feature--framed) .feature-body { text-align: center; }
  .teaser-body h2, .feature-body h2 { line-height: 36px; }
  .teaser-body .eyebrow { margin-bottom: 6px; }
  .teaser-media img, .feature-media img, .feature--framed .feature-media img { height: auto; aspect-ratio: 3 / 2; }
  .feature-body .eyebrow { margin-bottom: 3px; }
  .feature-body .checklist { margin-top: 20px; }
  .feature--framed .feature-body { margin-top: 30px; padding: 0; }
  .feature--side .feature-grid { grid-template-columns: 1fr; }
  .feature--side .feature-media { margin-right: 0; }
  .feature--side .feature-body { grid-area: 2 / 1; margin-top: 30px; padding: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(70px + 8%) 5% 3%; }
.page-hero--post { padding-top: 8%; }
.page-hero-card {
  display: grid; place-content: center; min-height: 60vh; padding: 100px 200px 80px; border-radius: 50px; text-align: center;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), var(--bg, none) center / cover, var(--ink);
}
.page-hero h1 { font-size: 70px; line-height: 80px; color: var(--white); }
.page-hero--post h1 { font-size: 50px; line-height: 60px; }
.page-hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 10px; }
@media (max-width: 1024px) {
  .page-hero { padding: calc(70px + 16%) 5% 0; }
  .page-hero-card { min-height: 400px; padding: 100px 60px 80px; }
  .page-hero h1 { font-size: 60px; line-height: 80px; }
}
@media (max-width: 767px) {
  .page-hero { padding: calc(70px + 35%) 5% 0; }
  .page-hero-card { min-height: 300px; padding: 60px 35px; }
  .page-hero h1 { font-size: 50px; line-height: 54px; }
}

/* ---------- Testimonials page ---------- */
.school-logos { padding: 20px 0 50px; }
.logos-viewport { --per: 3; --gap: 0px; width: min(1120px, 100% - 30px); margin-inline: auto; overflow: hidden; container-type: inline-size; }
.logos-track { --slide: calc(100cqw / var(--per)); --step: var(--slide); display: flex; }
.logos-track li { flex: none; display: grid; place-items: center; width: var(--slide); height: 321px; }
.logos-track img { max-width: 300px; max-height: 300px; width: auto; border-radius: 0 0 0 21px; }
.testimonials-intro { padding: 130px 15px 0; background: var(--gray); }
.testimonials-intro .eyebrow { margin-bottom: 13px; }
.testimonial-years { padding: 80px 0 130px; background: var(--gray); }
.year-title { margin-bottom: 60px; line-height: 48px; }
.t-row + .year-title { margin-top: 30px; }
.year-title--section { --year-gap: 210px; }
.year-title--section-short { --year-gap: 180px; }
.t-row + .year-title--section, .t-row + .year-title--section-short { margin-top: calc(30px + var(--year-gap)); }
/* Each row is its own carousel, as on the original: per-view and gap follow the old Swiper breakpoints
   (3 or 2 / 23px from 1024px, 2 / 30px from 767px, 1 / 10px below); the faint arrows sit 10px outside the track. */
.t-row { --per: 3; --gap: 23px; position: relative; margin: 0 20px 30px; }
.t-row--2 { --per: 2; }
.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.t-track::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; }
.t-card img, .t-logo-missing { display: block; width: 85px; height: 85px; margin: 0 auto 30px; object-fit: contain; }
.t-arrow {
  position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 21px; height: 21px; margin-top: -10px;
  padding: 0; border: 0; background: none; color: rgba(237, 237, 237, .9); cursor: pointer;
}
.t-arrow .icon { width: 13px; height: 21px; }
.t-arrow--prev { left: -10px; }
.t-arrow--next { right: -10px; }
@media (max-width: 1024px) {
  .testimonial-years .container { width: 100%; }
  .t-row { margin: 0 35px 30px; }
}
@media (max-width: 1023.98px) { .t-row, .t-row--2 { --per: 2; --gap: 30px; } }
@media (max-width: 766.98px) { .t-row, .t-row--2 { --per: 1; --gap: 10px; } }
@media (max-width: 1024px) {
  .school-logos { padding: 50px 0 80px; }
  .logos-viewport { width: calc(100% - 20px); }
  .testimonials-intro { padding: 80px 15px 81px; }
  .testimonials-intro .eyebrow { margin-bottom: 10px; }
  .testimonials-intro h2, .year-title { line-height: 40px; }
  .year-title--section { --year-gap: 160px; }
  .year-title--section-short { --year-gap: 130px; }
}
@media (max-width: 1023.98px) { .logos-viewport { --per: 2; } }
@media (max-width: 767px) {
  .school-logos { padding-bottom: 60px; }
  .logos-viewport { --per: 1; width: calc(100% - 50px); }
  .testimonials-intro { padding: 50px 15px 53px; }
  .testimonials-intro .eyebrow { margin-bottom: 3px; }
  .testimonials-intro h2, .year-title { line-height: 36px; }
  .year-title--section { --year-gap: 100px; }
  .year-title--section-short { --year-gap: 70px; }
  .page-hero-buttons { max-width: 196px; margin-inline: auto; }
  .page-hero--buttons h1 { font-size: 40px; }
}

/* ---------- Blog ---------- */
.blog-list { padding: 70px 0 130px; }
.blog-list .eyebrow { margin-bottom: 13px; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 100px; }
.post-card { overflow: hidden; background: var(--white); border-radius: 15px; box-shadow: 0 0 10px rgba(0, 0, 0, .15); }
.post-card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card-body { padding: 36px 40px 18px; }
.post-card h3, .related-card h3 { font: 500 16px/24px var(--head); letter-spacing: 0; color: var(--ink); }
.post-card-excerpt { margin-top: 13px; }
.post-card-excerpt p { font: 400 15px/28px var(--body); color: var(--muted); }
.read-more { display: inline-block; margin-top: 16px; font: 500 15px/24px var(--head); text-transform: uppercase; color: var(--orange); }
@media (max-width: 1024px) {
  .blog-list { padding: 80px 0; }
  .blog-list .container { width: calc(100% - 80px); }
  .blog-list h2 { line-height: 40px; }
  .post-grid { margin-top: 60px; }
  .post-card-body { padding-top: 38px; }
}
@media (max-width: 767px) {
  .blog-list { padding: 50px 0; }
  .blog-list .container { width: calc(100% - 30px); }
  .blog-list .eyebrow { margin-bottom: 3px; }
  .blog-list h2 { padding-inline: 15px; line-height: 36px; }
  .post-grid { grid-template-columns: 1fr; margin-top: 40px; }
  /* natural proportions, but never shorter than half the card width (as the original crops) */
  .post-card-img img { aspect-ratio: auto; min-height: calc((100vw - 30px) / 2); }
  .post-card-body { padding-top: 40px; }
}

/* ---------- Single post ---------- */
.post { padding: 90px 0 130px; }
.post-grid-layout { display: grid; grid-template-columns: 878fr 292fr; width: min(1170px, 100%); }
.post-main { padding: 0 55px 0 15px; }
.post-content { padding: 10px 10px 0; font: 400 15px/28px var(--body); color: var(--text); }
.post-content strong, .post-content b { font-weight: 600; }
.post-content > * + * { margin-top: 20px; }
.post-content h2, .post-content h3 { font: 700 15px/21px var(--body); letter-spacing: 0; color: #000; }
.post-content ul { padding-left: 20px; list-style: disc; }
.post-content h2 + ul { margin-top: 39px; }
.post-content ul + * { margin-top: 0; }
.post-content a { color: #000; }
.post-content img { margin: 0 auto; }
.share { display: flex; margin: 40px 0 30px -10px; }
.share a { display: grid; place-items: center; width: 45px; height: 45px; color: var(--ink); }
.related-title { font: 500 16px/42px var(--head); letter-spacing: 0; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 25px; }
.related-card { padding: 20px 25px; background: var(--gray); border-radius: 15px; box-shadow: 0 0 10px rgba(0, 0, 0, .15); }
.related-card .read-more { margin-top: 15px; }
.post-sidebar { padding: 0 15px; }
.post-sidebar h2 { margin: 30px 0 20px; font: 500 15px/28px var(--head); letter-spacing: -.5px; }
.post-sidebar h2:first-child { font-size: 16px; letter-spacing: 0; }
.post-sidebar h2:first-child { margin-top: 0; }
.post-sidebar img { width: 220px; }
.post-sidebar p { margin-top: 20px; }
.post-sidebar .share { margin: 0 0 0 -10px; }
.post-sidebar hr { margin: 30px 0; border: 0; border-top: 1px solid #ddd; }
.popular li + li { margin-top: 15px; }
.popular a { display: block; font: 400 14px/20px var(--body); color: var(--ink); }
.popular time { font-size: 12px; line-height: 20px; color: #adadad; }
@media (max-width: 1024px) {
  .page-hero--post { padding: 15% 5% 3%; }
  .page-hero--post .page-hero-card { padding: 100px 60px 80px; }
  .page-hero--post h1 { font-size: 60px; line-height: 60px; }
  .post { padding: 80px 0; }
  .post-grid-layout { grid-template-columns: 1fr; }
  .post-main, .post-sidebar { padding: 0 10%; }
  .post-sidebar { padding-top: 60px; }
}
@media (max-width: 767px) {
  .page-hero--post { padding: 28% 5% 3%; }
  .page-hero--post .page-hero-card { min-height: 300px; padding: 60px 35px; }
  .page-hero--post h1 { font-size: 50px; line-height: 54px; }
  .post { padding: 50px 0; }
  .post-main, .post-sidebar { padding-inline: 15px; }
  .related { grid-template-columns: 1fr; }
  .post-sidebar img { width: 100%; }
}

/* ---------- Partners ---------- */
.partners { padding: 100px 0; background: var(--gray); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: min(1110px, 100%); margin-inline: auto; }
.partner-grid li { display: grid; place-items: center; padding: 100px 15px; background: var(--white); box-shadow: 0 8px 10px -8px rgba(0, 0, 0, .24); }
.partner-grid li:nth-child(2) { padding-block: 50px; }
.partner-grid img { width: auto; max-width: 100%; }
@media (max-width: 1024px) {
  .partner-grid { width: 100%; }
}
/* Phones: one column; the original's three rows of three stay visible as groups 30px apart. */
@media (max-width: 767px) {
  .partner-grid { grid-template-columns: 1fr; gap: 0; }
  .partner-grid li:nth-child(3n):not(:last-child) { margin-bottom: 30px; }
}

/* ---------- Contact (footer) ---------- */
.contact { padding: 130px 0 100px; background: var(--ink); }
.contact .container { width: min(1170px, 100%); }
.contact-grid { display: grid; grid-template-columns: 61.45% 1fr; column-gap: 100px; padding-right: 30px; }
.contact .eyebrow { margin-bottom: 13px; }
.contact-intro { padding: 0 30px 30px 0; color: var(--slate); }
.contact h2 { color: var(--white); }
.contact-form { display: grid; gap: 20px; margin-top: 55px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; padding: 6px 16px; border: 1px solid #dfdfdf; border-radius: 0;
  font: 400 14px/24px var(--body); color: var(--muted); background: var(--white);
}
.contact-form input { height: 47px; }
.contact-form textarea { height: 110px; resize: vertical; }
.contact-form ::placeholder { color: var(--muted); opacity: 1; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.contact-form > [id^="wf_tr_div"] { display: none; } /* Zoho analytics fields; hidden inputs still submit */
.btn--submit { width: 50%; padding: 16px 32px; }
.contact-info { padding-top: 135px; }
.contact-info h3 { font: 500 15px/15px var(--head); letter-spacing: 0; color: var(--white); }
.contact-info p { margin: 20px 0 37px; color: var(--slate); }
.call-link { display: flex; align-items: center; gap: 10px; font: 600 14px/14px var(--head); letter-spacing: -.5px; text-transform: uppercase; color: var(--white); }
.call-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--orange); }
.contact-info .contact-info-title { margin: 56px 0 15px; line-height: 28px; }
.info-list li { padding-bottom: 1.5px; font: 400 15px/27px var(--body); color: var(--slate); }
.info-list a:hover { color: var(--white); }
@media (max-width: 1024px) {
  .contact { padding: 80px 0 30px; }
  .contact .container { width: calc(100% - 70px); }
  .contact-grid { grid-template-columns: 1fr; padding: 0; }
  .contact .eyebrow { margin-bottom: 11px; }
  .contact h2 { line-height: 40px; }
  .contact-form { margin-top: 40px; }
  .btn--submit { width: 60%; }
  .contact-info { padding-top: 75px; }
  .info-list li { font-size: 13px; }
}
@media (max-width: 767px) {
  .contact { padding: 50px 0 30px; }
  .contact .container { width: calc(100% - 30px); }
  .contact .eyebrow { margin-bottom: 6px; }
  .contact-intro { padding: 0 0 30px; }
  .contact h2 { line-height: 36px; }
  .contact-form { margin-top: 30px; }
  .btn--submit { width: 100%; }
  .contact-info { padding-top: 65px; }
  .contact-info p { margin-bottom: 27px; }
  .contact-info .contact-info-title { margin: 6px 0 0; }
}

/* ---------- Other products (footer) ---------- */
.products {
  padding: 130px 0; text-align: center;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url("/assets/img/products-bg.webp") var(--gray); /* natural size, tiled from the top left, as on the original */
}
.products h2 { margin-bottom: 100px; color: var(--white); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.product-card { display: flex; flex-direction: column; align-items: center; padding: 65px 45px 40px; background: rgba(255, 255, 255, .84); border-radius: 5px; }
.product-card:last-child { grid-column: 1 / -1; width: calc(50% - 4px); justify-self: center; }
.product-card img { width: 300px; }
.product-card:nth-child(2) img { width: 324px; }
.product-card:nth-child(3) img { width: 294px; }
.product-card p { margin-top: 25px; font: 400 15.2px/28px var(--body); color: #000; }
@media (max-width: 1024px) {
  .products { padding: 80px 0; }
  .products .container { width: calc(100% - 80px); }
  .products h2 { margin-bottom: 60px; padding-inline: 12%; line-height: 40px; }
  .product-card { padding: 30px 0 40px; }
  .product-card p { padding-inline: 20px; }
  .product-card:last-child { width: calc(50% - 20px); justify-self: start; }
  .product-card:nth-child(2) img { width: 87%; }
  .product-card:nth-child(3) img { width: auto; }
  .product-card p { margin-top: 30px; }
}
@media (max-width: 767px) {
  .products { padding: 50px 0; }
  .products .container { width: calc(100% - 30px); }
  .products h2 { margin-bottom: 30px; padding-inline: 0; line-height: 36px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 55px 20px; }
  .product-card:last-child { width: auto; }
  .product-card:nth-child(2) img { width: 99%; }
  .product-card:nth-child(3) img { width: 294px; }
  .product-card p { margin-top: 35px; padding-inline: 20px; }
}

/* ---------- Footer bar ---------- */
.footer-bar { padding: 35px 0; background: var(--ink); border-top: 1px solid #353942; }
.footer-inner { display: grid; grid-template-columns: 28.4% 37.95% 33.65%; align-items: center; width: min(1170px, 100%); margin-inline: auto; }
.footer-inner > * { padding-inline: 15px; }
.footer-logo img { width: 302px; padding: 10px; background: var(--white); border-radius: 6px; }
.footer-center { text-align: center; }
.footer-center .social { justify-content: center; gap: 10px; }
.footer-center .social a { width: 46px; height: 46px; color: var(--white); }
.copyright { margin-top: 20px; font: 400 15px/24px var(--body); color: var(--slate); }
.brochure { display: flex; flex-direction: column; align-items: center; }
.brochure img { width: 130px; }
.brochure span { margin-top: 23px; font: 400 15px/24px var(--body); color: var(--slate); }
/* Tablet: the logo becomes a full-width white bar above icons/copyright (left) and the brochure (right). */
@media (max-width: 1024px) {
  .footer-bar { padding: 25px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 15px; width: 100%; }
  .footer-logo { grid-column: 1 / -1; display: grid; place-items: center; margin: 16px 15px 0; padding: 10px; background: var(--white); border-radius: 6px; }
  .footer-logo img { width: 180px; padding: 0; border-radius: 0; }
}
@media (max-width: 767px) {
  .footer-bar { padding: 30px 0 25px; }
  .footer-inner { grid-template-columns: 1fr; row-gap: 0; }
  .footer-logo img { width: 163px; }
  .brochure { order: 1; margin-top: 15px; }
  .brochure span { margin-top: 24px; }
  .footer-center { order: 2; }
  .footer-center .social { margin-top: 13px; }
}

/* ---------- Simple pages (404, thanks) ---------- */
.page-plain { padding: calc(var(--header-h) + 80px) 0 100px; text-align: center; }
.page-plain h1 { margin: 10px 0 20px; }
.page-plain p:not(.eyebrow) { margin-bottom: 30px; }

/* ---------- Back to top (fades in once the page is scrolled, where supported) ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 2px; background: rgba(0, 0, 0, .5); color: #fafafa;
}
.to-top .icon { width: 20px; height: 20px; }
@media (max-width: 480px) { .to-top { right: 10px; bottom: 10px; width: 26px; height: 26px; } .to-top .icon { width: 16px; height: 16px; } }
@supports (animation-timeline: scroll()) {
  .to-top { animation: to-top-show linear both; animation-timeline: scroll(); animation-range: 0 300px; }
  @keyframes to-top-show { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
}
