/* Molhm: a calmer type scale, wider titles and separated dimensional cards. */
:root{--container:1440px}
body{font-size:14px}
body .site-shell main h1,body .site-shell main h2,body .site-shell main h3,body .site-shell main h4,body .site-shell main h5,body .site-shell main h6{min-width:0;max-width:100%;text-wrap:nowrap;white-space:nowrap;line-height:1.65;overflow:visible}
body .site-shell main h1{font-size:clamp(28px,2.8vw,42px)}
body .site-shell main h2{font-size:clamp(24px,2.15vw,32px)}
body .site-shell main h3{font-size:clamp(18px,1.55vw,23px)}
body .site-shell main h1 em,body .site-shell main h2 em{display:inline;white-space:inherit}
.hero-grid{grid-template-columns:1.12fr .88fr;gap:clamp(28px,4vw,64px)}
.hero-copy,.page-hero-grid>*{min-width:0}
.hero-copy p,.page-lead{font-size:clamp(15px,1.1vw,17px);line-height:1.95;max-width:720px}
.section-heading{grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:44px}
.section-heading>div:first-child{justify-self:stretch}
.section-heading-side{justify-self:start;max-width:760px}
.section-heading-side p{font-size:14px}
.page-hero-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.page-hero .page-lead{max-width:800px;padding:0}
.service-row{grid-template-columns:44px 34px minmax(0,1.2fr) minmax(0,1fr) 24px;gap:20px}
.service-row:hover{padding-inline:0}
.service-row h3{min-width:0}
.service-row p,.process-step p{font-size:14px}
.project-meta>div:first-child{min-width:0;flex:1}
.project-card,.value-card{min-width:0}
.project-meta span{overflow-wrap:anywhere}
.project-meta{gap:16px}
.showcase-meta>div{min-width:0}
.big-cta h2,.big-cta p{max-width:calc(100% - 180px)}
.big-cta p{font-size:15px}
.testimonial-feature .container{max-width:1180px}
.testimonial-feature-inner{width:100%;max-width:none;margin-inline:auto;text-align:center;display:flex;align-items:center;flex-direction:column}
.testimonial-feature-inner .eyebrow{color:#f5b66f;justify-content:center}
.testimonial-feature-inner blockquote{width:100%;max-width:none;margin:24px auto;font-size:clamp(23px,2.25vw,34px);text-align:center;line-height:1.65;text-wrap:nowrap;white-space:nowrap}
.testimonial-feature-inner>div{align-items:center;text-align:center;width:100%;margin-inline:auto}
.testimonial-feature-inner>div span{color:#d4e5ff}
.testimonial-feature-inner .text-link{align-self:center;margin-top:4px}
/* Individual surfaces replace the continuous table-like grids. */
.model-cards,.industry-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;background:none;border:0;perspective:1200px}
.values-grid.model-cards,.values-grid.industry-cards{background:none;border:0}
.values-grid.principle-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.model-cards .value-card,.industry-cards .value-card{padding:0;min-height:0;background:none;border:0;min-width:0;position:relative}
.depth-surface{--card-accent:#0754b0;--tilt-x:0deg;--tilt-y:0deg;position:relative;isolation:isolate;height:100%;min-height:290px;border:1px solid #d9e3f2;border-radius:24px;padding:30px;display:flex;flex-direction:column;gap:16px;background:linear-gradient(145deg,#fff 15%,#f1f6ff);box-shadow:0 3px 0 #dbe5f3,0 16px 30px -20px #09105845,inset 0 1px 0 #fff;transform:perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.depth-surface:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 0 0,#0c70db0d,transparent 70%)}
.depth-surface:after{content:"";position:absolute;inset-inline:28px;bottom:-9px;height:8px;z-index:-2;border-radius:0 0 18px 18px;background:#dce6f4;opacity:.5}
.depth-surface .depth-top{display:flex;align-items:center;justify-content:space-between;min-height:66px;gap:12px;transform:translateZ(16px)}
.depth-badge{padding:5px 10px;border:1px solid #b6d3f1;border-radius:7px;background:#eaf4ff;color:#0751a2;font-size:11px;line-height:1.5}
.depth-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;color:#fff;background:linear-gradient(135deg,#1877d1,#0751a2);border:1px solid #fff5;box-shadow:4px 5px 0 #b8d5f3,8px 10px 22px #0a4a9e25,inset 0 1px 0 #ffffff59;transform:perspective(400px) rotateY(-12deg) rotateX(7deg);flex:none}
.depth-surface .depth-icon svg{width:26px;height:26px;color:inherit;stroke-width:1.7}
.depth-surface h3{margin:12px 0 0;font-weight:500;transform:translateZ(10px)}
.depth-surface p{margin:0;line-height:1.95;font-size:14px;max-width:none;color:#4d6083}
.depth-surface .text-link{align-self:flex-start;margin-top:auto;padding-top:6px;font-size:13px;color:#0751a2;border-color:#b9cde7;transform:translateZ(12px)}
.model-cards .value-card:nth-child(2) .depth-icon,.industry-cards .value-card:nth-child(3n+2) .depth-icon{background:linear-gradient(135deg,#f5b361,#dc8730);box-shadow:4px 5px 0 #f6d9b6,8px 10px 22px #9d652225;color:#5e350d}
.model-cards .value-card:nth-child(3) .depth-icon,.industry-cards .value-card:nth-child(3n) .depth-icon{background:linear-gradient(135deg,#2d3e8e,#111b59);box-shadow:4px 5px 0 #b7bee1,8px 10px 22px #151b6e25}
.industry-cards .depth-surface{min-height:276px}
.industry-cards .depth-top{justify-content:flex-start}
.home-process-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;border:0;background:none;perspective:1200px}
.home-process-card{min-width:0;min-height:282px;display:flex;flex-direction:column;gap:24px;padding:26px 22px;border-radius:21px;border:1px solid #9bc3ff40;background:linear-gradient(145deg,#193578,#0d2056);box-shadow:0 4px 0 #06163f,0 18px 30px -20px #02091b,inset 0 1px 0 #adcaff20;transition:translate .25s,rotate .25s,border-color .25s;transform-style:preserve-3d}
.home-process-card>span{width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:13px;background:#f2ac58;color:#14204e;box-shadow:3px 4px 0 #925d27,6px 8px 16px #020c3029;font-size:13px;transform:translateZ(12px)}
.home-process-card>div{width:100%;min-width:0}
.home-process-card h3{margin:0 0 12px;font-size:19px}
.home-process-card p{font-size:13px;color:#d4e2fa;line-height:1.9}
[data-theme=dark] .depth-surface{border-color:#344574;background:linear-gradient(145deg,#18274c,#101a36);box-shadow:0 3px 0 #080f27,0 18px 35px -18px #0009,inset 0 1px 0 #ffffff12}
[data-theme=dark] .depth-surface:after{background:#080f27}
[data-theme=dark] .depth-surface h3{color:#f3f7ff}
[data-theme=dark] .depth-surface p{color:#bdcce5}
[data-theme=dark] .depth-surface .text-link{color:#a6cfff;border-color:#55739c}
[data-theme=dark] .depth-badge{color:#a6cfff;border-color:#3a5d8b;background:#192f50}
[data-theme=dark] .depth-icon{box-shadow:4px 5px 0 #07376d,8px 10px 22px #0005}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .depth-surface:hover{box-shadow:0 5px 0 #cdddf0,0 26px 42px -22px #09105860;border-color:#a2bfe3}
 [data-theme=dark] .depth-surface:hover{box-shadow:0 5px 0 #080f27,0 26px 42px -18px #0009;border-color:#7198ce}
 .home-process-card:hover{translate:0 -7px;rotate:1 0 0 2deg;border-color:#adcfff8c}
}
@media(min-width:761px) and (max-width:1100px){.home-process-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.model-cards,.industry-cards{gap:18px}.depth-surface{padding:24px}.hero-grid{gap:24px}}
@media(max-width:760px){
 body{font-size:13px}.container{width:calc(100% - 32px)}
 body .site-shell main h1,body .site-shell main h2,body .site-shell main h3,body .site-shell main h4,body .site-shell main h5,body .site-shell main h6{white-space:normal;overflow-wrap:normal;text-wrap:pretty;line-height:1.6}
 body .site-shell main h1{font-size:28px}body .site-shell main h2{font-size:25px}body .site-shell main h3{font-size:20px}
 .hero-grid{grid-template-columns:1fr;gap:36px}.hero-copy h1{max-width:none}
 .hero-copy p,.page-lead{font-size:15px}.section-heading{gap:16px;margin-bottom:30px}
 .section-heading-side p,.service-row p,.process-step p{font-size:13px}
 .service-row{grid-template-columns:28px 28px minmax(0,1fr) 20px;gap:12px}.service-row h3{grid-column:3}.service-row p{grid-column:3/5}
 .model-cards,.industry-cards{grid-template-columns:1fr;gap:20px}.depth-surface,.industry-cards .depth-surface{min-height:258px;padding:26px}
 .depth-surface .depth-top{min-height:58px}.depth-surface h3{margin-top:7px;font-size:20px}.depth-surface p{font-size:13px}
 .home-process-grid{grid-template-columns:1fr;gap:18px}.home-process-card{min-height:0;padding:24px;gap:22px;display:grid;grid-template-columns:44px minmax(0,1fr)}.home-process-card h3{font-size:20px}.home-process-card p{font-size:13px}
 .big-cta h2,.big-cta p{max-width:100%}.testimonial-feature-inner blockquote{font-size:23px;text-wrap:pretty;white-space:normal;max-width:100%;margin:20px auto}
 .testimonial-feature-inner>div strong{font-size:15px}.testimonial-feature-inner>div span{font-size:12px}
}
@media(min-width:521px) and (max-width:760px){.model-cards,.industry-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.depth-surface,.home-process-card,.depth-icon{transition:none;transform:none;rotate:none;translate:none}}
@media(max-width:760px){
 .values-grid.principle-cards{grid-template-columns:1fr}
 .depth-surface,.industry-cards .depth-surface{--heading-row:1;display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px 12px;align-content:start;align-items:center;min-height:0;padding:22px}
 .model-cards .depth-surface{--heading-row:2}
 .depth-surface .depth-top{display:contents}
 .depth-surface .depth-icon{grid-column:1;grid-row:var(--heading-row);width:36px;height:36px;border-radius:11px;transform:perspective(400px) rotateY(-8deg) rotateX(5deg)}
 .depth-surface .depth-icon svg{width:18px;height:18px}
 .depth-surface h3{grid-column:2;grid-row:var(--heading-row);margin:0}
 .depth-surface .depth-badge{grid-column:1/-1;grid-row:1;justify-self:start;width:auto}
 .depth-surface p,.depth-surface .text-link{grid-column:1/-1;width:100%;max-width:none}
 .depth-surface .text-link{width:auto;justify-self:start;margin-top:0;padding-top:0}
 .big-cta{margin-inline:12px}
 .big-cta.section-pad{padding-block:52px}
 .big-cta>.container{width:calc(100% - 36px)}
 .big-cta .big-cta-inner{width:100%;max-width:none;padding:0}
 .big-cta h2,.big-cta p{width:100%;max-width:none}
 .big-cta .circle-cta{position:relative;inset:auto;translate:none;margin-top:24px;width:64px}
 .mobile-panel nav a{font-size:clamp(21px,5.6vw,26px);gap:16px;padding-block:13px}
 .stat{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;align-content:start;min-height:0;padding:22px}
 .stat .stat-index{grid-column:1/-1}
 .stat>strong{grid-column:1;grid-row:2;margin:0;font-size:30px}
 .stat>div{display:contents}
 .stat h3{grid-column:2;grid-row:2;margin:0}
 .stat p{grid-column:1/-1;grid-row:3;margin:0}
}
/* Caption stays readable even when project screenshots pass behind it. */
.about-work-collage .about-visual-caption{background:#071b4ff2;color:#f4f7ff;border:1px solid #ffffff38;border-radius:12px;padding:10px 14px;gap:3px;line-height:1.7;font-size:12px;flex-direction:column;align-items:flex-start;max-width:calc(100% - 48px);box-shadow:0 8px 22px #04112b30;top:24px;left:24px}
.about-work-collage .about-visual-caption span{color:#f4f7ff}
.about-work-collage .about-visual-caption span:first-child{color:#ffc278}
/* Brand mark, with the copy anchored to the right. */
.manifesto-grid{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.manifesto-grid>div{width:74%;max-width:960px;align-self:flex-start;text-align:right}
.manifesto-grid p{max-width:760px;font-size:17px}
.manifesto:before{content:"";width:clamp(260px,32vw,540px);height:100%;top:0;left:0;font-size:0;background:url('/build/assets/molhm-symbol-20261025.svg') left center/contain no-repeat;opacity:.12}
[data-theme=dark] .manifesto:before{opacity:.25;filter:brightness(2.8)}
@media(min-width:761px){
 .industry-cards .depth-surface,.model-cards .depth-surface{--heading-row:1;display:grid;grid-template-columns:46px minmax(0,1fr);gap:18px 14px;align-items:center;align-content:start;min-height:230px;padding:28px}
 .model-cards .depth-surface{--heading-row:2}
 .depth-surface .depth-top{display:contents}
 .depth-surface .depth-icon{grid-column:1;grid-row:var(--heading-row);width:44px;height:44px;border-radius:13px}
 .depth-surface .depth-icon svg{width:22px;height:22px}
 .depth-surface h3{grid-column:2;grid-row:var(--heading-row);margin:0}
 .depth-surface .depth-badge{grid-column:1/-1;grid-row:1;justify-self:start;width:auto}
 .depth-surface p,.depth-surface .text-link{grid-column:1/-1;max-width:none}
 .depth-surface .text-link{justify-self:start;width:auto}
 .benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .benefit-card{grid-template-columns:24px minmax(0,1fr);padding:24px;gap:14px;min-height:185px}
 .benefit-card>svg{width:24px;height:24px}
 .benefit-card p{font-size:13px}
}
@media(min-width:1101px){.benefits-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1100px){.model-cards,.industry-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .about-work-collage .about-visual-caption{max-width:100%;width:100%;position:static}
 .manifesto-grid>div{width:100%;max-width:none}
 .manifesto-grid p{font-size:15px}
 .manifesto:before{width:72%;left:-24%;opacity:.07}
}
