:root {
  --primary: #b1bbb8;
  --primary-alt: #47aa8d;
  --secondary: #dce2e0;
  --tertiary: #dce2e0;
  --quaternary: #006955;
  --quinary: #fbd8bb;
  --text-body: #282827;
  --border: #dedede;
  --success: #86cdb8;
  --danger: #f27a6b;
  --warning: #e2cf7f;
  --info: #6dabd2;
  --dark: #282827;
  --dark-rgb: 40, 40, 39;
  --light: #f7f7f7;
  --light-rgb: 247, 247, 247;
  --black: #282827;
  --black-rgb: 40, 40, 39;
  --white: #fff;
  --white-rgb: 255, 255, 255;
  --warmwhite: #f3f2f0;
  --warmwhite-rgb: 243, 242, 240;
  --gray: #9ca8a4;
  --gray-100: #f0f4f2;
  --gray-200: #e1e1df;
  --gray-300: #ced5d2;
  --gray-400: #bdc6c2;
  --gray-500: #acb6b3;
  --gray-600: #9ca8a4;
  --gray-700: #8c9995;
  --gray-800: #586762;
  --gray-900: #3a4340;
  --primary-light: #cdd6d3;
  --success-light: #cdd6d3;
  --danger-light: #e6d2d0;
  --warning-light: #ece3d1;
  --info-light: #c5cdd4;
  --danger-dark: #644c4a;
  --html-bg: var(--white);
  --body-bg: var(--warmwhite);
  --body-color: var(--dark);
  --body-color-rgb: var(--dark-rgb);
  --body-font-family: Fabriga, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --body-font-size: 1.8rem;
  --body-line-height: 1.67;
  --body-letter-spacing: 0;
  --body-font-weight: 400;
  --heading-font-family: Fabriga, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --heading-line-height: 1.22;
  --heading-letter-spacing: 0;
  --heading-font-weight: 400;
  --bold: 500;
  --gutter: 4rem;
  --gutter-sm: 2rem;
  --code-bg: var(--gray-300);
  --btn-padding-y: 1.3em;
  --btn-padding-x: 3em;
  --btn-padding-small-y: .75em;
  --btn-padding-small-x: 2em;
  --btn-border-color: var(--dark);
  --btn-border-radius: 12px;
  --btn-bg: var(--dark);
  --btn-color: var(--white);
  --btn-line-height: 1.5;
  --btn-font-size: 1.4rem;
  --btn-font-size-md: 1.3rem;
  --btn-font-size-sm: 1.1rem;
  --btn-font-weight: 500;
  --btn-hover-border-color: var(--dark);
  --btn-hover-bg: transparent;
  --btn-hover-color: var(--dark);
  --header-border-color: var(--body-color);
  --header-bg: transparent;
  --header-color: var(--body-color);
  --header-active-bg: var(--warmwhite);
  --header-active-color: var(--dark);
  --footer-bg: #fff;
  --footer-color: #282827;
  --footer-input-bg: #f3f2f0;
  --input-bg: #fff;
  --input-hover: var(--gray-200);
  --input-focus: var(--gray-700);
  --input-font-size: 1.8rem;
  --form-error: var(--danger-light);
  --form-file-bg: var(--gray-200);
  --callout-border-radius: 24px;
  --callout-bg: var(--white);
  --callout-color: var(--body-color);
  --callout-padding-y: var(--gutter);
  --callout-padding-x: var(--gutter);
  --table-border-color: var(--gray-400);
  --table-bg: transparent;
  --table-color: var(--body-color);
  --table-head-bg: var(--secondary);
  --table-head-color: var(--body-color);
  --table-foot-bg: var(--gray-300);
  --table-foot-color: var(--body-color);
  --banner-gradient-top: #ece3d1;
  --banner-gradient-bottom: #f7f3ea;
  --header-nav-bg: var(--body-color);
  --header-nav-color: var(--body-bg);
  --threeup-bg: var(--primary);
  --threeup-color: var(--body-color);
  --addon-border-radius: 24px;
  --addon-bg: var(--white);
  --addon-color: var(--dark);
  --addon-btn-size: 60px;
  --callout-min-height: 0;
  --callout-ratio: none;
  --callout-gradient-top: #ece3d1;
  --callout-gradient-bottom: #f7f3ea;
  --card-shadow: 16px 24px 30px 18px rgba(0, 0, 0, 0.08);
  --testimonials-bg: var(--tertiary);
  --testimonials-color: var(--dark);
  --text-slider-bg: var(--secondary);
  --themes-border-radius: 36px;
  --themes-bg: var(--white);
  --themes-color: var(--dark);
  --card-border-radius: 24px;
  --card-border: none;
  --card-bg: var(--white);
  --card-hover-bg: var(--white);
  --card-color: var(--body-color);
  --card-hover-shadow: 0 1em 2em -1em rgba(var(--body-color-rgb), 0.5);
  --padding: 5vw;
  --border-radius: 6px;
  --border-radius-md: 24px;
  --border-radius-lg: 36px;

  /* Existing component aliases */
  --jmh-navy: var(--dark);
  --jmh-navy-2: var(--gray-900);
  --jmh-cyan: var(--primary-alt);
  --jmh-cyan-2: var(--primary);
  --jmh-ink: var(--text-body);
  --jmh-muted: var(--gray-800);
  --jmh-line: var(--border);
  --jmh-soft: var(--gray-100);
  --jmh-white: var(--white);
  --jmh-radius: var(--border-radius-md);
  --jmh-shadow: var(--card-shadow);
}

