/* Theme "classic" — faithful copy of the original Woodmart design. Values come from tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--font-text); font-size: var(--fs-base); line-height: var(--lh-base); font-weight: var(--fw-text); color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-hover); }
p { margin: 0 0 20px; }
h1, h2, h3, h4, h5 { font-family: var(--font-title); font-weight: var(--fw-title); color: var(--c-title); margin: 0 0 20px; line-height: 1.4; }
ul, ol { margin: 0 0 20px; padding-left: 20px; }
strong, b { font-weight: 600; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-primary); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-main { display: block; min-height: 40vh; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--btn-h); padding: var(--btn-pad); font-family: var(--font-text); font-size: var(--btn-fs); font-weight: 600; line-height: 1.2; text-transform: uppercase; text-align: center; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s; }
.btn-primary { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: var(--c-primary); color: var(--c-white); box-shadow: inset 0 0 200px rgba(0,0,0,.1); }
.btn-outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }
.btn-outline-fill { background: var(--c-white); border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline-fill:hover { background: var(--c-primary); color: var(--c-white); }
.btn-link { min-height: 0; padding: 0 0 2px; border: 0; border-bottom: 2px solid var(--c-primary); color: var(--c-link); }
.btn-link:hover { color: var(--c-primary); }
.btn-spaced { margin-top: 16px; padding: 5px 28px; min-height: 48px; font-size: 14px; letter-spacing: 1px; color: #fdfdfd; border: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--c-white); box-shadow: var(--shadow-header); }
.header-inner { height: 100%; display: flex; align-items: center; }
.site-logo { flex: none; width: 190px; }
.site-logo img { width: 190px; }
.main-nav { margin-left: 60px; flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.main-nav .nav-item { position: relative; }
.main-nav .nav-list > .nav-item > a,
.main-nav .nav-list > .nav-item > .nav-label { display: flex; align-items: center; height: var(--header-h); padding: 5px 0; font-size: 15px; font-weight: 600; color: rgb(51,51,51); cursor: pointer; }
.main-nav .nav-list > .nav-item.has-children > a::after,
.main-nav .nav-list > .nav-item.has-children > .nav-label::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.main-nav .nav-list > .nav-item > a:hover, .main-nav .nav-list > .nav-item.is-active > a,
.main-nav .nav-list > .nav-item:hover > .nav-label { color: var(--c-primary); }
.main-nav .sub-toggle { display: none; }
.main-nav .sub-menu { list-style: none; margin: 0; position: absolute; top: 100%; left: -20px; min-width: 220px; padding: 12px 20px; background: var(--c-white); box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.main-nav .nav-item:hover > .sub-menu, .main-nav .nav-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a, .main-nav .sub-menu .nav-label { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; line-height: 18.2px; color: var(--c-sub-link); }
.main-nav .sub-menu a:hover { color: var(--c-title); }
.main-nav .sub-menu .nav-item.has-children > .nav-label { color: var(--c-title); font-weight: 600; }
.main-nav .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
.main-nav .level-1:has(.level-2) { min-width: 280px; }
.header-b2b { flex: none; width: 70px; margin-left: auto; }
.header-b2b img { width: 70px; height: 70px; }
.burger { display: none; }
.mobile-nav[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-slogan { margin: 0; padding: 20px 0 0; text-align: center; font-size: 22px; font-weight: 700; letter-spacing: 1.4px; line-height: 51px; color: var(--c-white); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr minmax(0, 338px); gap: 30px; margin-top: 20px; padding: 65px 0 80px; border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
.footer-logo img { width: 200px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.footer-contact li { display: flex; align-items: center; gap: 15px; }
.footer-contact img { width: 20px; height: 20px; }
.footer-contact a { color: var(--c-white); }
.footer-contact a:hover { color: rgba(255,255,255,.7); }
.footer-social { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.4); }
.footer-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; color: var(--c-white); }
.footer-social ul { list-style: none; margin: 0; padding: 0; }
.footer-social a { display: flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 14px; line-height: 18px; color: rgba(255,255,255,.6); }
.footer-social a:hover { color: var(--c-white); }
.footer-social img { width: 14px; height: 14px; }
.footer-copy { margin: 0; padding: 20px 0; }
.footer-copy a { color: var(--c-white); }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--c-white); box-shadow: 0 0 5px rgba(0,0,0,.17); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.to-top::before { content: ""; position: absolute; left: 50%; top: 55%; width: 9px; height: 9px; border-left: 2px solid #333; border-top: 2px solid #333; transform: translate(-50%, -50%) rotate(45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Common type ---------- */
.title-lg { font-size: 38px; font-weight: 400; line-height: 1.4; margin: 0; }
.title-md { font-size: 35px; font-weight: 400; line-height: 1.4; margin: 0; padding-bottom: 10px; }
.title-sm { font-size: 33px; font-weight: 400; line-height: 1.4; margin: 0; }
.sub-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; line-height: 24px; }
.sub-title-lg { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
/* Subtitles always sit 20px below whatever precedes them (lists have no bottom margin) */
:is(ul, ol) + :is(.sub-title, .sub-title-lg) { margin-top: 20px; }
.eyebrow { margin: 0; color: var(--c-primary); }
.eyebrow-strong { margin: 0; font-size: 20px; font-weight: 700; line-height: 28px; color: var(--c-primary); }
.prose p:last-child { margin-bottom: 0; }
.section-head { margin-bottom: 30px; }
.section-head .title-md { font-size: 33px; padding: 0; }
.section-head p { margin: 0; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: calc(75vh - var(--header-h)); min-height: 420px; overflow: hidden; background: #f3f3f3; }
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.37); }
.hero-content { position: relative; height: 100%; max-width: 1280px; margin: 0 auto; padding: 147px 40px 0 120px; color: var(--c-white); }
.hero-title { margin: 0 0 20px; font-size: 44px; font-weight: 600; line-height: 1.4; color: var(--c-white); }
.hero-text { max-width: 500px; margin: 0 0 20px; }
.hero-text strong { font-weight: 600; }
.hero-arrow { position: absolute; top: 50%; width: 50px; height: 50px; margin-top: -25px; border: 0; background: none; opacity: .7; }
.hero-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-left: 2px solid #fff; border-top: 2px solid #fff; }
.hero-arrow.prev { left: 10px; } .hero-arrow.prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.hero-arrow.next { right: 10px; } .hero-arrow.next::before { transform: translate(-70%, -50%) rotate(135deg); }
.hero-arrow:hover { opacity: 1; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 12px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; opacity: .7; }
.hero-dots button.is-active { background: #fff; opacity: 1; }

/* ---------- About (home) ---------- */
.about { display: grid; grid-template-columns: 42fr 58fr; gap: 30px; margin-top: 20px; margin-bottom: 20px; }
.about-text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.about-text .prose { color: var(--c-black); }
.about-text .btn { align-self: flex-start; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 40px; align-items: start; }
.about-tile { will-change: transform; }
.about-tile:nth-child(2) { margin-top: 50px; }
.about-tile.tone-primary { background: var(--c-primary-deep); }
.about-tile.tone-alt { background: var(--c-alt); }
.about-tile img { width: 100%; aspect-ratio: 1392 / 2087; object-fit: cover; }

/* ---------- Feature (home products / services) ---------- */
.feature { margin-bottom: 20px; max-height: 444px; }
.feature--image-right { background-image: linear-gradient(265deg, rgba(155,81,224,0) 16%, var(--c-tile) 94%); }
.feature--image-left { background-image: linear-gradient(95deg, rgba(155,81,224,0) 23%, var(--c-tile) 43%); }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; min-height: 444px; }
.feature-text { padding: 80px 0; }
.feature-text p { margin-bottom: 30px; color: rgb(1,1,1); }
.feature--image-right .feature-media img { width: 600px; max-width: none; margin: -86px 0 0 16px; }
.feature--image-left .feature-inner { grid-template-columns: 1fr 1fr; }
.feature--image-left .feature-media { order: -1; }
.feature--image-left .feature-media img { width: 609px; max-width: none; margin-left: -6px; }
.feature--image-left .feature-text { padding-left: 74px; }