* { box-sizing: border-box; }
html { font-size: 10px; scroll-behavior: smooth; background: var(--html-bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: var(--body-color);
  background: var(--body-bg);
}
main { flex: 1 0 auto; }
h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
  color: var(--dark);
  font-family: var(--heading-font-family);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.jmh-container { max-width: 1440px; margin: 0 auto; padding-left: clamp(22px, 4vw, 72px); padding-right: clamp(22px, 4vw, 72px); }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 20px; top: 20px; z-index: 9999; background: var(--white); color: var(--dark); padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--border-radius); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(var(--warmwhite-rgb), .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(var(--black-rgb), .14);
}
.header-row { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 194px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; color: var(--dark); font-size: 1.4rem; font-weight: var(--bold); }
.site-nav > a:not(.btn-nav) { position: relative; padding: 35px 0 31px; }
.site-nav > a:not(.btn-nav)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--primary-alt); transition: right .2s ease; }
.site-nav > a:not(.btn-nav):hover::after,
.site-nav > a.active::after { right: 0; }
.site-nav > a:hover,
.site-nav > a.active { color: var(--quaternary); }
.btn-nav { background: var(--dark); color: var(--white) !important; padding: 13px 22px; border: 1px solid var(--dark); border-radius: var(--btn-border-radius); transition: .2s ease; }
.btn-nav:hover { background: transparent; color: var(--dark) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 27px; height: 2px; margin: 5px 0; background: var(--dark); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 8vw, 126px) 0 clamp(70px, 7vw, 108px);
  color: var(--dark);
  background:
    radial-gradient(circle at 88% 13%, rgba(134,205,184,.72), transparent 29%),
    radial-gradient(circle at 71% 82%, rgba(251,216,187,.72), transparent 25%),
    linear-gradient(145deg, var(--warmwhite) 0%, #fbfbfa 62%, #eff5f2 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -210px; top: -280px; border: 1px solid rgba(var(--black-rgb), .12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(var(--black-rgb), .025), 0 0 0 130px rgba(var(--black-rgb), .018); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: clamp(46px, 7vw, 110px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--quaternary); font-size: 1.2rem; font-weight: var(--bold); text-transform: uppercase; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--primary-alt); }
.hero h1 { max-width: 870px; margin: 22px 0 25px; color: var(--dark); font-size: clamp(4.8rem, 5.45vw, 8rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 span { color: var(--quaternary); }
.hero-copy { max-width: 730px; margin-bottom: 32px; color: var(--gray-800); font-size: clamp(1.8rem, 1.45vw, 2.1rem); }
.hero-visual { position: relative; }
.hero-logo-panel { display: flex; align-items: center; justify-content: center; min-height: 470px; padding: clamp(34px, 5vw, 68px); background: rgba(255,255,255,.78); border: 1px solid rgba(var(--black-rgb), .09); border-radius: var(--border-radius-lg); box-shadow: var(--card-shadow); }
.hero-logo-panel img { display: block; width: min(100%, 520px); max-height: 360px; object-fit: contain; }
.code-chip { position: absolute; left: -26px; bottom: -23px; padding: 14px 20px; color: var(--dark); background: var(--primary); border: 1px solid rgba(var(--black-rgb), .08); border-radius: var(--border-radius-md); box-shadow: 0 16px 35px rgba(var(--black-rgb), .14); font-size: 1.3rem; font-weight: var(--bold); }
.code-chip span { color: var(--quaternary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: var(--btn-padding-y) var(--btn-padding-x); border: 1px solid var(--btn-border-color); border-radius: var(--btn-border-radius); background: var(--btn-bg); color: var(--btn-color); font-family: var(--body-font-family); font-size: var(--btn-font-size); font-weight: var(--btn-font-weight); line-height: var(--btn-line-height); transition: .2s ease; }
.btn:hover { border-color: var(--btn-hover-border-color); background: var(--btn-hover-bg); color: var(--btn-hover-color); transform: translateY(-2px); }
.btn-accent { border-color: var(--quaternary); background: var(--quaternary); color: var(--white); }
.btn-accent:hover { border-color: var(--quaternary); background: transparent; color: var(--quaternary); }
.btn-outline-light { border-color: var(--dark); background: transparent; color: var(--dark); }
.btn-outline-light:hover { background: var(--dark); color: var(--white); }
.btn-dark { border-color: var(--dark); background: var(--dark); color: var(--white); }
.btn-dark:hover { background: transparent; color: var(--dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Trust / sections */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 26px; border-right: 1px solid var(--border); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--dark); font-size: 1.8rem; font-weight: var(--bold); line-height: 1.25; }
.trust-item span { display: block; margin-top: 4px; color: var(--gray-800); font-size: 1.3rem; }
.section { padding: clamp(74px, 8vw, 120px) 0; background: var(--warmwhite); }
.section-soft { background: var(--gray-100); }
.section-dark { background: var(--primary); color: var(--dark); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 46px; }
.section-heading > div:first-child { max-width: 830px; }
.section-heading h2 { margin: 15px 0 0; font-size: clamp(3.6rem, 4vw, 5.7rem); letter-spacing: -.035em; }
.section-heading p { max-width: 550px; margin: 0; color: var(--gray-800); }
.section-dark .section-heading h2,
.section-dark .section-heading p { color: var(--dark); }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card,.product-card,.work-card,.industry-card,.detail-card,.stat-card { position: relative; overflow: hidden; background: var(--card-bg); color: var(--card-color); border: 1px solid rgba(var(--black-rgb), .08); border-radius: var(--card-border-radius); }
.service-card,.industry-card { padding: 32px; transition: .22s ease; }
.service-card:hover,.product-card:hover,.work-card:hover,.industry-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.card-num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 26px; border-radius: 50%; background: var(--primary); color: var(--dark); font-size: 1.3rem; font-weight: var(--bold); }
.service-card h3,.product-card h3,.work-card h3,.industry-card h3 { margin-bottom: 12px; font-size: 2.3rem; }
.service-card p,.product-card p,.work-card p,.industry-card p { margin: 0 0 20px; color: var(--gray-800); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--quaternary); font-size: 1.4rem; font-weight: var(--bold); }
.text-link:hover { gap: 12px; }
.product-card { padding: 0; transition: .22s ease; }
.product-top { min-height: 215px; padding: 31px 31px 25px; color: var(--dark); background: linear-gradient(145deg, var(--primary), #adddcc); }
.product-top h3 { margin: 10px 0 8px; color: var(--dark); font-size: 2.9rem; }
.product-top p { color: var(--gray-900); }
.product-kicker { color: var(--quaternary) !important; font-size: 1.1rem; font-weight: var(--bold); text-transform: uppercase; letter-spacing: .16em; }
.product-body { padding: 27px 31px 31px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 23px; }
.feature-list li { position: relative; padding: 7px 0 7px 22px; color: var(--gray-800); font-size: 1.4rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-alt); }

/* Feature band */
.band { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 52px; padding: clamp(38px, 5vw, 72px); background: var(--primary); color: var(--dark); border: 1px solid rgba(var(--black-rgb), .08); border-radius: var(--border-radius-lg); }
.band h2 { margin: 14px 0 17px; color: var(--dark); font-size: clamp(3.4rem, 4vw, 5.3rem); letter-spacing: -.035em; }
.band p { max-width: 720px; margin: 0; color: var(--gray-900); }
.band-actions { display: flex; justify-content: flex-end; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: process; }
.process-step { padding: 28px 18px 0 0; border-top: 2px solid var(--gray-400); }
.process-step::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 12px; color: var(--quaternary); font-size: 1.2rem; font-weight: var(--bold); letter-spacing: .12em; }
.process-step h3 { margin-bottom: 8px; font-size: 1.9rem; }
.process-step p { margin: 0; color: var(--gray-800); font-size: 1.4rem; }

/* Interior heroes */
.page-hero { padding: 88px 0; color: var(--dark); background: linear-gradient(135deg, var(--primary) 0%, #b7dfd2 58%, var(--warmwhite) 100%); border-bottom: 1px solid rgba(var(--black-rgb), .08); }
.page-hero h1 { margin: 16px 0 18px; color: var(--dark); font-size: clamp(4.4rem, 5vw, 7rem); letter-spacing: -.045em; }
.page-hero p { max-width: 790px; margin: 0; color: var(--gray-900); font-size: 1.9rem; }
.breadcrumbs { color: var(--gray-800); font-size: 1.3rem; }
.breadcrumbs a { color: var(--quaternary); }
.breadcrumbs span { margin: 0 8px; color: var(--gray-600); }

/* Interior layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 7vw, 98px); align-items: center; }
.split h2 { font-size: clamp(3.5rem, 4vw, 5.5rem); letter-spacing: -.035em; }
.split p,.detail-card p,.legal p,.legal li { color: var(--gray-800); }
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.stat-card { padding: 28px; }
.stat-card strong { display: block; color: var(--quaternary); font-size: 3rem; font-weight: var(--bold); line-height: 1.15; }
.stat-card span { color: var(--gray-800); font-size: 1.3rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.detail-card { padding: 34px; }
.detail-card h2,.detail-card h3 { margin-bottom: 12px; font-size: 2.6rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: var(--primary-light); color: var(--gray-900); font-size: 1.2rem; font-weight: var(--bold); }

/* Work */
.work-card { padding: 0; transition: .22s ease; }
.work-art { position: relative; overflow: hidden; display: flex; align-items: flex-end; height: 195px; padding: 26px; color: var(--dark); background: linear-gradient(135deg, var(--primary), var(--quinary)); }
.work-art::before { content: "</>"; position: absolute; right: 18px; top: -15px; color: rgba(var(--black-rgb), .10); font-family: monospace; font-size: 9.6rem; font-weight: 700; }
.work-art strong { color: var(--quaternary); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .12em; }
.work-body { padding: 27px 29px 31px; }

/* FAQ */
.faq-list { max-width: 980px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-400); }
.faq-question { display: flex; justify-content: space-between; gap: 20px; width: 100%; padding: 25px 4px; border: 0; background: none; color: var(--dark); text-align: left; font: var(--bold) 1.8rem var(--body-font-family); }
.faq-question span:last-child { color: var(--quaternary); font-size: 2.4rem; }
.faq-answer { display: none; padding: 0 44px 25px 4px; color: var(--gray-800); }
.faq-item.open .faq-answer { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; }
.contact-panel { padding: 38px; color: var(--dark); background: var(--primary); border-radius: var(--border-radius-md); }
.contact-panel h2 { color: var(--dark); font-size: 3.3rem; }
.contact-panel a { color: var(--quaternary); font-weight: var(--bold); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { display: block; margin-bottom: 7px; color: var(--gray-900); font-size: 1.3rem; font-weight: var(--bold); }
.form-control { width: 100%; min-height: 52px; padding: 14px 15px; border: 1px solid var(--gray-400); border-radius: 12px; background: var(--input-bg); color: var(--dark); font-family: var(--body-font-family); font-size: 1.6rem; }
.form-control:hover { border-color: var(--input-hover); }
.form-control:focus { outline: 3px solid rgba(134,205,184,.28); border-color: var(--input-focus); }
textarea.form-control { min-height: 155px; resize: vertical; }
.form-note { color: var(--gray-800); font-size: 1.2rem; }
.alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; }
.alert-success { background: var(--success-light); color: var(--gray-900); }
.alert-error { background: var(--danger-light); color: var(--danger-dark); }

/* Footer */
.site-footer { padding-top: 74px; color: var(--footer-color); background: var(--footer-bg); border-top: 1px solid var(--border); }
.footer-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 42px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-cta h2 { max-width: 850px; margin: 12px 0 0; color: var(--dark); font-size: clamp(3.2rem, 3.4vw, 4.9rem); letter-spacing: -.035em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.35fr; gap: 52px; padding: 60px 0; }
.footer-grid h3 { margin-bottom: 18px; color: var(--dark); font-size: 1.5rem; font-weight: var(--bold); }
.footer-grid a { display: block; margin: 9px 0; color: var(--gray-800); font-size: 1.4rem; }
.footer-grid a:hover { color: var(--quaternary); }
.footer-grid p { max-width: 430px; color: var(--gray-800); font-size: 1.4rem; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand img { width: 210px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid var(--border); color: var(--gray-800); font-size: 1.2rem; }
.footer-bottom div { display: flex; gap: 20px; }
.legal { max-width: 900px; }
.legal h2 { margin-top: 38px; font-size: 2.8rem; }
.cta-center { max-width: 850px; margin: 0 auto; text-align: center; }
.cta-center h2 { font-size: clamp(3.6rem, 4vw, 5.6rem); letter-spacing: -.035em; }
.cta-center p { color: var(--gray-800); font-size: 1.8rem; }
.cta-center .btn-row { justify-content: center; margin-top: 25px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

@media (max-width: 1100px) {
  .site-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr .82fr; }
  .cards-3 { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1/-1; }
}
@media (max-width: 900px) {
  .header-row { min-height: 82px; }
  .brand img { width: 170px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 16px 24px 28px; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); color: var(--warmwhite); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 22px 45px rgba(var(--black-rgb), .2); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn-nav) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .site-nav > a:not(.btn-nav)::after { display: none; }
  .site-nav > a:hover,.site-nav > a.active { color: var(--primary); }
  .btn-nav { margin-top: 18px; border-color: var(--primary); background: var(--primary); color: var(--dark) !important; text-align: center; }
  .btn-nav:hover { background: transparent; color: var(--primary) !important; }
  .nav-toggle span { background: var(--dark); }
  .hero-grid,.split,.band,.contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .band-actions { justify-content: flex-start; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { padding-left: 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 17px; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  html { font-size: 9.5px; }
  .header-row { min-height: 74px; }
  .brand img { width: 150px; }
  .site-nav { top: 74px; }
  .hero { padding-top: 60px; }
  .hero-grid { display: block; }
  .hero-visual { margin-top: 50px; }
  .hero-logo-panel { min-height: 320px; padding: 32px; }
  .code-chip { left: 12px; bottom: -17px; }
  .trust-grid,.cards-3,.process-grid,.stat-grid,.footer-grid,.contact-form { grid-template-columns: 1fr; }
  .trust-item { padding: 21px 0 !important; border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .service-card,.industry-card { padding: 25px; }
  .footer-bottom { flex-direction: column; }
  .form-group.full { grid-column: auto; }
}

/* ==============================
   JMH v3 refinements
   ============================== */
.btn-accent,
.btn-dark,
.btn-nav {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}
.btn-accent:hover,
.btn-dark:hover,
.btn-nav:hover {
  background: transparent;
  color: var(--dark) !important;
}
.site-nav > a:not(.btn-nav)::after,
.eyebrow::before {
  background: var(--dark);
}
.site-nav > a:hover,
.site-nav > a.active,
.text-link,
.contact-panel a,
.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--dark);
}
.hero,
.page-hero,
.band,
.footer-cta {
  background: linear-gradient(135deg, #dce2e0 0%, #eef2f0 48%, #f8f7f5 100%);
}
.hero {
  border-bottom: 1px solid rgba(var(--black-rgb), .08);
}
.hero::before {
  border-color: rgba(var(--black-rgb), .06);
  box-shadow: 0 0 0 65px rgba(var(--black-rgb), .02), 0 0 0 130px rgba(var(--black-rgb), .015);
}
.hero-logo-panel,
.product-top,
.work-art {
  background: linear-gradient(135deg, #ecefed 0%, #f7f7f6 100%);
}
.code-chip,
.card-num,
.feature-list li::before {
  background: var(--dark);
  color: var(--white);
}
.product-kicker,
.text-link {
  color: var(--dark) !important;
}
.page-hero {
  color: var(--dark);
  padding: clamp(54px, 5vw, 82px) 0;
  border-bottom: 1px solid rgba(var(--black-rgb), .08);
}
.page-hero h1,
.page-hero p,
.section-dark .section-heading h2,
.section-dark .section-heading p,
.band h2,
.band p {
  color: var(--dark);
}
.breadcrumbs { color: var(--gray-800); }
.breadcrumbs a,
.breadcrumbs span { color: var(--gray-800); }

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: stretch;
}
.contact-hero-content h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(4.4rem, 5vw, 7.2rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}
.contact-hero-content > p {
  max-width: 780px;
  color: var(--gray-900);
  font-size: 1.95rem;
}
.contact-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.contact-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 14px 0 0;
  border-top: 1px solid rgba(var(--black-rgb), .12);
}
.feature-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}
.contact-feature strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.5rem;
}
.contact-feature span:last-child {
  display: block;
  color: var(--gray-800);
  font-size: 1.3rem;
  line-height: 1.45;
}
.contact-hero-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 100%;
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--border-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.84));
  border: 1px solid rgba(var(--black-rgb), .08);
  overflow: hidden;
}
.contact-hero-aside::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(var(--black-rgb), .06), rgba(var(--black-rgb), 0) 70%);
}
.hero-scribble {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  color: rgba(var(--black-rgb), .56);
  font-size: clamp(3rem, 3.2vw, 4.8rem);
  line-height: 1.02;
  text-align: right;
  letter-spacing: -.04em;
}
.hero-aside-card {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(var(--black-rgb), .08);
  box-shadow: 0 18px 48px rgba(var(--black-rgb), .08);
}
.hero-aside-card img {
  display: block;
  width: 190px;
  margin-bottom: 18px;
}
.hero-aside-card p {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.6rem;
}
.hero-aside-orb {
  position: absolute;
  right: -36px;
  top: -36px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--black-rgb), .06), rgba(var(--black-rgb), 0));
}
.section-contact-form {
  padding-top: clamp(52px, 5vw, 80px);
}
.contact-grid {
  align-items: stretch;
}
.contact-panel {
  background: linear-gradient(180deg, #eef2f0 0%, #e3e7e5 100%);
  color: var(--dark);
  border: 1px solid rgba(var(--black-rgb), .08);
  border-radius: 28px;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 16px 40px rgba(var(--black-rgb), .05);
}
.contact-panel h2 {
  font-size: clamp(3.4rem, 3vw, 4.8rem);
  margin-bottom: 16px;
}
.contact-panel p {
  color: var(--gray-900);
}
.contact-panel-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.contact-panel-item,
.panel-sensitive-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.panel-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}
.contact-panel-item strong,
.panel-sensitive-note strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.contact-panel-item span,
.contact-panel-item a,
.panel-sensitive-note p {
  color: var(--gray-900);
  font-size: 1.5rem;
  line-height: 1.6;
}
.panel-sensitive-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--black-rgb), .12);
}
.contact-form {
  padding: clamp(26px, 3vw, 34px);
  background: var(--white);
  border: 1px solid rgba(var(--black-rgb), .08);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(var(--black-rgb), .05);
}
.form-group label {
  color: var(--dark);
}
.form-control {
  min-height: 56px;
  padding: 15px 16px;
  border-color: rgba(var(--black-rgb), .14);
  border-radius: 14px;
}
.form-control:focus {
  outline: 2px solid rgba(var(--black-rgb), .08);
  border-color: var(--dark);
}
textarea.form-control {
  min-height: 170px;
}
.form-note {
  margin-top: 14px;
}
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 52px;
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 18% 120%, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 84% 90%, rgba(255,255,255,.07), transparent 20%),
    linear-gradient(135deg, #1e1e1d 0%, #282827 42%, #111111 100%);
}
.footer-cta {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(30px, 3vw, 44px);
  margin-bottom: 34px;
  border: 1px solid rgba(var(--black-rgb), .08);
  border-radius: 30px;
}
.footer-cta .eyebrow,
.footer-cta .eyebrow::before,
.footer-cta h2,
.footer-cta p {
  color: var(--dark);
}
.footer-shell {
  position: relative;
  padding: 28px 0 0;
}
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.55fr .8fr .8fr 1fr;
  gap: 44px;
  padding: 22px 0 40px;
}
.footer-brand .brand img {
  width: 180px;
  filter: brightness(0) invert(1);
}
.footer-brand p,
.footer-grid p,
.footer-grid a,
.footer-bottom,
.footer-bottom a {
  color: rgba(255,255,255,.76);
}
.footer-grid h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.footer-grid a {
  display: block;
  margin: 10px 0;
  font-size: 1.45rem;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.footer-scribble {
  position: absolute;
  right: 8px;
  top: 22px;
  z-index: 1;
  color: rgba(255,255,255,.36);
  font-size: clamp(3.2rem, 3.2vw, 5.4rem);
  line-height: .98;
  text-align: right;
  letter-spacing: -.05em;
  pointer-events: none;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
}
.footer-bottom div {
  display: flex;
  gap: 20px;
}
@media (max-width: 1100px) {
  .contact-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .contact-hero-grid,
  .contact-grid,
  .footer-cta {
    grid-template-columns: 1fr;
  }
  .contact-hero-aside { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-scribble { position: static; margin: 4px 0 14px; text-align: left; }
}
@media (max-width: 620px) {
  .contact-feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: auto;
  }
  .brand img { width: 148px; }
}

/* ==============================
   JMH v4 homepage and footer
   ============================== */
.parallax__container {
  clip: rect(0, auto, auto, 0);
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}
.parallax {
  position: fixed;
  top: 0;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-section,
.parallax-card {
  position: relative;
  overflow: hidden;
}
.hero-overlay,
.metrics-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-layer,
.metrics-layer,
.product-band-panel {
  position: relative;
  z-index: 2;
}
.home-hero-section {
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: #111;
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(18,18,18,.72) 0%, rgba(18,18,18,.50) 44%, rgba(18,18,18,.42) 100%);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
  min-height: clamp(560px, 78vh, 760px);
  padding: clamp(80px, 12vw, 130px) 0 54px;
}
/* JMH v18 - stronger hero eyebrow visibility */
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.98);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.20);
}
.eyebrow-light::before {
  background: rgba(255,255,255,.92);
}
.home-hero-copy h1 {
  color: var(--white);
  font-size: clamp(5.4rem, 7vw, 8.6rem);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 18px 0 18px;
}
.home-hero-copy h1 span {
  color: #a9c4bb;
}
.home-hero-copy p {
  max-width: 740px;
  color: rgba(255,255,255,.88);
  font-size: 2rem;
}
.hero-side-card {
  justify-self: end;
  width: min(100%, 290px);
  align-self: center;
  padding: 30px 20px 24px 28px;
  border-left: 2px solid rgba(255,255,255,.75);
}
.hero-side-stack {
  display: grid;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(2rem, 2.2vw, 3rem);
  color: rgba(255,255,255,.96);
}
.hero-side-location {
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 1.2rem;
  color: rgba(255,255,255,.92);
}
.home-ribbon {
  background: var(--white);
  border-bottom: 1px solid rgba(var(--black-rgb), .08);
}
.home-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.ribbon-item {
  padding: 28px 24px;
  display: grid;
  gap: 3px;
  border-right: 1px solid rgba(var(--black-rgb), .12);
}
.ribbon-item:last-child { border-right: 0; }
.ribbon-item strong { font-size: 1.8rem; }
.ribbon-item span { color: var(--gray-800); font-size: 1.45rem; }
.home-intro-section { padding-top: clamp(54px, 6vw, 92px); }
.home-split-heading { margin-bottom: clamp(30px, 4vw, 50px); }
.home-showcase-grid {
  display: grid;
  grid-template-columns: minmax(320px, .96fr) minmax(0, 1.04fr);
  gap: clamp(26px, 4vw, 38px);
  align-items: stretch;
}
.showcase-image-card,
.example-card,
.product-band-visual,
.home-cta-shell,
.footer-main {
  border-radius: 28px;
}
.showcase-image-card {
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 18px 44px rgba(var(--black-rgb), .08);
}
.showcase-image-card img,
.example-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.showcase-card {
  background: var(--white);
  border: 1px solid rgba(var(--black-rgb), .08);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 14px 38px rgba(var(--black-rgb), .04);
}
.showcase-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--dark);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}
.showcase-card h3 { font-size: 2.4rem; margin-bottom: 10px; }
.showcase-card p { font-size: 1.6rem; color: var(--gray-800); }
.home-metrics {
  color: var(--white);
  margin: clamp(32px, 4vw, 54px) 0;
}
.metrics-overlay {
  background: linear-gradient(90deg, rgba(17,17,17,.88) 0%, rgba(17,17,17,.74) 48%, rgba(17,17,17,.60) 100%);
}
.metrics-layer {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
  padding: 52px 0;
}
.metrics-intro h2 {
  color: var(--white);
  font-size: clamp(3.8rem, 4vw, 5.4rem);
  margin: 16px 0 22px;
  line-height: 1.04;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.metric-item {
  padding: 26px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(5px);
}
.metric-item strong {
  display: block;
  font-size: clamp(3.4rem, 4vw, 5rem);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-item span { color: rgba(255,255,255,.86); font-size: 1.55rem; }
.examples-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.example-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 24px;
}
.example-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(var(--black-rgb), .08);
  box-shadow: 0 18px 44px rgba(var(--black-rgb), .06);
}
.example-card img { height: 270px; }
.example-card-wide img { height: 100%; min-height: 100%; }
.example-card-body {
  padding: 24px 22px 22px;
}
.example-card-body h3 { font-size: 2.6rem; margin-bottom: 10px; }
.example-card-body p { color: var(--gray-800); font-size: 1.6rem; min-height: 74px; }
.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 600;
}
.home-product-band {
  background: linear-gradient(135deg, #eef1ef 0%, #f7f5f2 100%);
}
.product-band-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(340px, 1.06fr);
  gap: 28px;
  align-items: stretch;
}
.product-band-copy {
  padding-right: 12px;
}
.product-band-copy h2 { margin: 18px 0 18px; }
.product-band-copy p { font-size: 1.8rem; color: var(--gray-900); }
.btn-outline-dark {
  border-color: rgba(var(--black-rgb), .18);
  color: var(--dark);
}
.btn-outline-dark:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}
.product-band-visual {
  min-height: 470px;
  border: 1px solid rgba(var(--black-rgb), .08);
  box-shadow: 0 18px 42px rgba(var(--black-rgb), .08);
}
.product-band-visual .parallax__container,
.product-band-visual .parallax {
  border-radius: 28px;
}
.product-band-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.08), rgba(17,17,17,.54));
  z-index: 1;
}
.product-band-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 16px;
  padding: 28px;
}
.product-band-panel > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  color: var(--dark);
}
.product-band-panel strong { font-size: 1.9rem; }
.product-band-panel span { color: var(--gray-800); font-size: 1.4rem; text-align: right; }
.home-cta-section { padding-top: 40px; }
.home-cta-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
  background: linear-gradient(135deg, #dce2e0 0%, #edf1ef 50%, #f5f3ef 100%);
  border: 1px solid rgba(var(--black-rgb), .08);
}
.v4-footer {
  background: var(--white);
  color: var(--dark);
  border-top: 1px solid rgba(var(--black-rgb), .08);
  padding-top: 24px;
}
.v4-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) .7fr .7fr 1fr;
  gap: 36px;
  padding: 22px 0 28px;
}
.v4-footer .footer-main p,
.v4-footer .footer-main a,
.v4-footer .footer-main address,
.v4-footer .footer-bottom,
.v4-footer .footer-bottom a {
  color: var(--gray-900);
}
.v4-footer .brand-footer img {
  width: 118px;
  height: auto;
  filter: none;
}
.footer-brand-col p {
  margin: 18px 0 18px;
  max-width: 320px;
  font-size: 1.55rem;
}
.footer-email {
  font-weight: 600;
}
.footer-links-col h3,
.footer-cta-col h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.footer-links-col a {
  display: block;
  margin: 11px 0;
  font-size: 1.5rem;
}
.footer-cta-col p {
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.footer-cta-col address {
  margin-top: 18px;
  font-style: normal;
  line-height: 1.7;
  font-size: 1.45rem;
}
.v4-footer .footer-bottom {
  border-top: 1px solid rgba(var(--black-rgb), .08);
  padding: 18px 0 26px;
}
.v4-footer .footer-bottom div {
  display: flex;
  gap: 18px;
}
.site-header {
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(var(--black-rgb), .06);
}
@media (max-width: 1150px) {
  .home-ribbon-grid,
  .example-grid,
  .v4-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .example-card-wide { grid-column: 1 / -1; }
  .product-band-grid,
  .home-showcase-grid,
  .metrics-layer,
  .home-cta-shell {
    grid-template-columns: 1fr;
  }
  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-side-card { justify-self: start; width: auto; }
}
@media (max-width: 900px) {
  .home-hero-copy h1 { font-size: clamp(4.6rem, 10vw, 7rem); }
  .showcase-card-grid,
  .metrics-grid,
  .home-ribbon-grid,
  .v4-footer .footer-main,
  .example-grid {
    grid-template-columns: 1fr;
  }
  .home-showcase-grid,
  .product-band-grid {
    grid-template-columns: 1fr;
  }
  .examples-head,
  .home-cta-shell,
  .v4-footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-ribbon-grid .ribbon-item { border-right: 0; border-bottom: 1px solid rgba(var(--black-rgb), .08); }
}
@media (max-width: 620px) {
  .hero-side-card { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.5); padding-top: 18px; }
  .showcase-card,
  .example-card-body,
  .product-band-panel,
  .home-cta-shell { padding-left: 20px; padding-right: 20px; }
  .product-band-panel > div {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ==============================
   JMH v5 footer reset
   ============================== */
.prefooter-cta {
  background: #dce2e0;
  border-top: 1px solid rgba(var(--black-rgb), .08);
  border-bottom: 1px solid rgba(var(--black-rgb), .08);
}
.prefooter-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(42px, 5vw, 68px) 0;
}
.prefooter-cta-inner h2 {
  margin: 12px 0 10px;
  max-width: 760px;
  font-size: clamp(3.6rem, 4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.prefooter-cta-inner p {
  margin: 0;
  max-width: 720px;
  color: var(--gray-900);
  font-size: 1.7rem;
}

.site-footer.footer-v5 {
  background: #fff !important;
  color: #282827 !important;
  padding: 0 !important;
  border-top: 0 !important;
  overflow: visible !important;
}
.footer-v5 .jmh-container {
  padding-top: 0;
  padding-bottom: 0;
}
.footer-v5-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.55fr) .75fr .75fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: 48px 0 38px;
}
.footer-v5 a,
.footer-v5 p,
.footer-v5 span,
.footer-v5 h3 {
  color: #282827 !important;
}
.footer-logo-link {
  display: inline-block;
}
.footer-logo-link img {
  display: block;
  width: 92px !important;
  height: auto !important;
  filter: none !important;
}
.footer-v5-brand p {
  max-width: 390px;
  margin: 16px 0 0;
  color: #586762 !important;
  font-size: 1.45rem;
  line-height: 1.65;
}
.footer-v5 h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-v5-group a {
  display: block;
  margin: 9px 0;
  font-size: 1.45rem;
  color: #586762 !important;
}
.footer-v5-group a:hover,
.footer-v5-contact a:hover,
.footer-v5-bottom a:hover {
  color: #282827 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-v5-contact a {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.45rem;
  font-weight: 600;
}
.footer-v5-contact p {
  margin: 0;
  color: #586762 !important;
  font-size: 1.4rem;
  line-height: 1.65;
}
.footer-v5-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 0 24px !important;
  border-top: 1px solid #dedede !important;
  color: #8c9995 !important;
  font-size: 1.25rem;
}
.footer-v5-bottom span,
.footer-v5-bottom a {
  color: #8c9995 !important;
}
.footer-v5-bottom div {
  display: flex;
  gap: 18px;
}
.footer-v5::before,
.footer-v5::after,
.footer-v5 .footer-scribble,
.footer-v5 .footer-shell,
.footer-v5 .footer-cta,
.footer-v5 .footer-main {
  display: none !important;
}
@media (max-width: 950px) {
  .prefooter-cta-inner,
  .footer-v5-main {
    grid-template-columns: 1fr 1fr;
  }
  .prefooter-cta-inner > div:first-child {
    grid-column: 1 / -1;
  }
  .prefooter-cta-inner > .btn {
    justify-self: start;
  }
}
@media (max-width: 620px) {
  .prefooter-cta-inner,
  .footer-v5-main {
    grid-template-columns: 1fr;
  }
  .footer-v5-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================
   JMH v6 dark footer refinements
   ============================== */
.site-footer.footer-v5 {
  background: #282827 !important;
  color: rgba(255,255,255,.85) !important;
  border-top: 0 !important;
}
.footer-v5-main {
  padding: 44px 0 34px;
}
.footer-v5 a,
.footer-v5 p,
.footer-v5 span,
.footer-v5 h3 {
  color: rgba(255,255,255,.85) !important;
}
.footer-v5 h3 {
  color: #fff !important;
  opacity: .85;
}
.footer-logo-link img {
  width: 78px !important;
  filter: brightness(0) invert(1) !important;
  opacity: .92;
}
.footer-v5-brand p,
.footer-v5-contact p {
  color: rgba(255,255,255,.68) !important;
}
.footer-v5-group a,
.footer-v5-contact a,
.footer-v5-bottom a {
  width: fit-content;
  margin-left: -9px;
  padding: 5px 9px;
  border-radius: 8px;
  text-decoration: none !important;
  color: rgba(255,255,255,.78) !important;
  transition: background .18s ease, color .18s ease, opacity .18s ease;
}
.footer-v5-group a:hover,
.footer-v5-contact a:hover,
.footer-v5-bottom a:hover,
.footer-v5-group a:focus-visible,
.footer-v5-contact a:focus-visible,
.footer-v5-bottom a:focus-visible {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  opacity: .85;
  text-decoration: none !important;
  outline: none;
}
.footer-v5-contact a {
  display: inline-flex;
  margin-bottom: 10px;
  font-weight: 600;
}
.footer-v5-bottom {
  border-top: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.58) !important;
}
.footer-v5-bottom span {
  color: rgba(255,255,255,.58) !important;
}
.footer-v5-bottom a {
  color: rgba(255,255,255,.62) !important;
}
@media (max-width: 620px) {
  .footer-logo-link img {
    width: 74px !important;
  }
}