/* ---------- Icon boxes ---------- */
.icon-boxes { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 20px; margin-bottom: 20px; }
.icon-box { display: flex; flex-direction: column; gap: 15px; color: inherit; }
.icon-box-body { display: flex; flex-direction: column; gap: 10px; }
.icon-box-title { font-family: var(--font-text); font-size: 18px; font-weight: 700; line-height: 25.2px; color: var(--c-title); }
.icon-box-icon { display: block; width: 111px; height: 111px; color: var(--c-primary); }
.icon-box-icon svg { width: 100%; height: 100%; fill: var(--c-primary); }
.icon-box-icon svg[stroke="currentColor"] { fill: none; }
/* bordered: home three boxes */
.icon-boxes--bordered { padding-top: 30px; padding-bottom: 50px; }
.icon-boxes--bordered .icon-box { align-items: center; text-align: center; border: 1px solid var(--c-border); padding: 31px 30px 31px; }
.icon-boxes--bordered .icon-box-icon { width: 90px; height: 90px; }
.icon-boxes--bordered .icon-box-title { font-weight: 600; letter-spacing: 1px; }
.icon-boxes--bordered .icon-box:first-child .icon-box-title { letter-spacing: 0; }
.icon-boxes--bordered .icon-box-text { color: var(--c-text); }
.icon-boxes--bordered .icon-box.is-muted .icon-box-text { color: rgb(118,118,118); font-weight: 300; }
/* plain: product/solution grids */
.icon-boxes--plain, .icon-boxes--links { column-gap: 25px; row-gap: 20px; }
.icon-boxes--plain .icon-box, .icon-boxes--links .icon-box { padding-right: 30px; }
.icon-boxes--plain .icon-box-text, .icon-boxes--links .icon-box-text { padding-right: 0; }
.icon-boxes--links .icon-box { padding: 0 30px 0 0; transition: background-color .25s; }
.icon-boxes--links .icon-box:hover { background-color: var(--c-tile-hover); color: inherit; }