/* ==============================
   JMH v8 branded mobile navigation
   ============================== */
.mobile-nav-head,
.mobile-nav-meta,
.mobile-nav-backdrop {
  display: none;
}
body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-header {
    z-index: 3000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(var(--black-rgb), .10);
  }
  .header-row {
    min-height: 78px;
  }
  .brand img {
    width: 136px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
  }
  .nav-toggle {
    position: relative;
    z-index: 3200;
    display: inline-flex;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: transparent;
  }
  .nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 0;
    background: var(--dark);
    transition: .2s ease;
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: rgba(var(--black-rgb), .07);
  }
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 3050;
    background: rgba(0,0,0,.46);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .site-nav {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 3100;
    width: min(88vw, 390px);
    height: 100%;
    min-height: 100%;
    padding: 24px 22px 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: rgba(255,255,255,.88);
    background: #282827;
    border: 0;
    box-shadow: 24px 0 60px rgba(0,0,0,.24);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform .34s cubic-bezier(.2,.7,.2,1), visibility .34s ease;
  }
  .site-nav.open {
    display: flex;
    transform: translateX(0);
    visibility: visible;
  }
  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .mobile-nav-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
  }
  .mobile-nav-brand img {
    width: 105px;
    height: auto;
    filter: brightness(0) invert(1);
  }
  .mobile-nav-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
  }
  .mobile-nav-close span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #fff;
  }
  .mobile-nav-close span:first-child { transform: rotate(45deg); }
  .mobile-nav-close span:last-child { transform: rotate(-45deg); }
  .mobile-nav-close:hover,
  .mobile-nav-close:focus-visible {
    background: rgba(255,255,255,.12);
  }
  .mobile-nav-links {
    display: grid;
    gap: 5px;
    padding: 26px 0 18px;
  }
  .site-nav .mobile-nav-links > a:not(.btn-nav) {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    color: rgba(255,255,255,.88);
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
  }
  .site-nav .mobile-nav-links > a:not(.btn-nav)::after {
    display: none;
  }
  .site-nav .mobile-nav-links > a:hover,
  .site-nav .mobile-nav-links > a:focus-visible,
  .site-nav .mobile-nav-links > a.active {
    padding-left: 18px;
    color: #fff;
    background: rgba(255,255,255,.10);
  }
  .site-nav > .btn-nav {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin: 4px 0 26px;
    padding: 12px 18px;
    border: 1px solid #fff;
    border-radius: 12px;
    background: #fff;
    color: #282827 !important;
    font-size: 1.4rem;
    font-weight: 600;
  }
  .site-nav > .btn-nav:hover,
  .site-nav > .btn-nav:focus-visible {
    background: rgba(255,255,255,.85);
    color: #282827 !important;
  }
  .mobile-nav-meta {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.13);
  }
  .mobile-nav-meta p {
    max-width: 290px;
    margin: 0 0 8px;
    color: rgba(255,255,255,.62);
    font-size: 1.3rem;
    line-height: 1.55;
  }
  .mobile-nav-meta a,
  .mobile-nav-meta span {
    color: rgba(255,255,255,.88);
    font-size: 1.35rem;
  }
  .mobile-nav-meta a {
    width: fit-content;
    padding: 7px 9px;
    margin-left: -9px;
    border-radius: 10px;
  }
  .mobile-nav-meta a:hover,
  .mobile-nav-meta a:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.10);
  }
}