/* ---------- Logo carousel / generic carousel ---------- */
.logo-carousel { margin-top: 60px; margin-bottom: 60px; }
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: var(--c-gap, 6px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 calc((100% - (var(--c-cols, 7) - 1) * var(--c-gap, 6px)) / var(--c-cols, 7)); scroll-snap-align: start; }
.logo-carousel .carousel-item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.carousel--posts { --c-cols: 3; --c-gap: 20px; }

/* ---------- Latest posts / post card ---------- */
.latest-posts { margin-top: 40px; margin-bottom: 40px; }
.post-card { height: 100%; display: flex; flex-direction: column; background: var(--c-white); box-shadow: 0 0 4px rgba(0,0,0,.08); }
.post-card-media { position: relative; display: block; overflow: hidden; background: var(--c-tile); aspect-ratio: 3 / 2; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-date { position: absolute; top: 15px; left: 15px; width: 53px; min-height: 53px; padding: 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--c-white); box-shadow: 0 0 9px rgba(0,0,0,.1); color: rgb(51,51,51); text-align: center; line-height: 15px; }
.post-date span:first-child { font-size: 15px; font-weight: 500; line-height: 22px; }
.post-date span:last-child { font-size: 10px; font-weight: 600; text-transform: uppercase; }
.post-card-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 25px; text-align: center; }
.post-cat { margin-top: -38.2px; margin-bottom: 10px; padding: 0 10px; font-size: 12px; font-weight: 600; line-height: 24px; text-transform: uppercase; color: var(--c-white); background: var(--c-primary); }
.post-cat:hover { color: var(--c-white); }
.post-card-title { margin: 0 0 10px; font-size: 22px; font-weight: 600; line-height: 30.8px; }
.post-card-title a { color: rgb(51,51,51); }
.post-card-title a:hover { color: rgb(51 51 51 / 65%); }
.post-card-excerpt { margin: 0; font-size: 14px; line-height: 23px; }