@media (max-width: 620px) {
  .header-row { min-height: 72px; }
  .brand img { width: 122px; max-height: 58px; }
  .site-nav {
    width: min(91vw, 370px);
    padding: 20px 18px 22px;
  }
  .mobile-nav-head { padding-bottom: 22px; }
  .mobile-nav-brand img { width: 94px; }
  .mobile-nav-links { padding-top: 20px; }
  .site-nav .mobile-nav-links > a:not(.btn-nav) {
    min-height: 49px;
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .mobile-nav-backdrop,
  .site-nav .mobile-nav-links > a {
    transition: none !important;
  }
}

/* ==============================
   JMH v9 mobile navigation - full viewport fix
   ============================== */
.mobile-only { display: none !important; }

/* Keep desktop navigation correct with the mobile wrapper markup. */
@media (min-width: 901px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .mobile-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .site-nav .mobile-nav-links > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 35px 0 31px;
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: var(--bold);
  }
  .site-nav .mobile-nav-links > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 24px;
    height: 2px;
    background: var(--dark);
    transition: right .2s ease;
  }
  .site-nav .mobile-nav-links > a:hover::after,
  .site-nav .mobile-nav-links > a.active::after {
    right: 0;
  }
  .site-nav .mobile-nav-links > a:hover,
  .site-nav .mobile-nav-links > a.active {
    color: var(--dark);
  }
}

@media (max-width: 900px) {
  html.nav-open,
  body.nav-open {
    overflow: hidden !important;
  }

  /* backdrop-filter on an ancestor traps fixed descendants to header height. */
  .site-header,
  .site-header.is-scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
    overflow: visible !important;
  }

  .mobile-nav-backdrop {
    display: none !important;
  }

  .site-nav {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 99999 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 22px 24px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: #282827 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translate3d(100%,0,0) !important;
    visibility: hidden !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transition: transform .34s cubic-bezier(.2,.72,.2,1), visibility .34s ease !important;
  }

  .site-nav.open {
    transform: translate3d(0,0,0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-nav-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 auto;
    gap: 20px;
    padding: 0 0 24px !important;
    border: 0 !important;
  }

  .mobile-nav-brand {
    display: inline-flex !important;
    align-items: center;
    padding: 0 !important;
  }

  .mobile-nav-brand img {
    width: 92px !important;
    height: auto !important;
    max-height: none !important;
    filter: brightness(0) invert(1) !important;
  }

  .mobile-nav-close {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.06) !important;
  }

  .mobile-nav-close span {
    position: absolute;
    width: 21px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #fff !important;
  }
  .mobile-nav-close span:first-child { transform: rotate(45deg) !important; }
  .mobile-nav-close span:last-child { transform: rotate(-45deg) !important; }

  .mobile-nav-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    flex: 0 0 auto;
    padding: 14px 0 18px !important;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  .mobile-only { display: flex !important; }

  .site-nav .mobile-nav-links > a,
  .site-nav .mobile-nav-links > a:not(.btn-nav) {
    display: flex !important;
    align-items: center !important;
    min-height: 51px !important;
    padding: 11px 12px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255,255,255,.90) !important;
    font-size: 1.75rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease !important;
  }

  .site-nav .mobile-nav-links > a::after {
    display: none !important;
  }

  .site-nav .mobile-nav-links > a:hover,
  .site-nav .mobile-nav-links > a:focus-visible,
  .site-nav .mobile-nav-links > a.active {
    padding-left: 12px !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  .site-nav > .btn-nav {
    display: inline-flex !important;
    align-self: flex-start !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    margin: 4px 0 22px !important;
    padding: 11px 17px !important;
    border: 1px solid #fff !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #282827 !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .site-nav > .btn-nav:hover,
  .site-nav > .btn-nav:focus-visible {
    background: rgba(255,255,255,.85) !important;
    color: #282827 !important;
  }

  .mobile-nav-meta {
    display: grid !important;
    gap: 7px !important;
    margin-top: auto !important;
    padding: 22px 12px 2px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
  }

  .mobile-nav-meta strong {
    margin-bottom: 3px;
    color: rgba(255,255,255,.94) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
  }

  .mobile-nav-meta a,
  .mobile-nav-meta span,
  .mobile-nav-meta small {
    width: fit-content;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,.76) !important;
    background: transparent !important;
    font-size: 1.35rem !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
  }

  .mobile-nav-meta a:hover,
  .mobile-nav-meta a:focus-visible {
    color: #fff !important;
    text-decoration: none !important;
  }

  .mobile-nav-meta small {
    margin-top: 7px !important;
    color: rgba(255,255,255,.46) !important;
    font-size: 1.15rem !important;
    text-transform: uppercase;
    letter-spacing: .10em;
  }
}