/* ---------- B2B CTA ---------- */
.cta-b2b { margin-top: 20px; margin-bottom: -40px; padding: 80px 0; background: var(--c-alt); position: relative; z-index: 1; }
.cta-b2b + * { position: relative; }
.cta-b2b-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 80px 50px; background: var(--c-white); text-align: center; }
.cta-title { margin: 0; font-size: 30px; font-weight: 400; line-height: 42px; }
.cta-text { margin: 0; font-size: 18px; line-height: 25.2px; font-weight: 400; }
.site-main > .cta-b2b:last-child { margin-bottom: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 60px; }
  .main-nav, .header-b2b { display: none; }
  .site-logo, .site-logo img { width: 150px; }
  .burger { display: block; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #333; content: ""; transition: transform .2s; }
  .burger span { top: 21px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }
  .mobile-nav { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); }
  .mobile-nav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; overflow-y: auto; padding: 60px 0 30px; animation: slideIn .25s ease; }
  @keyframes slideIn { from { transform: translateX(100%); } }
  .mobile-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: #333; }
  .mobile-nav .nav-list { display: block; }
  .mobile-nav .nav-item { position: relative; border-bottom: 1px solid rgba(0,0,0,.08); }
  .mobile-nav .nav-item > a, .mobile-nav .nav-item > .nav-label { display: block; padding: 14px 50px 14px 20px; font-size: 14px; font-weight: 600; color: #333; text-transform: uppercase; }
  .mobile-nav .sub-toggle { position: absolute; right: 0; top: 0; width: 50px; height: 48px; border: 0; border-left: 1px solid rgba(0,0,0,.08); background: none; }
  .mobile-nav .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .mobile-nav .sub-toggle[aria-expanded="true"]::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .mobile-nav .sub-menu { display: none; list-style: none; margin: 0; padding: 0 0 8px; background: #fafafa; }
  .mobile-nav .nav-item.is-open > .sub-menu { display: block; }
  .mobile-nav .sub-menu .sub-menu { display: block; padding: 0 0 0 14px; background: none; }
  .mobile-nav .sub-menu .nav-item { border: 0; }
  .mobile-nav .sub-menu a, .mobile-nav .sub-menu .nav-label { padding: 9px 20px 9px 30px; font-weight: 500; text-transform: none; color: #666; }
  .mobile-nav .sub-menu .nav-label { font-weight: 600; color: #333; }
  .mobile-b2b { display: flex; margin: 20px; }

  .hero-content { padding: 120px 30px 0; }
  .hero-title { font-size: 36px; }
  .about { grid-template-columns: 1fr; }
  .feature, .feature-inner { max-height: none; min-height: 0; }
  .feature-inner { grid-template-columns: 1fr; }
  .feature-text { padding: 50px 0 20px; }
  .feature--image-left .feature-text { padding-left: 0; }
  .feature--image-left .feature-media { order: 1; }
  .feature .feature-media img { width: 100%; max-width: 600px; margin: 0 auto 30px; }
  .feature--image-right, .feature--image-left { background-image: linear-gradient(180deg, var(--c-tile), rgba(241,241,241,0)); }
  .icon-boxes { grid-template-columns: repeat(2, 1fr); }
  .logo-carousel .carousel { --c-cols: 4; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-social { padding-left: 0; border-left: 0; }
}
@media (max-width: 768px) {
  .hero-slider { height: 520px; }
  .hero-content { padding: 90px 20px 0; }
  .hero-title { font-size: 30px; }
  .title-lg, .title-md, .section-head .title-md { font-size: 28px; }
  .icon-boxes { grid-template-columns: 1fr; }
  .carousel--posts { --c-cols: 1; --c-gap: 10px; }
  .logo-carousel .carousel { --c-cols: 2; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .cta-b2b { padding: 40px 0; }
  .cta-b2b-box { padding: 50px 20px; }
  .cta-title { font-size: 24px; line-height: 1.4; }
  .footer-main { grid-template-columns: 1fr; padding: 40px 0; }
  .footer-slogan { font-size: 15px; line-height: 1.5; padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Inner pages
   ===================================================================== */

/* ---------- Page banner ---------- */
.page-banner { position: relative; overflow: hidden; height: 220px; margin-bottom: 20px; background: var(--c-banner); }
.page-banner-inner { position: relative; height: 100%; }
.page-banner-mark { position: absolute; top: -30px; right: var(--gutter); width: 150px; height: 105px; }
.page-banner-mark svg { width: 150px; height: 105px; fill: var(--c-white); }
.page-banner-title { position: absolute; left: var(--gutter); top: 156px; margin: 0; max-width: 650px; font-size: 25px; font-weight: 600; line-height: 35px; color: var(--c-black); }
.page-banner--dark { background: #2f2f2f; }
.page-banner--dark .page-banner-title { color: var(--c-white); font-weight: 600; }
.page-banner--dark .page-banner-mark svg { fill: var(--c-white); opacity: 1; }
.page-banner--photo { height: 470px; background: #222; }
.page-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner--photo::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.41); z-index: 1; }
.page-banner--photo .page-banner-inner { z-index: 2; }
.page-banner--photo .page-banner-title { top: 220px; max-width: none; right: var(--gutter); font-size: 36px; line-height: 50.4px; color: var(--c-white); font-weight: 600; }
/* blog / archive title bar (red photo, centred title) */
.title-bar { position: relative; display: flex; align-items: center; justify-content: center; height: 152px; margin-bottom: 40px; background: #7d0f12 center / cover no-repeat; }
.title-bar::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.title-bar h1 { position: relative; margin: 0; font-size: 58px; font-weight: 800; line-height: 1.2; color: var(--c-white); }

/* ---------- Rich text ---------- */
.rich { margin-bottom: 20px; }
.rich--lead p { padding-top: 30px; font-size: 18px; font-weight: 400; line-height: 28.8px; margin-bottom: 50px; }
.rich--lead p + p { padding-top: 0; }
.list { margin: 0; padding-left: 17px; list-style: disc; }
.list li { margin-bottom: 10px; }
.list li:last-child { margin-bottom: 0; }

/* ---------- Split (two staggered photos + text) ---------- */
.split { display: grid; grid-template-columns: 278fr 278fr 576fr; gap: 30px; margin-bottom: 50px; }
.split-img img { width: 100%; height: auto; }
.split-img--low { margin-top: 40px; }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: 0 58px; }
.split-text .title-md { max-width: 460px; }
.split-text p { margin: 0 0 25px; max-width: 460px; }
.split-text p:not(.split-lead) { margin-bottom: 0; max-width: none; }
.split-text .eyebrow-strong { margin: 0; max-width: none; }
.split-text .list { margin-top: 0; }

/* ---------- Offset (text + photo sticking out of a grey tile) ---------- */
.offset { display: grid; grid-template-columns: 1fr 1fr; column-gap: 160px; margin-bottom: 20px; align-items: stretch; }
.offset-text { display: flex; flex-direction: column; justify-content: center; gap: 15px; padding: 40px 0; }
.offset-text p { margin: 0; }
.offset-text .title-md { margin-top: -14px; max-width: 460px; padding-bottom: 0; margin-bottom: 10px; }
.offset-text .btn { align-self: flex-start; }
.offset-tile { position: relative; display: flex; align-items: flex-end; padding: 45px 0 25px; background: var(--c-tile); }
.offset-tile img { width: 100%; height: auto; margin-bottom: -30px; }
.offset--img-right .offset-tile img { margin-left: -105px; }
.offset--img-left .offset-tile { order: -1; justify-content: flex-end; }
.offset--img-left .offset-tile img { margin-right: -105px; }
.offset--img-left { margin-top: 70px; padding-bottom: 50px; }

/* ---------- Products strip ---------- */
.products-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; margin-bottom: 20px; }
.products-strip figure { margin: 0; border: 1px solid #dbdbdb; padding-bottom: 8px; background: var(--c-white); }
.products-strip img { width: 100%; aspect-ratio: 1; object-fit: contain; }

/* ---------- Divider ---------- */
.divider { position: relative; padding: 60px var(--gutter); margin-bottom: 20px; }
.divider hr { margin: 0; border: 0; border-top: 1px solid rgba(0,0,0,.1); }
.divider--mark { padding: 10px var(--gutter); margin: 30px auto 80px; }
.divider-mark { position: absolute; right: calc(var(--gutter) + 10px); top: -20px; width: 94px; height: 66px; }
.divider-mark svg { width: 94px; height: 66px; fill: var(--c-primary); }

/* ---------- Why us / CTA line ---------- */
.why { margin-bottom: 20px; }
.why-title { font-size: 25px; font-weight: 600; margin: 0 0 20px; }
.cta-line { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 30px auto 60px; text-align: center; }
.cta-line p { margin: 0; padding: 18px 43px 0; font-size: 20px; line-height: 32px; }

@media (max-width: 1024px) {
  .page-banner--photo { height: 360px; }
  .page-banner--photo .page-banner-title { top: auto; bottom: 40px; font-size: 30px; line-height: 1.3; }
  .split { grid-template-columns: 1fr 1fr; }
  .split-text { grid-column: 1 / -1; padding: 0; }
  .offset { grid-template-columns: 1fr; column-gap: 0; }
  .offset--img-left .offset-tile { order: 0; }
  .offset-tile { padding: 30px; }
  .offset-tile img, .offset--img-right .offset-tile img, .offset--img-left .offset-tile img { margin: 0; }
  .products-strip { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}
@media (max-width: 768px) {
  .page-banner { height: 180px; }
  .page-banner-title { top: auto; bottom: 30px; font-size: 22px; line-height: 1.3; right: var(--gutter); }
  .page-banner--photo { height: 300px; }
  .page-banner--photo .page-banner-title { font-size: 24px; }
  .title-bar h1 { font-size: 40px; }
  .split { grid-template-columns: 1fr 1fr; gap: 15px; }
  .products-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-line p { padding: 0; font-size: 17px; line-height: 1.6; }
  .rich--lead p { font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
}

/* ---------- Utilities ---------- */
.pt-30 { padding-top: 30px; } .pt-50 { padding-top: 50px; } .pb-50 { padding-bottom: 50px; } .pb-60 { padding-bottom: 60px; }
.page-banner--light-title .page-banner-title { font-weight: 400; }

/* ---------- Media + text ---------- */
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mt-gap, 30px); align-items: center; margin-bottom: 20px; padding-top: 30px; }
.media-text--top { align-items: start; }
.media-text--img-right .media-text-img { order: 2; }
.media-text-img img { width: 100%; height: auto; }
.media-text-eyebrow { margin: 0 0 4px; font-size: 18px; font-weight: 600; line-height: 1.1; color: var(--c-primary); }
.media-text-title { margin: 0 0 20px; }
.media-text-title--lg { font-size: 30px; font-weight: 600; line-height: 42px; }
.media-text-title--md { font-size: 35px; font-weight: 400; line-height: 49px; }
.media-text-body p { margin-bottom: 20px; }
.media-text-body p:last-child { margin-bottom: 0; }
.media-text--profile { align-items: center; }
.list--arrow { list-style: none; padding-left: 0; }
.list--arrow li { position: relative; padding-left: 18px; }
.list--arrow li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-top: 1.5px solid var(--c-muted); border-right: 1.5px solid var(--c-muted); transform: rotate(45deg); }

/* ---------- Columns ---------- */
.columns { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 30px; margin-bottom: 20px; padding-top: 75px; }
.columns-heading { grid-column: 1 / -1; margin-bottom: 0; }
.columns-title { margin: 0 0 20px; font-size: 30px; font-weight: 600; line-height: 42px; }
.columns p:last-child { margin-bottom: 0; }
.columns--services-small { padding-top: 40px; }
.columns--services-small .columns-title { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 10px; }
.columns--services { padding-top: 0; column-gap: 30px; row-gap: 30px; }
.columns--services img { width: 100%; height: auto; margin-bottom: 20px; }
.columns--services h2.columns-title { font-size: 35px; font-weight: 400; line-height: 1.4; }
.divider--sm { padding-top: 30px; padding-bottom: 30px; }

/* ---------- Logo grid (clients page) ---------- */
.logo-grid { margin: 40px auto 60px; }
.logo-grid-title { margin: 0 0 30px; text-align: center; font-size: 15px; font-weight: 600; }
.logo-grid-items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; }
.logo-grid-items img { width: 100%; aspect-ratio: 1; object-fit: contain; }

/* ---------- Certificates ---------- */
.rich--certs { padding-top: 30px; }
.certificates { margin-bottom: 20px; }
.certificates-title { margin: 30px 0 20px; font-size: 22px; font-weight: 600; }
.certificates-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.certificates figure { margin: 0; display: flex; flex-direction: column; }
.certificates h2 { flex: 1; margin: 0 0 15px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.certificates img { width: 100%; border: 1px solid var(--c-border); }

/* ---------- Note (careers) ---------- */
.note { margin-top: 40px; margin-bottom: 80px; text-align: center; }
.divider--flush { padding: 0; margin: 0 0 50px; }
.divider--flush .divider-mark { right: 10px; }
.note-title { margin: 0 0 15px; font-size: 22px; font-weight: 600; }
.note p { margin: 0; }
.note a { color: var(--c-primary); }

@media (max-width: 1024px) {
  .media-text { grid-template-columns: 1fr; gap: 30px; }
  .media-text--img-right .media-text-img { order: 0; }
  .columns { grid-template-columns: 1fr; padding-top: 40px; }
  .logo-grid-items { grid-template-columns: repeat(4, 1fr); gap: 15px; }
  .certificates-items { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .media-text-title--lg, .columns-title { font-size: 24px; line-height: 1.4; }
  .media-text-title--md, .columns--services h2.columns-title { font-size: 28px; }
  .logo-grid-items { grid-template-columns: repeat(3, 1fr); }
  .certificates-items { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.site-form { display: grid; grid-template-columns: 1fr; column-gap: 20px; }
.site-form--cols-2 { grid-template-columns: 1fr 1fr; }
.site-form--cols-2 .field--textarea, .site-form--cols-2 .field--url, .site-form .form-submit, .site-form .form-privacy, .site-form .form-notice { grid-column: 1 / -1; }
.field { margin: 0 0 20px; }
.field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 500; color: var(--c-text); }
.b2b-form .field label { font-size: 11px; text-transform: uppercase; }
.field .req { color: var(--c-primary); }
.field input, .field textarea { width: 100%; height: 42px; padding: 0 15px; font: inherit; font-size: 14px; color: var(--c-text); background: var(--c-white); border: 2px solid rgba(0,0,0,.1); border-radius: var(--radius); transition: border-color .2s; }
.field textarea { height: auto; min-height: 190px; padding: 10px 15px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(0,0,0,.15); box-shadow: 0 0 0 2px rgba(196,39,39,.15); }
.field.has-error input, .field.has-error textarea { border-color: var(--c-primary); }
.field-error { display: block; margin-top: 4px; font-size: 12px; color: var(--c-primary); }
.form-privacy { margin: 0 0 15px; font-size: 12px; color: var(--c-muted); }
.form-privacy a { text-decoration: underline; }
.form-submit { margin: 0; }
.form-notice { margin-bottom: 20px; padding: 14px 18px; border-left: 3px solid; font-size: 14px; }
.form-notice--ok { border-color: #2e7d32; background: #edf7ee; color: #1b5e20; }
.form-notice--err { border-color: var(--c-primary); background: #fbeaea; color: #8e1c1c; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin: 25px 0 0; padding: 0 0 20px; border-bottom: 1px solid var(--c-border-soft); }
.contact-list li + li { margin-top: 15px; }
.contact-list a { display: flex; align-items: center; gap: 15px; font-size: 14px; color: var(--c-text); }
.contact-list a:hover { color: var(--c-primary); }
.contact-icon { flex: none; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 25px; height: 25px; fill: var(--c-primary); }
.contact-icon--pin svg { width: 20px; height: 20px; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; padding-top: 20px; margin-bottom: 20px; }
.contact-intro { padding: 15px 50px 15px 0; border-right: 1px solid var(--c-border-soft); }
.contact-lead { font-size: 18px; line-height: 1.5; }
.contact-art { width: 100%; max-width: 380px; margin: 7px auto 0; }
.contact-form { padding: 15px 0 15px 50px; }
.contact-title { margin: 0 0 7px; font-size: 25px; font-weight: 600; color: var(--c-black); padding-bottom: 7px; }
.contact-foot { margin: 20px 0 0; font-size: 13px; }
.map { position: relative; margin: 60px 0 80px; height: 500px; background: var(--c-tile); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.map-card { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.map-card > div { pointer-events: auto; width: 250px; padding: 25px 30px; background: var(--c-white); box-shadow: 0 0 9px rgba(0,0,0,.15); }
.map-card h2 { margin: 0 0 15px; font-size: 18px; }
.map-card p { margin: 0; }

/* ---------- B2B join ---------- */
.b2b-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 30px; margin-bottom: 40px; }
.b2b-hero-photo { position: relative; min-height: 480px; background: #ccc center / cover no-repeat; display: flex; align-items: flex-end; }
.b2b-hero-tag { width: 427px; max-width: 100%; margin: 0; padding: 30px; background: var(--c-primary); color: var(--c-white); font-size: 32px; font-weight: 600; line-height: 1.4; }
.b2b-hero-card { position: relative; margin-left: -70px; padding: 30px; background: var(--c-white); }
.b2b-hero-card h1 { max-width: 586px; margin: 0 0 10px; font-size: 44px; font-weight: 600; line-height: 1.4; }
.b2b-hero-caps { margin: 0; font-size: 18px; font-weight: 500; }
.b2b-hero-card > p:not(.b2b-hero-caps) { margin: 0 0 30px; font-size: 14px; }
.b2b-hero-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; }
.b2b-hero-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.b2b-body { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 60px; }
.b2b-form { padding: 20px 40px 20px 0; border-right: 1px solid rgba(129,129,129,.2); }
.b2b-contact { padding: 20px 0 20px 40px; }
.b2b-form h2, .b2b-contact h2 { margin: 0 0 25px; padding-bottom: 10px; font-size: 25px; font-weight: 600; }
.b2b-contact .contact-list { border: 0; margin-top: 0; }
.b2b-contact > p { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--c-border-soft); font-size: 14px; }

/* ---------- Blog ---------- */
.title-bar { height: 202px; margin-bottom: 40px; background: rgb(10,10,10); overflow: hidden; }
.title-bar::before { display: none; }
.title-bar-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.title-bar h1 { font-size: 68px; font-weight: 600; line-height: 82px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 276px; gap: 30px; align-items: start; margin-bottom: 60px; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-grid .post-card { box-shadow: 0 0 4px rgba(0,0,0,.12); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; border-radius: 0; }
.pagination .is-current { background: var(--c-primary); color: var(--c-white); }
.blog-sidebar .widget + .widget { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,.08); }
.widget-title { margin: 0 0 20px; font-size: 16px; font-weight: 600; text-transform: uppercase; color: #333; }
.widget-cats { list-style: none; margin: 0; padding: 0; }
.widget-cats a { display: block; padding: 5px 0; font-size: 14px; color: var(--c-muted); }
.widget-cats a:hover, .widget-cats .is-active a { color: var(--c-title); }
.widget-recent { list-style: none; margin: 0; padding: 0; }
.widget-recent li { display: flex; gap: 15px; }
.widget-recent li + li { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,.08); }
.widget-recent-thumb { flex: none; width: 50px; height: 50px; background: var(--c-tile); }
.widget-recent-thumb img { width: 50px; height: 50px; object-fit: cover; }
.widget-recent-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; color: #333; }
.widget-recent time { display: block; margin-top: 4px; font-size: 12px; color: #a5a5a5; }

/* ---------- Single post ---------- */
.post-head { text-align: center; margin-bottom: 25px; }
.post-head .post-cat { display: inline-block; margin: 0 0 12px; }
.post-title { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.3; color: #333; }
.post-cover { margin: 0 0 30px; }
.post-cover img { width: 100%; height: auto; }
.post-excerpt { font-size: 17px; line-height: 1.6; font-weight: 500; }
.post-body { font-size: 15px; line-height: 1.7; }
.post-body h2 { margin: 30px 0 15px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.post-body h3 { margin: 25px 0 12px; font-size: 22px; font-weight: 600; }
.post-body h4 { margin: 20px 0 10px; font-size: 18px; }
.post-body ul, .post-body ol { padding-left: 20px; }
.post-body li { margin-bottom: 6px; }
.post-body img { margin: 20px 0; height: auto; }
.post-body a { color: var(--c-primary); text-decoration: underline; }
.post-body blockquote { margin: 25px 0; padding: 10px 25px; border-left: 3px solid var(--c-primary); background: #fafafa; font-style: italic; }
.post-body .ql-align-center { text-align: center; } .post-body .ql-align-right { text-align: right; } .post-body .ql-align-justify { text-align: justify; }
.post-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 30px 0; }
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-nav { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 20px; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.post-nav a { display: block; font-weight: 600; font-size: 14px; color: #333; }
.post-nav a span { display: block; font-size: 12px; font-weight: 400; color: #a5a5a5; }
.post-nav-next { text-align: right; }
.post-nav-all { display: grid !important; grid-template-columns: 8px 8px; gap: 4px; justify-content: center; }
.post-nav-all span { width: 8px; height: 8px; border: 1.5px solid #555; }

@media (max-width: 1024px) {
  .contact, .b2b-body { grid-template-columns: 1fr; }
  .contact-intro, .b2b-form { padding: 0 0 30px; border-right: 0; border-bottom: 1px solid var(--c-border-soft); }
  .contact-form, .b2b-contact { padding: 30px 0 0; }
  .b2b-hero { grid-template-columns: 1fr; }
  .b2b-hero-card { margin: -40px 20px 0; }
  .blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-form--cols-2 { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .title-bar { height: 140px; }
  .title-bar h1 { font-size: 40px; line-height: 1.2; }
  .b2b-hero-photo { min-height: 320px; }
  .b2b-hero-tag { font-size: 22px; }
  .b2b-hero-card { margin: -30px 0 0; padding: 20px; }
  .b2b-hero-card h1 { font-size: 30px; }
  .map { height: 380px; margin: 40px 0; }
  .map-card { align-items: flex-end; padding-bottom: 20px; }
  .post-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) { .hero-arrow { display: none; } }