@media (max-width: 420px) {
  .site-nav {
    padding: 18px 18px 20px !important;
  }
  .mobile-nav-brand img {
    width: 84px !important;
  }
  .site-nav .mobile-nav-links > a,
  .site-nav .mobile-nav-links > a:not(.btn-nav) {
    min-height: 47px !important;
    font-size: 1.62rem !important;
  }
}

/* ==============================
   JMH v14 contact information
   ============================== */
.contact-item-note {
  display: block;
  margin-top: 4px;
  max-width: 330px;
  color: var(--gray-800) !important;
  font-size: 1.32rem !important;
  line-height: 1.45 !important;
}

/* ==============================
   JMH v15 contact cleanup + desktop nav sizing
   ============================== */
@media (min-width: 901px) {
  .site-nav .mobile-nav-links > a {
    font-size: 1.74rem !important;
  }
}

/* JMH v16 - mobile menu logo sizing */
@media (max-width: 900px) {
  .mobile-nav-brand img {
    width: 78px !important;
    height: auto !important;
    max-height: none !important;
    filter: brightness(0) invert(1) !important;
  }
}


/* JMH v17 mobile menu logo sizing */
@media (max-width: 900px) {
  .mobile-nav-brand img {
    width: 78px !important;
    height: auto !important;
    max-height: none !important;
    filter: brightness(0) invert(1) !important;
  }
}

/* ==============================
   JMH v19 - homepage hero scale and button contrast
   ============================== */
.home-hero-copy h1 {
  font-size: clamp(4.8rem, 5vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.home-hero-copy .btn-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white) !important;
}
.home-hero-copy .btn-dark:hover,
.home-hero-copy .btn-dark:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark) !important;
}

.home-hero-copy .btn-outline-light {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.92);
  color: var(--white) !important;
  backdrop-filter: blur(5px);
}
.home-hero-copy .btn-outline-light:hover,
.home-hero-copy .btn-outline-light:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark) !important;
}

@media (max-width: 900px) {
  .home-hero-copy h1 {
    font-size: clamp(4.2rem, 8.5vw, 5.8rem);
    line-height: 1;
  }
}

@media (max-width: 620px) {
  .home-hero-copy h1 {
    font-size: clamp(3.8rem, 11vw, 5rem);
  }
}

/* ==============================
   JMH v20 - hero paragraph/button spacing
   ============================== */
.home-hero-copy > p {
  margin: 0 0 34px;
}

@media (max-width: 620px) {
  .home-hero-copy > p {
    margin-bottom: 28px;
  }
}


/* JMH v21 - section button contrast + lighter metrics backdrop */
.home-metrics {
  background: #111;
}
.metrics-overlay {
  background: linear-gradient(90deg, rgba(17,17,17,.56) 0%, rgba(17,17,17,.42) 46%, rgba(17,17,17,.26) 100%);
}
.metrics-intro .btn-outline-light {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.92);
  color: var(--white) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.metrics-intro .btn-outline-light:hover,
.metrics-intro .btn-outline-light:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark) !important;
}
.product-band-copy .btn-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}
.product-band-copy .btn-dark:hover,
.product-band-copy .btn-dark:focus-visible {
  background: var(--white);
  border-color: var(--dark);
  color: var(--dark) !important;
}
.product-band-copy .btn-outline-dark {
  background: rgba(40,40,39,.04);
  border-color: rgba(40,40,39,.26);
  color: var(--dark) !important;
  opacity: 1;
}
.product-band-copy .btn-outline-dark:hover,
.product-band-copy .btn-outline-dark:focus-visible {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white) !important;
}


/* JMH v23 - slightly darker metrics section */
.metrics-overlay {
  background: linear-gradient(90deg, rgba(17,17,17,.66) 0%, rgba(17,17,17,.52) 46%, rgba(17,17,17,.36) 100%);
}

/* JMH v25 - equal homepage hero CTA sizing */
.home-hero-copy .btn-row .btn {
  width: 200px;
  min-width: 200px;
}

@media (max-width: 480px) {
  .home-hero-copy .btn-row .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ==============================
   JMH v27 - mobile menu refinement
   ============================== */
@media (max-width: 900px) {
  .site-nav {
    padding: 24px 44px 18px !important;
    background: #282827 !important;
  }

  .mobile-nav-head {
    padding: 0 0 29px !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }

  .mobile-nav-brand img {
    width: 78px !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important;
  }

  .mobile-nav-close {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.04) !important;
  }

  .mobile-nav-links {
    gap: 1px !important;
    padding: 18px 0 20px !important;
    border-top: 0 !important;
  }

  .site-nav .mobile-nav-links > a,
  .site-nav .mobile-nav-links > a:not(.btn-nav) {
    min-height: 53px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    color: rgba(255,255,255,.88) !important;
    background: transparent !important;
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
  }

  .site-nav .mobile-nav-links > a.active {
    background: transparent !important;
    color: rgba(255,255,255,.88) !important;
  }

  .site-nav .mobile-nav-links > a:hover,
  .site-nav .mobile-nav-links > a:focus-visible {
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
  }

  .site-nav > .btn-nav {
    min-width: 121px !important;
    min-height: 47px !important;
    margin: 4px 0 22px !important;
    padding: 11px 18px !important;
    border-radius: 12px !important;
    background: #fff !important;
    border-color: #fff !important;
    color: #282827 !important;
    font-size: 1.4rem !important;
  }

  .mobile-nav-meta {
    gap: 8px !important;
    margin-top: auto !important;
    padding: 24px 12px 0 !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
  }

  .mobile-nav-meta strong {
    margin-bottom: 4px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1.45rem !important;
  }

  .mobile-nav-meta a,
  .mobile-nav-meta span {
    color: rgba(255,255,255,.76) !important;
    font-size: 1.28rem !important;
    font-weight: 600 !important;
  }

  .mobile-nav-meta small {
    margin-top: 8px !important;
    color: rgba(255,255,255,.42) !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
  }
}

@media (max-width: 420px) {
  .site-nav {
    padding: 22px 24px 18px !important;
  }

  .mobile-nav-brand img {
    width: 78px !important;
  }

  .site-nav .mobile-nav-links > a,
  .site-nav .mobile-nav-links > a:not(.btn-nav) {
    min-height: 50px !important;
    font-size: 2.25rem !important;
  }
}


/* =====================================================
   JMH v29 - homepage editorial refresh inspired by motion reference
   ===================================================== */
.v29-hero{position:relative;min-height:720px;color:var(--white);display:flex;align-items:flex-end;background:#111;overflow:hidden}
.v29-hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(20,20,20,.76) 0%,rgba(20,20,20,.54) 42%,rgba(20,20,20,.26) 100%)}
.v29-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.46fr);gap:70px;align-items:end;padding-top:110px;padding-bottom:58px}
.v29-hero-copy{max-width:860px}.v29-hero-copy h1{margin:18px 0 22px;font-size:clamp(5.2rem,6.2vw,8.2rem);line-height:.96;letter-spacing:-.045em;color:#fff}.v29-hero-copy h1 span{color:#d4dfdc}.v29-hero-copy p{max-width:760px;margin:0;color:rgba(255,255,255,.88);font-size:clamp(1.8rem,1.8vw,2.2rem);line-height:1.55}.v29-hero-actions{margin-top:34px}.v29-hero-actions .btn{min-width:210px}.v29-hero-note{padding:24px 0 8px 28px;border-left:1px solid rgba(255,255,255,.42);align-self:center}.v29-hero-note strong{display:block;font-size:2rem;line-height:1.35;color:#fff}.v29-hero-note span{display:block;margin-top:14px;color:rgba(255,255,255,.70);font-size:1.4rem;line-height:1.6;text-transform:uppercase;letter-spacing:.08em}

.v29-intro{padding-top:88px;padding-bottom:74px}.v29-editorial-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:72px;align-items:end}.v29-editorial-grid h2{font-size:clamp(4rem,4.8vw,6.6rem);line-height:1.03;letter-spacing:-.04em;margin:16px 0 0}.v29-editorial-copy p{font-size:1.8rem;color:var(--gray-800);margin:0 0 18px;line-height:1.72}.v29-capability-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:42px;padding-top:28px;border-top:1px solid var(--border)}.v29-capability-strip span{padding:10px 14px;border:1px solid var(--border);border-radius:999px;background:var(--white);font-size:1.3rem;font-weight:500}

.v29-story{padding:0}.v29-story-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);min-height:620px}.v29-story-reverse{grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr)}.v29-story-media{min-height:620px}.v29-story-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(56px,7vw,110px)}.v29-story-light{background:#f7f7f7}.v29-story-dark{background:#282827;color:#fff}.v29-story-copy h2{font-size:clamp(4.2rem,4.6vw,6rem);line-height:1.03;letter-spacing:-.04em;margin:16px 0 24px}.v29-story-dark .v29-story-copy h2{color:#fff}.v29-story-copy p{font-size:1.8rem;line-height:1.72;color:var(--gray-800)}.v29-story-dark .v29-story-copy p{color:rgba(255,255,255,.76)}.v29-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0 30px}.v29-feature-list span{padding:13px 14px;border-radius:12px;background:var(--white);border:1px solid var(--border);font-size:1.35rem;font-weight:500}.v29-feature-list.dark-list span{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.12);color:rgba(255,255,255,.88)}

.v29-proof{padding-top:74px;padding-bottom:74px;background:#eef1ef}.v29-proof-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:70px;align-items:end}.v29-proof-intro h2{font-size:clamp(3.6rem,4vw,5.4rem);line-height:1.04;margin:16px 0 0}.v29-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:rgba(40,40,39,.12);border:1px solid rgba(40,40,39,.12)}.v29-stats>div{background:#eef1ef;padding:28px 20px}.v29-stats strong{display:block;font-size:3.3rem;line-height:1}.v29-stats span{display:block;margin-top:10px;font-size:1.35rem;color:var(--gray-800)}

.v29-testimonial{padding:100px 0;background:#fff}.v29-testimonial-inner{max-width:1100px;margin:0 auto;text-align:center}.v29-testimonial blockquote{margin:28px 0 26px;font-size:clamp(3rem,3.6vw,5rem);line-height:1.18;letter-spacing:-.03em;color:var(--dark)}.v29-testimonial-meta{display:flex;justify-content:center;gap:14px;align-items:center}.v29-testimonial-meta strong{font-size:1.5rem}.v29-testimonial-meta span{font-size:1.35rem;color:var(--gray-700)}

.v29-products{background:#f3f2f0}.v29-products-head{align-items:flex-end}.v29-product-rows{margin-top:28px;border-top:1px solid var(--border)}.v29-product-row{display:grid;grid-template-columns:minmax(160px,.38fr) minmax(0,1fr);gap:30px;align-items:center;padding:26px 4px;border-bottom:1px solid var(--border);text-decoration:none;color:var(--dark);transition:padding .18s ease,background .18s ease}.v29-product-row:hover,.v29-product-row:focus-visible{padding-left:16px;padding-right:16px;background:#fff}.v29-product-row strong{font-size:2.4rem}.v29-product-row span{font-size:1.6rem;color:var(--gray-800)}

.v29-process{background:#fff}.v29-process-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:34px}.v29-process-head h2{font-size:clamp(3.8rem,4.4vw,5.8rem);margin:14px 0 0}.v29-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.v29-process-grid article{padding:30px;border:1px solid var(--border);border-radius:24px;background:#fff}.v29-process-grid article>span{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;background:#282827;color:#fff;font-size:1.2rem;font-weight:600}.v29-process-grid h3{font-size:2.5rem;margin:24px 0 10px}.v29-process-grid p{font-size:1.55rem;color:var(--gray-800);line-height:1.65}

.v29-final-visual{position:relative;min-height:460px;display:flex;align-items:center;color:#fff;background:#111}.v29-final-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(20,20,20,.72),rgba(20,20,20,.38))}.v29-final-inner{position:relative;z-index:2;max-width:980px}.v29-final-inner h2{max-width:820px;color:#fff;font-size:clamp(4rem,5.2vw,7rem);line-height:1.02;letter-spacing:-.04em;margin:18px 0 28px}

@media(max-width:1100px){.v29-hero-inner,.v29-editorial-grid,.v29-proof-grid{grid-template-columns:1fr;gap:34px}.v29-story-grid,.v29-story-reverse{grid-template-columns:1fr}.v29-story-media{min-height:480px}.v29-story-reverse .v29-story-copy{order:2}.v29-story-reverse .v29-story-media{order:1}.v29-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.v29-hero{min-height:auto}.v29-hero-inner{padding-top:70px;padding-bottom:36px}.v29-hero-copy h1{font-size:clamp(4.4rem,10vw,6.2rem)}.v29-hero-note{padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.32);padding-top:20px}.v29-story-copy{padding:54px 30px}.v29-process-grid{grid-template-columns:1fr}.v29-products-head{display:block}.v29-products-head p{margin-top:20px}.v29-product-row{grid-template-columns:1fr;gap:8px}.v29-final-visual{min-height:380px}}
@media(max-width:620px){.v29-hero-actions .btn{width:100%;min-width:0}.v29-feature-list{grid-template-columns:1fr}.v29-stats{grid-template-columns:1fr}.v29-story-media{min-height:360px}.v29-testimonial{padding:72px 0}.v29-testimonial blockquote{font-size:2.7rem}.v29-capability-strip span{font-size:1.15rem}}


/* =====================================================
   JMH v36 - v29 story rows: full-width 60/40 split only
   Parallax markup/JS and original story height rules unchanged.
   ===================================================== */
@media (min-width: 1101px) {
  .v29-story > .v29-story-grid.jmh-container {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  }

  .v29-story > .v29-story-grid.v29-story-reverse {
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  }

  /* Keep the original 620px minimum and let the parallax media
     stretch naturally with the existing row. No section height override. */
  .v29-story-media {
    width: 100%;
    align-self: stretch;
  }
/* Preserve vertical rhythm while giving the narrower copy column
     usable horizontal room. */
  .v29-story-copy {
    padding-left: clamp(38px, 4vw, 72px);
    padding-right: clamp(38px, 4vw, 72px);
  }
}

/* Homepage CTA visibility fixes only. */
.v29-story-light .text-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #282827;
  border-radius: 12px;
  background: #282827;
  color: #ffffff !important;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.v29-story-light .text-link:hover,
.v29-story-light .text-link:focus-visible {
  background: #ffffff;
  color: #282827 !important;
  border-color: #282827;
}

.v29-story-dark .btn-outline-light,
.v29-final-visual .btn-outline-light {
  border-color: rgba(255,255,255,.92);
  background: transparent;
  color: #ffffff !important;
}
.v29-story-dark .btn-outline-light:hover,
.v29-story-dark .btn-outline-light:focus-visible,
.v29-final-visual .btn-outline-light:hover,
.v29-final-visual .btn-outline-light:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #282827 !important;
}

.v29-hero .btn-dark {
  border-color: #282827;
  background: #282827;
  color: #ffffff !important;
}
.v29-hero .btn-dark:hover,
.v29-hero .btn-dark:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #282827 !important;
}
.v29-hero .btn-outline-light {
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  color: #ffffff !important;
}
.v29-hero .btn-outline-light:hover,
.v29-hero .btn-outline-light:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #282827 !important;
}


/* =====================================================
   JMH v36 - consistent content CTA sizing
   Header/mobile-navigation CTA remains intentionally compact.
   ===================================================== */
:root {
  --jmh-cta-width: 220px;
  --jmh-cta-height: 52px;
}

/* Standardize all content buttons to one footprint. */
main .btn,
.prefooter-cta .btn,
.v29-story-light .text-link {
  width: var(--jmh-cta-width);
  min-width: var(--jmh-cta-width);
  max-width: var(--jmh-cta-width);
  min-height: var(--jmh-cta-height);
  box-sizing: border-box;
  padding: 0 18px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

/* Prevent legacy homepage rules from stretching hero buttons. */
.v29-hero-actions .btn {
  min-width: var(--jmh-cta-width);
}

/* Ensure every standard content CTA has a visible hover/focus state. */
main .btn-dark,
.prefooter-cta .btn-dark {
  background: #282827;
  border-color: #282827;
  color: #ffffff !important;
}
main .btn-dark:hover,
main .btn-dark:focus-visible,
.prefooter-cta .btn-dark:hover,
.prefooter-cta .btn-dark:focus-visible {
  background: #ffffff;
  border-color: #282827;
  color: #282827 !important;
}
main .btn-accent {
  background: #006955;
  border-color: #006955;
  color: #ffffff !important;
}
main .btn-accent:hover,
main .btn-accent:focus-visible {
  background: #ffffff;
  border-color: #006955;
  color: #006955 !important;
}

/* Keep the dark story/final-image outline CTA readable over photography. */
.v29-story-dark .btn-outline-light,
.v29-final-visual .btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.92);
  color: #ffffff !important;
}
.v29-story-dark .btn-outline-light:hover,
.v29-story-dark .btn-outline-light:focus-visible,
.v29-final-visual .btn-outline-light:hover,
.v29-final-visual .btn-outline-light:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #282827 !important;
}

@media (max-width: 620px) {
  :root {
    --jmh-cta-width: 178px;
    --jmh-cta-height: 46px;
  }

  /* Buttons stay compact on mobile instead of becoming full width. */
  main .btn,
  .prefooter-cta .btn,
  .v29-story-light .text-link {
    width: var(--jmh-cta-width) !important;
    min-width: 0 !important;
    max-width: 100%;
    min-height: var(--jmh-cta-height);
    padding-left: 12px;
    padding-right: 12px;
    font-size: 1.15rem;
  }

  /* The two hero CTAs stay next to each other and shrink evenly. */
  .v29-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  .v29-hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 1.08rem;
    white-space: nowrap;
  }
}

/* =====================================================
   JMH v50 - anchored story panel parallax
   Adapted for the two v29 60/40 story panels.
   Universal Parallax elsewhere remains unchanged.
   ===================================================== */

.story-visual {
  position: relative;
  overflow: hidden;
}

.story-parallax-outer,
.story-parallax-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: none !important;
  will-change: auto;
  backface-visibility: hidden;
}

.story-visual-img {
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .story-parallax-outer,
  .story-parallax-inner {
    transform: none !important;
  }

  .story-visual-img {
    top: 0;
    height: 100%;
    transform: none !important;
    will-change: auto;
  }
}

/* JMH v50 - anchored story panel parallax END */
